blob: 9921b501a7d76ae44d4b27d7bccef555852451af [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
Matteo Scandolo679ced22020-05-19 15:15:58 -070012 # - 'voltha-scale-measurements':
13 # name: 'voltha-scale-measurements-1-2-32-activation-no-mib'
14 # build-node: 'onf-pod1-head-node'
15 # time-trigger: "H H/4 * * *"
16 # 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
Matteo Scandolo272aed42020-05-08 15:05:57 -070025
26 # jobs for 200 ONUs with a single openonu-adapter
Matteo Scandolo679ced22020-05-19 15:15:58 -070027 # - 'voltha-scale-measurements':
28 # name: 'voltha-scale-measurements-1-10-20-activation'
29 # build-node: 'onf-pod1-head-node'
30 # time-trigger: "H H/4 * * *"
31 # 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-att-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 # extraHelmFlags: '--set auth=false '
52 # - 'voltha-scale-measurements':
53 # name: 'voltha-scale-measurements-1-10-20-att-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 # - 'voltha-scale-measurements':
65 # name: 'voltha-scale-measurements-1-10-20-att-subscribers-profiled'
66 # build-node: 'onf-pod1-head-node'
67 # time-trigger: "H H/4 * * *"
68 # olts: 1
69 # pons: 10
70 # onus: 20
71 # withFlows: true
72 # provisionSubscribers: true
73 # withEapol: true
74 # withDhcp: true
75 # withIgmp: false
76 # withProfiling: true
77 # extraHelmFlags: '--set profiler.enabled=true '
78 # rwCoreImg: voltha/voltha-rw-core:master-profile
79 # openoltAdapterImg: voltha/voltha-openolt-adapter:master-profile
80 # ofAgentImg: voltha/voltha-ofagent-go:master-profile
81 #
82 # # jobs for DT with 200 ONUs with a single openonu-adapter
83 # - 'voltha-scale-measurements':
84 # name: 'voltha-scale-measurements-1-10-20-dt-subscribers'
85 # build-node: 'onf-pod1-head-node'
86 # time-trigger: "H H/4 * * *"
87 # olts: 1
88 # pons: 10
89 # onus: 20
90 # withFlows: true
91 # provisionSubscribers: true
92 # workflow: dt
93 # withEapol: false
94 # withDhcp: false
95 # withIgmp: false
Matteo Scandolo3136cca2020-05-15 14:14:27 -070096
Matteo Scandolo272aed42020-05-08 15:05:57 -070097 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS
Matteo Scandolob46bc402020-06-11 13:59:44 -070098 - 'voltha-scale-measurements':
99 name: 'voltha-scale-measurements-1-16-32-activation'
100 build-node: 'onf-pod1-head-node'
101 time-trigger: "H H/4 * * *"
102 olts: 1
103 pons: 16
104 onus: 32
105 withFlows: false
106 provisionSubscribers: false
107 withEapol: false
108 withDhcp: false
109 withIgmp: false
110 openonuAdapterReplicas: 8
111 onosReplicas: 3
112 atomixReplicas: 3
113 extraHelmFlags: '--set limits.memory=8192Mi '
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700114 openonuAdapterImg: gcgirish/voltha-openonu-adapter:VOL3202
115 openoltAdapterImg: gcgirish/voltha-openolt-adapter:VOL3202
116 rwCoreImg: volthacore/voltha-rw-core:khen_pcap
Matteo Scandolob46bc402020-06-11 13:59:44 -0700117
Matteo Scandolo272aed42020-05-08 15:05:57 -0700118 - 'voltha-scale-measurements':
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700119 name: 'voltha-scale-measurements-1-16-32-att-flows'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700120 build-node: 'onf-pod1-head-node'
121 time-trigger: "H H/4 * * *"
122 olts: 1
123 pons: 16
124 onus: 32
125 withFlows: true
126 provisionSubscribers: false
127 withEapol: true
128 withDhcp: true
129 withIgmp: false
130 openonuAdapterReplicas: 8
131 onosReplicas: 3
132 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700133 extraHelmFlags: '--set auth=false --set limits.memory=8192Mi '
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700134 openonuAdapterImg: gcgirish/voltha-openonu-adapter:VOL3202
135 openoltAdapterImg: gcgirish/voltha-openolt-adapter:VOL3202
136 rwCoreImg: volthacore/voltha-rw-core:khen_pcap
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700137
138 - 'voltha-scale-measurements':
139 name: 'voltha-scale-measurements-1-16-32-att-subscribers'
140 build-node: 'onf-pod1-head-node'
141 time-trigger: "H H/4 * * *"
142 olts: 1
143 pons: 16
144 onus: 32
145 withFlows: true
146 provisionSubscribers: true
147 withEapol: true
148 withDhcp: true
149 withIgmp: false
150 openonuAdapterReplicas: 8
151 onosReplicas: 3
152 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700153 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700154 withPcap: true
Matteo Scandoloccc06192020-06-22 10:16:17 -0700155 rwCoreImg: matteoscandolo/voltha-rw-core:dhcp-logs
156 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:dhcp-logs
Matteo Scandolo57201df2020-06-19 08:47:00 -0700157 ofAgentImg: matteoscandolo/voltha-ofagent-go:vol-3242
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700158
159 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
160 - 'voltha-scale-measurements':
161 name: 'voltha-scale-measurements-1-16-32-dt-subscribers'
162 build-node: 'onf-pod1-head-node'
163 time-trigger: "H H/4 * * *"
164 olts: 1
165 pons: 16
166 onus: 32
167 withFlows: true
168 provisionSubscribers: true
169 workflow: dt
170 withEapol: false
171 withDhcp: false
172 withIgmp: false
173 openonuAdapterReplicas: 8
174 onosReplicas: 3
175 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700176 extraHelmFlags: '--set limits.memory=8192Mi '
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700177 openonuAdapterImg: gcgirish/voltha-openonu-adapter:VOL3202
178 openoltAdapterImg: gcgirish/voltha-openolt-adapter:VOL3202
179 rwCoreImg: volthacore/voltha-rw-core:khen_pcap
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200180
Matteo Scandolo272aed42020-05-08 15:05:57 -0700181 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700182 - 'voltha-scale-measurements':
183 disabled: true
184 name: 'voltha-scale-measurements-2-16-32-activation'
185 build-node: 'onf-pod1-head-node'
186 time-trigger: "H H/4 * * *"
187 olts: 2
188 pons: 16
189 onus: 32
190 withFlows: false
191 provisionSubscribers: false
192 withEapol: false
193 withDhcp: false
194 withIgmp: false
195 openonuAdapterReplicas: 8
196 onosReplicas: 3
197 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700198 extraHelmFlags: '--set limits.memory=8192Mi '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700199
Matteo Scandolocb726432020-06-01 08:49:14 -0700200 - 'voltha-scale-measurements':
201 disabled: true
202 name: 'voltha-scale-measurements-2-16-32-att-flows'
203 build-node: 'onf-pod1-head-node'
204 time-trigger: "H H/4 * * *"
205 olts: 2
206 pons: 16
207 onus: 32
208 withFlows: true
209 provisionSubscribers: false
210 withEapol: true
211 withDhcp: true
212 withIgmp: false
213 openonuAdapterReplicas: 8
214 onosReplicas: 3
215 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700216 extraHelmFlags: '--set limits.memory=8192Mi --set auth=false '
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700217 openonuAdapterImg: gcgirish/voltha-openonu-adapter:VOL3202
218 openoltAdapterImg: gcgirish/voltha-openolt-adapter:VOL3202
219 rwCoreImg: volthacore/voltha-rw-core:khen_pcap
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700220
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700221 - 'voltha-scale-measurements':
222 disabled: true
223 name: 'voltha-scale-measurements-2-16-32-att-subscribers'
224 build-node: 'onf-pod1-head-node'
225 time-trigger: "H H/4 * * *"
226 olts: 2
227 pons: 16
228 onus: 32
229 withFlows: true
230 provisionSubscribers: true
231 withEapol: true
232 withDhcp: true
233 withIgmp: false
234 openonuAdapterReplicas: 8
235 onosReplicas: 3
236 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700237 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700238 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
239 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo57201df2020-06-19 08:47:00 -0700240 ofAgentImg: matteoscandolo/voltha-ofagent-go:vol-3242
241 # onosImg: andreacampanella/voltha-onos:onos-extended-timeouts
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700242
243 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
244 - 'voltha-scale-measurements':
245 name: 'voltha-scale-measurements-2-16-32-dt-subscribers'
246 build-node: 'onf-pod1-head-node'
247 time-trigger: "H H/4 * * *"
248 olts: 2
249 pons: 16
250 onus: 32
251 withFlows: true
252 provisionSubscribers: true
253 workflow: dt
254 withEapol: false
255 withDhcp: false
256 withIgmp: false
257 openonuAdapterReplicas: 8
258 onosReplicas: 3
259 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700260 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700261
262 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700263 - 'voltha-scale-measurements-dev':
264 name: 'voltha-scale-measurements-dev'
265 build-node: 'voltha-scale'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700266
Matteo Scandolo51b76302020-02-05 12:07:23 -0800267
268- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700269 id: 'voltha-scale-measurements'
270 name: '{name}'
271 pipeline-script: 'voltha-scale-test.groovy'
272
273 description: |
274 <!-- Managed by Jenkins Job Builder -->
275 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
276 Using pipeline {pipeline-script} <br/><br/>
277 Scale measurements for VOLTHA 2.x
278
279 properties:
280 - cord-infra-properties:
281 build-days-to-keep: '{build-days-to-keep}'
282 artifact-num-to-keep: '{artifact-num-to-keep}'
283
284 wrappers:
285 - lf-infra-wrappers:
286 build-timeout: '{build-timeout}'
287 jenkins-ssh-credential: '{jenkins-ssh-credential}'
288
289 # default values
290 bbsimImg: voltha/bbsim:master
291 rwCoreImg: voltha/voltha-rw-core:master
292 ofAgentImg: voltha/voltha-ofagent-go:master
293 openoltAdapterImg: voltha/voltha-openolt-adapter:master
294 openonuAdapterImg: voltha/voltha-openonu-adapter:master
295 onosImg: voltha/voltha-onos:master
296
297 bbsimChart: onf/bbsim
298 volthaChart: onf/voltha
299 openoltAdapterChart: onf/voltha-adapter-openolt
300 openonuAdapterChart: onf/voltha-adapter-openonu
301
Matteo Scandolo393add12020-05-08 18:03:17 -0700302 olts: 2
303 pons: 2
304 onus: 2
305 workflow: att
306 withFlows: false
307 provisionSubscribers: false
308 withEapol: true
309 withDhcp: true
310 withIgmp: false
311 withLLDP: false
312 withMibTemplate: true
313 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700314 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700315 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700316 openonuAdapterReplicas: 1
317 onosReplicas: 1
318 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700319 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700320 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700321 volthaSystemTestsChange: ''
322 kindVolthaChange: ''
Matteo Scandoloccc06192020-06-22 10:16:17 -0700323 inMemoryEtcdStorage: true
Matteo Scandolo393add12020-05-08 18:03:17 -0700324
Matteo Scandolo272aed42020-05-08 15:05:57 -0700325 parameters:
326 - string:
327 name: buildNode
328 default: '{build-node}'
329 description: 'Name of the Jenkins node to run the job on'
330
331 - string:
332 name: logLevel
333 default: 'WARN'
334 description: 'Log level for all the components'
335
336 - string:
337 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700338 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700339 description: 'Number of ONUs to provision'
340
341 - string:
342 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700343 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700344 description: 'Number of PONs to provision'
345
346 - string:
347 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700348 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700349 description: 'How many BBSim instances to run'
350
351 - string:
352 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700353 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700354 description: 'Which workflow are we testing (att, dt, tt)'
355
356 - bool:
357 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700358 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700359 description: 'Wheter to push flows from ONOS'
360
361 - bool:
362 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700363 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700364 description: 'Wheter to provision subscribers durint the tests'
365
366 - bool:
367 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700368 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700369 description: 'Wheter EAPOL is enabled for the test'
370
371 - bool:
372 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700373 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700374 description: 'Wheter DHCP is enabled for the test'
375
376 - bool:
377 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700378 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700379 description: 'Wheter IGMP is enabled for the test'
380
381 - bool:
382 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700383 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700384 description: 'Wheter Link Discovery is enabled for the test'
385
386 - bool:
387 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700388 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700389 description: 'Option to trigger MIB template command'
390
391 - bool:
392 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700393 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700394 description: 'Option to install Prometheus'
395
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700396 - bool:
397 name: withProfiling
398 default: '{withProfiling}'
399 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
400
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700401 - bool:
402 name: withPcap
403 default: '{withPcap}'
404 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
405
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700406 - string:
407 name: extraHelmFlags
408 default: '{extraHelmFlags}'
409 description: 'Any extra helm parameters you want (passed to every helm install command)'
410
Matteo Scandolo272aed42020-05-08 15:05:57 -0700411 - string:
412 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700413 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700414 description: 'How many OpenONU adapter instances to run'
415
416 - string:
417 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700418 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700419 description: 'How many ONOSes instances to run'
420
421 - string:
422 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700423 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700424 description: 'How many Atomix instances to run'
425
426 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700427 name: onosStatInterval
428 default: '{onosStatInterval}'
429 description: 'How often ONOS should poll for ports, flows and meters'
430
431 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700432 name: bbsimImg
433 default: '{bbsimImg}'
434 description: 'Custom image selection for BBSIM (repo:tag)'
435
436 - string:
437 name: bbsimChart
438 default: '{bbsimChart}'
439 description: 'BBSim chart name (or location on file system)'
440
441 - string:
442 name: rwCoreImg
443 default: '{rwCoreImg}'
444 description: 'Custom image selection for VOLTHA (repo:tag)'
445
446 - string:
447 name: ofAgentImg
448 default: '{ofAgentImg}'
449 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
450
451 - string:
452 name: volthaChart
453 default: '{volthaChart}'
454 description: 'VOLTHA chart name (or location on file system)'
455
456 - string:
457 name: openoltAdapterImg
458 default: '{openoltAdapterImg}'
459 description: 'Custom image selection for Openolt Adapter (repo:tag)'
460
461 - string:
462 name: openoltAdapterChart
463 default: '{openoltAdapterChart}'
464 description: 'OpenOLT chart name (or location on file system)'
465
466 - string:
467 name: openonuAdapterImg
468 default: '{openonuAdapterImg}'
469 description: 'Custom image selection for Openonu Adapter (repo:tag)'
470
471 - string:
472 name: openonuAdapterChart
473 default: '{openonuAdapterChart}'
474 description: 'OpenONU chart name (or location on file system)'
475
476 - string:
477 name: onosImg
478 default: '{onosImg}'
479 description: 'Custom image selection for Openonu Adapter (repo:tag)'
480
481 - string:
482 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700483 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700484 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
485
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700486 - string:
487 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700488 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700489 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
490
Matteo Scandoloccc06192020-06-22 10:16:17 -0700491 - bool:
492 name: inMemoryEtcdStorage
493 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700494 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700495
Matteo Scandolo272aed42020-05-08 15:05:57 -0700496 project-type: pipeline
497 concurrent: false
498
499 dsl: !include-raw-escape: pipeline/{pipeline-script}
500
Matteo Scandoloccc06192020-06-22 10:16:17 -0700501 # triggers:
502 # - timed: |
503 # TZ=America/Los_Angeles
504 # {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700505
506- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700507 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800508 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700509 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800510
511 description: |
512 <!-- Managed by Jenkins Job Builder -->
513 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
514 Using pipeline {pipeline-script} <br/><br/>
515 Scale measurements for VOLTHA 2.x
516
517 properties:
518 - cord-infra-properties:
519 build-days-to-keep: '{build-days-to-keep}'
520 artifact-num-to-keep: '{artifact-num-to-keep}'
521
522 wrappers:
523 - lf-infra-wrappers:
524 build-timeout: '{build-timeout}'
525 jenkins-ssh-credential: '{jenkins-ssh-credential}'
526
Matteo Scandolo0430f672020-05-07 11:50:26 -0700527 # default values
528 bbsimImg: voltha/bbsim:master
529 rwCoreImg: voltha/voltha-rw-core:master
530 ofAgentImg: voltha/voltha-ofagent-go:master
531 openoltAdapterImg: voltha/voltha-openolt-adapter:master
532 openonuAdapterImg: voltha/voltha-openonu-adapter:master
533 onosImg: voltha/voltha-onos:master
534
535 bbsimChart: onf/bbsim
536 volthaChart: onf/voltha
537 openoltAdapterChart: onf/voltha-adapter-openolt
538 openonuAdapterChart: onf/voltha-adapter-openonu
539
Matteo Scandolo51b76302020-02-05 12:07:23 -0800540 parameters:
541 - string:
542 name: buildNode
543 default: '{build-node}'
544 description: 'Name of the Jenkins node to run the job on'
545
546 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700547 name: logLevel
548 default: 'WARN'
549 description: 'Log level for all the components'
550
551 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700552 name: onus
553 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800554 description: 'Number of ONUs to provision'
555
556 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700557 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700558 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800559 description: 'Number of PONs to provision'
560
Matteo Scandolo0430f672020-05-07 11:50:26 -0700561 - string:
562 name: olts
563 default: 2
564 description: 'How many BBSim instances to run'
565
566 - string:
567 name: workflow
568 default: att
569 description: 'Which workflow are we testing (att, dt, tt)'
570
571 - bool:
572 name: withFlows
573 default: false
574 description: 'Wheter to push flows from ONOS'
575
576 - bool:
577 name: provisionSubscribers
578 default: false
579 description: 'Wheter to provision subscribers durint the tests'
580
581 - bool:
582 name: withEapol
583 default: true
584 description: 'Wheter EAPOL is enabled for the test'
585
586 - bool:
587 name: withDhcp
588 default: true
589 description: 'Wheter DHCP is enabled for the test'
590
591 - bool:
592 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700593 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700594 description: 'Wheter IGMP is enabled for the test'
595
596 - bool:
597 name: withLLDP
598 default: false
599 description: 'Wheter Link Discovery is enabled for the test'
600
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800601 - bool:
602 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700603 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800604 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800605
Matteo Scandolo0430f672020-05-07 11:50:26 -0700606 - bool:
607 name: withMonitoring
608 default: true
609 description: 'Option to install Prometheus'
610
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700611 - bool:
612 name: withProfiling
613 default: false
614 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
615
616 - string:
617 name: extraHelmFlags
618 default: ' '
619 description: 'Any extra helm parameters you want (passed to every helm install command)'
620
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800621 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700622 name: openonuAdapterReplicas
623 default: 1
624 description: 'How many OpenONU adapter instances to run'
625
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700626 # 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 -0700627 - string:
628 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700629 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700630 description: 'How many ONOSes instances to run'
631
632 - string:
633 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700634 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700635 description: 'How many Atomix instances to run'
636
637 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700638 name: onosStatInterval
639 default: 5
640 description: 'How often ONOS should poll for ports, flows and meters'
641
642 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700643 name: bbsimImg
644 default: '{bbsimImg}'
645 description: 'Custom image selection for BBSIM (repo:tag)'
646
647 - string:
648 name: bbsimChart
649 default: '{bbsimChart}'
650 description: 'BBSim chart name (or location on file system)'
651
652 - string:
653 name: rwCoreImg
654 default: '{rwCoreImg}'
655 description: 'Custom image selection for VOLTHA (repo:tag)'
656
657 - string:
658 name: ofAgentImg
659 default: '{ofAgentImg}'
660 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
661
662 - string:
663 name: volthaChart
664 default: '{volthaChart}'
665 description: 'VOLTHA chart name (or location on file system)'
666
667 - string:
668 name: openoltAdapterImg
669 default: '{openoltAdapterImg}'
670 description: 'Custom image selection for Openolt Adapter (repo:tag)'
671
672 - string:
673 name: openoltAdapterChart
674 default: '{openoltAdapterChart}'
675 description: 'OpenOLT chart name (or location on file system)'
676
677 - string:
678 name: openonuAdapterImg
679 default: '{openonuAdapterImg}'
680 description: 'Custom image selection for Openonu Adapter (repo:tag)'
681
682 - string:
683 name: openonuAdapterChart
684 default: '{openonuAdapterChart}'
685 description: 'OpenONU chart name (or location on file system)'
686
687 - string:
688 name: onosImg
689 default: '{onosImg}'
690 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700691
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700692 - string:
693 name: volthaSystemTestsChange
694 default: ''
695 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
696
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700697 - string:
698 name: kindVolthaChange
699 default: ''
700 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
701
Matteo Scandolo51b76302020-02-05 12:07:23 -0800702 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800703 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800704
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700705 dsl: !include-raw-escape: pipeline/{pipeline-script}