blob: d1eb689b79ed9136d91d3ca072a36c2ae92df4c8 [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 # new Jobs
11 # name format is <job-template>-<olts>-<pon>-<onus>-<setup>
12 # needed for comparison with the openonu-go adapter
13 - 'voltha-scale-measurements':
14 name: 'voltha-scale-measurements-1-2-32-activation-no-mib'
Matteo Scandolo268f3222020-04-24 15:19:25 -070015 build-node: 'onf-pod1-head-node'
16 time-trigger: "H H/4 * * *"
Matteo Scandolo272aed42020-05-08 15:05:57 -070017 olts: 1
18 pons: 2
19 onus: 32
20 withFlows: false
21 provisionSubscribers: false
22 withEapol: false
23 withDhcp: false
24 withIgmp: false
25 withMibTemplate: false
26
27 # jobs for 200 ONUs with a single openonu-adapter
28 - 'voltha-scale-measurements':
29 name: 'voltha-scale-measurements-1-10-20-activation'
Matteo Scandolo3e0e0402020-04-27 16:07:05 -070030 build-node: 'onf-pod1-head-node'
31 time-trigger: "H H/4 * * *"
Matteo Scandolo272aed42020-05-08 15:05:57 -070032 olts: 1
33 pons: 10
34 onus: 20
35 withFlows: false
36 provisionSubscribers: false
37 withEapol: false
38 withDhcp: false
39 withIgmp: false
40 - 'voltha-scale-measurements':
41 name: 'voltha-scale-measurements-1-10-20-flows'
42 build-node: 'onf-pod1-head-node'
43 time-trigger: "H H/4 * * *"
44 olts: 1
45 pons: 10
46 onus: 20
47 withFlows: true
48 provisionSubscribers: false
49 withEapol: true
50 withDhcp: true
51 withIgmp: false
52 - 'voltha-scale-measurements':
53 name: 'voltha-scale-measurements-1-10-20-subscribers'
54 build-node: 'onf-pod1-head-node'
55 time-trigger: "H H/4 * * *"
56 olts: 1
57 pons: 10
58 onus: 20
59 withFlows: true
60 provisionSubscribers: true
61 withEapol: true
62 withDhcp: true
63 withIgmp: false
64
65 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS
66 - 'voltha-scale-measurements':
67 name: 'voltha-scale-measurements-1-16-32-activation'
68 build-node: 'onf-pod1-head-node'
69 time-trigger: "H H/4 * * *"
70 olts: 1
71 pons: 16
72 onus: 32
73 withFlows: false
74 provisionSubscribers: false
75 withEapol: false
76 withDhcp: false
77 withIgmp: false
78 openonuAdapterReplicas: 8
79 onosReplicas: 3
80 atomixReplicas: 3
81 - 'voltha-scale-measurements':
82 name: 'voltha-scale-measurements-1-16-32-flows'
83 build-node: 'onf-pod1-head-node'
84 time-trigger: "H H/4 * * *"
85 olts: 1
86 pons: 16
87 onus: 32
88 withFlows: true
89 provisionSubscribers: false
90 withEapol: true
91 withDhcp: true
92 withIgmp: false
93 openonuAdapterReplicas: 8
94 onosReplicas: 3
95 atomixReplicas: 3
96 - 'voltha-scale-measurements':
97 name: 'voltha-scale-measurements-1-16-32-subscribers'
98 build-node: 'onf-pod1-head-node'
99 time-trigger: "H H/4 * * *"
100 olts: 1
101 pons: 16
102 onus: 32
103 withFlows: true
104 provisionSubscribers: true
105 withEapol: true
106 withDhcp: true
107 withIgmp: false
108 openonuAdapterReplicas: 8
109 onosReplicas: 3
110 atomixReplicas: 3
111
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200112 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
113 - 'voltha-scale-measurements':
114 name: 'voltha-scale-dt-measurements-1-16-32-subscribers'
115 build-node: 'onf-pod1-head-node'
116 time-trigger: "H H/4 * * *"
117 olts: 1
118 pons: 16
119 onus: 32
120 withFlows: true
121 provisionSubscribers: true
122 workflow: dt
123 withEapol: false
124 withDhcp: false
125 withIgmp: false
126 openonuAdapterReplicas: 8
127 onosReplicas: 3
128 atomixReplicas: 3
129
Matteo Scandolo272aed42020-05-08 15:05:57 -0700130 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
131 - 'voltha-scale-measurements':
132 name: 'voltha-scale-measurements-2-16-32-activation'
133 build-node: 'onf-pod1-head-node'
134 time-trigger: "H H/4 * * *"
135 olts: 2
136 pons: 16
137 onus: 32
138 withFlows: false
139 provisionSubscribers: false
140 withEapol: false
141 withDhcp: false
142 withIgmp: false
143 openonuAdapterReplicas: 8
144 onosReplicas: 3
145 atomixReplicas: 3
146 - 'voltha-scale-measurements':
147 name: 'voltha-scale-measurements-2-16-32-flows'
148 build-node: 'onf-pod1-head-node'
149 time-trigger: "H H/4 * * *"
150 olts: 2
151 pons: 16
152 onus: 32
153 withFlows: true
154 provisionSubscribers: false
155 withEapol: true
156 withDhcp: true
157 withIgmp: false
158 openonuAdapterReplicas: 8
159 onosReplicas: 3
160 atomixReplicas: 3
161 - 'voltha-scale-measurements':
162 name: 'voltha-scale-measurements-2-16-32-subscribers'
163 build-node: 'onf-pod1-head-node'
164 time-trigger: "H H/4 * * *"
165 olts: 2
166 pons: 16
167 onus: 32
168 withFlows: true
169 provisionSubscribers: true
170 withEapol: true
171 withDhcp: true
172 withIgmp: false
173 openonuAdapterReplicas: 8
174 onosReplicas: 3
175 atomixReplicas: 3
176
177 # development pipeline
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700178 - 'voltha-scale-measurements-dev':
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800179 name: 'voltha-scale-measurements-dev'
Shrey Baid4c108ad2020-03-10 15:21:13 -0700180 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800181
182- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700183 id: 'voltha-scale-measurements'
184 name: '{name}'
185 pipeline-script: 'voltha-scale-test.groovy'
186
187 description: |
188 <!-- Managed by Jenkins Job Builder -->
189 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
190 Using pipeline {pipeline-script} <br/><br/>
191 Scale measurements for VOLTHA 2.x
192
193 properties:
194 - cord-infra-properties:
195 build-days-to-keep: '{build-days-to-keep}'
196 artifact-num-to-keep: '{artifact-num-to-keep}'
197
198 wrappers:
199 - lf-infra-wrappers:
200 build-timeout: '{build-timeout}'
201 jenkins-ssh-credential: '{jenkins-ssh-credential}'
202
203 # default values
204 bbsimImg: voltha/bbsim:master
205 rwCoreImg: voltha/voltha-rw-core:master
206 ofAgentImg: voltha/voltha-ofagent-go:master
207 openoltAdapterImg: voltha/voltha-openolt-adapter:master
208 openonuAdapterImg: voltha/voltha-openonu-adapter:master
209 onosImg: voltha/voltha-onos:master
210
211 bbsimChart: onf/bbsim
212 volthaChart: onf/voltha
213 openoltAdapterChart: onf/voltha-adapter-openolt
214 openonuAdapterChart: onf/voltha-adapter-openonu
215
Matteo Scandolo393add12020-05-08 18:03:17 -0700216 olts: 2
217 pons: 2
218 onus: 2
219 workflow: att
220 withFlows: false
221 provisionSubscribers: false
222 withEapol: true
223 withDhcp: true
224 withIgmp: false
225 withLLDP: false
226 withMibTemplate: true
227 withMonitoring: true
228 openonuAdapterReplicas: 1
229 onosReplicas: 1
230 atomixReplicas: 0
231
Matteo Scandolo272aed42020-05-08 15:05:57 -0700232 parameters:
233 - string:
234 name: buildNode
235 default: '{build-node}'
236 description: 'Name of the Jenkins node to run the job on'
237
238 - string:
239 name: logLevel
240 default: 'WARN'
241 description: 'Log level for all the components'
242
243 - string:
244 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700245 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700246 description: 'Number of ONUs to provision'
247
248 - string:
249 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700250 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700251 description: 'Number of PONs to provision'
252
253 - string:
254 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700255 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700256 description: 'How many BBSim instances to run'
257
258 - string:
259 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700260 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700261 description: 'Which workflow are we testing (att, dt, tt)'
262
263 - bool:
264 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700265 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700266 description: 'Wheter to push flows from ONOS'
267
268 - bool:
269 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700270 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700271 description: 'Wheter to provision subscribers durint the tests'
272
273 - bool:
274 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700275 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700276 description: 'Wheter EAPOL is enabled for the test'
277
278 - bool:
279 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700280 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700281 description: 'Wheter DHCP is enabled for the test'
282
283 - bool:
284 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700285 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700286 description: 'Wheter IGMP is enabled for the test'
287
288 - bool:
289 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700290 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700291 description: 'Wheter Link Discovery is enabled for the test'
292
293 - bool:
294 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700295 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700296 description: 'Option to trigger MIB template command'
297
298 - bool:
299 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700300 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700301 description: 'Option to install Prometheus'
302
303 - string:
304 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700305 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700306 description: 'How many OpenONU adapter instances to run'
307
308 - string:
309 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700310 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700311 description: 'How many ONOSes instances to run'
312
313 - string:
314 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700315 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700316 description: 'How many Atomix instances to run'
317
318 - string:
319 name: bbsimImg
320 default: '{bbsimImg}'
321 description: 'Custom image selection for BBSIM (repo:tag)'
322
323 - string:
324 name: bbsimChart
325 default: '{bbsimChart}'
326 description: 'BBSim chart name (or location on file system)'
327
328 - string:
329 name: rwCoreImg
330 default: '{rwCoreImg}'
331 description: 'Custom image selection for VOLTHA (repo:tag)'
332
333 - string:
334 name: ofAgentImg
335 default: '{ofAgentImg}'
336 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
337
338 - string:
339 name: volthaChart
340 default: '{volthaChart}'
341 description: 'VOLTHA chart name (or location on file system)'
342
343 - string:
344 name: openoltAdapterImg
345 default: '{openoltAdapterImg}'
346 description: 'Custom image selection for Openolt Adapter (repo:tag)'
347
348 - string:
349 name: openoltAdapterChart
350 default: '{openoltAdapterChart}'
351 description: 'OpenOLT chart name (or location on file system)'
352
353 - string:
354 name: openonuAdapterImg
355 default: '{openonuAdapterImg}'
356 description: 'Custom image selection for Openonu Adapter (repo:tag)'
357
358 - string:
359 name: openonuAdapterChart
360 default: '{openonuAdapterChart}'
361 description: 'OpenONU chart name (or location on file system)'
362
363 - string:
364 name: onosImg
365 default: '{onosImg}'
366 description: 'Custom image selection for Openonu Adapter (repo:tag)'
367
368 - string:
369 name: volthaSystemTestsChange
370 default: ''
371 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
372
373 project-type: pipeline
374 concurrent: false
375
376 dsl: !include-raw-escape: pipeline/{pipeline-script}
377
378 triggers:
379 - timed: |
380 TZ=America/Los_Angeles
381 {time-trigger}
382
383- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700384 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800385 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700386 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800387
388 description: |
389 <!-- Managed by Jenkins Job Builder -->
390 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
391 Using pipeline {pipeline-script} <br/><br/>
392 Scale measurements for VOLTHA 2.x
393
394 properties:
395 - cord-infra-properties:
396 build-days-to-keep: '{build-days-to-keep}'
397 artifact-num-to-keep: '{artifact-num-to-keep}'
398
399 wrappers:
400 - lf-infra-wrappers:
401 build-timeout: '{build-timeout}'
402 jenkins-ssh-credential: '{jenkins-ssh-credential}'
403
Matteo Scandolo0430f672020-05-07 11:50:26 -0700404 # default values
405 bbsimImg: voltha/bbsim:master
406 rwCoreImg: voltha/voltha-rw-core:master
407 ofAgentImg: voltha/voltha-ofagent-go:master
408 openoltAdapterImg: voltha/voltha-openolt-adapter:master
409 openonuAdapterImg: voltha/voltha-openonu-adapter:master
410 onosImg: voltha/voltha-onos:master
411
412 bbsimChart: onf/bbsim
413 volthaChart: onf/voltha
414 openoltAdapterChart: onf/voltha-adapter-openolt
415 openonuAdapterChart: onf/voltha-adapter-openonu
416
Matteo Scandolo51b76302020-02-05 12:07:23 -0800417 parameters:
418 - string:
419 name: buildNode
420 default: '{build-node}'
421 description: 'Name of the Jenkins node to run the job on'
422
423 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700424 name: logLevel
425 default: 'WARN'
426 description: 'Log level for all the components'
427
428 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700429 name: onus
430 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800431 description: 'Number of ONUs to provision'
432
433 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700434 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700435 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800436 description: 'Number of PONs to provision'
437
Matteo Scandolo0430f672020-05-07 11:50:26 -0700438 - string:
439 name: olts
440 default: 2
441 description: 'How many BBSim instances to run'
442
443 - string:
444 name: workflow
445 default: att
446 description: 'Which workflow are we testing (att, dt, tt)'
447
448 - bool:
449 name: withFlows
450 default: false
451 description: 'Wheter to push flows from ONOS'
452
453 - bool:
454 name: provisionSubscribers
455 default: false
456 description: 'Wheter to provision subscribers durint the tests'
457
458 - bool:
459 name: withEapol
460 default: true
461 description: 'Wheter EAPOL is enabled for the test'
462
463 - bool:
464 name: withDhcp
465 default: true
466 description: 'Wheter DHCP is enabled for the test'
467
468 - bool:
469 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700470 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700471 description: 'Wheter IGMP is enabled for the test'
472
473 - bool:
474 name: withLLDP
475 default: false
476 description: 'Wheter Link Discovery is enabled for the test'
477
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800478 - bool:
479 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700480 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800481 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800482
Matteo Scandolo0430f672020-05-07 11:50:26 -0700483 - bool:
484 name: withMonitoring
485 default: true
486 description: 'Option to install Prometheus'
487
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800488 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700489 name: openonuAdapterReplicas
490 default: 1
491 description: 'How many OpenONU adapter instances to run'
492
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700493 # 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 -0700494 - string:
495 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700496 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700497 description: 'How many ONOSes instances to run'
498
499 - string:
500 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700501 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700502 description: 'How many Atomix instances to run'
503
504 - string:
505 name: bbsimImg
506 default: '{bbsimImg}'
507 description: 'Custom image selection for BBSIM (repo:tag)'
508
509 - string:
510 name: bbsimChart
511 default: '{bbsimChart}'
512 description: 'BBSim chart name (or location on file system)'
513
514 - string:
515 name: rwCoreImg
516 default: '{rwCoreImg}'
517 description: 'Custom image selection for VOLTHA (repo:tag)'
518
519 - string:
520 name: ofAgentImg
521 default: '{ofAgentImg}'
522 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
523
524 - string:
525 name: volthaChart
526 default: '{volthaChart}'
527 description: 'VOLTHA chart name (or location on file system)'
528
529 - string:
530 name: openoltAdapterImg
531 default: '{openoltAdapterImg}'
532 description: 'Custom image selection for Openolt Adapter (repo:tag)'
533
534 - string:
535 name: openoltAdapterChart
536 default: '{openoltAdapterChart}'
537 description: 'OpenOLT chart name (or location on file system)'
538
539 - string:
540 name: openonuAdapterImg
541 default: '{openonuAdapterImg}'
542 description: 'Custom image selection for Openonu Adapter (repo:tag)'
543
544 - string:
545 name: openonuAdapterChart
546 default: '{openonuAdapterChart}'
547 description: 'OpenONU chart name (or location on file system)'
548
549 - string:
550 name: onosImg
551 default: '{onosImg}'
552 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700553
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700554 - string:
555 name: volthaSystemTestsChange
556 default: ''
557 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
558
Matteo Scandolo51b76302020-02-05 12:07:23 -0800559 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800560 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800561
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700562 dsl: !include-raw-escape: pipeline/{pipeline-script}