blob: 90424eef257fbcb494eddf3f7a4a63527359cbf7 [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
112 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
113 - 'voltha-scale-measurements':
114 name: 'voltha-scale-measurements-2-16-32-activation'
115 build-node: 'onf-pod1-head-node'
116 time-trigger: "H H/4 * * *"
117 olts: 2
118 pons: 16
119 onus: 32
120 withFlows: false
121 provisionSubscribers: false
122 withEapol: false
123 withDhcp: false
124 withIgmp: false
125 openonuAdapterReplicas: 8
126 onosReplicas: 3
127 atomixReplicas: 3
128 - 'voltha-scale-measurements':
129 name: 'voltha-scale-measurements-2-16-32-flows'
130 build-node: 'onf-pod1-head-node'
131 time-trigger: "H H/4 * * *"
132 olts: 2
133 pons: 16
134 onus: 32
135 withFlows: true
136 provisionSubscribers: false
137 withEapol: true
138 withDhcp: true
139 withIgmp: false
140 openonuAdapterReplicas: 8
141 onosReplicas: 3
142 atomixReplicas: 3
143 - 'voltha-scale-measurements':
144 name: 'voltha-scale-measurements-2-16-32-subscribers'
145 build-node: 'onf-pod1-head-node'
146 time-trigger: "H H/4 * * *"
147 olts: 2
148 pons: 16
149 onus: 32
150 withFlows: true
151 provisionSubscribers: true
152 withEapol: true
153 withDhcp: true
154 withIgmp: false
155 openonuAdapterReplicas: 8
156 onosReplicas: 3
157 atomixReplicas: 3
158
159 # development pipeline
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700160 - 'voltha-scale-measurements-dev':
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800161 name: 'voltha-scale-measurements-dev'
Shrey Baid4c108ad2020-03-10 15:21:13 -0700162 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800163
164- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700165 id: 'voltha-scale-measurements'
166 name: '{name}'
167 pipeline-script: 'voltha-scale-test.groovy'
168
169 description: |
170 <!-- Managed by Jenkins Job Builder -->
171 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
172 Using pipeline {pipeline-script} <br/><br/>
173 Scale measurements for VOLTHA 2.x
174
175 properties:
176 - cord-infra-properties:
177 build-days-to-keep: '{build-days-to-keep}'
178 artifact-num-to-keep: '{artifact-num-to-keep}'
179
180 wrappers:
181 - lf-infra-wrappers:
182 build-timeout: '{build-timeout}'
183 jenkins-ssh-credential: '{jenkins-ssh-credential}'
184
185 # default values
186 bbsimImg: voltha/bbsim:master
187 rwCoreImg: voltha/voltha-rw-core:master
188 ofAgentImg: voltha/voltha-ofagent-go:master
189 openoltAdapterImg: voltha/voltha-openolt-adapter:master
190 openonuAdapterImg: voltha/voltha-openonu-adapter:master
191 onosImg: voltha/voltha-onos:master
192
193 bbsimChart: onf/bbsim
194 volthaChart: onf/voltha
195 openoltAdapterChart: onf/voltha-adapter-openolt
196 openonuAdapterChart: onf/voltha-adapter-openonu
197
Matteo Scandolo393add12020-05-08 18:03:17 -0700198 olts: 2
199 pons: 2
200 onus: 2
201 workflow: att
202 withFlows: false
203 provisionSubscribers: false
204 withEapol: true
205 withDhcp: true
206 withIgmp: false
207 withLLDP: false
208 withMibTemplate: true
209 withMonitoring: true
210 openonuAdapterReplicas: 1
211 onosReplicas: 1
212 atomixReplicas: 0
213
Matteo Scandolo272aed42020-05-08 15:05:57 -0700214 parameters:
215 - string:
216 name: buildNode
217 default: '{build-node}'
218 description: 'Name of the Jenkins node to run the job on'
219
220 - string:
221 name: logLevel
222 default: 'WARN'
223 description: 'Log level for all the components'
224
225 - string:
226 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700227 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700228 description: 'Number of ONUs to provision'
229
230 - string:
231 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700232 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700233 description: 'Number of PONs to provision'
234
235 - string:
236 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700237 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700238 description: 'How many BBSim instances to run'
239
240 - string:
241 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700242 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700243 description: 'Which workflow are we testing (att, dt, tt)'
244
245 - bool:
246 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700247 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700248 description: 'Wheter to push flows from ONOS'
249
250 - bool:
251 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700252 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700253 description: 'Wheter to provision subscribers durint the tests'
254
255 - bool:
256 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700257 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700258 description: 'Wheter EAPOL is enabled for the test'
259
260 - bool:
261 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700262 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700263 description: 'Wheter DHCP is enabled for the test'
264
265 - bool:
266 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700267 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700268 description: 'Wheter IGMP is enabled for the test'
269
270 - bool:
271 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700272 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700273 description: 'Wheter Link Discovery is enabled for the test'
274
275 - bool:
276 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700277 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700278 description: 'Option to trigger MIB template command'
279
280 - bool:
281 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700282 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700283 description: 'Option to install Prometheus'
284
285 - string:
286 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700287 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700288 description: 'How many OpenONU adapter instances to run'
289
290 - string:
291 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700292 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700293 description: 'How many ONOSes instances to run'
294
295 - string:
296 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700297 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700298 description: 'How many Atomix instances to run'
299
300 - string:
301 name: bbsimImg
302 default: '{bbsimImg}'
303 description: 'Custom image selection for BBSIM (repo:tag)'
304
305 - string:
306 name: bbsimChart
307 default: '{bbsimChart}'
308 description: 'BBSim chart name (or location on file system)'
309
310 - string:
311 name: rwCoreImg
312 default: '{rwCoreImg}'
313 description: 'Custom image selection for VOLTHA (repo:tag)'
314
315 - string:
316 name: ofAgentImg
317 default: '{ofAgentImg}'
318 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
319
320 - string:
321 name: volthaChart
322 default: '{volthaChart}'
323 description: 'VOLTHA chart name (or location on file system)'
324
325 - string:
326 name: openoltAdapterImg
327 default: '{openoltAdapterImg}'
328 description: 'Custom image selection for Openolt Adapter (repo:tag)'
329
330 - string:
331 name: openoltAdapterChart
332 default: '{openoltAdapterChart}'
333 description: 'OpenOLT chart name (or location on file system)'
334
335 - string:
336 name: openonuAdapterImg
337 default: '{openonuAdapterImg}'
338 description: 'Custom image selection for Openonu Adapter (repo:tag)'
339
340 - string:
341 name: openonuAdapterChart
342 default: '{openonuAdapterChart}'
343 description: 'OpenONU chart name (or location on file system)'
344
345 - string:
346 name: onosImg
347 default: '{onosImg}'
348 description: 'Custom image selection for Openonu Adapter (repo:tag)'
349
350 - string:
351 name: volthaSystemTestsChange
352 default: ''
353 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
354
355 project-type: pipeline
356 concurrent: false
357
358 dsl: !include-raw-escape: pipeline/{pipeline-script}
359
360 triggers:
361 - timed: |
362 TZ=America/Los_Angeles
363 {time-trigger}
364
365- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700366 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800367 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700368 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800369
370 description: |
371 <!-- Managed by Jenkins Job Builder -->
372 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
373 Using pipeline {pipeline-script} <br/><br/>
374 Scale measurements for VOLTHA 2.x
375
376 properties:
377 - cord-infra-properties:
378 build-days-to-keep: '{build-days-to-keep}'
379 artifact-num-to-keep: '{artifact-num-to-keep}'
380
381 wrappers:
382 - lf-infra-wrappers:
383 build-timeout: '{build-timeout}'
384 jenkins-ssh-credential: '{jenkins-ssh-credential}'
385
Matteo Scandolo0430f672020-05-07 11:50:26 -0700386 # default values
387 bbsimImg: voltha/bbsim:master
388 rwCoreImg: voltha/voltha-rw-core:master
389 ofAgentImg: voltha/voltha-ofagent-go:master
390 openoltAdapterImg: voltha/voltha-openolt-adapter:master
391 openonuAdapterImg: voltha/voltha-openonu-adapter:master
392 onosImg: voltha/voltha-onos:master
393
394 bbsimChart: onf/bbsim
395 volthaChart: onf/voltha
396 openoltAdapterChart: onf/voltha-adapter-openolt
397 openonuAdapterChart: onf/voltha-adapter-openonu
398
Matteo Scandolo51b76302020-02-05 12:07:23 -0800399 parameters:
400 - string:
401 name: buildNode
402 default: '{build-node}'
403 description: 'Name of the Jenkins node to run the job on'
404
405 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700406 name: logLevel
407 default: 'WARN'
408 description: 'Log level for all the components'
409
410 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700411 name: onus
412 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800413 description: 'Number of ONUs to provision'
414
415 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700416 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700417 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800418 description: 'Number of PONs to provision'
419
Matteo Scandolo0430f672020-05-07 11:50:26 -0700420 - string:
421 name: olts
422 default: 2
423 description: 'How many BBSim instances to run'
424
425 - string:
426 name: workflow
427 default: att
428 description: 'Which workflow are we testing (att, dt, tt)'
429
430 - bool:
431 name: withFlows
432 default: false
433 description: 'Wheter to push flows from ONOS'
434
435 - bool:
436 name: provisionSubscribers
437 default: false
438 description: 'Wheter to provision subscribers durint the tests'
439
440 - bool:
441 name: withEapol
442 default: true
443 description: 'Wheter EAPOL is enabled for the test'
444
445 - bool:
446 name: withDhcp
447 default: true
448 description: 'Wheter DHCP is enabled for the test'
449
450 - bool:
451 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700452 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700453 description: 'Wheter IGMP is enabled for the test'
454
455 - bool:
456 name: withLLDP
457 default: false
458 description: 'Wheter Link Discovery is enabled for the test'
459
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800460 - bool:
461 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700462 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800463 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800464
Matteo Scandolo0430f672020-05-07 11:50:26 -0700465 - bool:
466 name: withMonitoring
467 default: true
468 description: 'Option to install Prometheus'
469
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800470 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700471 name: openonuAdapterReplicas
472 default: 1
473 description: 'How many OpenONU adapter instances to run'
474
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700475 # 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 -0700476 - string:
477 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700478 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700479 description: 'How many ONOSes instances to run'
480
481 - string:
482 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700483 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700484 description: 'How many Atomix instances to run'
485
486 - string:
487 name: bbsimImg
488 default: '{bbsimImg}'
489 description: 'Custom image selection for BBSIM (repo:tag)'
490
491 - string:
492 name: bbsimChart
493 default: '{bbsimChart}'
494 description: 'BBSim chart name (or location on file system)'
495
496 - string:
497 name: rwCoreImg
498 default: '{rwCoreImg}'
499 description: 'Custom image selection for VOLTHA (repo:tag)'
500
501 - string:
502 name: ofAgentImg
503 default: '{ofAgentImg}'
504 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
505
506 - string:
507 name: volthaChart
508 default: '{volthaChart}'
509 description: 'VOLTHA chart name (or location on file system)'
510
511 - string:
512 name: openoltAdapterImg
513 default: '{openoltAdapterImg}'
514 description: 'Custom image selection for Openolt Adapter (repo:tag)'
515
516 - string:
517 name: openoltAdapterChart
518 default: '{openoltAdapterChart}'
519 description: 'OpenOLT chart name (or location on file system)'
520
521 - string:
522 name: openonuAdapterImg
523 default: '{openonuAdapterImg}'
524 description: 'Custom image selection for Openonu Adapter (repo:tag)'
525
526 - string:
527 name: openonuAdapterChart
528 default: '{openonuAdapterChart}'
529 description: 'OpenONU chart name (or location on file system)'
530
531 - string:
532 name: onosImg
533 default: '{onosImg}'
534 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700535
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700536 - string:
537 name: volthaSystemTestsChange
538 default: ''
539 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
540
Matteo Scandolo51b76302020-02-05 12:07:23 -0800541 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800542 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800543
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700544 dsl: !include-raw-escape: pipeline/{pipeline-script}