blob: 2d261db518081f3871b81323e1835f6135ca6552 [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 Scandolo0dc72af2020-05-12 10:14:57 -070077 rwCoreImg: voltha/voltha-rw-core:master-profile
78 openoltAdapterImg: voltha/voltha-openolt-adapter:master-profile
Matteo Scandolo272aed42020-05-08 15:05:57 -070079
80 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS
81 - 'voltha-scale-measurements':
82 name: 'voltha-scale-measurements-1-16-32-activation'
83 build-node: 'onf-pod1-head-node'
84 time-trigger: "H H/4 * * *"
85 olts: 1
86 pons: 16
87 onus: 32
88 withFlows: false
89 provisionSubscribers: false
90 withEapol: false
91 withDhcp: false
92 withIgmp: false
93 openonuAdapterReplicas: 8
94 onosReplicas: 3
95 atomixReplicas: 3
96 - 'voltha-scale-measurements':
97 name: 'voltha-scale-measurements-1-16-32-flows'
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: false
105 withEapol: true
106 withDhcp: true
107 withIgmp: false
108 openonuAdapterReplicas: 8
109 onosReplicas: 3
110 atomixReplicas: 3
111 - 'voltha-scale-measurements':
112 name: 'voltha-scale-measurements-1-16-32-subscribers'
113 build-node: 'onf-pod1-head-node'
114 time-trigger: "H H/4 * * *"
115 olts: 1
116 pons: 16
117 onus: 32
118 withFlows: true
119 provisionSubscribers: true
120 withEapol: true
121 withDhcp: true
122 withIgmp: false
123 openonuAdapterReplicas: 8
124 onosReplicas: 3
125 atomixReplicas: 3
126
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200127 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
128 - 'voltha-scale-measurements':
129 name: 'voltha-scale-dt-measurements-1-16-32-subscribers'
130 build-node: 'onf-pod1-head-node'
131 time-trigger: "H H/4 * * *"
132 olts: 1
133 pons: 16
134 onus: 32
135 withFlows: true
136 provisionSubscribers: true
137 workflow: dt
138 withEapol: false
139 withDhcp: false
140 withIgmp: false
141 openonuAdapterReplicas: 8
142 onosReplicas: 3
143 atomixReplicas: 3
144
Matteo Scandolo272aed42020-05-08 15:05:57 -0700145 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
146 - 'voltha-scale-measurements':
147 name: 'voltha-scale-measurements-2-16-32-activation'
148 build-node: 'onf-pod1-head-node'
149 time-trigger: "H H/4 * * *"
150 olts: 2
151 pons: 16
152 onus: 32
153 withFlows: false
154 provisionSubscribers: false
155 withEapol: false
156 withDhcp: false
157 withIgmp: false
158 openonuAdapterReplicas: 8
159 onosReplicas: 3
160 atomixReplicas: 3
161 - 'voltha-scale-measurements':
162 name: 'voltha-scale-measurements-2-16-32-flows'
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: false
170 withEapol: true
171 withDhcp: true
172 withIgmp: false
173 openonuAdapterReplicas: 8
174 onosReplicas: 3
175 atomixReplicas: 3
176 - 'voltha-scale-measurements':
177 name: 'voltha-scale-measurements-2-16-32-subscribers'
178 build-node: 'onf-pod1-head-node'
179 time-trigger: "H H/4 * * *"
180 olts: 2
181 pons: 16
182 onus: 32
183 withFlows: true
184 provisionSubscribers: true
185 withEapol: true
186 withDhcp: true
187 withIgmp: false
188 openonuAdapterReplicas: 8
189 onosReplicas: 3
190 atomixReplicas: 3
191
192 # development pipeline
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700193 - 'voltha-scale-measurements-dev':
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800194 name: 'voltha-scale-measurements-dev'
Shrey Baid4c108ad2020-03-10 15:21:13 -0700195 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800196
197- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700198 id: 'voltha-scale-measurements'
199 name: '{name}'
200 pipeline-script: 'voltha-scale-test.groovy'
201
202 description: |
203 <!-- Managed by Jenkins Job Builder -->
204 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
205 Using pipeline {pipeline-script} <br/><br/>
206 Scale measurements for VOLTHA 2.x
207
208 properties:
209 - cord-infra-properties:
210 build-days-to-keep: '{build-days-to-keep}'
211 artifact-num-to-keep: '{artifact-num-to-keep}'
212
213 wrappers:
214 - lf-infra-wrappers:
215 build-timeout: '{build-timeout}'
216 jenkins-ssh-credential: '{jenkins-ssh-credential}'
217
218 # default values
219 bbsimImg: voltha/bbsim:master
220 rwCoreImg: voltha/voltha-rw-core:master
221 ofAgentImg: voltha/voltha-ofagent-go:master
222 openoltAdapterImg: voltha/voltha-openolt-adapter:master
223 openonuAdapterImg: voltha/voltha-openonu-adapter:master
224 onosImg: voltha/voltha-onos:master
225
226 bbsimChart: onf/bbsim
227 volthaChart: onf/voltha
228 openoltAdapterChart: onf/voltha-adapter-openolt
229 openonuAdapterChart: onf/voltha-adapter-openonu
230
Matteo Scandolo393add12020-05-08 18:03:17 -0700231 olts: 2
232 pons: 2
233 onus: 2
234 workflow: att
235 withFlows: false
236 provisionSubscribers: false
237 withEapol: true
238 withDhcp: true
239 withIgmp: false
240 withLLDP: false
241 withMibTemplate: true
242 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700243 withProfiling: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700244 openonuAdapterReplicas: 1
245 onosReplicas: 1
246 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700247 extraHelmFlags: ''
Matteo Scandolo393add12020-05-08 18:03:17 -0700248
Matteo Scandolo272aed42020-05-08 15:05:57 -0700249 parameters:
250 - string:
251 name: buildNode
252 default: '{build-node}'
253 description: 'Name of the Jenkins node to run the job on'
254
255 - string:
256 name: logLevel
257 default: 'WARN'
258 description: 'Log level for all the components'
259
260 - string:
261 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700262 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700263 description: 'Number of ONUs to provision'
264
265 - string:
266 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700267 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700268 description: 'Number of PONs to provision'
269
270 - string:
271 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700272 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700273 description: 'How many BBSim instances to run'
274
275 - string:
276 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700277 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700278 description: 'Which workflow are we testing (att, dt, tt)'
279
280 - bool:
281 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700282 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700283 description: 'Wheter to push flows from ONOS'
284
285 - bool:
286 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700287 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700288 description: 'Wheter to provision subscribers durint the tests'
289
290 - bool:
291 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700292 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700293 description: 'Wheter EAPOL is enabled for the test'
294
295 - bool:
296 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700297 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700298 description: 'Wheter DHCP is enabled for the test'
299
300 - bool:
301 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700302 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700303 description: 'Wheter IGMP is enabled for the test'
304
305 - bool:
306 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700307 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700308 description: 'Wheter Link Discovery is enabled for the test'
309
310 - bool:
311 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700312 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700313 description: 'Option to trigger MIB template command'
314
315 - bool:
316 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700317 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700318 description: 'Option to install Prometheus'
319
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700320 - bool:
321 name: withProfiling
322 default: '{withProfiling}'
323 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
324
325 - string:
326 name: extraHelmFlags
327 default: '{extraHelmFlags}'
328 description: 'Any extra helm parameters you want (passed to every helm install command)'
329
Matteo Scandolo272aed42020-05-08 15:05:57 -0700330 - string:
331 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700332 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700333 description: 'How many OpenONU adapter instances to run'
334
335 - string:
336 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700337 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700338 description: 'How many ONOSes instances to run'
339
340 - string:
341 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700342 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700343 description: 'How many Atomix instances to run'
344
345 - string:
346 name: bbsimImg
347 default: '{bbsimImg}'
348 description: 'Custom image selection for BBSIM (repo:tag)'
349
350 - string:
351 name: bbsimChart
352 default: '{bbsimChart}'
353 description: 'BBSim chart name (or location on file system)'
354
355 - string:
356 name: rwCoreImg
357 default: '{rwCoreImg}'
358 description: 'Custom image selection for VOLTHA (repo:tag)'
359
360 - string:
361 name: ofAgentImg
362 default: '{ofAgentImg}'
363 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
364
365 - string:
366 name: volthaChart
367 default: '{volthaChart}'
368 description: 'VOLTHA chart name (or location on file system)'
369
370 - string:
371 name: openoltAdapterImg
372 default: '{openoltAdapterImg}'
373 description: 'Custom image selection for Openolt Adapter (repo:tag)'
374
375 - string:
376 name: openoltAdapterChart
377 default: '{openoltAdapterChart}'
378 description: 'OpenOLT chart name (or location on file system)'
379
380 - string:
381 name: openonuAdapterImg
382 default: '{openonuAdapterImg}'
383 description: 'Custom image selection for Openonu Adapter (repo:tag)'
384
385 - string:
386 name: openonuAdapterChart
387 default: '{openonuAdapterChart}'
388 description: 'OpenONU chart name (or location on file system)'
389
390 - string:
391 name: onosImg
392 default: '{onosImg}'
393 description: 'Custom image selection for Openonu Adapter (repo:tag)'
394
395 - string:
396 name: volthaSystemTestsChange
397 default: ''
398 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
399
400 project-type: pipeline
401 concurrent: false
402
403 dsl: !include-raw-escape: pipeline/{pipeline-script}
404
405 triggers:
406 - timed: |
407 TZ=America/Los_Angeles
408 {time-trigger}
409
410- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700411 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800412 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700413 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800414
415 description: |
416 <!-- Managed by Jenkins Job Builder -->
417 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
418 Using pipeline {pipeline-script} <br/><br/>
419 Scale measurements for VOLTHA 2.x
420
421 properties:
422 - cord-infra-properties:
423 build-days-to-keep: '{build-days-to-keep}'
424 artifact-num-to-keep: '{artifact-num-to-keep}'
425
426 wrappers:
427 - lf-infra-wrappers:
428 build-timeout: '{build-timeout}'
429 jenkins-ssh-credential: '{jenkins-ssh-credential}'
430
Matteo Scandolo0430f672020-05-07 11:50:26 -0700431 # default values
432 bbsimImg: voltha/bbsim:master
433 rwCoreImg: voltha/voltha-rw-core:master
434 ofAgentImg: voltha/voltha-ofagent-go:master
435 openoltAdapterImg: voltha/voltha-openolt-adapter:master
436 openonuAdapterImg: voltha/voltha-openonu-adapter:master
437 onosImg: voltha/voltha-onos:master
438
439 bbsimChart: onf/bbsim
440 volthaChart: onf/voltha
441 openoltAdapterChart: onf/voltha-adapter-openolt
442 openonuAdapterChart: onf/voltha-adapter-openonu
443
Matteo Scandolo51b76302020-02-05 12:07:23 -0800444 parameters:
445 - string:
446 name: buildNode
447 default: '{build-node}'
448 description: 'Name of the Jenkins node to run the job on'
449
450 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700451 name: logLevel
452 default: 'WARN'
453 description: 'Log level for all the components'
454
455 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700456 name: onus
457 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800458 description: 'Number of ONUs to provision'
459
460 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700461 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700462 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800463 description: 'Number of PONs to provision'
464
Matteo Scandolo0430f672020-05-07 11:50:26 -0700465 - string:
466 name: olts
467 default: 2
468 description: 'How many BBSim instances to run'
469
470 - string:
471 name: workflow
472 default: att
473 description: 'Which workflow are we testing (att, dt, tt)'
474
475 - bool:
476 name: withFlows
477 default: false
478 description: 'Wheter to push flows from ONOS'
479
480 - bool:
481 name: provisionSubscribers
482 default: false
483 description: 'Wheter to provision subscribers durint the tests'
484
485 - bool:
486 name: withEapol
487 default: true
488 description: 'Wheter EAPOL is enabled for the test'
489
490 - bool:
491 name: withDhcp
492 default: true
493 description: 'Wheter DHCP is enabled for the test'
494
495 - bool:
496 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700497 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700498 description: 'Wheter IGMP is enabled for the test'
499
500 - bool:
501 name: withLLDP
502 default: false
503 description: 'Wheter Link Discovery is enabled for the test'
504
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800505 - bool:
506 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700507 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800508 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800509
Matteo Scandolo0430f672020-05-07 11:50:26 -0700510 - bool:
511 name: withMonitoring
512 default: true
513 description: 'Option to install Prometheus'
514
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700515 - bool:
516 name: withProfiling
517 default: false
518 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
519
520 - string:
521 name: extraHelmFlags
522 default: ' '
523 description: 'Any extra helm parameters you want (passed to every helm install command)'
524
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800525 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700526 name: openonuAdapterReplicas
527 default: 1
528 description: 'How many OpenONU adapter instances to run'
529
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700530 # 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 -0700531 - string:
532 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700533 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700534 description: 'How many ONOSes instances to run'
535
536 - string:
537 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700538 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700539 description: 'How many Atomix instances to run'
540
541 - string:
542 name: bbsimImg
543 default: '{bbsimImg}'
544 description: 'Custom image selection for BBSIM (repo:tag)'
545
546 - string:
547 name: bbsimChart
548 default: '{bbsimChart}'
549 description: 'BBSim chart name (or location on file system)'
550
551 - string:
552 name: rwCoreImg
553 default: '{rwCoreImg}'
554 description: 'Custom image selection for VOLTHA (repo:tag)'
555
556 - string:
557 name: ofAgentImg
558 default: '{ofAgentImg}'
559 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
560
561 - string:
562 name: volthaChart
563 default: '{volthaChart}'
564 description: 'VOLTHA chart name (or location on file system)'
565
566 - string:
567 name: openoltAdapterImg
568 default: '{openoltAdapterImg}'
569 description: 'Custom image selection for Openolt Adapter (repo:tag)'
570
571 - string:
572 name: openoltAdapterChart
573 default: '{openoltAdapterChart}'
574 description: 'OpenOLT chart name (or location on file system)'
575
576 - string:
577 name: openonuAdapterImg
578 default: '{openonuAdapterImg}'
579 description: 'Custom image selection for Openonu Adapter (repo:tag)'
580
581 - string:
582 name: openonuAdapterChart
583 default: '{openonuAdapterChart}'
584 description: 'OpenONU chart name (or location on file system)'
585
586 - string:
587 name: onosImg
588 default: '{onosImg}'
589 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700590
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700591 - string:
592 name: volthaSystemTestsChange
593 default: ''
594 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
595
Matteo Scandolo51b76302020-02-05 12:07:23 -0800596 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800597 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800598
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700599 dsl: !include-raw-escape: pipeline/{pipeline-script}