blob: 6bd1ed7a0d9cc40c05fec75465937a87a0043570 [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
125 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
126 - 'voltha-scale-measurements':
127 name: 'voltha-scale-measurements-2-16-32-activation'
128 build-node: 'onf-pod1-head-node'
129 time-trigger: "H H/4 * * *"
130 olts: 2
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-2-16-32-flows'
143 build-node: 'onf-pod1-head-node'
144 time-trigger: "H H/4 * * *"
145 olts: 2
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-2-16-32-subscribers'
158 build-node: 'onf-pod1-head-node'
159 time-trigger: "H H/4 * * *"
160 olts: 2
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 # development pipeline
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700173 - 'voltha-scale-measurements-dev':
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800174 name: 'voltha-scale-measurements-dev'
Shrey Baid4c108ad2020-03-10 15:21:13 -0700175 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800176
177- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700178 id: 'voltha-scale-measurements'
179 name: '{name}'
180 pipeline-script: 'voltha-scale-test.groovy'
181
182 description: |
183 <!-- Managed by Jenkins Job Builder -->
184 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
185 Using pipeline {pipeline-script} <br/><br/>
186 Scale measurements for VOLTHA 2.x
187
188 properties:
189 - cord-infra-properties:
190 build-days-to-keep: '{build-days-to-keep}'
191 artifact-num-to-keep: '{artifact-num-to-keep}'
192
193 wrappers:
194 - lf-infra-wrappers:
195 build-timeout: '{build-timeout}'
196 jenkins-ssh-credential: '{jenkins-ssh-credential}'
197
198 # default values
199 bbsimImg: voltha/bbsim:master
200 rwCoreImg: voltha/voltha-rw-core:master
201 ofAgentImg: voltha/voltha-ofagent-go:master
202 openoltAdapterImg: voltha/voltha-openolt-adapter:master
203 openonuAdapterImg: voltha/voltha-openonu-adapter:master
204 onosImg: voltha/voltha-onos:master
205
206 bbsimChart: onf/bbsim
207 volthaChart: onf/voltha
208 openoltAdapterChart: onf/voltha-adapter-openolt
209 openonuAdapterChart: onf/voltha-adapter-openonu
210
Matteo Scandolo393add12020-05-08 18:03:17 -0700211 olts: 2
212 pons: 2
213 onus: 2
214 workflow: att
215 withFlows: false
216 provisionSubscribers: false
217 withEapol: true
218 withDhcp: true
219 withIgmp: false
220 withLLDP: false
221 withMibTemplate: true
222 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700223 withProfiling: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700224 openonuAdapterReplicas: 1
225 onosReplicas: 1
226 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700227 extraHelmFlags: ''
Matteo Scandolo393add12020-05-08 18:03:17 -0700228
Matteo Scandolo272aed42020-05-08 15:05:57 -0700229 parameters:
230 - string:
231 name: buildNode
232 default: '{build-node}'
233 description: 'Name of the Jenkins node to run the job on'
234
235 - string:
236 name: logLevel
237 default: 'WARN'
238 description: 'Log level for all the components'
239
240 - string:
241 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700242 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700243 description: 'Number of ONUs to provision'
244
245 - string:
246 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700247 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700248 description: 'Number of PONs to provision'
249
250 - string:
251 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700252 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700253 description: 'How many BBSim instances to run'
254
255 - string:
256 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700257 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700258 description: 'Which workflow are we testing (att, dt, tt)'
259
260 - bool:
261 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700262 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700263 description: 'Wheter to push flows from ONOS'
264
265 - bool:
266 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700267 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700268 description: 'Wheter to provision subscribers durint the tests'
269
270 - bool:
271 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700272 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700273 description: 'Wheter EAPOL is enabled for the test'
274
275 - bool:
276 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700277 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700278 description: 'Wheter DHCP is enabled for the test'
279
280 - bool:
281 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700282 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700283 description: 'Wheter IGMP is enabled for the test'
284
285 - bool:
286 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700287 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700288 description: 'Wheter Link Discovery is enabled for the test'
289
290 - bool:
291 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700292 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700293 description: 'Option to trigger MIB template command'
294
295 - bool:
296 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700297 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700298 description: 'Option to install Prometheus'
299
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700300 - bool:
301 name: withProfiling
302 default: '{withProfiling}'
303 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
304
305 - string:
306 name: extraHelmFlags
307 default: '{extraHelmFlags}'
308 description: 'Any extra helm parameters you want (passed to every helm install command)'
309
Matteo Scandolo272aed42020-05-08 15:05:57 -0700310 - string:
311 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700312 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700313 description: 'How many OpenONU adapter instances to run'
314
315 - string:
316 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700317 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700318 description: 'How many ONOSes instances to run'
319
320 - string:
321 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700322 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700323 description: 'How many Atomix instances to run'
324
325 - string:
326 name: bbsimImg
327 default: '{bbsimImg}'
328 description: 'Custom image selection for BBSIM (repo:tag)'
329
330 - string:
331 name: bbsimChart
332 default: '{bbsimChart}'
333 description: 'BBSim chart name (or location on file system)'
334
335 - string:
336 name: rwCoreImg
337 default: '{rwCoreImg}'
338 description: 'Custom image selection for VOLTHA (repo:tag)'
339
340 - string:
341 name: ofAgentImg
342 default: '{ofAgentImg}'
343 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
344
345 - string:
346 name: volthaChart
347 default: '{volthaChart}'
348 description: 'VOLTHA chart name (or location on file system)'
349
350 - string:
351 name: openoltAdapterImg
352 default: '{openoltAdapterImg}'
353 description: 'Custom image selection for Openolt Adapter (repo:tag)'
354
355 - string:
356 name: openoltAdapterChart
357 default: '{openoltAdapterChart}'
358 description: 'OpenOLT chart name (or location on file system)'
359
360 - string:
361 name: openonuAdapterImg
362 default: '{openonuAdapterImg}'
363 description: 'Custom image selection for Openonu Adapter (repo:tag)'
364
365 - string:
366 name: openonuAdapterChart
367 default: '{openonuAdapterChart}'
368 description: 'OpenONU chart name (or location on file system)'
369
370 - string:
371 name: onosImg
372 default: '{onosImg}'
373 description: 'Custom image selection for Openonu Adapter (repo:tag)'
374
375 - string:
376 name: volthaSystemTestsChange
377 default: ''
378 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
379
380 project-type: pipeline
381 concurrent: false
382
383 dsl: !include-raw-escape: pipeline/{pipeline-script}
384
385 triggers:
386 - timed: |
387 TZ=America/Los_Angeles
388 {time-trigger}
389
390- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700391 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800392 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700393 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800394
395 description: |
396 <!-- Managed by Jenkins Job Builder -->
397 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
398 Using pipeline {pipeline-script} <br/><br/>
399 Scale measurements for VOLTHA 2.x
400
401 properties:
402 - cord-infra-properties:
403 build-days-to-keep: '{build-days-to-keep}'
404 artifact-num-to-keep: '{artifact-num-to-keep}'
405
406 wrappers:
407 - lf-infra-wrappers:
408 build-timeout: '{build-timeout}'
409 jenkins-ssh-credential: '{jenkins-ssh-credential}'
410
Matteo Scandolo0430f672020-05-07 11:50:26 -0700411 # default values
412 bbsimImg: voltha/bbsim:master
413 rwCoreImg: voltha/voltha-rw-core:master
414 ofAgentImg: voltha/voltha-ofagent-go:master
415 openoltAdapterImg: voltha/voltha-openolt-adapter:master
416 openonuAdapterImg: voltha/voltha-openonu-adapter:master
417 onosImg: voltha/voltha-onos:master
418
419 bbsimChart: onf/bbsim
420 volthaChart: onf/voltha
421 openoltAdapterChart: onf/voltha-adapter-openolt
422 openonuAdapterChart: onf/voltha-adapter-openonu
423
Matteo Scandolo51b76302020-02-05 12:07:23 -0800424 parameters:
425 - string:
426 name: buildNode
427 default: '{build-node}'
428 description: 'Name of the Jenkins node to run the job on'
429
430 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700431 name: logLevel
432 default: 'WARN'
433 description: 'Log level for all the components'
434
435 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700436 name: onus
437 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800438 description: 'Number of ONUs to provision'
439
440 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700441 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700442 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800443 description: 'Number of PONs to provision'
444
Matteo Scandolo0430f672020-05-07 11:50:26 -0700445 - string:
446 name: olts
447 default: 2
448 description: 'How many BBSim instances to run'
449
450 - string:
451 name: workflow
452 default: att
453 description: 'Which workflow are we testing (att, dt, tt)'
454
455 - bool:
456 name: withFlows
457 default: false
458 description: 'Wheter to push flows from ONOS'
459
460 - bool:
461 name: provisionSubscribers
462 default: false
463 description: 'Wheter to provision subscribers durint the tests'
464
465 - bool:
466 name: withEapol
467 default: true
468 description: 'Wheter EAPOL is enabled for the test'
469
470 - bool:
471 name: withDhcp
472 default: true
473 description: 'Wheter DHCP is enabled for the test'
474
475 - bool:
476 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700477 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700478 description: 'Wheter IGMP is enabled for the test'
479
480 - bool:
481 name: withLLDP
482 default: false
483 description: 'Wheter Link Discovery is enabled for the test'
484
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800485 - bool:
486 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700487 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800488 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800489
Matteo Scandolo0430f672020-05-07 11:50:26 -0700490 - bool:
491 name: withMonitoring
492 default: true
493 description: 'Option to install Prometheus'
494
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700495 - bool:
496 name: withProfiling
497 default: false
498 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
499
500 - string:
501 name: extraHelmFlags
502 default: ' '
503 description: 'Any extra helm parameters you want (passed to every helm install command)'
504
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800505 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700506 name: openonuAdapterReplicas
507 default: 1
508 description: 'How many OpenONU adapter instances to run'
509
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700510 # 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 -0700511 - string:
512 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700513 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700514 description: 'How many ONOSes instances to run'
515
516 - string:
517 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700518 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700519 description: 'How many Atomix instances to run'
520
521 - string:
522 name: bbsimImg
523 default: '{bbsimImg}'
524 description: 'Custom image selection for BBSIM (repo:tag)'
525
526 - string:
527 name: bbsimChart
528 default: '{bbsimChart}'
529 description: 'BBSim chart name (or location on file system)'
530
531 - string:
532 name: rwCoreImg
533 default: '{rwCoreImg}'
534 description: 'Custom image selection for VOLTHA (repo:tag)'
535
536 - string:
537 name: ofAgentImg
538 default: '{ofAgentImg}'
539 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
540
541 - string:
542 name: volthaChart
543 default: '{volthaChart}'
544 description: 'VOLTHA chart name (or location on file system)'
545
546 - string:
547 name: openoltAdapterImg
548 default: '{openoltAdapterImg}'
549 description: 'Custom image selection for Openolt Adapter (repo:tag)'
550
551 - string:
552 name: openoltAdapterChart
553 default: '{openoltAdapterChart}'
554 description: 'OpenOLT chart name (or location on file system)'
555
556 - string:
557 name: openonuAdapterImg
558 default: '{openonuAdapterImg}'
559 description: 'Custom image selection for Openonu Adapter (repo:tag)'
560
561 - string:
562 name: openonuAdapterChart
563 default: '{openonuAdapterChart}'
564 description: 'OpenONU chart name (or location on file system)'
565
566 - string:
567 name: onosImg
568 default: '{onosImg}'
569 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700570
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700571 - string:
572 name: volthaSystemTestsChange
573 default: ''
574 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
575
Matteo Scandolo51b76302020-02-05 12:07:23 -0800576 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800577 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800578
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700579 dsl: !include-raw-escape: pipeline/{pipeline-script}