blob: 73765dfba8c3b00cd35631df2ab6aa41aa512347 [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 '
114
Matteo Scandolo272aed42020-05-08 15:05:57 -0700115 - 'voltha-scale-measurements':
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700116 name: 'voltha-scale-measurements-1-16-32-att-flows'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700117 build-node: 'onf-pod1-head-node'
118 time-trigger: "H H/4 * * *"
119 olts: 1
120 pons: 16
121 onus: 32
122 withFlows: true
123 provisionSubscribers: false
124 withEapol: true
125 withDhcp: true
126 withIgmp: false
127 openonuAdapterReplicas: 8
128 onosReplicas: 3
129 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700130 extraHelmFlags: '--set auth=false --set limits.memory=8192Mi '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700131
132 - 'voltha-scale-measurements':
133 name: 'voltha-scale-measurements-1-16-32-att-subscribers'
134 build-node: 'onf-pod1-head-node'
135 time-trigger: "H H/4 * * *"
136 olts: 1
137 pons: 16
138 onus: 32
139 withFlows: true
140 provisionSubscribers: true
141 withEapol: true
142 withDhcp: true
143 withIgmp: false
144 openonuAdapterReplicas: 8
145 onosReplicas: 3
146 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700147 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700148 withPcap: true
Matteo Scandolo505ae142020-06-23 15:50:55 -0700149 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:vol-3269
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700150
Matteo Scandoloe1de8ee2020-06-24 13:09:00 -0700151 - 'voltha-scale-measurements':
152 name: 'voltha-scale-measurements-1-16-32-att-subscribers-retry'
153 build-node: 'onf-pod1-head-node'
154 time-trigger: "H H/4 * * *"
155 olts: 1
156 pons: 16
157 onus: 32
158 withFlows: true
159 provisionSubscribers: true
160 withEapol: true
161 withDhcp: true
162 withIgmp: false
163 openonuAdapterReplicas: 8
164 onosReplicas: 3
165 atomixReplicas: 3
166 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s --set authRetry=true,dhcpRetry=true'
167 withPcap: true
168 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:vol-3269
169
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700170 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
171 - 'voltha-scale-measurements':
172 name: 'voltha-scale-measurements-1-16-32-dt-subscribers'
173 build-node: 'onf-pod1-head-node'
174 time-trigger: "H H/4 * * *"
175 olts: 1
176 pons: 16
177 onus: 32
178 withFlows: true
179 provisionSubscribers: true
180 workflow: dt
181 withEapol: false
182 withDhcp: false
183 withIgmp: false
184 openonuAdapterReplicas: 8
185 onosReplicas: 3
186 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700187 extraHelmFlags: '--set limits.memory=8192Mi '
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200188
Matteo Scandolo272aed42020-05-08 15:05:57 -0700189 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700190 - 'voltha-scale-measurements':
191 disabled: true
192 name: 'voltha-scale-measurements-2-16-32-activation'
193 build-node: 'onf-pod1-head-node'
194 time-trigger: "H H/4 * * *"
195 olts: 2
196 pons: 16
197 onus: 32
198 withFlows: false
199 provisionSubscribers: false
200 withEapol: false
201 withDhcp: false
202 withIgmp: false
203 openonuAdapterReplicas: 8
204 onosReplicas: 3
205 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700206 extraHelmFlags: '--set limits.memory=8192Mi '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700207
Matteo Scandolocb726432020-06-01 08:49:14 -0700208 - 'voltha-scale-measurements':
209 disabled: true
210 name: 'voltha-scale-measurements-2-16-32-att-flows'
211 build-node: 'onf-pod1-head-node'
212 time-trigger: "H H/4 * * *"
213 olts: 2
214 pons: 16
215 onus: 32
216 withFlows: true
217 provisionSubscribers: false
218 withEapol: true
219 withDhcp: true
220 withIgmp: false
221 openonuAdapterReplicas: 8
222 onosReplicas: 3
223 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700224 extraHelmFlags: '--set limits.memory=8192Mi --set auth=false '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700225
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700226 - 'voltha-scale-measurements':
227 disabled: true
228 name: 'voltha-scale-measurements-2-16-32-att-subscribers'
229 build-node: 'onf-pod1-head-node'
230 time-trigger: "H H/4 * * *"
231 olts: 2
232 pons: 16
233 onus: 32
234 withFlows: true
235 provisionSubscribers: true
236 withEapol: true
237 withDhcp: true
238 withIgmp: false
239 openonuAdapterReplicas: 8
240 onosReplicas: 3
241 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700242 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo505ae142020-06-23 15:50:55 -0700243 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:vol-3269
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700244
245 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
246 - 'voltha-scale-measurements':
247 name: 'voltha-scale-measurements-2-16-32-dt-subscribers'
248 build-node: 'onf-pod1-head-node'
249 time-trigger: "H H/4 * * *"
250 olts: 2
251 pons: 16
252 onus: 32
253 withFlows: true
254 provisionSubscribers: true
255 workflow: dt
256 withEapol: false
257 withDhcp: false
258 withIgmp: false
259 openonuAdapterReplicas: 8
260 onosReplicas: 3
261 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700262 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700263
264 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700265 - 'voltha-scale-measurements-dev':
266 name: 'voltha-scale-measurements-dev'
267 build-node: 'voltha-scale'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700268
Matteo Scandolo51b76302020-02-05 12:07:23 -0800269
270- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700271 id: 'voltha-scale-measurements'
272 name: '{name}'
273 pipeline-script: 'voltha-scale-test.groovy'
274
275 description: |
276 <!-- Managed by Jenkins Job Builder -->
277 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
278 Using pipeline {pipeline-script} <br/><br/>
279 Scale measurements for VOLTHA 2.x
280
281 properties:
282 - cord-infra-properties:
283 build-days-to-keep: '{build-days-to-keep}'
284 artifact-num-to-keep: '{artifact-num-to-keep}'
285
286 wrappers:
287 - lf-infra-wrappers:
288 build-timeout: '{build-timeout}'
289 jenkins-ssh-credential: '{jenkins-ssh-credential}'
290
291 # default values
292 bbsimImg: voltha/bbsim:master
293 rwCoreImg: voltha/voltha-rw-core:master
294 ofAgentImg: voltha/voltha-ofagent-go:master
295 openoltAdapterImg: voltha/voltha-openolt-adapter:master
296 openonuAdapterImg: voltha/voltha-openonu-adapter:master
297 onosImg: voltha/voltha-onos:master
298
299 bbsimChart: onf/bbsim
300 volthaChart: onf/voltha
301 openoltAdapterChart: onf/voltha-adapter-openolt
302 openonuAdapterChart: onf/voltha-adapter-openonu
303
Matteo Scandolo393add12020-05-08 18:03:17 -0700304 olts: 2
305 pons: 2
306 onus: 2
307 workflow: att
308 withFlows: false
309 provisionSubscribers: false
310 withEapol: true
311 withDhcp: true
312 withIgmp: false
313 withLLDP: false
314 withMibTemplate: true
315 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700316 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700317 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700318 openonuAdapterReplicas: 1
319 onosReplicas: 1
320 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700321 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700322 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700323 volthaSystemTestsChange: ''
324 kindVolthaChange: ''
Matteo Scandoloccc06192020-06-22 10:16:17 -0700325 inMemoryEtcdStorage: true
Matteo Scandolo393add12020-05-08 18:03:17 -0700326
Matteo Scandolo272aed42020-05-08 15:05:57 -0700327 parameters:
328 - string:
329 name: buildNode
330 default: '{build-node}'
331 description: 'Name of the Jenkins node to run the job on'
332
333 - string:
334 name: logLevel
335 default: 'WARN'
336 description: 'Log level for all the components'
337
338 - string:
339 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700340 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700341 description: 'Number of ONUs to provision'
342
343 - string:
344 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700345 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700346 description: 'Number of PONs to provision'
347
348 - string:
349 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700350 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700351 description: 'How many BBSim instances to run'
352
353 - string:
354 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700355 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700356 description: 'Which workflow are we testing (att, dt, tt)'
357
358 - bool:
359 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700360 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700361 description: 'Wheter to push flows from ONOS'
362
363 - bool:
364 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700365 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700366 description: 'Wheter to provision subscribers durint the tests'
367
368 - bool:
369 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700370 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700371 description: 'Wheter EAPOL is enabled for the test'
372
373 - bool:
374 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700375 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700376 description: 'Wheter DHCP is enabled for the test'
377
378 - bool:
379 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700380 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700381 description: 'Wheter IGMP is enabled for the test'
382
383 - bool:
384 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700385 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700386 description: 'Wheter Link Discovery is enabled for the test'
387
388 - bool:
389 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700390 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700391 description: 'Option to trigger MIB template command'
392
393 - bool:
394 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700395 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700396 description: 'Option to install Prometheus'
397
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700398 - bool:
399 name: withProfiling
400 default: '{withProfiling}'
401 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
402
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700403 - bool:
404 name: withPcap
405 default: '{withPcap}'
406 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
407
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700408 - string:
409 name: extraHelmFlags
410 default: '{extraHelmFlags}'
411 description: 'Any extra helm parameters you want (passed to every helm install command)'
412
Matteo Scandolo272aed42020-05-08 15:05:57 -0700413 - string:
414 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700415 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700416 description: 'How many OpenONU adapter instances to run'
417
418 - string:
419 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700420 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700421 description: 'How many ONOSes instances to run'
422
423 - string:
424 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700425 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700426 description: 'How many Atomix instances to run'
427
428 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700429 name: onosStatInterval
430 default: '{onosStatInterval}'
431 description: 'How often ONOS should poll for ports, flows and meters'
432
433 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700434 name: bbsimImg
435 default: '{bbsimImg}'
436 description: 'Custom image selection for BBSIM (repo:tag)'
437
438 - string:
439 name: bbsimChart
440 default: '{bbsimChart}'
441 description: 'BBSim chart name (or location on file system)'
442
443 - string:
444 name: rwCoreImg
445 default: '{rwCoreImg}'
446 description: 'Custom image selection for VOLTHA (repo:tag)'
447
448 - string:
449 name: ofAgentImg
450 default: '{ofAgentImg}'
451 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
452
453 - string:
454 name: volthaChart
455 default: '{volthaChart}'
456 description: 'VOLTHA chart name (or location on file system)'
457
458 - string:
459 name: openoltAdapterImg
460 default: '{openoltAdapterImg}'
461 description: 'Custom image selection for Openolt Adapter (repo:tag)'
462
463 - string:
464 name: openoltAdapterChart
465 default: '{openoltAdapterChart}'
466 description: 'OpenOLT chart name (or location on file system)'
467
468 - string:
469 name: openonuAdapterImg
470 default: '{openonuAdapterImg}'
471 description: 'Custom image selection for Openonu Adapter (repo:tag)'
472
473 - string:
474 name: openonuAdapterChart
475 default: '{openonuAdapterChart}'
476 description: 'OpenONU chart name (or location on file system)'
477
478 - string:
479 name: onosImg
480 default: '{onosImg}'
481 description: 'Custom image selection for Openonu Adapter (repo:tag)'
482
483 - string:
484 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700485 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700486 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
487
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700488 - string:
489 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700490 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700491 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
492
Matteo Scandoloccc06192020-06-22 10:16:17 -0700493 - bool:
494 name: inMemoryEtcdStorage
495 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700496 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700497
Matteo Scandolo272aed42020-05-08 15:05:57 -0700498 project-type: pipeline
499 concurrent: false
500
501 dsl: !include-raw-escape: pipeline/{pipeline-script}
502
Matteo Scandolo4e24acf2020-06-24 08:36:56 -0700503 # triggers:
504 # - timed: |
505 # TZ=America/Los_Angeles
506 # {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700507
508- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700509 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800510 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700511 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800512
513 description: |
514 <!-- Managed by Jenkins Job Builder -->
515 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
516 Using pipeline {pipeline-script} <br/><br/>
517 Scale measurements for VOLTHA 2.x
518
519 properties:
520 - cord-infra-properties:
521 build-days-to-keep: '{build-days-to-keep}'
522 artifact-num-to-keep: '{artifact-num-to-keep}'
523
524 wrappers:
525 - lf-infra-wrappers:
526 build-timeout: '{build-timeout}'
527 jenkins-ssh-credential: '{jenkins-ssh-credential}'
528
Matteo Scandolo0430f672020-05-07 11:50:26 -0700529 # default values
530 bbsimImg: voltha/bbsim:master
531 rwCoreImg: voltha/voltha-rw-core:master
532 ofAgentImg: voltha/voltha-ofagent-go:master
533 openoltAdapterImg: voltha/voltha-openolt-adapter:master
534 openonuAdapterImg: voltha/voltha-openonu-adapter:master
535 onosImg: voltha/voltha-onos:master
536
537 bbsimChart: onf/bbsim
538 volthaChart: onf/voltha
539 openoltAdapterChart: onf/voltha-adapter-openolt
540 openonuAdapterChart: onf/voltha-adapter-openonu
541
Matteo Scandolo51b76302020-02-05 12:07:23 -0800542 parameters:
543 - string:
544 name: buildNode
545 default: '{build-node}'
546 description: 'Name of the Jenkins node to run the job on'
547
548 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700549 name: logLevel
550 default: 'WARN'
551 description: 'Log level for all the components'
552
553 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700554 name: onus
555 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800556 description: 'Number of ONUs to provision'
557
558 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700559 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700560 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800561 description: 'Number of PONs to provision'
562
Matteo Scandolo0430f672020-05-07 11:50:26 -0700563 - string:
564 name: olts
565 default: 2
566 description: 'How many BBSim instances to run'
567
568 - string:
569 name: workflow
570 default: att
571 description: 'Which workflow are we testing (att, dt, tt)'
572
573 - bool:
574 name: withFlows
575 default: false
576 description: 'Wheter to push flows from ONOS'
577
578 - bool:
579 name: provisionSubscribers
580 default: false
581 description: 'Wheter to provision subscribers durint the tests'
582
583 - bool:
584 name: withEapol
585 default: true
586 description: 'Wheter EAPOL is enabled for the test'
587
588 - bool:
589 name: withDhcp
590 default: true
591 description: 'Wheter DHCP is enabled for the test'
592
593 - bool:
594 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700595 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700596 description: 'Wheter IGMP is enabled for the test'
597
598 - bool:
599 name: withLLDP
600 default: false
601 description: 'Wheter Link Discovery is enabled for the test'
602
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800603 - bool:
604 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700605 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800606 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800607
Matteo Scandolo0430f672020-05-07 11:50:26 -0700608 - bool:
609 name: withMonitoring
610 default: true
611 description: 'Option to install Prometheus'
612
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700613 - bool:
614 name: withProfiling
615 default: false
616 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
617
618 - string:
619 name: extraHelmFlags
620 default: ' '
621 description: 'Any extra helm parameters you want (passed to every helm install command)'
622
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800623 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700624 name: openonuAdapterReplicas
625 default: 1
626 description: 'How many OpenONU adapter instances to run'
627
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700628 # 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 -0700629 - string:
630 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700631 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700632 description: 'How many ONOSes instances to run'
633
634 - string:
635 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700636 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700637 description: 'How many Atomix instances to run'
638
639 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700640 name: onosStatInterval
641 default: 5
642 description: 'How often ONOS should poll for ports, flows and meters'
643
644 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700645 name: bbsimImg
646 default: '{bbsimImg}'
647 description: 'Custom image selection for BBSIM (repo:tag)'
648
649 - string:
650 name: bbsimChart
651 default: '{bbsimChart}'
652 description: 'BBSim chart name (or location on file system)'
653
654 - string:
655 name: rwCoreImg
656 default: '{rwCoreImg}'
657 description: 'Custom image selection for VOLTHA (repo:tag)'
658
659 - string:
660 name: ofAgentImg
661 default: '{ofAgentImg}'
662 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
663
664 - string:
665 name: volthaChart
666 default: '{volthaChart}'
667 description: 'VOLTHA chart name (or location on file system)'
668
669 - string:
670 name: openoltAdapterImg
671 default: '{openoltAdapterImg}'
672 description: 'Custom image selection for Openolt Adapter (repo:tag)'
673
674 - string:
675 name: openoltAdapterChart
676 default: '{openoltAdapterChart}'
677 description: 'OpenOLT chart name (or location on file system)'
678
679 - string:
680 name: openonuAdapterImg
681 default: '{openonuAdapterImg}'
682 description: 'Custom image selection for Openonu Adapter (repo:tag)'
683
684 - string:
685 name: openonuAdapterChart
686 default: '{openonuAdapterChart}'
687 description: 'OpenONU chart name (or location on file system)'
688
689 - string:
690 name: onosImg
691 default: '{onosImg}'
692 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700693
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700694 - string:
695 name: volthaSystemTestsChange
696 default: ''
697 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
698
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700699 - string:
700 name: kindVolthaChange
701 default: ''
702 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
703
Matteo Scandolo51b76302020-02-05 12:07:23 -0800704 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800705 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800706
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700707 dsl: !include-raw-escape: pipeline/{pipeline-script}