blob: 8f85635bc81cf675e052492934b22d660caeadf2 [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 Scandolo525bc452020-05-15 10:43:28 -070079 ofAgentImg: voltha/voltha-ofagent-go:master-profile
Matteo Scandolo272aed42020-05-08 15:05:57 -070080
81 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS
82 - 'voltha-scale-measurements':
83 name: 'voltha-scale-measurements-1-16-32-activation'
84 build-node: 'onf-pod1-head-node'
85 time-trigger: "H H/4 * * *"
86 olts: 1
87 pons: 16
88 onus: 32
89 withFlows: false
90 provisionSubscribers: false
91 withEapol: false
92 withDhcp: false
93 withIgmp: false
94 openonuAdapterReplicas: 8
95 onosReplicas: 3
96 atomixReplicas: 3
97 - 'voltha-scale-measurements':
98 name: 'voltha-scale-measurements-1-16-32-flows'
99 build-node: 'onf-pod1-head-node'
100 time-trigger: "H H/4 * * *"
101 olts: 1
102 pons: 16
103 onus: 32
104 withFlows: true
105 provisionSubscribers: false
106 withEapol: true
107 withDhcp: true
108 withIgmp: false
109 openonuAdapterReplicas: 8
110 onosReplicas: 3
111 atomixReplicas: 3
112 - 'voltha-scale-measurements':
113 name: 'voltha-scale-measurements-1-16-32-subscribers'
114 build-node: 'onf-pod1-head-node'
115 time-trigger: "H H/4 * * *"
116 olts: 1
117 pons: 16
118 onus: 32
119 withFlows: true
120 provisionSubscribers: true
121 withEapol: true
122 withDhcp: true
123 withIgmp: false
124 openonuAdapterReplicas: 8
125 onosReplicas: 3
126 atomixReplicas: 3
127
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200128 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
129 - 'voltha-scale-measurements':
130 name: 'voltha-scale-dt-measurements-1-16-32-subscribers'
131 build-node: 'onf-pod1-head-node'
132 time-trigger: "H H/4 * * *"
133 olts: 1
134 pons: 16
135 onus: 32
136 withFlows: true
137 provisionSubscribers: true
138 workflow: dt
139 withEapol: false
140 withDhcp: false
141 withIgmp: false
142 openonuAdapterReplicas: 8
143 onosReplicas: 3
144 atomixReplicas: 3
145
Matteo Scandolo272aed42020-05-08 15:05:57 -0700146 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
147 - 'voltha-scale-measurements':
148 name: 'voltha-scale-measurements-2-16-32-activation'
149 build-node: 'onf-pod1-head-node'
150 time-trigger: "H H/4 * * *"
151 olts: 2
152 pons: 16
153 onus: 32
154 withFlows: false
155 provisionSubscribers: false
156 withEapol: false
157 withDhcp: false
158 withIgmp: false
159 openonuAdapterReplicas: 8
160 onosReplicas: 3
161 atomixReplicas: 3
162 - 'voltha-scale-measurements':
163 name: 'voltha-scale-measurements-2-16-32-flows'
164 build-node: 'onf-pod1-head-node'
165 time-trigger: "H H/4 * * *"
166 olts: 2
167 pons: 16
168 onus: 32
169 withFlows: true
170 provisionSubscribers: false
171 withEapol: true
172 withDhcp: true
173 withIgmp: false
174 openonuAdapterReplicas: 8
175 onosReplicas: 3
176 atomixReplicas: 3
177 - 'voltha-scale-measurements':
178 name: 'voltha-scale-measurements-2-16-32-subscribers'
179 build-node: 'onf-pod1-head-node'
180 time-trigger: "H H/4 * * *"
181 olts: 2
182 pons: 16
183 onus: 32
184 withFlows: true
185 provisionSubscribers: true
186 withEapol: true
187 withDhcp: true
188 withIgmp: false
189 openonuAdapterReplicas: 8
190 onosReplicas: 3
191 atomixReplicas: 3
192
193 # development pipeline
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700194 - 'voltha-scale-measurements-dev':
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800195 name: 'voltha-scale-measurements-dev'
Shrey Baid4c108ad2020-03-10 15:21:13 -0700196 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800197
198- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700199 id: 'voltha-scale-measurements'
200 name: '{name}'
201 pipeline-script: 'voltha-scale-test.groovy'
202
203 description: |
204 <!-- Managed by Jenkins Job Builder -->
205 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
206 Using pipeline {pipeline-script} <br/><br/>
207 Scale measurements for VOLTHA 2.x
208
209 properties:
210 - cord-infra-properties:
211 build-days-to-keep: '{build-days-to-keep}'
212 artifact-num-to-keep: '{artifact-num-to-keep}'
213
214 wrappers:
215 - lf-infra-wrappers:
216 build-timeout: '{build-timeout}'
217 jenkins-ssh-credential: '{jenkins-ssh-credential}'
218
219 # default values
220 bbsimImg: voltha/bbsim:master
221 rwCoreImg: voltha/voltha-rw-core:master
222 ofAgentImg: voltha/voltha-ofagent-go:master
223 openoltAdapterImg: voltha/voltha-openolt-adapter:master
224 openonuAdapterImg: voltha/voltha-openonu-adapter:master
225 onosImg: voltha/voltha-onos:master
226
227 bbsimChart: onf/bbsim
228 volthaChart: onf/voltha
229 openoltAdapterChart: onf/voltha-adapter-openolt
230 openonuAdapterChart: onf/voltha-adapter-openonu
231
Matteo Scandolo393add12020-05-08 18:03:17 -0700232 olts: 2
233 pons: 2
234 onus: 2
235 workflow: att
236 withFlows: false
237 provisionSubscribers: false
238 withEapol: true
239 withDhcp: true
240 withIgmp: false
241 withLLDP: false
242 withMibTemplate: true
243 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700244 withProfiling: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700245 openonuAdapterReplicas: 1
246 onosReplicas: 1
247 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700248 extraHelmFlags: ''
Matteo Scandolo393add12020-05-08 18:03:17 -0700249
Matteo Scandolo272aed42020-05-08 15:05:57 -0700250 parameters:
251 - string:
252 name: buildNode
253 default: '{build-node}'
254 description: 'Name of the Jenkins node to run the job on'
255
256 - string:
257 name: logLevel
258 default: 'WARN'
259 description: 'Log level for all the components'
260
261 - string:
262 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700263 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700264 description: 'Number of ONUs to provision'
265
266 - string:
267 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700268 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700269 description: 'Number of PONs to provision'
270
271 - string:
272 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700273 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700274 description: 'How many BBSim instances to run'
275
276 - string:
277 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700278 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700279 description: 'Which workflow are we testing (att, dt, tt)'
280
281 - bool:
282 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700283 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700284 description: 'Wheter to push flows from ONOS'
285
286 - bool:
287 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700288 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700289 description: 'Wheter to provision subscribers durint the tests'
290
291 - bool:
292 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700293 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700294 description: 'Wheter EAPOL is enabled for the test'
295
296 - bool:
297 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700298 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700299 description: 'Wheter DHCP is enabled for the test'
300
301 - bool:
302 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700303 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700304 description: 'Wheter IGMP is enabled for the test'
305
306 - bool:
307 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700308 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700309 description: 'Wheter Link Discovery is enabled for the test'
310
311 - bool:
312 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700313 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700314 description: 'Option to trigger MIB template command'
315
316 - bool:
317 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700318 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700319 description: 'Option to install Prometheus'
320
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700321 - bool:
322 name: withProfiling
323 default: '{withProfiling}'
324 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
325
326 - string:
327 name: extraHelmFlags
328 default: '{extraHelmFlags}'
329 description: 'Any extra helm parameters you want (passed to every helm install command)'
330
Matteo Scandolo272aed42020-05-08 15:05:57 -0700331 - string:
332 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700333 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700334 description: 'How many OpenONU adapter instances to run'
335
336 - string:
337 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700338 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700339 description: 'How many ONOSes instances to run'
340
341 - string:
342 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700343 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700344 description: 'How many Atomix instances to run'
345
346 - string:
347 name: bbsimImg
348 default: '{bbsimImg}'
349 description: 'Custom image selection for BBSIM (repo:tag)'
350
351 - string:
352 name: bbsimChart
353 default: '{bbsimChart}'
354 description: 'BBSim chart name (or location on file system)'
355
356 - string:
357 name: rwCoreImg
358 default: '{rwCoreImg}'
359 description: 'Custom image selection for VOLTHA (repo:tag)'
360
361 - string:
362 name: ofAgentImg
363 default: '{ofAgentImg}'
364 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
365
366 - string:
367 name: volthaChart
368 default: '{volthaChart}'
369 description: 'VOLTHA chart name (or location on file system)'
370
371 - string:
372 name: openoltAdapterImg
373 default: '{openoltAdapterImg}'
374 description: 'Custom image selection for Openolt Adapter (repo:tag)'
375
376 - string:
377 name: openoltAdapterChart
378 default: '{openoltAdapterChart}'
379 description: 'OpenOLT chart name (or location on file system)'
380
381 - string:
382 name: openonuAdapterImg
383 default: '{openonuAdapterImg}'
384 description: 'Custom image selection for Openonu Adapter (repo:tag)'
385
386 - string:
387 name: openonuAdapterChart
388 default: '{openonuAdapterChart}'
389 description: 'OpenONU chart name (or location on file system)'
390
391 - string:
392 name: onosImg
393 default: '{onosImg}'
394 description: 'Custom image selection for Openonu Adapter (repo:tag)'
395
396 - string:
397 name: volthaSystemTestsChange
398 default: ''
399 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
400
401 project-type: pipeline
402 concurrent: false
403
404 dsl: !include-raw-escape: pipeline/{pipeline-script}
405
406 triggers:
407 - timed: |
408 TZ=America/Los_Angeles
409 {time-trigger}
410
411- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700412 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800413 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700414 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800415
416 description: |
417 <!-- Managed by Jenkins Job Builder -->
418 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
419 Using pipeline {pipeline-script} <br/><br/>
420 Scale measurements for VOLTHA 2.x
421
422 properties:
423 - cord-infra-properties:
424 build-days-to-keep: '{build-days-to-keep}'
425 artifact-num-to-keep: '{artifact-num-to-keep}'
426
427 wrappers:
428 - lf-infra-wrappers:
429 build-timeout: '{build-timeout}'
430 jenkins-ssh-credential: '{jenkins-ssh-credential}'
431
Matteo Scandolo0430f672020-05-07 11:50:26 -0700432 # default values
433 bbsimImg: voltha/bbsim:master
434 rwCoreImg: voltha/voltha-rw-core:master
435 ofAgentImg: voltha/voltha-ofagent-go:master
436 openoltAdapterImg: voltha/voltha-openolt-adapter:master
437 openonuAdapterImg: voltha/voltha-openonu-adapter:master
438 onosImg: voltha/voltha-onos:master
439
440 bbsimChart: onf/bbsim
441 volthaChart: onf/voltha
442 openoltAdapterChart: onf/voltha-adapter-openolt
443 openonuAdapterChart: onf/voltha-adapter-openonu
444
Matteo Scandolo51b76302020-02-05 12:07:23 -0800445 parameters:
446 - string:
447 name: buildNode
448 default: '{build-node}'
449 description: 'Name of the Jenkins node to run the job on'
450
451 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700452 name: logLevel
453 default: 'WARN'
454 description: 'Log level for all the components'
455
456 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700457 name: onus
458 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800459 description: 'Number of ONUs to provision'
460
461 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700462 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700463 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800464 description: 'Number of PONs to provision'
465
Matteo Scandolo0430f672020-05-07 11:50:26 -0700466 - string:
467 name: olts
468 default: 2
469 description: 'How many BBSim instances to run'
470
471 - string:
472 name: workflow
473 default: att
474 description: 'Which workflow are we testing (att, dt, tt)'
475
476 - bool:
477 name: withFlows
478 default: false
479 description: 'Wheter to push flows from ONOS'
480
481 - bool:
482 name: provisionSubscribers
483 default: false
484 description: 'Wheter to provision subscribers durint the tests'
485
486 - bool:
487 name: withEapol
488 default: true
489 description: 'Wheter EAPOL is enabled for the test'
490
491 - bool:
492 name: withDhcp
493 default: true
494 description: 'Wheter DHCP is enabled for the test'
495
496 - bool:
497 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700498 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700499 description: 'Wheter IGMP is enabled for the test'
500
501 - bool:
502 name: withLLDP
503 default: false
504 description: 'Wheter Link Discovery is enabled for the test'
505
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800506 - bool:
507 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700508 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800509 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800510
Matteo Scandolo0430f672020-05-07 11:50:26 -0700511 - bool:
512 name: withMonitoring
513 default: true
514 description: 'Option to install Prometheus'
515
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700516 - bool:
517 name: withProfiling
518 default: false
519 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
520
521 - string:
522 name: extraHelmFlags
523 default: ' '
524 description: 'Any extra helm parameters you want (passed to every helm install command)'
525
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800526 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700527 name: openonuAdapterReplicas
528 default: 1
529 description: 'How many OpenONU adapter instances to run'
530
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700531 # 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 -0700532 - string:
533 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700534 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700535 description: 'How many ONOSes instances to run'
536
537 - string:
538 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700539 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700540 description: 'How many Atomix instances to run'
541
542 - string:
543 name: bbsimImg
544 default: '{bbsimImg}'
545 description: 'Custom image selection for BBSIM (repo:tag)'
546
547 - string:
548 name: bbsimChart
549 default: '{bbsimChart}'
550 description: 'BBSim chart name (or location on file system)'
551
552 - string:
553 name: rwCoreImg
554 default: '{rwCoreImg}'
555 description: 'Custom image selection for VOLTHA (repo:tag)'
556
557 - string:
558 name: ofAgentImg
559 default: '{ofAgentImg}'
560 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
561
562 - string:
563 name: volthaChart
564 default: '{volthaChart}'
565 description: 'VOLTHA chart name (or location on file system)'
566
567 - string:
568 name: openoltAdapterImg
569 default: '{openoltAdapterImg}'
570 description: 'Custom image selection for Openolt Adapter (repo:tag)'
571
572 - string:
573 name: openoltAdapterChart
574 default: '{openoltAdapterChart}'
575 description: 'OpenOLT chart name (or location on file system)'
576
577 - string:
578 name: openonuAdapterImg
579 default: '{openonuAdapterImg}'
580 description: 'Custom image selection for Openonu Adapter (repo:tag)'
581
582 - string:
583 name: openonuAdapterChart
584 default: '{openonuAdapterChart}'
585 description: 'OpenONU chart name (or location on file system)'
586
587 - string:
588 name: onosImg
589 default: '{onosImg}'
590 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700591
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700592 - string:
593 name: volthaSystemTestsChange
594 default: ''
595 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
596
Matteo Scandolo51b76302020-02-05 12:07:23 -0800597 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800598 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800599
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700600 dsl: !include-raw-escape: pipeline/{pipeline-script}