blob: 63c4dc3be1e26909551c7a22034baf33d4660212 [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>
Matteo Scandolo3136cca2020-05-15 14:14:27 -070011
Shrey Baid765fb942020-07-06 19:02:57 +053012 # jobs for 64 ONUs with a 1 openonu-adapter
13 - 'voltha-scale-measurements':
14 name: 'voltha-openonu-go-scale-measurements-master-1-2-32-activation'
15 build-node: 'onf-pod1-head-node'
16 time-trigger: "H H/4 * * *"
17 olts: 1
18 pons: 2
19 onus: 32
20 withFlows: false
21 provisionSubscribers: false
22 withEapol: false
23 withDhcp: false
24 withIgmp: false
25 openonuAdapterReplicas: 1
26 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
27 extraHelmFlags: '--set use_openonu_adapter_go=true'
28
29 - 'voltha-scale-measurements':
30 name: 'voltha-openonu-scale-measurements-master-1-2-32-activation'
31 build-node: 'onf-pod1-head-node'
32 time-trigger: "H H/4 * * *"
33 olts: 1
34 pons: 2
35 onus: 32
36 withFlows: false
37 provisionSubscribers: false
38 withEapol: false
39 withDhcp: false
40 withIgmp: false
41 openonuAdapterReplicas: 1
42 openonuAdapterImg: voltha/voltha-openonu-adapter:master
43
Matteo Scandolo7dc5b452020-07-27 07:36:11 -070044 # jobs for 256 ONUs with a 1 openonu-adapter
45 - 'voltha-scale-measurements':
46 name: 'voltha-openonu-go-scale-measurements-master-1-8-32-activation'
47 build-node: 'onf-pod1-head-node'
48 time-trigger: "H H/4 * * *"
49 olts: 1
50 pons: 8
51 onus: 32
52 withFlows: false
53 provisionSubscribers: false
54 withEapol: false
55 withDhcp: false
56 withIgmp: false
57 openonuAdapterReplicas: 1
58 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
59 extraHelmFlags: '--set use_openonu_adapter_go=true'
60
61 - 'voltha-scale-measurements':
62 name: 'voltha-openonu-scale-measurements-master-1-8-32-activation'
63 build-node: 'onf-pod1-head-node'
64 time-trigger: "H H/4 * * *"
65 olts: 1
66 pons: 8
67 onus: 32
68 withFlows: false
69 provisionSubscribers: false
70 withEapol: false
71 withDhcp: false
72 withIgmp: false
73 openonuAdapterReplicas: 1
74 openonuAdapterImg: voltha/voltha-openonu-adapter:master
75
Matteo Scandolob46bc402020-06-11 13:59:44 -070076 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070077 name: 'voltha-scale-measurements-master-1-16-32-activation'
Matteo Scandolob46bc402020-06-11 13:59:44 -070078 build-node: 'onf-pod1-head-node'
79 time-trigger: "H H/4 * * *"
80 olts: 1
81 pons: 16
82 onus: 32
83 withFlows: false
84 provisionSubscribers: false
85 withEapol: false
86 withDhcp: false
87 withIgmp: false
88 openonuAdapterReplicas: 8
89 onosReplicas: 3
90 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -070091
Matteo Scandolo272aed42020-05-08 15:05:57 -070092 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070093 name: 'voltha-scale-measurements-master-1-16-32-att-flows'
Matteo Scandolo272aed42020-05-08 15:05:57 -070094 build-node: 'onf-pod1-head-node'
95 time-trigger: "H H/4 * * *"
96 olts: 1
97 pons: 16
98 onus: 32
99 withFlows: true
100 provisionSubscribers: false
101 withEapol: true
102 withDhcp: true
103 withIgmp: false
104 openonuAdapterReplicas: 8
105 onosReplicas: 3
106 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700107 extraHelmFlags: '--set auth=false '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700108
109 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700110 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700111 build-node: 'onf-pod1-head-node'
112 time-trigger: "H H/4 * * *"
113 olts: 1
114 pons: 16
115 onus: 32
116 withFlows: true
117 provisionSubscribers: true
118 withEapol: true
119 withDhcp: true
120 withIgmp: false
121 openonuAdapterReplicas: 8
122 onosReplicas: 3
123 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700124 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700125
126 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
127 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700128 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700129 build-node: 'onf-pod1-head-node'
130 time-trigger: "H H/4 * * *"
131 olts: 1
132 pons: 16
133 onus: 32
134 withFlows: true
135 provisionSubscribers: true
136 workflow: dt
137 withEapol: false
138 withDhcp: false
139 withIgmp: false
140 openonuAdapterReplicas: 8
141 onosReplicas: 3
142 atomixReplicas: 3
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200143
Matteo Scandolo272aed42020-05-08 15:05:57 -0700144 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700145 - 'voltha-scale-measurements':
146 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700147 name: 'voltha-scale-measurements-master-2-16-32-activation'
Matteo Scandolocb726432020-06-01 08:49:14 -0700148 build-node: 'onf-pod1-head-node'
149 time-trigger: "H H/4 * * *"
150 olts: 2
151 pons: 16
152 onus: 32
153 withFlows: false
154 provisionSubscribers: false
155 withEapol: false
156 withDhcp: false
157 withIgmp: false
158 openonuAdapterReplicas: 8
159 onosReplicas: 3
160 atomixReplicas: 3
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700161
Matteo Scandolocb726432020-06-01 08:49:14 -0700162 - 'voltha-scale-measurements':
163 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700164 name: 'voltha-scale-measurements-master-2-16-32-att-flows'
Matteo Scandolocb726432020-06-01 08:49:14 -0700165 build-node: 'onf-pod1-head-node'
166 time-trigger: "H H/4 * * *"
167 olts: 2
168 pons: 16
169 onus: 32
170 withFlows: true
171 provisionSubscribers: false
172 withEapol: true
173 withDhcp: true
174 withIgmp: false
175 openonuAdapterReplicas: 8
176 onosReplicas: 3
177 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700178 extraHelmFlags: '--set auth=false '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700179
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700180 - 'voltha-scale-measurements':
181 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700182 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700183 build-node: 'onf-pod1-head-node'
184 time-trigger: "H H/4 * * *"
185 olts: 2
186 pons: 16
187 onus: 32
188 withFlows: true
189 provisionSubscribers: true
190 withEapol: true
191 withDhcp: true
192 withIgmp: false
193 openonuAdapterReplicas: 8
194 onosReplicas: 3
195 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700196 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700197
198 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
199 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700200 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700201 build-node: 'onf-pod1-head-node'
202 time-trigger: "H H/4 * * *"
203 olts: 2
204 pons: 16
205 onus: 32
206 withFlows: true
207 provisionSubscribers: true
208 workflow: dt
209 withEapol: false
210 withDhcp: false
211 withIgmp: false
212 openonuAdapterReplicas: 8
213 onosReplicas: 3
214 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700215 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo272aed42020-05-08 15:05:57 -0700216
Matteo Scandolod43064b2020-07-13 17:18:45 -0700217 # voltha-2.4 Jobs
218 - 'voltha-scale-measurements':
Matteo Scandolo5055e4e2020-07-14 10:10:38 -0700219 name: 'voltha-scale-measurements-voltha-2.4-1-16-32-att-subscribers'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700220 build-node: 'onf-pod1-head-node'
221 time-trigger: "H H/4 * * *"
222 olts: 1
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 Scandolo35177dd2020-07-24 10:44:44 -0700233 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700234 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200235 karafHome: apache-karaf-4.2.8
Matteo Scandolod43064b2020-07-13 17:18:45 -0700236
237 - 'voltha-scale-measurements':
238 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
239 build-node: 'onf-pod1-head-node'
240 time-trigger: "H H/4 * * *"
241 olts: 2
242 pons: 16
243 onus: 32
244 withFlows: true
245 provisionSubscribers: true
246 workflow: dt
247 withEapol: false
248 withDhcp: false
249 withIgmp: false
250 openonuAdapterReplicas: 8
251 onosReplicas: 3
252 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700253 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700254 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200255 karafHome: apache-karaf-4.2.8
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700256
Matteo Scandolo272aed42020-05-08 15:05:57 -0700257 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700258 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700259 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700260 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700261 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
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
Matteo Scandolod43064b2020-07-13 17:18:45 -0700286 release: master
287
Matteo Scandolo272aed42020-05-08 15:05:57 -0700288 bbsimImg: voltha/bbsim:master
289 rwCoreImg: voltha/voltha-rw-core:master
290 ofAgentImg: voltha/voltha-ofagent-go:master
291 openoltAdapterImg: voltha/voltha-openolt-adapter:master
292 openonuAdapterImg: voltha/voltha-openonu-adapter:master
293 onosImg: voltha/voltha-onos:master
294
295 bbsimChart: onf/bbsim
296 volthaChart: onf/voltha
297 openoltAdapterChart: onf/voltha-adapter-openolt
298 openonuAdapterChart: onf/voltha-adapter-openonu
299
Matteo Scandolo393add12020-05-08 18:03:17 -0700300 olts: 2
301 pons: 2
302 onus: 2
303 workflow: att
304 withFlows: false
305 provisionSubscribers: false
306 withEapol: true
307 withDhcp: true
308 withIgmp: false
309 withLLDP: false
310 withMibTemplate: true
311 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700312 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700313 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700314 openonuAdapterReplicas: 1
315 onosReplicas: 1
316 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700317 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700318 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700319 volthaSystemTestsChange: ''
320 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700321 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700322 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo393add12020-05-08 18:03:17 -0700323
Matteo Scandolo272aed42020-05-08 15:05:57 -0700324 parameters:
325 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700326 name: release
327 default: '{release}'
328 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
329
330 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700331 name: buildNode
332 default: '{build-node}'
333 description: 'Name of the Jenkins node to run the job on'
334
335 - string:
336 name: logLevel
337 default: 'WARN'
338 description: 'Log level for all the components'
339
340 - string:
341 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700342 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700343 description: 'Number of ONUs to provision'
344
345 - string:
346 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700347 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700348 description: 'Number of PONs to provision'
349
350 - string:
351 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700352 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700353 description: 'How many BBSim instances to run'
354
355 - string:
356 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700357 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700358 description: 'Which workflow are we testing (att, dt, tt)'
359
360 - bool:
361 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700362 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 description: 'Wheter to push flows from ONOS'
364
365 - bool:
366 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 description: 'Wheter to provision subscribers durint the tests'
369
370 - bool:
371 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'Wheter EAPOL is enabled for the test'
374
375 - bool:
376 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'Wheter DHCP is enabled for the test'
379
380 - bool:
381 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'Wheter IGMP is enabled for the test'
384
385 - bool:
386 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Wheter Link Discovery is enabled for the test'
389
390 - bool:
391 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700392 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700393 description: 'Option to trigger MIB template command'
394
395 - bool:
396 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700397 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700398 description: 'Option to install Prometheus'
399
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700400 - bool:
401 name: withProfiling
402 default: '{withProfiling}'
403 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
404
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700405 - bool:
406 name: withPcap
407 default: '{withPcap}'
408 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
409
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700410 - string:
411 name: extraHelmFlags
412 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700413 description: 'Any extra helm parameters you want (passed to every helm install command, not available if release != master)'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700414
Matteo Scandolo272aed42020-05-08 15:05:57 -0700415 - string:
416 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700417 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700418 description: 'How many OpenONU adapter instances to run'
419
420 - string:
421 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700422 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700423 description: 'How many ONOSes instances to run'
424
425 - string:
426 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700427 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700428 description: 'How many Atomix instances to run'
429
430 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700431 name: onosStatInterval
432 default: '{onosStatInterval}'
433 description: 'How often ONOS should poll for ports, flows and meters'
434
435 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700436 name: bbsimImg
437 default: '{bbsimImg}'
438 description: 'Custom image selection for BBSIM (repo:tag)'
439
440 - string:
441 name: bbsimChart
442 default: '{bbsimChart}'
443 description: 'BBSim chart name (or location on file system)'
444
445 - string:
446 name: rwCoreImg
447 default: '{rwCoreImg}'
448 description: 'Custom image selection for VOLTHA (repo:tag)'
449
450 - string:
451 name: ofAgentImg
452 default: '{ofAgentImg}'
453 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
454
455 - string:
456 name: volthaChart
457 default: '{volthaChart}'
458 description: 'VOLTHA chart name (or location on file system)'
459
460 - string:
461 name: openoltAdapterImg
462 default: '{openoltAdapterImg}'
463 description: 'Custom image selection for Openolt Adapter (repo:tag)'
464
465 - string:
466 name: openoltAdapterChart
467 default: '{openoltAdapterChart}'
468 description: 'OpenOLT chart name (or location on file system)'
469
470 - string:
471 name: openonuAdapterImg
472 default: '{openonuAdapterImg}'
473 description: 'Custom image selection for Openonu Adapter (repo:tag)'
474
475 - string:
476 name: openonuAdapterChart
477 default: '{openonuAdapterChart}'
478 description: 'OpenONU chart name (or location on file system)'
479
480 - string:
481 name: onosImg
482 default: '{onosImg}'
483 description: 'Custom image selection for Openonu Adapter (repo:tag)'
484
485 - string:
486 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700487 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700488 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
489
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700490 - string:
491 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700492 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700493 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
494
Matteo Scandoloccc06192020-06-22 10:16:17 -0700495 - bool:
496 name: inMemoryEtcdStorage
497 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700498 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700499
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200500 - string:
501 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700502 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200503 description: 'Karaf home'
504
Matteo Scandolo272aed42020-05-08 15:05:57 -0700505 project-type: pipeline
506 concurrent: false
507
508 dsl: !include-raw-escape: pipeline/{pipeline-script}
509
Matteo Scandoloabb83972020-06-25 16:08:23 -0700510 triggers:
511 - timed: |
512 TZ=America/Los_Angeles
513 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700514
515- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700516 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800517 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700518 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800519
520 description: |
521 <!-- Managed by Jenkins Job Builder -->
522 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
523 Using pipeline {pipeline-script} <br/><br/>
524 Scale measurements for VOLTHA 2.x
525
526 properties:
527 - cord-infra-properties:
528 build-days-to-keep: '{build-days-to-keep}'
529 artifact-num-to-keep: '{artifact-num-to-keep}'
530
531 wrappers:
532 - lf-infra-wrappers:
533 build-timeout: '{build-timeout}'
534 jenkins-ssh-credential: '{jenkins-ssh-credential}'
535
Matteo Scandolo0430f672020-05-07 11:50:26 -0700536 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700537 release: master
538
Matteo Scandolo0430f672020-05-07 11:50:26 -0700539 bbsimImg: voltha/bbsim:master
540 rwCoreImg: voltha/voltha-rw-core:master
541 ofAgentImg: voltha/voltha-ofagent-go:master
542 openoltAdapterImg: voltha/voltha-openolt-adapter:master
543 openonuAdapterImg: voltha/voltha-openonu-adapter:master
544 onosImg: voltha/voltha-onos:master
545
546 bbsimChart: onf/bbsim
547 volthaChart: onf/voltha
548 openoltAdapterChart: onf/voltha-adapter-openolt
549 openonuAdapterChart: onf/voltha-adapter-openonu
550
Matteo Scandolo68776b72020-07-21 14:06:06 -0700551 olts: 2
552 pons: 2
553 onus: 2
554 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700555 withFlows: true
556 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700557 withEapol: true
558 withDhcp: true
559 withIgmp: false
560 withLLDP: false
561 withMibTemplate: true
562 withMonitoring: true
563 withProfiling: false
564 withPcap: false
565 openonuAdapterReplicas: 1
566 onosReplicas: 1
567 atomixReplicas: 0
568 extraHelmFlags: ''
569 onosStatInterval: 5
570 volthaSystemTestsChange: ''
571 kindVolthaChange: ''
572 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700573 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700574
Matteo Scandolo51b76302020-02-05 12:07:23 -0800575 parameters:
576 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700577 name: release
578 default: '{release}'
579 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
580
581 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800582 name: buildNode
583 default: '{build-node}'
584 description: 'Name of the Jenkins node to run the job on'
585
586 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700587 name: logLevel
588 default: 'WARN'
589 description: 'Log level for all the components'
590
591 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700592 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700593 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800594 description: 'Number of ONUs to provision'
595
596 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700597 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700598 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800599 description: 'Number of PONs to provision'
600
Matteo Scandolo0430f672020-05-07 11:50:26 -0700601 - string:
602 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700603 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700604 description: 'How many BBSim instances to run'
605
606 - string:
607 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700608 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700609 description: 'Which workflow are we testing (att, dt, tt)'
610
611 - bool:
612 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700613 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700614 description: 'Wheter to push flows from ONOS'
615
616 - bool:
617 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700618 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700619 description: 'Wheter to provision subscribers durint the tests'
620
621 - bool:
622 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700623 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700624 description: 'Wheter EAPOL is enabled for the test'
625
626 - bool:
627 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700628 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700629 description: 'Wheter DHCP is enabled for the test'
630
631 - bool:
632 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700633 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700634 description: 'Wheter IGMP is enabled for the test'
635
636 - bool:
637 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700638 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700639 description: 'Wheter Link Discovery is enabled for the test'
640
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800641 - bool:
642 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700643 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800644 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800645
Matteo Scandolo0430f672020-05-07 11:50:26 -0700646 - bool:
647 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700648 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700649 description: 'Option to install Prometheus'
650
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700651 - bool:
652 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700653 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700654 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
655
Matteo Scandolo68776b72020-07-21 14:06:06 -0700656 - bool:
657 name: withPcap
658 default: '{withPcap}'
659 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
660
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700661 - string:
662 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700663 default: '{extraHelmFlags}'
664 description: 'Any extra helm parameters you want (passed to every helm install command, not available if release != master)'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700665
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800666 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700667 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700668 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700669 description: 'How many OpenONU adapter instances to run'
670
671 - string:
672 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700673 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700674 description: 'How many ONOSes instances to run'
675
676 - string:
677 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700678 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700679 description: 'How many Atomix instances to run'
680
681 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700682 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700683 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700684 description: 'How often ONOS should poll for ports, flows and meters'
685
686 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700687 name: bbsimImg
688 default: '{bbsimImg}'
689 description: 'Custom image selection for BBSIM (repo:tag)'
690
691 - string:
692 name: bbsimChart
693 default: '{bbsimChart}'
694 description: 'BBSim chart name (or location on file system)'
695
696 - string:
697 name: rwCoreImg
698 default: '{rwCoreImg}'
699 description: 'Custom image selection for VOLTHA (repo:tag)'
700
701 - string:
702 name: ofAgentImg
703 default: '{ofAgentImg}'
704 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
705
706 - string:
707 name: volthaChart
708 default: '{volthaChart}'
709 description: 'VOLTHA chart name (or location on file system)'
710
711 - string:
712 name: openoltAdapterImg
713 default: '{openoltAdapterImg}'
714 description: 'Custom image selection for Openolt Adapter (repo:tag)'
715
716 - string:
717 name: openoltAdapterChart
718 default: '{openoltAdapterChart}'
719 description: 'OpenOLT chart name (or location on file system)'
720
721 - string:
722 name: openonuAdapterImg
723 default: '{openonuAdapterImg}'
724 description: 'Custom image selection for Openonu Adapter (repo:tag)'
725
726 - string:
727 name: openonuAdapterChart
728 default: '{openonuAdapterChart}'
729 description: 'OpenONU chart name (or location on file system)'
730
731 - string:
732 name: onosImg
733 default: '{onosImg}'
734 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700735
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700736 - string:
737 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700738 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700739 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
740
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700741 - string:
742 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700743 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700744 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
745
Matteo Scandolo68776b72020-07-21 14:06:06 -0700746 - bool:
747 name: inMemoryEtcdStorage
748 default: '{inMemoryEtcdStorage}'
749 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
750
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200751 - string:
752 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700753 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200754 description: 'Karaf home'
755
Matteo Scandolo51b76302020-02-05 12:07:23 -0800756 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800757 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800758
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700759 dsl: !include-raw-escape: pipeline/{pipeline-script}