blob: f8d8f0ca5926315c01603eaf414e2b106b57c7f1 [file] [log] [blame]
Matteo Scandolo51b76302020-02-05 12:07:23 -08001---
2# VOLTHA 2.x scale measurements
3
4- project:
5 name: voltha-scale
6
7 project-name: '{name}'
8
9 jobs:
Matteo Scandolo272aed42020-05-08 15:05:57 -070010 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandolo2e2901f2020-03-12 10:51:01 -070011 name: 'voltha-scale-measurements-periodic-10-20-200ms'
Matteo Scandolo380af272020-03-05 14:26:47 -080012 build-node: 'onf-pod1-head-node'
13 time-trigger: "H H/4 * * *"
Matteo Scandolo2e2901f2020-03-12 10:51:01 -070014 onuPerPon: 20
15 ponPorts: 10
16 expectedOnus: 200
Matteo Scandolo380af272020-03-05 14:26:47 -080017 BBSIMdelay: 200
Matteo Scandolo272aed42020-05-08 15:05:57 -070018 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080019 name: 'voltha-scale-measurements-periodic-16-32-200ms'
20 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080021 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080022 onuPerPon: 32
23 ponPorts: 16
Matteo Scandolo132f5552020-03-03 18:56:35 -080024 expectedOnus: 512
Matteo Scandoloda2834f2020-03-03 13:12:32 -080025 BBSIMdelay: 200
Matteo Scandolo24044fc2020-04-14 10:07:14 -070026 # multi-adapter
Matteo Scandolo89f1cea2020-04-10 10:20:20 -070027 extraHelmFlags: "--set replicas.adapter_open_onu=8"
Matteo Scandolo272aed42020-05-08 15:05:57 -070028 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandolo731d4d22020-03-20 10:06:00 -070029 name: 'voltha-scale-measurements-periodic-16-64-200ms'
Matteo Scandoloda2834f2020-03-03 13:12:32 -080030 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080031 time-trigger: "H H/4 * * *"
Matteo Scandolo731d4d22020-03-20 10:06:00 -070032 onuPerPon: 64
Matteo Scandoloda2834f2020-03-03 13:12:32 -080033 ponPorts: 16
Matteo Scandolo731d4d22020-03-20 10:06:00 -070034 expectedOnus: 1024
35 BBSIMdelay: 200
Matteo Scandolo24044fc2020-04-14 10:07:14 -070036 # multi-adapter
Matteo Scandolo89f1cea2020-04-10 10:20:20 -070037 extraHelmFlags: "--set replicas.adapter_open_onu=8"
Matteo Scandolo272aed42020-05-08 15:05:57 -070038 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080039 name: 'voltha-scale-measurements-periodic-1-64-200ms'
40 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080041 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080042 onuPerPon: 64
43 ponPorts: 1
Matteo Scandolo132f5552020-03-03 18:56:35 -080044 expectedOnus: 64
Matteo Scandoloda2834f2020-03-03 13:12:32 -080045 BBSIMdelay: 200
Matteo Scandolo272aed42020-05-08 15:05:57 -070046 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandolof87e1da2020-04-16 16:13:31 -070047 name: 'voltha-scale-measurements-periodic-2-OLTs-10-10-200ms'
Matteo Scandolo380af272020-03-05 14:26:47 -080048 build-node: 'onf-pod1-head-node'
49 time-trigger: "H H/4 * * *"
Matteo Scandolof87e1da2020-04-16 16:13:31 -070050 onuPerPon: 10
51 ponPorts: 10
52 numOfBbsim: 2
53 expectedOnus: 200
54 BBSIMdelay: 200
Matteo Scandolo272aed42020-05-08 15:05:57 -070055 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandolod1a15082020-04-22 10:57:49 -070056 name: 'voltha-scale-measurements-periodic-10-20-200ms-with-flows'
57 build-node: 'onf-pod1-head-node'
58 time-trigger: "H H/4 * * *"
59 onuPerPon: 20
60 ponPorts: 10
61 expectedOnus: 200
62 BBSIMdelay: 200
63 withOnosApps: true
64 flowStatInterval: 5
65 portsStatInterval: 5
Matteo Scandoloc9812232020-04-22 14:18:07 -070066 expectedFlows: 201
Matteo Scandolo268f3222020-04-24 15:19:25 -070067 bbsimAuth: false
68 bbsimDhcp: false
Matteo Scandolo272aed42020-05-08 15:05:57 -070069
70 # new Jobs
71 # name format is <job-template>-<olts>-<pon>-<onus>-<setup>
72 # needed for comparison with the openonu-go adapter
73 - 'voltha-scale-measurements':
74 name: 'voltha-scale-measurements-1-2-32-activation-no-mib'
Matteo Scandolo268f3222020-04-24 15:19:25 -070075 build-node: 'onf-pod1-head-node'
76 time-trigger: "H H/4 * * *"
Matteo Scandolo272aed42020-05-08 15:05:57 -070077 olts: 1
78 pons: 2
79 onus: 32
80 withFlows: false
81 provisionSubscribers: false
82 withEapol: false
83 withDhcp: false
84 withIgmp: false
85 withMibTemplate: false
86
87 # jobs for 200 ONUs with a single openonu-adapter
88 - 'voltha-scale-measurements':
89 name: 'voltha-scale-measurements-1-10-20-activation'
Matteo Scandolo3e0e0402020-04-27 16:07:05 -070090 build-node: 'onf-pod1-head-node'
91 time-trigger: "H H/4 * * *"
Matteo Scandolo272aed42020-05-08 15:05:57 -070092 olts: 1
93 pons: 10
94 onus: 20
95 withFlows: false
96 provisionSubscribers: false
97 withEapol: false
98 withDhcp: false
99 withIgmp: false
100 - 'voltha-scale-measurements':
101 name: 'voltha-scale-measurements-1-10-20-flows'
102 build-node: 'onf-pod1-head-node'
103 time-trigger: "H H/4 * * *"
104 olts: 1
105 pons: 10
106 onus: 20
107 withFlows: true
108 provisionSubscribers: false
109 withEapol: true
110 withDhcp: true
111 withIgmp: false
112 - 'voltha-scale-measurements':
113 name: 'voltha-scale-measurements-1-10-20-subscribers'
114 build-node: 'onf-pod1-head-node'
115 time-trigger: "H H/4 * * *"
116 olts: 1
117 pons: 10
118 onus: 20
119 withFlows: true
120 provisionSubscribers: true
121 withEapol: true
122 withDhcp: true
123 withIgmp: false
124
125 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS
126 - 'voltha-scale-measurements':
127 name: 'voltha-scale-measurements-1-16-32-activation'
128 build-node: 'onf-pod1-head-node'
129 time-trigger: "H H/4 * * *"
130 olts: 1
131 pons: 16
132 onus: 32
133 withFlows: false
134 provisionSubscribers: false
135 withEapol: false
136 withDhcp: false
137 withIgmp: false
138 openonuAdapterReplicas: 8
139 onosReplicas: 3
140 atomixReplicas: 3
141 - 'voltha-scale-measurements':
142 name: 'voltha-scale-measurements-1-16-32-flows'
143 build-node: 'onf-pod1-head-node'
144 time-trigger: "H H/4 * * *"
145 olts: 1
146 pons: 16
147 onus: 32
148 withFlows: true
149 provisionSubscribers: false
150 withEapol: true
151 withDhcp: true
152 withIgmp: false
153 openonuAdapterReplicas: 8
154 onosReplicas: 3
155 atomixReplicas: 3
156 - 'voltha-scale-measurements':
157 name: 'voltha-scale-measurements-1-16-32-subscribers'
158 build-node: 'onf-pod1-head-node'
159 time-trigger: "H H/4 * * *"
160 olts: 1
161 pons: 16
162 onus: 32
163 withFlows: true
164 provisionSubscribers: true
165 withEapol: true
166 withDhcp: true
167 withIgmp: false
168 openonuAdapterReplicas: 8
169 onosReplicas: 3
170 atomixReplicas: 3
171
172 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
173 - 'voltha-scale-measurements':
174 name: 'voltha-scale-measurements-2-16-32-activation'
175 build-node: 'onf-pod1-head-node'
176 time-trigger: "H H/4 * * *"
177 olts: 2
178 pons: 16
179 onus: 32
180 withFlows: false
181 provisionSubscribers: false
182 withEapol: false
183 withDhcp: false
184 withIgmp: false
185 openonuAdapterReplicas: 8
186 onosReplicas: 3
187 atomixReplicas: 3
188 - 'voltha-scale-measurements':
189 name: 'voltha-scale-measurements-2-16-32-flows'
190 build-node: 'onf-pod1-head-node'
191 time-trigger: "H H/4 * * *"
192 olts: 2
193 pons: 16
194 onus: 32
195 withFlows: true
196 provisionSubscribers: false
197 withEapol: true
198 withDhcp: true
199 withIgmp: false
200 openonuAdapterReplicas: 8
201 onosReplicas: 3
202 atomixReplicas: 3
203 - 'voltha-scale-measurements':
204 name: 'voltha-scale-measurements-2-16-32-subscribers'
205 build-node: 'onf-pod1-head-node'
206 time-trigger: "H H/4 * * *"
207 olts: 2
208 pons: 16
209 onus: 32
210 withFlows: true
211 provisionSubscribers: true
212 withEapol: true
213 withDhcp: true
214 withIgmp: false
215 openonuAdapterReplicas: 8
216 onosReplicas: 3
217 atomixReplicas: 3
218
219 # development pipeline
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700220 - 'voltha-scale-measurements-dev':
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800221 name: 'voltha-scale-measurements-dev'
Shrey Baid4c108ad2020-03-10 15:21:13 -0700222 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800223
224- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700225 id: 'voltha-scale-measurements-periodic-legacy'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800226 name: '{name}'
227 pipeline-script: 'voltha-scale-measurements.groovy'
228
229 description: |
230 <!-- Managed by Jenkins Job Builder -->
231 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
232 Using pipeline {pipeline-script} <br/><br/>
233 Scale measurements for VOLTHA 2.x
234
235 properties:
236 - cord-infra-properties:
237 build-days-to-keep: '{build-days-to-keep}'
238 artifact-num-to-keep: '{artifact-num-to-keep}'
239
240 wrappers:
241 - lf-infra-wrappers:
242 build-timeout: '{build-timeout}'
243 jenkins-ssh-credential: '{jenkins-ssh-credential}'
244
Matteo Scandolo49421972020-03-20 10:55:11 -0700245 # default parameters
246 bbsimImg: voltha/bbsim:master
247 bbsimChart: onf/bbsim
248 volthaImg: voltha/voltha-rw-core:master
Matteo Scandoloe1c200f2020-03-24 10:33:58 -0700249 ofAgentImg: voltha/voltha-ofagent-go:master
Matteo Scandolo49421972020-03-20 10:55:11 -0700250 volthaChart: onf/voltha
251 openoltAdapterImg: voltha/voltha-openolt-adapter:master
252 openoltAdapterChart: onf/voltha-adapter-openolt
253 openonuAdapterImg: voltha/voltha-openonu-adapter:master
254 openonuAdapterChart: onf/voltha-adapter-openonu
Shrey Baid70c849a2020-04-03 21:52:00 +0530255 onosImg: voltha/voltha-onos:master
Matteo Scandolo49421972020-03-20 10:55:11 -0700256 extraHelmFlags: ''
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700257 withMibTemplate: true
258 numOfBbsim: 1
259 numOfKafka: 3
Matteo Scandolod1a15082020-04-22 10:57:49 -0700260 withOnosApps: false
261 setLinkDiscovery: false
262 flowStatInterval: 600
263 portsStatInterval: 600
Matteo Scandoloc9812232020-04-22 14:18:07 -0700264 expectedFlows: 0 # by defualt ONOS apps are deactivated
Matteo Scandolo268f3222020-04-24 15:19:25 -0700265 bbsimAuth: true
266 bbsimDhcp: true
Matteo Scandolo49421972020-03-20 10:55:11 -0700267
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800268 parameters:
269 - string:
270 name: buildNode
271 default: '{build-node}'
272 description: 'Name of the Jenkins node to run the job on'
273
274 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700275 name: logLevel
276 default: 'WARN'
277 description: 'Log level for all the components'
278
279 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800280 name: onuPerPon
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800281 default: '{onuPerPon}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800282 description: 'Number of ONUs to provision'
283
284 - string:
285 name: ponPorts
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800286 default: '{ponPorts}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800287 description: 'Number of PONs to provision'
288
289 - string:
290 name: expectedOnus
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800291 default: '{expectedOnus}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800292 description: 'Expected number of activated ONUs'
293
294 - string:
Matteo Scandoloc9812232020-04-22 14:18:07 -0700295 name: expectedFlows
296 default: '{expectedFlows}'
297 description: 'Expected number of flows in ONOS'
298
299 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800300 name: pollInterval
301 default: 5
302 description: 'Sleep time between ONU activation checks'
303
304 - bool:
305 name: withOnosApps
Matteo Scandolod1a15082020-04-22 10:57:49 -0700306 default: '{withOnosApps}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800307 description: 'Option to deactivate certain ONOS apps'
308
309 - bool:
310 name: withMibTemplate
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700311 default: '{withMibTemplate}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800312 description: 'Option to trigger MIB template command'
313
314 - bool:
315 name: setLinkDiscovery
Matteo Scandolod1a15082020-04-22 10:57:49 -0700316 default: '{setLinkDiscovery}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800317 description: 'Option to toggle Link Discovery'
318
319 - string:
320 name: BBSIMdelay
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800321 default: '{BBSIMdelay}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800322 description: 'BBSIM Delay, milliseconds'
323
324 - string:
325 name: flowStatInterval
Matteo Scandolod1a15082020-04-22 10:57:49 -0700326 default: '{flowStatInterval}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800327 description: 'Flow Stats Collection Interval, milliseconds'
328
329 - string:
330 name: portsStatInterval
Matteo Scandolod1a15082020-04-22 10:57:49 -0700331 default: {portsStatInterval}
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800332 description: 'Ports Stats Collection Interval, milliseconds'
333
334 - bool:
335 name: bbsimAuth
Matteo Scandolo268f3222020-04-24 15:19:25 -0700336 default: '{bbsimAuth}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800337 description: 'Option to toggle BBSIM EAPOL true/false'
338
339 - bool:
340 name: bbsimDhcp
Matteo Scandolo268f3222020-04-24 15:19:25 -0700341 default: '{bbsimDhcp}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800342 description: 'Option to toggle BBSIM DHCP true/false'
343
344 - string:
345 name: bbsimImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700346 default: '{bbsimImg}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800347 description: 'Custom image selection for BBSIM (repo:tag)'
348
349 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700350 name: bbsimChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700351 default: '{bbsimChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700352 description: 'BBSim chart name (or location on file system)'
353
354 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800355 name: volthaImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700356 default: '{volthaImg}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800357 description: 'Custom image selection for VOLTHA (repo:tag)'
358
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800359 - string:
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700360 name: ofAgentImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700361 default: '{ofAgentImg}'
Matteo Scandolofddcb002020-03-24 09:14:57 -0700362 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700363
364 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700365 name: volthaChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700366 default: '{volthaChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700367 description: 'VOLTHA chart name (or location on file system)'
368
369 - string:
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800370 name: openoltAdapterImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700371 default: '{openoltAdapterImg}'
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800372 description: 'Custom image selection for Openolt Adapter (repo:tag)'
373
374 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700375 name: openoltAdapterChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700376 default: '{openoltAdapterChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700377 description: 'OpenOLT chart name (or location on file system)'
378
379 - string:
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800380 name: openonuAdapterImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700381 default: '{openonuAdapterImg}'
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800382 description: 'Custom image selection for Openonu Adapter (repo:tag)'
383
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700384 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700385 name: openonuAdapterChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700386 default: '{openonuAdapterChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700387 description: 'OpenONU chart name (or location on file system)'
388
389 - string:
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700390 name: onosImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700391 default: '{onosImg}'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700392 description: 'Custom image selection for Openonu Adapter (repo:tag)'
393
394 - string:
395 name: extraHelmFlags
Matteo Scandolo49421972020-03-20 10:55:11 -0700396 default: '{extraHelmFlags}'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700397 description: 'Any extra helm parameters you want (passed to every helm install command)'
398
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700399 - string:
400 name: numOfBbsim
401 default: '{numOfBbsim}'
402 description: 'How many BBSim instances to run'
403
404 - string:
405 name: numOfKafka
406 default: '{numOfKafka}'
407 description: 'How many Kafka instances to run'
408
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800409 project-type: pipeline
410 concurrent: false
411
412 dsl: !include-raw-escape: pipeline/{pipeline-script}
413
414 triggers:
415 - timed: |
416 TZ=America/Los_Angeles
417 {time-trigger}
418
419- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700420 id: 'voltha-scale-measurements'
421 name: '{name}'
422 pipeline-script: 'voltha-scale-test.groovy'
423
424 description: |
425 <!-- Managed by Jenkins Job Builder -->
426 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
427 Using pipeline {pipeline-script} <br/><br/>
428 Scale measurements for VOLTHA 2.x
429
430 properties:
431 - cord-infra-properties:
432 build-days-to-keep: '{build-days-to-keep}'
433 artifact-num-to-keep: '{artifact-num-to-keep}'
434
435 wrappers:
436 - lf-infra-wrappers:
437 build-timeout: '{build-timeout}'
438 jenkins-ssh-credential: '{jenkins-ssh-credential}'
439
440 # default values
441 bbsimImg: voltha/bbsim:master
442 rwCoreImg: voltha/voltha-rw-core:master
443 ofAgentImg: voltha/voltha-ofagent-go:master
444 openoltAdapterImg: voltha/voltha-openolt-adapter:master
445 openonuAdapterImg: voltha/voltha-openonu-adapter:master
446 onosImg: voltha/voltha-onos:master
447
448 bbsimChart: onf/bbsim
449 volthaChart: onf/voltha
450 openoltAdapterChart: onf/voltha-adapter-openolt
451 openonuAdapterChart: onf/voltha-adapter-openonu
452
453 parameters:
454 - string:
455 name: buildNode
456 default: '{build-node}'
457 description: 'Name of the Jenkins node to run the job on'
458
459 - string:
460 name: logLevel
461 default: 'WARN'
462 description: 'Log level for all the components'
463
464 - string:
465 name: onus
466 default: 2
467 description: 'Number of ONUs to provision'
468
469 - string:
470 name: pons
471 default: 2
472 description: 'Number of PONs to provision'
473
474 - string:
475 name: olts
476 default: 2
477 description: 'How many BBSim instances to run'
478
479 - string:
480 name: workflow
481 default: att
482 description: 'Which workflow are we testing (att, dt, tt)'
483
484 - bool:
485 name: withFlows
486 default: false
487 description: 'Wheter to push flows from ONOS'
488
489 - bool:
490 name: provisionSubscribers
491 default: false
492 description: 'Wheter to provision subscribers durint the tests'
493
494 - bool:
495 name: withEapol
496 default: true
497 description: 'Wheter EAPOL is enabled for the test'
498
499 - bool:
500 name: withDhcp
501 default: true
502 description: 'Wheter DHCP is enabled for the test'
503
504 - bool:
505 name: withIgmp
506 default: false
507 description: 'Wheter IGMP is enabled for the test'
508
509 - bool:
510 name: withLLDP
511 default: false
512 description: 'Wheter Link Discovery is enabled for the test'
513
514 - bool:
515 name: withMibTemplate
516 default: true
517 description: 'Option to trigger MIB template command'
518
519 - bool:
520 name: withMonitoring
521 default: true
522 description: 'Option to install Prometheus'
523
524 - string:
525 name: openonuAdapterReplicas
526 default: 1
527 description: 'How many OpenONU adapter instances to run'
528
529 - string:
530 name: onosReplicas
531 default: 1
532 description: 'How many ONOSes instances to run'
533
534 - string:
535 name: atomixReplicas
536 default: 0
537 description: 'How many Atomix instances to run'
538
539 - string:
540 name: bbsimImg
541 default: '{bbsimImg}'
542 description: 'Custom image selection for BBSIM (repo:tag)'
543
544 - string:
545 name: bbsimChart
546 default: '{bbsimChart}'
547 description: 'BBSim chart name (or location on file system)'
548
549 - string:
550 name: rwCoreImg
551 default: '{rwCoreImg}'
552 description: 'Custom image selection for VOLTHA (repo:tag)'
553
554 - string:
555 name: ofAgentImg
556 default: '{ofAgentImg}'
557 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
558
559 - string:
560 name: volthaChart
561 default: '{volthaChart}'
562 description: 'VOLTHA chart name (or location on file system)'
563
564 - string:
565 name: openoltAdapterImg
566 default: '{openoltAdapterImg}'
567 description: 'Custom image selection for Openolt Adapter (repo:tag)'
568
569 - string:
570 name: openoltAdapterChart
571 default: '{openoltAdapterChart}'
572 description: 'OpenOLT chart name (or location on file system)'
573
574 - string:
575 name: openonuAdapterImg
576 default: '{openonuAdapterImg}'
577 description: 'Custom image selection for Openonu Adapter (repo:tag)'
578
579 - string:
580 name: openonuAdapterChart
581 default: '{openonuAdapterChart}'
582 description: 'OpenONU chart name (or location on file system)'
583
584 - string:
585 name: onosImg
586 default: '{onosImg}'
587 description: 'Custom image selection for Openonu Adapter (repo:tag)'
588
589 - string:
590 name: volthaSystemTestsChange
591 default: ''
592 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
593
594 project-type: pipeline
595 concurrent: false
596
597 dsl: !include-raw-escape: pipeline/{pipeline-script}
598
599 triggers:
600 - timed: |
601 TZ=America/Los_Angeles
602 {time-trigger}
603
604- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700605 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800606 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700607 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800608
609 description: |
610 <!-- Managed by Jenkins Job Builder -->
611 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
612 Using pipeline {pipeline-script} <br/><br/>
613 Scale measurements for VOLTHA 2.x
614
615 properties:
616 - cord-infra-properties:
617 build-days-to-keep: '{build-days-to-keep}'
618 artifact-num-to-keep: '{artifact-num-to-keep}'
619
620 wrappers:
621 - lf-infra-wrappers:
622 build-timeout: '{build-timeout}'
623 jenkins-ssh-credential: '{jenkins-ssh-credential}'
624
Matteo Scandolo0430f672020-05-07 11:50:26 -0700625 # default values
626 bbsimImg: voltha/bbsim:master
627 rwCoreImg: voltha/voltha-rw-core:master
628 ofAgentImg: voltha/voltha-ofagent-go:master
629 openoltAdapterImg: voltha/voltha-openolt-adapter:master
630 openonuAdapterImg: voltha/voltha-openonu-adapter:master
631 onosImg: voltha/voltha-onos:master
632
633 bbsimChart: onf/bbsim
634 volthaChart: onf/voltha
635 openoltAdapterChart: onf/voltha-adapter-openolt
636 openonuAdapterChart: onf/voltha-adapter-openonu
637
Matteo Scandolo51b76302020-02-05 12:07:23 -0800638 parameters:
639 - string:
640 name: buildNode
641 default: '{build-node}'
642 description: 'Name of the Jenkins node to run the job on'
643
644 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700645 name: logLevel
646 default: 'WARN'
647 description: 'Log level for all the components'
648
649 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700650 name: onus
651 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800652 description: 'Number of ONUs to provision'
653
654 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700655 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700656 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800657 description: 'Number of PONs to provision'
658
Matteo Scandolo0430f672020-05-07 11:50:26 -0700659 - string:
660 name: olts
661 default: 2
662 description: 'How many BBSim instances to run'
663
664 - string:
665 name: workflow
666 default: att
667 description: 'Which workflow are we testing (att, dt, tt)'
668
669 - bool:
670 name: withFlows
671 default: false
672 description: 'Wheter to push flows from ONOS'
673
674 - bool:
675 name: provisionSubscribers
676 default: false
677 description: 'Wheter to provision subscribers durint the tests'
678
679 - bool:
680 name: withEapol
681 default: true
682 description: 'Wheter EAPOL is enabled for the test'
683
684 - bool:
685 name: withDhcp
686 default: true
687 description: 'Wheter DHCP is enabled for the test'
688
689 - bool:
690 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700691 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700692 description: 'Wheter IGMP is enabled for the test'
693
694 - bool:
695 name: withLLDP
696 default: false
697 description: 'Wheter Link Discovery is enabled for the test'
698
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800699 - bool:
700 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700701 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800702 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800703
Matteo Scandolo0430f672020-05-07 11:50:26 -0700704 - bool:
705 name: withMonitoring
706 default: true
707 description: 'Option to install Prometheus'
708
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800709 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700710 name: openonuAdapterReplicas
711 default: 1
712 description: 'How many OpenONU adapter instances to run'
713
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700714 # the dev node is single node cluster, we can't install a clustered ONOS because of the contraints
Matteo Scandolo0430f672020-05-07 11:50:26 -0700715 - string:
716 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700717 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700718 description: 'How many ONOSes instances to run'
719
720 - string:
721 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700722 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700723 description: 'How many Atomix instances to run'
724
725 - string:
726 name: bbsimImg
727 default: '{bbsimImg}'
728 description: 'Custom image selection for BBSIM (repo:tag)'
729
730 - string:
731 name: bbsimChart
732 default: '{bbsimChart}'
733 description: 'BBSim chart name (or location on file system)'
734
735 - string:
736 name: rwCoreImg
737 default: '{rwCoreImg}'
738 description: 'Custom image selection for VOLTHA (repo:tag)'
739
740 - string:
741 name: ofAgentImg
742 default: '{ofAgentImg}'
743 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
744
745 - string:
746 name: volthaChart
747 default: '{volthaChart}'
748 description: 'VOLTHA chart name (or location on file system)'
749
750 - string:
751 name: openoltAdapterImg
752 default: '{openoltAdapterImg}'
753 description: 'Custom image selection for Openolt Adapter (repo:tag)'
754
755 - string:
756 name: openoltAdapterChart
757 default: '{openoltAdapterChart}'
758 description: 'OpenOLT chart name (or location on file system)'
759
760 - string:
761 name: openonuAdapterImg
762 default: '{openonuAdapterImg}'
763 description: 'Custom image selection for Openonu Adapter (repo:tag)'
764
765 - string:
766 name: openonuAdapterChart
767 default: '{openonuAdapterChart}'
768 description: 'OpenONU chart name (or location on file system)'
769
770 - string:
771 name: onosImg
772 default: '{onosImg}'
773 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700774
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700775 - string:
776 name: volthaSystemTestsChange
777 default: ''
778 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
779
Matteo Scandolo51b76302020-02-05 12:07:23 -0800780 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800781 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800782
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700783 dsl: !include-raw-escape: pipeline/{pipeline-script}