blob: 4afaaa2c3506cd1a806e1644f154cd60b9749f72 [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 Scandolo7b897362020-06-17 12:22:48 -0700116 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
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 Scandolo9093cbd2020-06-16 17:58:16 -0700134 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
135 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700136 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
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 Scandolo9093cbd2020-06-16 17:58:16 -0700154 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
155 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700156 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700157
158 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
159 - 'voltha-scale-measurements':
160 name: 'voltha-scale-measurements-1-16-32-dt-subscribers'
161 build-node: 'onf-pod1-head-node'
162 time-trigger: "H H/4 * * *"
163 olts: 1
164 pons: 16
165 onus: 32
166 withFlows: true
167 provisionSubscribers: true
168 workflow: dt
169 withEapol: false
170 withDhcp: false
171 withIgmp: false
172 openonuAdapterReplicas: 8
173 onosReplicas: 3
174 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700175 extraHelmFlags: '--set limits.memory=8192Mi '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700176 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
177 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700178 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200179
Matteo Scandolo272aed42020-05-08 15:05:57 -0700180 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700181 - 'voltha-scale-measurements':
182 disabled: true
183 name: 'voltha-scale-measurements-2-16-32-activation'
184 build-node: 'onf-pod1-head-node'
185 time-trigger: "H H/4 * * *"
186 olts: 2
187 pons: 16
188 onus: 32
189 withFlows: false
190 provisionSubscribers: false
191 withEapol: false
192 withDhcp: false
193 withIgmp: false
194 openonuAdapterReplicas: 8
195 onosReplicas: 3
196 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700197 extraHelmFlags: '--set limits.memory=8192Mi '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700198 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
199 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700200 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700201
Matteo Scandolocb726432020-06-01 08:49:14 -0700202 - 'voltha-scale-measurements':
203 disabled: true
204 name: 'voltha-scale-measurements-2-16-32-att-flows'
205 build-node: 'onf-pod1-head-node'
206 time-trigger: "H H/4 * * *"
207 olts: 2
208 pons: 16
209 onus: 32
210 withFlows: true
211 provisionSubscribers: false
212 withEapol: true
213 withDhcp: true
214 withIgmp: false
215 openonuAdapterReplicas: 8
216 onosReplicas: 3
217 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700218 extraHelmFlags: '--set limits.memory=8192Mi --set auth=false '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700219 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
220 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700221 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700222
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700223 - 'voltha-scale-measurements':
224 disabled: true
225 name: 'voltha-scale-measurements-2-16-32-att-subscribers'
226 build-node: 'onf-pod1-head-node'
227 time-trigger: "H H/4 * * *"
228 olts: 2
229 pons: 16
230 onus: 32
231 withFlows: true
232 provisionSubscribers: true
233 withEapol: true
234 withDhcp: true
235 withIgmp: false
236 openonuAdapterReplicas: 8
237 onosReplicas: 3
238 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700239 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700240 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
241 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700242 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700243
244 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
245 - 'voltha-scale-measurements':
246 name: 'voltha-scale-measurements-2-16-32-dt-subscribers'
247 build-node: 'onf-pod1-head-node'
248 time-trigger: "H H/4 * * *"
249 olts: 2
250 pons: 16
251 onus: 32
252 withFlows: true
253 provisionSubscribers: true
254 workflow: dt
255 withEapol: false
256 withDhcp: false
257 withIgmp: false
258 openonuAdapterReplicas: 8
259 onosReplicas: 3
260 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700261 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700262 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
263 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700264 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandolo272aed42020-05-08 15:05:57 -0700265
266 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700267 - 'voltha-scale-measurements-dev':
268 name: 'voltha-scale-measurements-dev'
269 build-node: 'voltha-scale'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700270
Matteo Scandolo51b76302020-02-05 12:07:23 -0800271
272- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700273 id: 'voltha-scale-measurements'
274 name: '{name}'
275 pipeline-script: 'voltha-scale-test.groovy'
276
277 description: |
278 <!-- Managed by Jenkins Job Builder -->
279 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
280 Using pipeline {pipeline-script} <br/><br/>
281 Scale measurements for VOLTHA 2.x
282
283 properties:
284 - cord-infra-properties:
285 build-days-to-keep: '{build-days-to-keep}'
286 artifact-num-to-keep: '{artifact-num-to-keep}'
287
288 wrappers:
289 - lf-infra-wrappers:
290 build-timeout: '{build-timeout}'
291 jenkins-ssh-credential: '{jenkins-ssh-credential}'
292
293 # default values
294 bbsimImg: voltha/bbsim:master
295 rwCoreImg: voltha/voltha-rw-core:master
296 ofAgentImg: voltha/voltha-ofagent-go:master
297 openoltAdapterImg: voltha/voltha-openolt-adapter:master
298 openonuAdapterImg: voltha/voltha-openonu-adapter:master
299 onosImg: voltha/voltha-onos:master
300
301 bbsimChart: onf/bbsim
302 volthaChart: onf/voltha
303 openoltAdapterChart: onf/voltha-adapter-openolt
304 openonuAdapterChart: onf/voltha-adapter-openonu
305
Matteo Scandolo393add12020-05-08 18:03:17 -0700306 olts: 2
307 pons: 2
308 onus: 2
309 workflow: att
310 withFlows: false
311 provisionSubscribers: false
312 withEapol: true
313 withDhcp: true
314 withIgmp: false
315 withLLDP: false
316 withMibTemplate: true
317 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700318 withProfiling: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700319 openonuAdapterReplicas: 1
320 onosReplicas: 1
321 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700322 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700323 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700324 volthaSystemTestsChange: ''
325 kindVolthaChange: ''
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
403 - string:
404 name: extraHelmFlags
405 default: '{extraHelmFlags}'
406 description: 'Any extra helm parameters you want (passed to every helm install command)'
407
Matteo Scandolo272aed42020-05-08 15:05:57 -0700408 - string:
409 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700410 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700411 description: 'How many OpenONU adapter instances to run'
412
413 - string:
414 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700415 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700416 description: 'How many ONOSes instances to run'
417
418 - string:
419 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700420 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700421 description: 'How many Atomix instances to run'
422
423 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700424 name: onosStatInterval
425 default: '{onosStatInterval}'
426 description: 'How often ONOS should poll for ports, flows and meters'
427
428 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700429 name: bbsimImg
430 default: '{bbsimImg}'
431 description: 'Custom image selection for BBSIM (repo:tag)'
432
433 - string:
434 name: bbsimChart
435 default: '{bbsimChart}'
436 description: 'BBSim chart name (or location on file system)'
437
438 - string:
439 name: rwCoreImg
440 default: '{rwCoreImg}'
441 description: 'Custom image selection for VOLTHA (repo:tag)'
442
443 - string:
444 name: ofAgentImg
445 default: '{ofAgentImg}'
446 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
447
448 - string:
449 name: volthaChart
450 default: '{volthaChart}'
451 description: 'VOLTHA chart name (or location on file system)'
452
453 - string:
454 name: openoltAdapterImg
455 default: '{openoltAdapterImg}'
456 description: 'Custom image selection for Openolt Adapter (repo:tag)'
457
458 - string:
459 name: openoltAdapterChart
460 default: '{openoltAdapterChart}'
461 description: 'OpenOLT chart name (or location on file system)'
462
463 - string:
464 name: openonuAdapterImg
465 default: '{openonuAdapterImg}'
466 description: 'Custom image selection for Openonu Adapter (repo:tag)'
467
468 - string:
469 name: openonuAdapterChart
470 default: '{openonuAdapterChart}'
471 description: 'OpenONU chart name (or location on file system)'
472
473 - string:
474 name: onosImg
475 default: '{onosImg}'
476 description: 'Custom image selection for Openonu Adapter (repo:tag)'
477
478 - string:
479 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700480 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700481 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
482
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700483 - string:
484 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700485 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700486 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
487
Matteo Scandolo272aed42020-05-08 15:05:57 -0700488 project-type: pipeline
489 concurrent: false
490
491 dsl: !include-raw-escape: pipeline/{pipeline-script}
492
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700493 triggers:
494 - timed: |
495 TZ=America/Los_Angeles
496 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700497
498- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700499 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800500 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700501 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800502
503 description: |
504 <!-- Managed by Jenkins Job Builder -->
505 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
506 Using pipeline {pipeline-script} <br/><br/>
507 Scale measurements for VOLTHA 2.x
508
509 properties:
510 - cord-infra-properties:
511 build-days-to-keep: '{build-days-to-keep}'
512 artifact-num-to-keep: '{artifact-num-to-keep}'
513
514 wrappers:
515 - lf-infra-wrappers:
516 build-timeout: '{build-timeout}'
517 jenkins-ssh-credential: '{jenkins-ssh-credential}'
518
Matteo Scandolo0430f672020-05-07 11:50:26 -0700519 # default values
520 bbsimImg: voltha/bbsim:master
521 rwCoreImg: voltha/voltha-rw-core:master
522 ofAgentImg: voltha/voltha-ofagent-go:master
523 openoltAdapterImg: voltha/voltha-openolt-adapter:master
524 openonuAdapterImg: voltha/voltha-openonu-adapter:master
525 onosImg: voltha/voltha-onos:master
526
527 bbsimChart: onf/bbsim
528 volthaChart: onf/voltha
529 openoltAdapterChart: onf/voltha-adapter-openolt
530 openonuAdapterChart: onf/voltha-adapter-openonu
531
Matteo Scandolo51b76302020-02-05 12:07:23 -0800532 parameters:
533 - string:
534 name: buildNode
535 default: '{build-node}'
536 description: 'Name of the Jenkins node to run the job on'
537
538 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700539 name: logLevel
540 default: 'WARN'
541 description: 'Log level for all the components'
542
543 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700544 name: onus
545 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800546 description: 'Number of ONUs to provision'
547
548 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700549 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700550 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800551 description: 'Number of PONs to provision'
552
Matteo Scandolo0430f672020-05-07 11:50:26 -0700553 - string:
554 name: olts
555 default: 2
556 description: 'How many BBSim instances to run'
557
558 - string:
559 name: workflow
560 default: att
561 description: 'Which workflow are we testing (att, dt, tt)'
562
563 - bool:
564 name: withFlows
565 default: false
566 description: 'Wheter to push flows from ONOS'
567
568 - bool:
569 name: provisionSubscribers
570 default: false
571 description: 'Wheter to provision subscribers durint the tests'
572
573 - bool:
574 name: withEapol
575 default: true
576 description: 'Wheter EAPOL is enabled for the test'
577
578 - bool:
579 name: withDhcp
580 default: true
581 description: 'Wheter DHCP is enabled for the test'
582
583 - bool:
584 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700585 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700586 description: 'Wheter IGMP is enabled for the test'
587
588 - bool:
589 name: withLLDP
590 default: false
591 description: 'Wheter Link Discovery is enabled for the test'
592
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800593 - bool:
594 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700595 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800596 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800597
Matteo Scandolo0430f672020-05-07 11:50:26 -0700598 - bool:
599 name: withMonitoring
600 default: true
601 description: 'Option to install Prometheus'
602
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700603 - bool:
604 name: withProfiling
605 default: false
606 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
607
608 - string:
609 name: extraHelmFlags
610 default: ' '
611 description: 'Any extra helm parameters you want (passed to every helm install command)'
612
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800613 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700614 name: openonuAdapterReplicas
615 default: 1
616 description: 'How many OpenONU adapter instances to run'
617
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700618 # 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 -0700619 - string:
620 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700621 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700622 description: 'How many ONOSes instances to run'
623
624 - string:
625 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700626 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700627 description: 'How many Atomix instances to run'
628
629 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700630 name: onosStatInterval
631 default: 5
632 description: 'How often ONOS should poll for ports, flows and meters'
633
634 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700635 name: bbsimImg
636 default: '{bbsimImg}'
637 description: 'Custom image selection for BBSIM (repo:tag)'
638
639 - string:
640 name: bbsimChart
641 default: '{bbsimChart}'
642 description: 'BBSim chart name (or location on file system)'
643
644 - string:
645 name: rwCoreImg
646 default: '{rwCoreImg}'
647 description: 'Custom image selection for VOLTHA (repo:tag)'
648
649 - string:
650 name: ofAgentImg
651 default: '{ofAgentImg}'
652 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
653
654 - string:
655 name: volthaChart
656 default: '{volthaChart}'
657 description: 'VOLTHA chart name (or location on file system)'
658
659 - string:
660 name: openoltAdapterImg
661 default: '{openoltAdapterImg}'
662 description: 'Custom image selection for Openolt Adapter (repo:tag)'
663
664 - string:
665 name: openoltAdapterChart
666 default: '{openoltAdapterChart}'
667 description: 'OpenOLT chart name (or location on file system)'
668
669 - string:
670 name: openonuAdapterImg
671 default: '{openonuAdapterImg}'
672 description: 'Custom image selection for Openonu Adapter (repo:tag)'
673
674 - string:
675 name: openonuAdapterChart
676 default: '{openonuAdapterChart}'
677 description: 'OpenONU chart name (or location on file system)'
678
679 - string:
680 name: onosImg
681 default: '{onosImg}'
682 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700683
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700684 - string:
685 name: volthaSystemTestsChange
686 default: ''
687 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
688
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700689 - string:
690 name: kindVolthaChange
691 default: ''
692 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
693
Matteo Scandolo51b76302020-02-05 12:07:23 -0800694 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800695 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800696
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700697 dsl: !include-raw-escape: pipeline/{pipeline-script}