blob: 4fbbcd40deedb1125c3a3e0f1a23d8a5fb09309b [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
151 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
152 - 'voltha-scale-measurements':
153 name: 'voltha-scale-measurements-1-16-32-dt-subscribers'
154 build-node: 'onf-pod1-head-node'
155 time-trigger: "H H/4 * * *"
156 olts: 1
157 pons: 16
158 onus: 32
159 withFlows: true
160 provisionSubscribers: true
161 workflow: dt
162 withEapol: false
163 withDhcp: false
164 withIgmp: false
165 openonuAdapterReplicas: 8
166 onosReplicas: 3
167 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700168 extraHelmFlags: '--set limits.memory=8192Mi '
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200169
Matteo Scandolo272aed42020-05-08 15:05:57 -0700170 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700171 - 'voltha-scale-measurements':
172 disabled: true
173 name: 'voltha-scale-measurements-2-16-32-activation'
174 build-node: 'onf-pod1-head-node'
175 time-trigger: "H H/4 * * *"
176 olts: 2
177 pons: 16
178 onus: 32
179 withFlows: false
180 provisionSubscribers: false
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 Campanellaf770f8a2020-07-10 16:49:57 +0200188 volthaSystemTestsChange: 'refs/changes/63/19663/1'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700189
Matteo Scandolocb726432020-06-01 08:49:14 -0700190 - 'voltha-scale-measurements':
191 disabled: true
192 name: 'voltha-scale-measurements-2-16-32-att-flows'
193 build-node: 'onf-pod1-head-node'
194 time-trigger: "H H/4 * * *"
195 olts: 2
196 pons: 16
197 onus: 32
198 withFlows: true
199 provisionSubscribers: false
200 withEapol: true
201 withDhcp: true
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 --set auth=false '
Andrea Campanellaf770f8a2020-07-10 16:49:57 +0200207 volthaSystemTestsChange: 'refs/changes/63/19663/1'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700208
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700209 - 'voltha-scale-measurements':
210 disabled: true
211 name: 'voltha-scale-measurements-2-16-32-att-subscribers'
212 build-node: 'onf-pod1-head-node'
213 time-trigger: "H H/4 * * *"
214 olts: 2
215 pons: 16
216 onus: 32
217 withFlows: true
218 provisionSubscribers: true
219 withEapol: true
220 withDhcp: true
221 withIgmp: false
222 openonuAdapterReplicas: 8
223 onosReplicas: 3
224 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700225 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo505ae142020-06-23 15:50:55 -0700226 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:vol-3269
Andrea Campanellaf770f8a2020-07-10 16:49:57 +0200227 volthaSystemTestsChange: 'refs/changes/63/19663/1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700228
229 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
230 - 'voltha-scale-measurements':
231 name: 'voltha-scale-measurements-2-16-32-dt-subscribers'
232 build-node: 'onf-pod1-head-node'
233 time-trigger: "H H/4 * * *"
234 olts: 2
235 pons: 16
236 onus: 32
237 withFlows: true
238 provisionSubscribers: true
239 workflow: dt
240 withEapol: false
241 withDhcp: false
242 withIgmp: false
243 openonuAdapterReplicas: 8
244 onosReplicas: 3
245 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700246 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Andrea Campanellaf770f8a2020-07-10 16:49:57 +0200247 volthaSystemTestsChange: 'refs/changes/63/19663/1'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700248
249 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700250 - 'voltha-scale-measurements-dev':
251 name: 'voltha-scale-measurements-dev'
252 build-node: 'voltha-scale'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700253
Matteo Scandolo51b76302020-02-05 12:07:23 -0800254
255- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700256 id: 'voltha-scale-measurements'
257 name: '{name}'
258 pipeline-script: 'voltha-scale-test.groovy'
259
260 description: |
261 <!-- Managed by Jenkins Job Builder -->
262 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
263 Using pipeline {pipeline-script} <br/><br/>
264 Scale measurements for VOLTHA 2.x
265
266 properties:
267 - cord-infra-properties:
268 build-days-to-keep: '{build-days-to-keep}'
269 artifact-num-to-keep: '{artifact-num-to-keep}'
270
271 wrappers:
272 - lf-infra-wrappers:
273 build-timeout: '{build-timeout}'
274 jenkins-ssh-credential: '{jenkins-ssh-credential}'
275
276 # default values
277 bbsimImg: voltha/bbsim:master
278 rwCoreImg: voltha/voltha-rw-core:master
279 ofAgentImg: voltha/voltha-ofagent-go:master
280 openoltAdapterImg: voltha/voltha-openolt-adapter:master
281 openonuAdapterImg: voltha/voltha-openonu-adapter:master
282 onosImg: voltha/voltha-onos:master
283
284 bbsimChart: onf/bbsim
285 volthaChart: onf/voltha
286 openoltAdapterChart: onf/voltha-adapter-openolt
287 openonuAdapterChart: onf/voltha-adapter-openonu
288
Matteo Scandolo393add12020-05-08 18:03:17 -0700289 olts: 2
290 pons: 2
291 onus: 2
292 workflow: att
293 withFlows: false
294 provisionSubscribers: false
295 withEapol: true
296 withDhcp: true
297 withIgmp: false
298 withLLDP: false
299 withMibTemplate: true
300 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700301 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700302 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700303 openonuAdapterReplicas: 1
304 onosReplicas: 1
305 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700306 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700307 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700308 volthaSystemTestsChange: ''
309 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700310 inMemoryEtcdStorage: true
Matteo Scandolo393add12020-05-08 18:03:17 -0700311
Matteo Scandolo272aed42020-05-08 15:05:57 -0700312 parameters:
313 - string:
314 name: buildNode
315 default: '{build-node}'
316 description: 'Name of the Jenkins node to run the job on'
317
318 - string:
319 name: logLevel
320 default: 'WARN'
321 description: 'Log level for all the components'
322
323 - string:
324 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700325 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700326 description: 'Number of ONUs to provision'
327
328 - string:
329 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700330 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700331 description: 'Number of PONs to provision'
332
333 - string:
334 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700335 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700336 description: 'How many BBSim instances to run'
337
338 - string:
339 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700340 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700341 description: 'Which workflow are we testing (att, dt, tt)'
342
343 - bool:
344 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700345 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700346 description: 'Wheter to push flows from ONOS'
347
348 - bool:
349 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700350 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700351 description: 'Wheter to provision subscribers durint the tests'
352
353 - bool:
354 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700355 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700356 description: 'Wheter EAPOL is enabled for the test'
357
358 - bool:
359 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700360 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700361 description: 'Wheter DHCP is enabled for the test'
362
363 - bool:
364 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700365 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700366 description: 'Wheter IGMP is enabled for the test'
367
368 - bool:
369 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700370 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700371 description: 'Wheter Link Discovery is enabled for the test'
372
373 - bool:
374 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700375 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700376 description: 'Option to trigger MIB template command'
377
378 - bool:
379 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700380 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700381 description: 'Option to install Prometheus'
382
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700383 - bool:
384 name: withProfiling
385 default: '{withProfiling}'
386 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
387
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700388 - bool:
389 name: withPcap
390 default: '{withPcap}'
391 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
392
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700393 - string:
394 name: extraHelmFlags
395 default: '{extraHelmFlags}'
396 description: 'Any extra helm parameters you want (passed to every helm install command)'
397
Matteo Scandolo272aed42020-05-08 15:05:57 -0700398 - string:
399 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700400 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700401 description: 'How many OpenONU adapter instances to run'
402
403 - string:
404 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700405 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700406 description: 'How many ONOSes instances to run'
407
408 - string:
409 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700410 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700411 description: 'How many Atomix instances to run'
412
413 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700414 name: onosStatInterval
415 default: '{onosStatInterval}'
416 description: 'How often ONOS should poll for ports, flows and meters'
417
418 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700419 name: bbsimImg
420 default: '{bbsimImg}'
421 description: 'Custom image selection for BBSIM (repo:tag)'
422
423 - string:
424 name: bbsimChart
425 default: '{bbsimChart}'
426 description: 'BBSim chart name (or location on file system)'
427
428 - string:
429 name: rwCoreImg
430 default: '{rwCoreImg}'
431 description: 'Custom image selection for VOLTHA (repo:tag)'
432
433 - string:
434 name: ofAgentImg
435 default: '{ofAgentImg}'
436 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
437
438 - string:
439 name: volthaChart
440 default: '{volthaChart}'
441 description: 'VOLTHA chart name (or location on file system)'
442
443 - string:
444 name: openoltAdapterImg
445 default: '{openoltAdapterImg}'
446 description: 'Custom image selection for Openolt Adapter (repo:tag)'
447
448 - string:
449 name: openoltAdapterChart
450 default: '{openoltAdapterChart}'
451 description: 'OpenOLT chart name (or location on file system)'
452
453 - string:
454 name: openonuAdapterImg
455 default: '{openonuAdapterImg}'
456 description: 'Custom image selection for Openonu Adapter (repo:tag)'
457
458 - string:
459 name: openonuAdapterChart
460 default: '{openonuAdapterChart}'
461 description: 'OpenONU chart name (or location on file system)'
462
463 - string:
464 name: onosImg
465 default: '{onosImg}'
466 description: 'Custom image selection for Openonu Adapter (repo:tag)'
467
468 - string:
469 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700470 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700471 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
472
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700473 - string:
474 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700475 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700476 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
477
Matteo Scandoloccc06192020-06-22 10:16:17 -0700478 - bool:
479 name: inMemoryEtcdStorage
480 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700481 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700482
Matteo Scandolo272aed42020-05-08 15:05:57 -0700483 project-type: pipeline
484 concurrent: false
485
486 dsl: !include-raw-escape: pipeline/{pipeline-script}
487
Matteo Scandoloabb83972020-06-25 16:08:23 -0700488 triggers:
489 - timed: |
490 TZ=America/Los_Angeles
491 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700492
493- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700494 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800495 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700496 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800497
498 description: |
499 <!-- Managed by Jenkins Job Builder -->
500 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
501 Using pipeline {pipeline-script} <br/><br/>
502 Scale measurements for VOLTHA 2.x
503
504 properties:
505 - cord-infra-properties:
506 build-days-to-keep: '{build-days-to-keep}'
507 artifact-num-to-keep: '{artifact-num-to-keep}'
508
509 wrappers:
510 - lf-infra-wrappers:
511 build-timeout: '{build-timeout}'
512 jenkins-ssh-credential: '{jenkins-ssh-credential}'
513
Matteo Scandolo0430f672020-05-07 11:50:26 -0700514 # default values
515 bbsimImg: voltha/bbsim:master
516 rwCoreImg: voltha/voltha-rw-core:master
517 ofAgentImg: voltha/voltha-ofagent-go:master
518 openoltAdapterImg: voltha/voltha-openolt-adapter:master
519 openonuAdapterImg: voltha/voltha-openonu-adapter:master
520 onosImg: voltha/voltha-onos:master
521
522 bbsimChart: onf/bbsim
523 volthaChart: onf/voltha
524 openoltAdapterChart: onf/voltha-adapter-openolt
525 openonuAdapterChart: onf/voltha-adapter-openonu
526
Matteo Scandolo51b76302020-02-05 12:07:23 -0800527 parameters:
528 - string:
529 name: buildNode
530 default: '{build-node}'
531 description: 'Name of the Jenkins node to run the job on'
532
533 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700534 name: logLevel
535 default: 'WARN'
536 description: 'Log level for all the components'
537
538 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700539 name: onus
540 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800541 description: 'Number of ONUs to provision'
542
543 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700544 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700545 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800546 description: 'Number of PONs to provision'
547
Matteo Scandolo0430f672020-05-07 11:50:26 -0700548 - string:
549 name: olts
550 default: 2
551 description: 'How many BBSim instances to run'
552
553 - string:
554 name: workflow
555 default: att
556 description: 'Which workflow are we testing (att, dt, tt)'
557
558 - bool:
559 name: withFlows
560 default: false
561 description: 'Wheter to push flows from ONOS'
562
563 - bool:
564 name: provisionSubscribers
565 default: false
566 description: 'Wheter to provision subscribers durint the tests'
567
568 - bool:
569 name: withEapol
570 default: true
571 description: 'Wheter EAPOL is enabled for the test'
572
573 - bool:
574 name: withDhcp
575 default: true
576 description: 'Wheter DHCP is enabled for the test'
577
578 - bool:
579 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700580 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700581 description: 'Wheter IGMP is enabled for the test'
582
583 - bool:
584 name: withLLDP
585 default: false
586 description: 'Wheter Link Discovery is enabled for the test'
587
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800588 - bool:
589 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700590 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800591 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800592
Matteo Scandolo0430f672020-05-07 11:50:26 -0700593 - bool:
594 name: withMonitoring
595 default: true
596 description: 'Option to install Prometheus'
597
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700598 - bool:
599 name: withProfiling
600 default: false
601 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
602
603 - string:
604 name: extraHelmFlags
605 default: ' '
606 description: 'Any extra helm parameters you want (passed to every helm install command)'
607
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800608 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700609 name: openonuAdapterReplicas
610 default: 1
611 description: 'How many OpenONU adapter instances to run'
612
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700613 # 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 -0700614 - string:
615 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700616 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700617 description: 'How many ONOSes instances to run'
618
619 - string:
620 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700621 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700622 description: 'How many Atomix instances to run'
623
624 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700625 name: onosStatInterval
626 default: 5
627 description: 'How often ONOS should poll for ports, flows and meters'
628
629 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700630 name: bbsimImg
631 default: '{bbsimImg}'
632 description: 'Custom image selection for BBSIM (repo:tag)'
633
634 - string:
635 name: bbsimChart
636 default: '{bbsimChart}'
637 description: 'BBSim chart name (or location on file system)'
638
639 - string:
640 name: rwCoreImg
641 default: '{rwCoreImg}'
642 description: 'Custom image selection for VOLTHA (repo:tag)'
643
644 - string:
645 name: ofAgentImg
646 default: '{ofAgentImg}'
647 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
648
649 - string:
650 name: volthaChart
651 default: '{volthaChart}'
652 description: 'VOLTHA chart name (or location on file system)'
653
654 - string:
655 name: openoltAdapterImg
656 default: '{openoltAdapterImg}'
657 description: 'Custom image selection for Openolt Adapter (repo:tag)'
658
659 - string:
660 name: openoltAdapterChart
661 default: '{openoltAdapterChart}'
662 description: 'OpenOLT chart name (or location on file system)'
663
664 - string:
665 name: openonuAdapterImg
666 default: '{openonuAdapterImg}'
667 description: 'Custom image selection for Openonu Adapter (repo:tag)'
668
669 - string:
670 name: openonuAdapterChart
671 default: '{openonuAdapterChart}'
672 description: 'OpenONU chart name (or location on file system)'
673
674 - string:
675 name: onosImg
676 default: '{onosImg}'
677 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700678
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700679 - string:
680 name: volthaSystemTestsChange
681 default: ''
682 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
683
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700684 - string:
685 name: kindVolthaChange
686 default: ''
687 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
688
Matteo Scandolo51b76302020-02-05 12:07:23 -0800689 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800690 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800691
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700692 dsl: !include-raw-escape: pipeline/{pipeline-script}