blob: 13441e27280592b1a859df25ccf039273b062550 [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 Scandolo9093cbd2020-06-16 17:58:16 -0700155 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo57201df2020-06-19 08:47:00 -0700156 ofAgentImg: matteoscandolo/voltha-ofagent-go:vol-3242
157 # onosImg: andreacampanella/voltha-onos:onos-extended-timeouts
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 Scandolo393add12020-05-08 18:03:17 -0700323
Matteo Scandolo272aed42020-05-08 15:05:57 -0700324 parameters:
325 - string:
326 name: buildNode
327 default: '{build-node}'
328 description: 'Name of the Jenkins node to run the job on'
329
330 - string:
331 name: logLevel
332 default: 'WARN'
333 description: 'Log level for all the components'
334
335 - string:
336 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700337 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700338 description: 'Number of ONUs to provision'
339
340 - string:
341 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700342 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700343 description: 'Number of PONs to provision'
344
345 - string:
346 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700347 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700348 description: 'How many BBSim instances to run'
349
350 - string:
351 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700352 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700353 description: 'Which workflow are we testing (att, dt, tt)'
354
355 - bool:
356 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700357 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700358 description: 'Wheter to push flows from ONOS'
359
360 - bool:
361 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700362 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 description: 'Wheter to provision subscribers durint the tests'
364
365 - bool:
366 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 description: 'Wheter EAPOL is enabled for the test'
369
370 - bool:
371 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'Wheter DHCP is enabled for the test'
374
375 - bool:
376 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'Wheter IGMP is enabled for the test'
379
380 - bool:
381 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'Wheter Link Discovery is enabled for the test'
384
385 - bool:
386 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Option to trigger MIB template command'
389
390 - bool:
391 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700392 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700393 description: 'Option to install Prometheus'
394
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700395 - bool:
396 name: withProfiling
397 default: '{withProfiling}'
398 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
399
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700400 - bool:
401 name: withPcap
402 default: '{withPcap}'
403 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
404
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700405 - string:
406 name: extraHelmFlags
407 default: '{extraHelmFlags}'
408 description: 'Any extra helm parameters you want (passed to every helm install command)'
409
Matteo Scandolo272aed42020-05-08 15:05:57 -0700410 - string:
411 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700412 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700413 description: 'How many OpenONU adapter instances to run'
414
415 - string:
416 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700417 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700418 description: 'How many ONOSes instances to run'
419
420 - string:
421 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700422 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700423 description: 'How many Atomix instances to run'
424
425 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700426 name: onosStatInterval
427 default: '{onosStatInterval}'
428 description: 'How often ONOS should poll for ports, flows and meters'
429
430 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700431 name: bbsimImg
432 default: '{bbsimImg}'
433 description: 'Custom image selection for BBSIM (repo:tag)'
434
435 - string:
436 name: bbsimChart
437 default: '{bbsimChart}'
438 description: 'BBSim chart name (or location on file system)'
439
440 - string:
441 name: rwCoreImg
442 default: '{rwCoreImg}'
443 description: 'Custom image selection for VOLTHA (repo:tag)'
444
445 - string:
446 name: ofAgentImg
447 default: '{ofAgentImg}'
448 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
449
450 - string:
451 name: volthaChart
452 default: '{volthaChart}'
453 description: 'VOLTHA chart name (or location on file system)'
454
455 - string:
456 name: openoltAdapterImg
457 default: '{openoltAdapterImg}'
458 description: 'Custom image selection for Openolt Adapter (repo:tag)'
459
460 - string:
461 name: openoltAdapterChart
462 default: '{openoltAdapterChart}'
463 description: 'OpenOLT chart name (or location on file system)'
464
465 - string:
466 name: openonuAdapterImg
467 default: '{openonuAdapterImg}'
468 description: 'Custom image selection for Openonu Adapter (repo:tag)'
469
470 - string:
471 name: openonuAdapterChart
472 default: '{openonuAdapterChart}'
473 description: 'OpenONU chart name (or location on file system)'
474
475 - string:
476 name: onosImg
477 default: '{onosImg}'
478 description: 'Custom image selection for Openonu Adapter (repo:tag)'
479
480 - string:
481 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700482 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700483 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
484
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700485 - string:
486 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700487 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700488 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
489
Matteo Scandolo272aed42020-05-08 15:05:57 -0700490 project-type: pipeline
491 concurrent: false
492
493 dsl: !include-raw-escape: pipeline/{pipeline-script}
494
Matteo Scandoloa2a7d712020-06-18 07:59:18 -0700495 # triggers:
496 # - timed: |
497 # TZ=America/Los_Angeles
498 # {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700499
500- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700501 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800502 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700503 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800504
505 description: |
506 <!-- Managed by Jenkins Job Builder -->
507 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
508 Using pipeline {pipeline-script} <br/><br/>
509 Scale measurements for VOLTHA 2.x
510
511 properties:
512 - cord-infra-properties:
513 build-days-to-keep: '{build-days-to-keep}'
514 artifact-num-to-keep: '{artifact-num-to-keep}'
515
516 wrappers:
517 - lf-infra-wrappers:
518 build-timeout: '{build-timeout}'
519 jenkins-ssh-credential: '{jenkins-ssh-credential}'
520
Matteo Scandolo0430f672020-05-07 11:50:26 -0700521 # default values
522 bbsimImg: voltha/bbsim:master
523 rwCoreImg: voltha/voltha-rw-core:master
524 ofAgentImg: voltha/voltha-ofagent-go:master
525 openoltAdapterImg: voltha/voltha-openolt-adapter:master
526 openonuAdapterImg: voltha/voltha-openonu-adapter:master
527 onosImg: voltha/voltha-onos:master
528
529 bbsimChart: onf/bbsim
530 volthaChart: onf/voltha
531 openoltAdapterChart: onf/voltha-adapter-openolt
532 openonuAdapterChart: onf/voltha-adapter-openonu
533
Matteo Scandolo51b76302020-02-05 12:07:23 -0800534 parameters:
535 - string:
536 name: buildNode
537 default: '{build-node}'
538 description: 'Name of the Jenkins node to run the job on'
539
540 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700541 name: logLevel
542 default: 'WARN'
543 description: 'Log level for all the components'
544
545 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700546 name: onus
547 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800548 description: 'Number of ONUs to provision'
549
550 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700551 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700552 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800553 description: 'Number of PONs to provision'
554
Matteo Scandolo0430f672020-05-07 11:50:26 -0700555 - string:
556 name: olts
557 default: 2
558 description: 'How many BBSim instances to run'
559
560 - string:
561 name: workflow
562 default: att
563 description: 'Which workflow are we testing (att, dt, tt)'
564
565 - bool:
566 name: withFlows
567 default: false
568 description: 'Wheter to push flows from ONOS'
569
570 - bool:
571 name: provisionSubscribers
572 default: false
573 description: 'Wheter to provision subscribers durint the tests'
574
575 - bool:
576 name: withEapol
577 default: true
578 description: 'Wheter EAPOL is enabled for the test'
579
580 - bool:
581 name: withDhcp
582 default: true
583 description: 'Wheter DHCP is enabled for the test'
584
585 - bool:
586 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700587 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700588 description: 'Wheter IGMP is enabled for the test'
589
590 - bool:
591 name: withLLDP
592 default: false
593 description: 'Wheter Link Discovery is enabled for the test'
594
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800595 - bool:
596 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700597 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800598 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800599
Matteo Scandolo0430f672020-05-07 11:50:26 -0700600 - bool:
601 name: withMonitoring
602 default: true
603 description: 'Option to install Prometheus'
604
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700605 - bool:
606 name: withProfiling
607 default: false
608 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
609
610 - string:
611 name: extraHelmFlags
612 default: ' '
613 description: 'Any extra helm parameters you want (passed to every helm install command)'
614
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800615 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700616 name: openonuAdapterReplicas
617 default: 1
618 description: 'How many OpenONU adapter instances to run'
619
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700620 # 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 -0700621 - string:
622 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700623 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700624 description: 'How many ONOSes instances to run'
625
626 - string:
627 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700628 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700629 description: 'How many Atomix instances to run'
630
631 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700632 name: onosStatInterval
633 default: 5
634 description: 'How often ONOS should poll for ports, flows and meters'
635
636 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700637 name: bbsimImg
638 default: '{bbsimImg}'
639 description: 'Custom image selection for BBSIM (repo:tag)'
640
641 - string:
642 name: bbsimChart
643 default: '{bbsimChart}'
644 description: 'BBSim chart name (or location on file system)'
645
646 - string:
647 name: rwCoreImg
648 default: '{rwCoreImg}'
649 description: 'Custom image selection for VOLTHA (repo:tag)'
650
651 - string:
652 name: ofAgentImg
653 default: '{ofAgentImg}'
654 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
655
656 - string:
657 name: volthaChart
658 default: '{volthaChart}'
659 description: 'VOLTHA chart name (or location on file system)'
660
661 - string:
662 name: openoltAdapterImg
663 default: '{openoltAdapterImg}'
664 description: 'Custom image selection for Openolt Adapter (repo:tag)'
665
666 - string:
667 name: openoltAdapterChart
668 default: '{openoltAdapterChart}'
669 description: 'OpenOLT chart name (or location on file system)'
670
671 - string:
672 name: openonuAdapterImg
673 default: '{openonuAdapterImg}'
674 description: 'Custom image selection for Openonu Adapter (repo:tag)'
675
676 - string:
677 name: openonuAdapterChart
678 default: '{openonuAdapterChart}'
679 description: 'OpenONU chart name (or location on file system)'
680
681 - string:
682 name: onosImg
683 default: '{onosImg}'
684 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700685
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700686 - string:
687 name: volthaSystemTestsChange
688 default: ''
689 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
690
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700691 - string:
692 name: kindVolthaChange
693 default: ''
694 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
695
Matteo Scandolo51b76302020-02-05 12:07:23 -0800696 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800697 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800698
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700699 dsl: !include-raw-escape: pipeline/{pipeline-script}