blob: b181d40237303d1ac3ed769517714f6526137be6 [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 # name format is <job-template>-<olts>-<pon>-<onus>-<setup>
11 # needed for comparison with the openonu-go adapter
12 - 'voltha-scale-measurements':
13 name: 'voltha-scale-measurements-1-2-32-activation-no-mib'
Matteo Scandolo268f3222020-04-24 15:19:25 -070014 build-node: 'onf-pod1-head-node'
15 time-trigger: "H H/4 * * *"
Matteo Scandolo272aed42020-05-08 15:05:57 -070016 olts: 1
17 pons: 2
18 onus: 32
19 withFlows: false
20 provisionSubscribers: false
21 withEapol: false
22 withDhcp: false
23 withIgmp: false
24 withMibTemplate: false
25
26 # jobs for 200 ONUs with a single openonu-adapter
27 - 'voltha-scale-measurements':
28 name: 'voltha-scale-measurements-1-10-20-activation'
Matteo Scandolo3e0e0402020-04-27 16:07:05 -070029 build-node: 'onf-pod1-head-node'
30 time-trigger: "H H/4 * * *"
Matteo Scandolo272aed42020-05-08 15:05:57 -070031 olts: 1
32 pons: 10
33 onus: 20
34 withFlows: false
35 provisionSubscribers: false
36 withEapol: false
37 withDhcp: false
38 withIgmp: false
39 - 'voltha-scale-measurements':
40 name: 'voltha-scale-measurements-1-10-20-flows'
41 build-node: 'onf-pod1-head-node'
42 time-trigger: "H H/4 * * *"
43 olts: 1
44 pons: 10
45 onus: 20
46 withFlows: true
47 provisionSubscribers: false
48 withEapol: true
49 withDhcp: true
50 withIgmp: false
51 - 'voltha-scale-measurements':
52 name: 'voltha-scale-measurements-1-10-20-subscribers'
53 build-node: 'onf-pod1-head-node'
54 time-trigger: "H H/4 * * *"
55 olts: 1
56 pons: 10
57 onus: 20
58 withFlows: true
59 provisionSubscribers: true
60 withEapol: true
61 withDhcp: true
62 withIgmp: false
Matteo Scandoloa731f8f2020-05-11 10:27:26 -070063 - 'voltha-scale-measurements':
64 name: 'voltha-scale-measurements-1-10-20-subscribers-profiled'
65 build-node: 'onf-pod1-head-node'
66 time-trigger: "H H/4 * * *"
67 olts: 1
68 pons: 10
69 onus: 20
70 withFlows: true
71 provisionSubscribers: true
72 withEapol: true
73 withDhcp: true
74 withIgmp: false
75 withProfiling: true
76 extraHelmFlags: '--set profiler.enabled=true '
Matteo Scandolo272aed42020-05-08 15:05:57 -070077
78 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS
79 - 'voltha-scale-measurements':
80 name: 'voltha-scale-measurements-1-16-32-activation'
81 build-node: 'onf-pod1-head-node'
82 time-trigger: "H H/4 * * *"
83 olts: 1
84 pons: 16
85 onus: 32
86 withFlows: false
87 provisionSubscribers: false
88 withEapol: false
89 withDhcp: false
90 withIgmp: false
91 openonuAdapterReplicas: 8
92 onosReplicas: 3
93 atomixReplicas: 3
94 - 'voltha-scale-measurements':
95 name: 'voltha-scale-measurements-1-16-32-flows'
96 build-node: 'onf-pod1-head-node'
97 time-trigger: "H H/4 * * *"
98 olts: 1
99 pons: 16
100 onus: 32
101 withFlows: true
102 provisionSubscribers: false
103 withEapol: true
104 withDhcp: true
105 withIgmp: false
106 openonuAdapterReplicas: 8
107 onosReplicas: 3
108 atomixReplicas: 3
109 - 'voltha-scale-measurements':
110 name: 'voltha-scale-measurements-1-16-32-subscribers'
111 build-node: 'onf-pod1-head-node'
112 time-trigger: "H H/4 * * *"
113 olts: 1
114 pons: 16
115 onus: 32
116 withFlows: true
117 provisionSubscribers: true
118 withEapol: true
119 withDhcp: true
120 withIgmp: false
121 openonuAdapterReplicas: 8
122 onosReplicas: 3
123 atomixReplicas: 3
124
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200125 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
126 - 'voltha-scale-measurements':
127 name: 'voltha-scale-dt-measurements-1-16-32-subscribers'
128 build-node: 'onf-pod1-head-node'
129 time-trigger: "H H/4 * * *"
130 olts: 1
131 pons: 16
132 onus: 32
133 withFlows: true
134 provisionSubscribers: true
135 workflow: dt
136 withEapol: false
137 withDhcp: false
138 withIgmp: false
139 openonuAdapterReplicas: 8
140 onosReplicas: 3
141 atomixReplicas: 3
142
Matteo Scandolo272aed42020-05-08 15:05:57 -0700143 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
144 - 'voltha-scale-measurements':
145 name: 'voltha-scale-measurements-2-16-32-activation'
146 build-node: 'onf-pod1-head-node'
147 time-trigger: "H H/4 * * *"
148 olts: 2
149 pons: 16
150 onus: 32
151 withFlows: false
152 provisionSubscribers: false
153 withEapol: false
154 withDhcp: false
155 withIgmp: false
156 openonuAdapterReplicas: 8
157 onosReplicas: 3
158 atomixReplicas: 3
159 - 'voltha-scale-measurements':
160 name: 'voltha-scale-measurements-2-16-32-flows'
161 build-node: 'onf-pod1-head-node'
162 time-trigger: "H H/4 * * *"
163 olts: 2
164 pons: 16
165 onus: 32
166 withFlows: true
167 provisionSubscribers: false
168 withEapol: true
169 withDhcp: true
170 withIgmp: false
171 openonuAdapterReplicas: 8
172 onosReplicas: 3
173 atomixReplicas: 3
174 - 'voltha-scale-measurements':
175 name: 'voltha-scale-measurements-2-16-32-subscribers'
176 build-node: 'onf-pod1-head-node'
177 time-trigger: "H H/4 * * *"
178 olts: 2
179 pons: 16
180 onus: 32
181 withFlows: true
182 provisionSubscribers: true
183 withEapol: true
184 withDhcp: true
185 withIgmp: false
186 openonuAdapterReplicas: 8
187 onosReplicas: 3
188 atomixReplicas: 3
189
190 # development pipeline
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700191 - 'voltha-scale-measurements-dev':
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800192 name: 'voltha-scale-measurements-dev'
Shrey Baid4c108ad2020-03-10 15:21:13 -0700193 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800194
195- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700196 id: 'voltha-scale-measurements'
197 name: '{name}'
198 pipeline-script: 'voltha-scale-test.groovy'
199
200 description: |
201 <!-- Managed by Jenkins Job Builder -->
202 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
203 Using pipeline {pipeline-script} <br/><br/>
204 Scale measurements for VOLTHA 2.x
205
206 properties:
207 - cord-infra-properties:
208 build-days-to-keep: '{build-days-to-keep}'
209 artifact-num-to-keep: '{artifact-num-to-keep}'
210
211 wrappers:
212 - lf-infra-wrappers:
213 build-timeout: '{build-timeout}'
214 jenkins-ssh-credential: '{jenkins-ssh-credential}'
215
216 # default values
217 bbsimImg: voltha/bbsim:master
218 rwCoreImg: voltha/voltha-rw-core:master
219 ofAgentImg: voltha/voltha-ofagent-go:master
220 openoltAdapterImg: voltha/voltha-openolt-adapter:master
221 openonuAdapterImg: voltha/voltha-openonu-adapter:master
222 onosImg: voltha/voltha-onos:master
223
224 bbsimChart: onf/bbsim
225 volthaChart: onf/voltha
226 openoltAdapterChart: onf/voltha-adapter-openolt
227 openonuAdapterChart: onf/voltha-adapter-openonu
228
Matteo Scandolo393add12020-05-08 18:03:17 -0700229 olts: 2
230 pons: 2
231 onus: 2
232 workflow: att
233 withFlows: false
234 provisionSubscribers: false
235 withEapol: true
236 withDhcp: true
237 withIgmp: false
238 withLLDP: false
239 withMibTemplate: true
240 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700241 withProfiling: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700242 openonuAdapterReplicas: 1
243 onosReplicas: 1
244 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700245 extraHelmFlags: ''
Matteo Scandolo393add12020-05-08 18:03:17 -0700246
Matteo Scandolo272aed42020-05-08 15:05:57 -0700247 parameters:
248 - string:
249 name: buildNode
250 default: '{build-node}'
251 description: 'Name of the Jenkins node to run the job on'
252
253 - string:
254 name: logLevel
255 default: 'WARN'
256 description: 'Log level for all the components'
257
258 - string:
259 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700260 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700261 description: 'Number of ONUs to provision'
262
263 - string:
264 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700265 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700266 description: 'Number of PONs to provision'
267
268 - string:
269 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700270 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700271 description: 'How many BBSim instances to run'
272
273 - string:
274 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700275 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700276 description: 'Which workflow are we testing (att, dt, tt)'
277
278 - bool:
279 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700280 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700281 description: 'Wheter to push flows from ONOS'
282
283 - bool:
284 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700285 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700286 description: 'Wheter to provision subscribers durint the tests'
287
288 - bool:
289 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700290 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700291 description: 'Wheter EAPOL is enabled for the test'
292
293 - bool:
294 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700295 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700296 description: 'Wheter DHCP is enabled for the test'
297
298 - bool:
299 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700300 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700301 description: 'Wheter IGMP is enabled for the test'
302
303 - bool:
304 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700305 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700306 description: 'Wheter Link Discovery is enabled for the test'
307
308 - bool:
309 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700310 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700311 description: 'Option to trigger MIB template command'
312
313 - bool:
314 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700315 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700316 description: 'Option to install Prometheus'
317
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700318 - bool:
319 name: withProfiling
320 default: '{withProfiling}'
321 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
322
323 - string:
324 name: extraHelmFlags
325 default: '{extraHelmFlags}'
326 description: 'Any extra helm parameters you want (passed to every helm install command)'
327
Matteo Scandolo272aed42020-05-08 15:05:57 -0700328 - string:
329 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700330 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700331 description: 'How many OpenONU adapter instances to run'
332
333 - string:
334 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700335 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700336 description: 'How many ONOSes instances to run'
337
338 - string:
339 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700340 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700341 description: 'How many Atomix instances to run'
342
343 - string:
344 name: bbsimImg
345 default: '{bbsimImg}'
346 description: 'Custom image selection for BBSIM (repo:tag)'
347
348 - string:
349 name: bbsimChart
350 default: '{bbsimChart}'
351 description: 'BBSim chart name (or location on file system)'
352
353 - string:
354 name: rwCoreImg
355 default: '{rwCoreImg}'
356 description: 'Custom image selection for VOLTHA (repo:tag)'
357
358 - string:
359 name: ofAgentImg
360 default: '{ofAgentImg}'
361 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
362
363 - string:
364 name: volthaChart
365 default: '{volthaChart}'
366 description: 'VOLTHA chart name (or location on file system)'
367
368 - string:
369 name: openoltAdapterImg
370 default: '{openoltAdapterImg}'
371 description: 'Custom image selection for Openolt Adapter (repo:tag)'
372
373 - string:
374 name: openoltAdapterChart
375 default: '{openoltAdapterChart}'
376 description: 'OpenOLT chart name (or location on file system)'
377
378 - string:
379 name: openonuAdapterImg
380 default: '{openonuAdapterImg}'
381 description: 'Custom image selection for Openonu Adapter (repo:tag)'
382
383 - string:
384 name: openonuAdapterChart
385 default: '{openonuAdapterChart}'
386 description: 'OpenONU chart name (or location on file system)'
387
388 - string:
389 name: onosImg
390 default: '{onosImg}'
391 description: 'Custom image selection for Openonu Adapter (repo:tag)'
392
393 - string:
394 name: volthaSystemTestsChange
395 default: ''
396 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
397
398 project-type: pipeline
399 concurrent: false
400
401 dsl: !include-raw-escape: pipeline/{pipeline-script}
402
403 triggers:
404 - timed: |
405 TZ=America/Los_Angeles
406 {time-trigger}
407
408- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700409 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800410 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700411 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800412
413 description: |
414 <!-- Managed by Jenkins Job Builder -->
415 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
416 Using pipeline {pipeline-script} <br/><br/>
417 Scale measurements for VOLTHA 2.x
418
419 properties:
420 - cord-infra-properties:
421 build-days-to-keep: '{build-days-to-keep}'
422 artifact-num-to-keep: '{artifact-num-to-keep}'
423
424 wrappers:
425 - lf-infra-wrappers:
426 build-timeout: '{build-timeout}'
427 jenkins-ssh-credential: '{jenkins-ssh-credential}'
428
Matteo Scandolo0430f672020-05-07 11:50:26 -0700429 # default values
430 bbsimImg: voltha/bbsim:master
431 rwCoreImg: voltha/voltha-rw-core:master
432 ofAgentImg: voltha/voltha-ofagent-go:master
433 openoltAdapterImg: voltha/voltha-openolt-adapter:master
434 openonuAdapterImg: voltha/voltha-openonu-adapter:master
435 onosImg: voltha/voltha-onos:master
436
437 bbsimChart: onf/bbsim
438 volthaChart: onf/voltha
439 openoltAdapterChart: onf/voltha-adapter-openolt
440 openonuAdapterChart: onf/voltha-adapter-openonu
441
Matteo Scandolo51b76302020-02-05 12:07:23 -0800442 parameters:
443 - string:
444 name: buildNode
445 default: '{build-node}'
446 description: 'Name of the Jenkins node to run the job on'
447
448 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700449 name: logLevel
450 default: 'WARN'
451 description: 'Log level for all the components'
452
453 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700454 name: onus
455 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800456 description: 'Number of ONUs to provision'
457
458 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700459 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700460 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800461 description: 'Number of PONs to provision'
462
Matteo Scandolo0430f672020-05-07 11:50:26 -0700463 - string:
464 name: olts
465 default: 2
466 description: 'How many BBSim instances to run'
467
468 - string:
469 name: workflow
470 default: att
471 description: 'Which workflow are we testing (att, dt, tt)'
472
473 - bool:
474 name: withFlows
475 default: false
476 description: 'Wheter to push flows from ONOS'
477
478 - bool:
479 name: provisionSubscribers
480 default: false
481 description: 'Wheter to provision subscribers durint the tests'
482
483 - bool:
484 name: withEapol
485 default: true
486 description: 'Wheter EAPOL is enabled for the test'
487
488 - bool:
489 name: withDhcp
490 default: true
491 description: 'Wheter DHCP is enabled for the test'
492
493 - bool:
494 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700495 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700496 description: 'Wheter IGMP is enabled for the test'
497
498 - bool:
499 name: withLLDP
500 default: false
501 description: 'Wheter Link Discovery is enabled for the test'
502
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800503 - bool:
504 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700505 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800506 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800507
Matteo Scandolo0430f672020-05-07 11:50:26 -0700508 - bool:
509 name: withMonitoring
510 default: true
511 description: 'Option to install Prometheus'
512
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700513 - bool:
514 name: withProfiling
515 default: false
516 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
517
518 - string:
519 name: extraHelmFlags
520 default: ' '
521 description: 'Any extra helm parameters you want (passed to every helm install command)'
522
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800523 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700524 name: openonuAdapterReplicas
525 default: 1
526 description: 'How many OpenONU adapter instances to run'
527
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700528 # 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 -0700529 - string:
530 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700531 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700532 description: 'How many ONOSes instances to run'
533
534 - string:
535 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700536 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700537 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)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700588
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700589 - 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
Matteo Scandolo51b76302020-02-05 12:07:23 -0800594 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800595 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800596
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700597 dsl: !include-raw-escape: pipeline/{pipeline-script}