blob: 142573cbe5af6613a0da4713c608716ca19a82ec [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 Scandolo9093cbd2020-06-16 17:58:16 -0700114 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
115 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolob46bc402020-06-11 13:59:44 -0700116
Matteo Scandolo272aed42020-05-08 15:05:57 -0700117 - 'voltha-scale-measurements':
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700118 name: 'voltha-scale-measurements-1-16-32-att-flows'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700119 build-node: 'onf-pod1-head-node'
120 time-trigger: "H H/4 * * *"
121 olts: 1
122 pons: 16
123 onus: 32
124 withFlows: true
125 provisionSubscribers: false
126 withEapol: true
127 withDhcp: true
128 withIgmp: false
129 openonuAdapterReplicas: 8
130 onosReplicas: 3
131 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700132 extraHelmFlags: '--set auth=false --set limits.memory=8192Mi '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700133 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
134 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700135
136 - 'voltha-scale-measurements':
137 name: 'voltha-scale-measurements-1-16-32-att-subscribers'
138 build-node: 'onf-pod1-head-node'
139 time-trigger: "H H/4 * * *"
140 olts: 1
141 pons: 16
142 onus: 32
143 withFlows: true
144 provisionSubscribers: true
145 withEapol: true
146 withDhcp: true
147 withIgmp: false
148 openonuAdapterReplicas: 8
149 onosReplicas: 3
150 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700151 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700152 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
153 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700154
155 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
156 - 'voltha-scale-measurements':
157 name: 'voltha-scale-measurements-1-16-32-dt-subscribers'
158 build-node: 'onf-pod1-head-node'
159 time-trigger: "H H/4 * * *"
160 olts: 1
161 pons: 16
162 onus: 32
163 withFlows: true
164 provisionSubscribers: true
165 workflow: dt
166 withEapol: false
167 withDhcp: false
168 withIgmp: false
169 openonuAdapterReplicas: 8
170 onosReplicas: 3
171 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700172 extraHelmFlags: '--set limits.memory=8192Mi '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700173 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
174 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200175
Matteo Scandolo272aed42020-05-08 15:05:57 -0700176 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700177 - 'voltha-scale-measurements':
178 disabled: true
179 name: 'voltha-scale-measurements-2-16-32-activation'
180 build-node: 'onf-pod1-head-node'
181 time-trigger: "H H/4 * * *"
182 olts: 2
183 pons: 16
184 onus: 32
185 withFlows: false
186 provisionSubscribers: false
187 withEapol: false
188 withDhcp: false
189 withIgmp: false
190 openonuAdapterReplicas: 8
191 onosReplicas: 3
192 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700193 extraHelmFlags: '--set limits.memory=8192Mi '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700194 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
195 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700196
Matteo Scandolocb726432020-06-01 08:49:14 -0700197 - 'voltha-scale-measurements':
198 disabled: true
199 name: 'voltha-scale-measurements-2-16-32-att-flows'
200 build-node: 'onf-pod1-head-node'
201 time-trigger: "H H/4 * * *"
202 olts: 2
203 pons: 16
204 onus: 32
205 withFlows: true
206 provisionSubscribers: false
207 withEapol: true
208 withDhcp: true
209 withIgmp: false
210 openonuAdapterReplicas: 8
211 onosReplicas: 3
212 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700213 extraHelmFlags: '--set limits.memory=8192Mi --set auth=false '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700214 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
215 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700216
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700217 - 'voltha-scale-measurements':
218 disabled: true
219 name: 'voltha-scale-measurements-2-16-32-att-subscribers'
220 build-node: 'onf-pod1-head-node'
221 time-trigger: "H H/4 * * *"
222 olts: 2
223 pons: 16
224 onus: 32
225 withFlows: true
226 provisionSubscribers: true
227 withEapol: true
228 withDhcp: true
229 withIgmp: false
230 openonuAdapterReplicas: 8
231 onosReplicas: 3
232 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700233 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700234 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
235 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700236
237 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
238 - 'voltha-scale-measurements':
239 name: 'voltha-scale-measurements-2-16-32-dt-subscribers'
240 build-node: 'onf-pod1-head-node'
241 time-trigger: "H H/4 * * *"
242 olts: 2
243 pons: 16
244 onus: 32
245 withFlows: true
246 provisionSubscribers: true
247 workflow: dt
248 withEapol: false
249 withDhcp: false
250 withIgmp: false
251 openonuAdapterReplicas: 8
252 onosReplicas: 3
253 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700254 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700255 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
256 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo272aed42020-05-08 15:05:57 -0700257
258 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700259 - 'voltha-scale-measurements-dev':
260 name: 'voltha-scale-measurements-dev'
261 build-node: 'voltha-scale'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700262
Matteo Scandolo51b76302020-02-05 12:07:23 -0800263
264- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700265 id: 'voltha-scale-measurements'
266 name: '{name}'
267 pipeline-script: 'voltha-scale-test.groovy'
268
269 description: |
270 <!-- Managed by Jenkins Job Builder -->
271 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
272 Using pipeline {pipeline-script} <br/><br/>
273 Scale measurements for VOLTHA 2.x
274
275 properties:
276 - cord-infra-properties:
277 build-days-to-keep: '{build-days-to-keep}'
278 artifact-num-to-keep: '{artifact-num-to-keep}'
279
280 wrappers:
281 - lf-infra-wrappers:
282 build-timeout: '{build-timeout}'
283 jenkins-ssh-credential: '{jenkins-ssh-credential}'
284
285 # default values
286 bbsimImg: voltha/bbsim:master
287 rwCoreImg: voltha/voltha-rw-core:master
288 ofAgentImg: voltha/voltha-ofagent-go:master
289 openoltAdapterImg: voltha/voltha-openolt-adapter:master
290 openonuAdapterImg: voltha/voltha-openonu-adapter:master
291 onosImg: voltha/voltha-onos:master
292
293 bbsimChart: onf/bbsim
294 volthaChart: onf/voltha
295 openoltAdapterChart: onf/voltha-adapter-openolt
296 openonuAdapterChart: onf/voltha-adapter-openonu
297
Matteo Scandolo393add12020-05-08 18:03:17 -0700298 olts: 2
299 pons: 2
300 onus: 2
301 workflow: att
302 withFlows: false
303 provisionSubscribers: false
304 withEapol: true
305 withDhcp: true
306 withIgmp: false
307 withLLDP: false
308 withMibTemplate: true
309 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700310 withProfiling: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700311 openonuAdapterReplicas: 1
312 onosReplicas: 1
313 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700314 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700315 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700316 volthaSystemTestsChange: ''
317 kindVolthaChange: ''
Matteo Scandolo393add12020-05-08 18:03:17 -0700318
Matteo Scandolo272aed42020-05-08 15:05:57 -0700319 parameters:
320 - string:
321 name: buildNode
322 default: '{build-node}'
323 description: 'Name of the Jenkins node to run the job on'
324
325 - string:
326 name: logLevel
327 default: 'WARN'
328 description: 'Log level for all the components'
329
330 - string:
331 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700332 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700333 description: 'Number of ONUs to provision'
334
335 - string:
336 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700337 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700338 description: 'Number of PONs to provision'
339
340 - string:
341 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700342 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700343 description: 'How many BBSim instances to run'
344
345 - string:
346 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700347 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700348 description: 'Which workflow are we testing (att, dt, tt)'
349
350 - bool:
351 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700352 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700353 description: 'Wheter to push flows from ONOS'
354
355 - bool:
356 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700357 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700358 description: 'Wheter to provision subscribers durint the tests'
359
360 - bool:
361 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700362 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 description: 'Wheter EAPOL is enabled for the test'
364
365 - bool:
366 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 description: 'Wheter DHCP is enabled for the test'
369
370 - bool:
371 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'Wheter IGMP is enabled for the test'
374
375 - bool:
376 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'Wheter Link Discovery is enabled for the test'
379
380 - bool:
381 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'Option to trigger MIB template command'
384
385 - bool:
386 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Option to install Prometheus'
389
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700390 - bool:
391 name: withProfiling
392 default: '{withProfiling}'
393 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
394
395 - string:
396 name: extraHelmFlags
397 default: '{extraHelmFlags}'
398 description: 'Any extra helm parameters you want (passed to every helm install command)'
399
Matteo Scandolo272aed42020-05-08 15:05:57 -0700400 - string:
401 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700402 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700403 description: 'How many OpenONU adapter instances to run'
404
405 - string:
406 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700407 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700408 description: 'How many ONOSes instances to run'
409
410 - string:
411 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700412 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700413 description: 'How many Atomix instances to run'
414
415 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700416 name: onosStatInterval
417 default: '{onosStatInterval}'
418 description: 'How often ONOS should poll for ports, flows and meters'
419
420 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700421 name: bbsimImg
422 default: '{bbsimImg}'
423 description: 'Custom image selection for BBSIM (repo:tag)'
424
425 - string:
426 name: bbsimChart
427 default: '{bbsimChart}'
428 description: 'BBSim chart name (or location on file system)'
429
430 - string:
431 name: rwCoreImg
432 default: '{rwCoreImg}'
433 description: 'Custom image selection for VOLTHA (repo:tag)'
434
435 - string:
436 name: ofAgentImg
437 default: '{ofAgentImg}'
438 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
439
440 - string:
441 name: volthaChart
442 default: '{volthaChart}'
443 description: 'VOLTHA chart name (or location on file system)'
444
445 - string:
446 name: openoltAdapterImg
447 default: '{openoltAdapterImg}'
448 description: 'Custom image selection for Openolt Adapter (repo:tag)'
449
450 - string:
451 name: openoltAdapterChart
452 default: '{openoltAdapterChart}'
453 description: 'OpenOLT chart name (or location on file system)'
454
455 - string:
456 name: openonuAdapterImg
457 default: '{openonuAdapterImg}'
458 description: 'Custom image selection for Openonu Adapter (repo:tag)'
459
460 - string:
461 name: openonuAdapterChart
462 default: '{openonuAdapterChart}'
463 description: 'OpenONU chart name (or location on file system)'
464
465 - string:
466 name: onosImg
467 default: '{onosImg}'
468 description: 'Custom image selection for Openonu Adapter (repo:tag)'
469
470 - string:
471 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700472 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700473 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
474
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700475 - string:
476 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700477 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700478 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
479
Matteo Scandolo272aed42020-05-08 15:05:57 -0700480 project-type: pipeline
481 concurrent: false
482
483 dsl: !include-raw-escape: pipeline/{pipeline-script}
484
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700485 triggers:
486 - timed: |
487 TZ=America/Los_Angeles
488 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700489
490- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700491 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800492 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700493 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800494
495 description: |
496 <!-- Managed by Jenkins Job Builder -->
497 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
498 Using pipeline {pipeline-script} <br/><br/>
499 Scale measurements for VOLTHA 2.x
500
501 properties:
502 - cord-infra-properties:
503 build-days-to-keep: '{build-days-to-keep}'
504 artifact-num-to-keep: '{artifact-num-to-keep}'
505
506 wrappers:
507 - lf-infra-wrappers:
508 build-timeout: '{build-timeout}'
509 jenkins-ssh-credential: '{jenkins-ssh-credential}'
510
Matteo Scandolo0430f672020-05-07 11:50:26 -0700511 # default values
512 bbsimImg: voltha/bbsim:master
513 rwCoreImg: voltha/voltha-rw-core:master
514 ofAgentImg: voltha/voltha-ofagent-go:master
515 openoltAdapterImg: voltha/voltha-openolt-adapter:master
516 openonuAdapterImg: voltha/voltha-openonu-adapter:master
517 onosImg: voltha/voltha-onos:master
518
519 bbsimChart: onf/bbsim
520 volthaChart: onf/voltha
521 openoltAdapterChart: onf/voltha-adapter-openolt
522 openonuAdapterChart: onf/voltha-adapter-openonu
523
Matteo Scandolo51b76302020-02-05 12:07:23 -0800524 parameters:
525 - string:
526 name: buildNode
527 default: '{build-node}'
528 description: 'Name of the Jenkins node to run the job on'
529
530 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700531 name: logLevel
532 default: 'WARN'
533 description: 'Log level for all the components'
534
535 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700536 name: onus
537 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800538 description: 'Number of ONUs to provision'
539
540 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700541 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700542 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800543 description: 'Number of PONs to provision'
544
Matteo Scandolo0430f672020-05-07 11:50:26 -0700545 - string:
546 name: olts
547 default: 2
548 description: 'How many BBSim instances to run'
549
550 - string:
551 name: workflow
552 default: att
553 description: 'Which workflow are we testing (att, dt, tt)'
554
555 - bool:
556 name: withFlows
557 default: false
558 description: 'Wheter to push flows from ONOS'
559
560 - bool:
561 name: provisionSubscribers
562 default: false
563 description: 'Wheter to provision subscribers durint the tests'
564
565 - bool:
566 name: withEapol
567 default: true
568 description: 'Wheter EAPOL is enabled for the test'
569
570 - bool:
571 name: withDhcp
572 default: true
573 description: 'Wheter DHCP is enabled for the test'
574
575 - bool:
576 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700577 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700578 description: 'Wheter IGMP is enabled for the test'
579
580 - bool:
581 name: withLLDP
582 default: false
583 description: 'Wheter Link Discovery is enabled for the test'
584
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800585 - bool:
586 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700587 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800588 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800589
Matteo Scandolo0430f672020-05-07 11:50:26 -0700590 - bool:
591 name: withMonitoring
592 default: true
593 description: 'Option to install Prometheus'
594
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700595 - bool:
596 name: withProfiling
597 default: false
598 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
599
600 - string:
601 name: extraHelmFlags
602 default: ' '
603 description: 'Any extra helm parameters you want (passed to every helm install command)'
604
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800605 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700606 name: openonuAdapterReplicas
607 default: 1
608 description: 'How many OpenONU adapter instances to run'
609
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700610 # 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 -0700611 - string:
612 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700613 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700614 description: 'How many ONOSes instances to run'
615
616 - string:
617 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700618 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700619 description: 'How many Atomix instances to run'
620
621 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700622 name: onosStatInterval
623 default: 5
624 description: 'How often ONOS should poll for ports, flows and meters'
625
626 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700627 name: bbsimImg
628 default: '{bbsimImg}'
629 description: 'Custom image selection for BBSIM (repo:tag)'
630
631 - string:
632 name: bbsimChart
633 default: '{bbsimChart}'
634 description: 'BBSim chart name (or location on file system)'
635
636 - string:
637 name: rwCoreImg
638 default: '{rwCoreImg}'
639 description: 'Custom image selection for VOLTHA (repo:tag)'
640
641 - string:
642 name: ofAgentImg
643 default: '{ofAgentImg}'
644 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
645
646 - string:
647 name: volthaChart
648 default: '{volthaChart}'
649 description: 'VOLTHA chart name (or location on file system)'
650
651 - string:
652 name: openoltAdapterImg
653 default: '{openoltAdapterImg}'
654 description: 'Custom image selection for Openolt Adapter (repo:tag)'
655
656 - string:
657 name: openoltAdapterChart
658 default: '{openoltAdapterChart}'
659 description: 'OpenOLT chart name (or location on file system)'
660
661 - string:
662 name: openonuAdapterImg
663 default: '{openonuAdapterImg}'
664 description: 'Custom image selection for Openonu Adapter (repo:tag)'
665
666 - string:
667 name: openonuAdapterChart
668 default: '{openonuAdapterChart}'
669 description: 'OpenONU chart name (or location on file system)'
670
671 - string:
672 name: onosImg
673 default: '{onosImg}'
674 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700675
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700676 - string:
677 name: volthaSystemTestsChange
678 default: ''
679 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
680
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700681 - string:
682 name: kindVolthaChange
683 default: ''
684 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
685
Matteo Scandolo51b76302020-02-05 12:07:23 -0800686 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800687 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800688
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700689 dsl: !include-raw-escape: pipeline/{pipeline-script}