blob: efd6b593756b0f109c95ceff2270f7ed60eee4b1 [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'
Matteo Scandolob4f81882020-07-30 09:45:15 -070015 'disable-job': true
Shrey Baid765fb942020-07-06 19:02:57 +053016 build-node: 'onf-pod1-head-node'
17 time-trigger: "H H/4 * * *"
18 olts: 1
19 pons: 2
20 onus: 32
21 withFlows: false
22 provisionSubscribers: false
23 withEapol: false
24 withDhcp: false
25 withIgmp: false
26 openonuAdapterReplicas: 1
27 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
28 extraHelmFlags: '--set use_openonu_adapter_go=true'
29
30 - 'voltha-scale-measurements':
31 name: 'voltha-openonu-scale-measurements-master-1-2-32-activation'
Matteo Scandolob4f81882020-07-30 09:45:15 -070032 'disable-job': true
Shrey Baid765fb942020-07-06 19:02:57 +053033 build-node: 'onf-pod1-head-node'
34 time-trigger: "H H/4 * * *"
35 olts: 1
36 pons: 2
37 onus: 32
38 withFlows: false
39 provisionSubscribers: false
40 withEapol: false
41 withDhcp: false
42 withIgmp: false
43 openonuAdapterReplicas: 1
44 openonuAdapterImg: voltha/voltha-openonu-adapter:master
45
Matteo Scandolo7dc5b452020-07-27 07:36:11 -070046 # jobs for 256 ONUs with a 1 openonu-adapter
47 - 'voltha-scale-measurements':
48 name: 'voltha-openonu-go-scale-measurements-master-1-8-32-activation'
Matteo Scandolob4f81882020-07-30 09:45:15 -070049 'disable-job': true
Matteo Scandolo7dc5b452020-07-27 07:36:11 -070050 build-node: 'onf-pod1-head-node'
51 time-trigger: "H H/4 * * *"
52 olts: 1
53 pons: 8
54 onus: 32
55 withFlows: false
56 provisionSubscribers: false
57 withEapol: false
58 withDhcp: false
59 withIgmp: false
60 openonuAdapterReplicas: 1
61 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
62 extraHelmFlags: '--set use_openonu_adapter_go=true'
63
64 - 'voltha-scale-measurements':
65 name: 'voltha-openonu-scale-measurements-master-1-8-32-activation'
Matteo Scandolob4f81882020-07-30 09:45:15 -070066 'disable-job': true
Matteo Scandolo7dc5b452020-07-27 07:36:11 -070067 build-node: 'onf-pod1-head-node'
68 time-trigger: "H H/4 * * *"
69 olts: 1
70 pons: 8
71 onus: 32
72 withFlows: false
73 provisionSubscribers: false
74 withEapol: false
75 withDhcp: false
76 withIgmp: false
77 openonuAdapterReplicas: 1
78 openonuAdapterImg: voltha/voltha-openonu-adapter:master
79
Matteo Scandolob46bc402020-06-11 13:59:44 -070080 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070081 name: 'voltha-scale-measurements-master-1-16-32-activation'
Matteo Scandolob4f81882020-07-30 09:45:15 -070082 'disable-job': true
Matteo Scandolob46bc402020-06-11 13:59:44 -070083 build-node: 'onf-pod1-head-node'
84 time-trigger: "H H/4 * * *"
85 olts: 1
86 pons: 16
87 onus: 32
88 withFlows: false
89 provisionSubscribers: false
90 withEapol: false
91 withDhcp: false
92 withIgmp: false
93 openonuAdapterReplicas: 8
94 onosReplicas: 3
95 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -070096
Matteo Scandolo272aed42020-05-08 15:05:57 -070097 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070098 name: 'voltha-scale-measurements-master-1-16-32-att-flows'
Matteo Scandolob4f81882020-07-30 09:45:15 -070099 'disable-job': true
Matteo Scandolo272aed42020-05-08 15:05:57 -0700100 build-node: 'onf-pod1-head-node'
101 time-trigger: "H H/4 * * *"
102 olts: 1
103 pons: 16
104 onus: 32
105 withFlows: true
106 provisionSubscribers: false
107 withEapol: true
108 withDhcp: true
109 withIgmp: false
110 openonuAdapterReplicas: 8
111 onosReplicas: 3
112 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700113 extraHelmFlags: '--set auth=false '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700114
115 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700116 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolob4f81882020-07-30 09:45:15 -0700117 'disable-job': true
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700118 build-node: 'onf-pod1-head-node'
119 time-trigger: "H H/4 * * *"
120 olts: 1
121 pons: 16
122 onus: 32
123 withFlows: true
124 provisionSubscribers: true
125 withEapol: true
126 withDhcp: true
127 withIgmp: false
128 openonuAdapterReplicas: 8
129 onosReplicas: 3
130 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700131 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700132
133 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
134 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700135 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolob4f81882020-07-30 09:45:15 -0700136 'disable-job': true
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700137 build-node: 'onf-pod1-head-node'
138 time-trigger: "H H/4 * * *"
139 olts: 1
140 pons: 16
141 onus: 32
142 withFlows: true
143 provisionSubscribers: true
144 workflow: dt
145 withEapol: false
146 withDhcp: false
147 withIgmp: false
148 openonuAdapterReplicas: 8
149 onosReplicas: 3
150 atomixReplicas: 3
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200151
Matteo Scandolo272aed42020-05-08 15:05:57 -0700152 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700153 - 'voltha-scale-measurements':
Matteo Scandolob4f81882020-07-30 09:45:15 -0700154 'disable-job': true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700155 name: 'voltha-scale-measurements-master-2-16-32-activation'
Matteo Scandolocb726432020-06-01 08:49:14 -0700156 build-node: 'onf-pod1-head-node'
157 time-trigger: "H H/4 * * *"
158 olts: 2
159 pons: 16
160 onus: 32
161 withFlows: false
162 provisionSubscribers: false
163 withEapol: false
164 withDhcp: false
165 withIgmp: false
166 openonuAdapterReplicas: 8
167 onosReplicas: 3
168 atomixReplicas: 3
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700169
Matteo Scandolocb726432020-06-01 08:49:14 -0700170 - 'voltha-scale-measurements':
Matteo Scandolob4f81882020-07-30 09:45:15 -0700171 'disable-job': true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700172 name: 'voltha-scale-measurements-master-2-16-32-att-flows'
Matteo Scandolocb726432020-06-01 08:49:14 -0700173 build-node: 'onf-pod1-head-node'
174 time-trigger: "H H/4 * * *"
175 olts: 2
176 pons: 16
177 onus: 32
178 withFlows: true
179 provisionSubscribers: false
180 withEapol: true
181 withDhcp: true
182 withIgmp: false
183 openonuAdapterReplicas: 8
184 onosReplicas: 3
185 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700186 extraHelmFlags: '--set auth=false '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700187
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700188 - 'voltha-scale-measurements':
Matteo Scandolob4f81882020-07-30 09:45:15 -0700189 'disable-job': true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700190 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700191 build-node: 'onf-pod1-head-node'
192 time-trigger: "H H/4 * * *"
193 olts: 2
194 pons: 16
195 onus: 32
196 withFlows: true
197 provisionSubscribers: true
198 withEapol: true
199 withDhcp: true
200 withIgmp: false
201 openonuAdapterReplicas: 8
202 onosReplicas: 3
203 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700204 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700205
206 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
207 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700208 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolob4f81882020-07-30 09:45:15 -0700209 'disable-job': true
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700210 build-node: 'onf-pod1-head-node'
211 time-trigger: "H H/4 * * *"
212 olts: 2
213 pons: 16
214 onus: 32
215 withFlows: true
216 provisionSubscribers: true
217 workflow: dt
218 withEapol: false
219 withDhcp: false
220 withIgmp: false
221 openonuAdapterReplicas: 8
222 onosReplicas: 3
223 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700224 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo272aed42020-05-08 15:05:57 -0700225
Matteo Scandolod43064b2020-07-13 17:18:45 -0700226 # voltha-2.4 Jobs
227 - 'voltha-scale-measurements':
Matteo Scandolo5055e4e2020-07-14 10:10:38 -0700228 name: 'voltha-scale-measurements-voltha-2.4-1-16-32-att-subscribers'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700229 build-node: 'onf-pod1-head-node'
230 time-trigger: "H H/4 * * *"
231 olts: 1
232 pons: 16
233 onus: 32
234 withFlows: true
235 provisionSubscribers: true
236 withEapol: true
237 withDhcp: true
238 withIgmp: false
239 openonuAdapterReplicas: 8
240 onosReplicas: 3
241 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700242 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700243 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200244 karafHome: apache-karaf-4.2.8
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700245 logLevel: INFO
Matteo Scandolod43064b2020-07-13 17:18:45 -0700246
247 - 'voltha-scale-measurements':
248 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
249 build-node: 'onf-pod1-head-node'
250 time-trigger: "H H/4 * * *"
251 olts: 2
252 pons: 16
253 onus: 32
254 withFlows: true
255 provisionSubscribers: true
256 workflow: dt
257 withEapol: false
258 withDhcp: false
259 withIgmp: false
260 openonuAdapterReplicas: 8
261 onosReplicas: 3
262 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700263 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700264 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200265 karafHome: apache-karaf-4.2.8
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700266 logLevel: INFO
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700267
Matteo Scandolo272aed42020-05-08 15:05:57 -0700268 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700269 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700270 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700271 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700272 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700273
Matteo Scandolo51b76302020-02-05 12:07:23 -0800274
275- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700276 id: 'voltha-scale-measurements'
277 name: '{name}'
278 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolob4f81882020-07-30 09:45:15 -0700279 disabled: '{disable-job}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700280
281 description: |
282 <!-- Managed by Jenkins Job Builder -->
283 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
284 Using pipeline {pipeline-script} <br/><br/>
285 Scale measurements for VOLTHA 2.x
286
287 properties:
288 - cord-infra-properties:
289 build-days-to-keep: '{build-days-to-keep}'
290 artifact-num-to-keep: '{artifact-num-to-keep}'
291
292 wrappers:
293 - lf-infra-wrappers:
294 build-timeout: '{build-timeout}'
295 jenkins-ssh-credential: '{jenkins-ssh-credential}'
296
297 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700298 release: master
299
Matteo Scandolo272aed42020-05-08 15:05:57 -0700300 bbsimImg: voltha/bbsim:master
301 rwCoreImg: voltha/voltha-rw-core:master
302 ofAgentImg: voltha/voltha-ofagent-go:master
303 openoltAdapterImg: voltha/voltha-openolt-adapter:master
304 openonuAdapterImg: voltha/voltha-openonu-adapter:master
305 onosImg: voltha/voltha-onos:master
306
307 bbsimChart: onf/bbsim
308 volthaChart: onf/voltha
309 openoltAdapterChart: onf/voltha-adapter-openolt
310 openonuAdapterChart: onf/voltha-adapter-openonu
311
Matteo Scandolo393add12020-05-08 18:03:17 -0700312 olts: 2
313 pons: 2
314 onus: 2
315 workflow: att
316 withFlows: false
317 provisionSubscribers: false
318 withEapol: true
319 withDhcp: true
320 withIgmp: false
321 withLLDP: false
322 withMibTemplate: true
323 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700324 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700325 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700326 openonuAdapterReplicas: 1
327 onosReplicas: 1
328 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700329 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700330 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700331 volthaSystemTestsChange: ''
332 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700333 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700334 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700335 logLevel: 'WARN'
Matteo Scandolo393add12020-05-08 18:03:17 -0700336
Matteo Scandolo272aed42020-05-08 15:05:57 -0700337 parameters:
338 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700339 name: release
340 default: '{release}'
341 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
342
343 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700344 name: buildNode
345 default: '{build-node}'
346 description: 'Name of the Jenkins node to run the job on'
347
348 - string:
349 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700350 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700351 description: 'Log level for all the components'
352
353 - string:
354 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700355 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700356 description: 'Number of ONUs to provision'
357
358 - string:
359 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700360 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700361 description: 'Number of PONs to provision'
362
363 - string:
364 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700365 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700366 description: 'How many BBSim instances to run'
367
368 - string:
369 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700370 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700371 description: 'Which workflow are we testing (att, dt, tt)'
372
373 - bool:
374 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700375 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700376 description: 'Wheter to push flows from ONOS'
377
378 - bool:
379 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700380 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700381 description: 'Wheter to provision subscribers durint the tests'
382
383 - bool:
384 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700385 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700386 description: 'Wheter EAPOL is enabled for the test'
387
388 - bool:
389 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700390 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700391 description: 'Wheter DHCP is enabled for the test'
392
393 - bool:
394 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700395 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700396 description: 'Wheter IGMP is enabled for the test'
397
398 - bool:
399 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700400 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700401 description: 'Wheter Link Discovery is enabled for the test'
402
403 - bool:
404 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700405 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700406 description: 'Option to trigger MIB template command'
407
408 - bool:
409 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700410 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700411 description: 'Option to install Prometheus'
412
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700413 - bool:
414 name: withProfiling
415 default: '{withProfiling}'
416 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
417
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700418 - bool:
419 name: withPcap
420 default: '{withPcap}'
421 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
422
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700423 - string:
424 name: extraHelmFlags
425 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700426 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 -0700427
Matteo Scandolo272aed42020-05-08 15:05:57 -0700428 - string:
429 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700430 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700431 description: 'How many OpenONU adapter instances to run'
432
433 - string:
434 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700435 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700436 description: 'How many ONOSes instances to run'
437
438 - string:
439 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700440 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700441 description: 'How many Atomix instances to run'
442
443 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700444 name: onosStatInterval
445 default: '{onosStatInterval}'
446 description: 'How often ONOS should poll for ports, flows and meters'
447
448 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700449 name: bbsimImg
450 default: '{bbsimImg}'
451 description: 'Custom image selection for BBSIM (repo:tag)'
452
453 - string:
454 name: bbsimChart
455 default: '{bbsimChart}'
456 description: 'BBSim chart name (or location on file system)'
457
458 - string:
459 name: rwCoreImg
460 default: '{rwCoreImg}'
461 description: 'Custom image selection for VOLTHA (repo:tag)'
462
463 - string:
464 name: ofAgentImg
465 default: '{ofAgentImg}'
466 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
467
468 - string:
469 name: volthaChart
470 default: '{volthaChart}'
471 description: 'VOLTHA chart name (or location on file system)'
472
473 - string:
474 name: openoltAdapterImg
475 default: '{openoltAdapterImg}'
476 description: 'Custom image selection for Openolt Adapter (repo:tag)'
477
478 - string:
479 name: openoltAdapterChart
480 default: '{openoltAdapterChart}'
481 description: 'OpenOLT chart name (or location on file system)'
482
483 - string:
484 name: openonuAdapterImg
485 default: '{openonuAdapterImg}'
486 description: 'Custom image selection for Openonu Adapter (repo:tag)'
487
488 - string:
489 name: openonuAdapterChart
490 default: '{openonuAdapterChart}'
491 description: 'OpenONU chart name (or location on file system)'
492
493 - string:
494 name: onosImg
495 default: '{onosImg}'
496 description: 'Custom image selection for Openonu Adapter (repo:tag)'
497
498 - string:
499 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700500 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700501 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
502
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700503 - string:
504 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700505 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700506 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
507
Matteo Scandoloccc06192020-06-22 10:16:17 -0700508 - bool:
509 name: inMemoryEtcdStorage
510 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700511 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700512
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200513 - string:
514 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700515 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200516 description: 'Karaf home'
517
Matteo Scandolo272aed42020-05-08 15:05:57 -0700518 project-type: pipeline
519 concurrent: false
520
521 dsl: !include-raw-escape: pipeline/{pipeline-script}
522
Matteo Scandoloabb83972020-06-25 16:08:23 -0700523 triggers:
524 - timed: |
525 TZ=America/Los_Angeles
526 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700527
528- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700529 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800530 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700531 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800532
533 description: |
534 <!-- Managed by Jenkins Job Builder -->
535 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
536 Using pipeline {pipeline-script} <br/><br/>
537 Scale measurements for VOLTHA 2.x
538
539 properties:
540 - cord-infra-properties:
541 build-days-to-keep: '{build-days-to-keep}'
542 artifact-num-to-keep: '{artifact-num-to-keep}'
543
544 wrappers:
545 - lf-infra-wrappers:
546 build-timeout: '{build-timeout}'
547 jenkins-ssh-credential: '{jenkins-ssh-credential}'
548
Matteo Scandolo0430f672020-05-07 11:50:26 -0700549 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700550 release: master
551
Matteo Scandolo0430f672020-05-07 11:50:26 -0700552 bbsimImg: voltha/bbsim:master
553 rwCoreImg: voltha/voltha-rw-core:master
554 ofAgentImg: voltha/voltha-ofagent-go:master
555 openoltAdapterImg: voltha/voltha-openolt-adapter:master
556 openonuAdapterImg: voltha/voltha-openonu-adapter:master
557 onosImg: voltha/voltha-onos:master
558
559 bbsimChart: onf/bbsim
560 volthaChart: onf/voltha
561 openoltAdapterChart: onf/voltha-adapter-openolt
562 openonuAdapterChart: onf/voltha-adapter-openonu
563
Matteo Scandolo68776b72020-07-21 14:06:06 -0700564 olts: 2
565 pons: 2
566 onus: 2
567 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700568 withFlows: true
569 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700570 withEapol: true
571 withDhcp: true
572 withIgmp: false
573 withLLDP: false
574 withMibTemplate: true
575 withMonitoring: true
576 withProfiling: false
577 withPcap: false
578 openonuAdapterReplicas: 1
579 onosReplicas: 1
580 atomixReplicas: 0
581 extraHelmFlags: ''
582 onosStatInterval: 5
583 volthaSystemTestsChange: ''
584 kindVolthaChange: ''
585 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700586 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700587
Matteo Scandolo51b76302020-02-05 12:07:23 -0800588 parameters:
589 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700590 name: release
591 default: '{release}'
592 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
593
594 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800595 name: buildNode
596 default: '{build-node}'
597 description: 'Name of the Jenkins node to run the job on'
598
599 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700600 name: logLevel
601 default: 'WARN'
602 description: 'Log level for all the components'
603
604 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700605 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700606 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800607 description: 'Number of ONUs to provision'
608
609 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700610 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700611 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800612 description: 'Number of PONs to provision'
613
Matteo Scandolo0430f672020-05-07 11:50:26 -0700614 - string:
615 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700616 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700617 description: 'How many BBSim instances to run'
618
619 - string:
620 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700621 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700622 description: 'Which workflow are we testing (att, dt, tt)'
623
624 - bool:
625 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700626 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700627 description: 'Wheter to push flows from ONOS'
628
629 - bool:
630 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700631 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700632 description: 'Wheter to provision subscribers durint the tests'
633
634 - bool:
635 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700636 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700637 description: 'Wheter EAPOL is enabled for the test'
638
639 - bool:
640 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700641 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700642 description: 'Wheter DHCP is enabled for the test'
643
644 - bool:
645 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700646 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700647 description: 'Wheter IGMP is enabled for the test'
648
649 - bool:
650 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700651 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700652 description: 'Wheter Link Discovery is enabled for the test'
653
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800654 - bool:
655 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700656 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800657 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800658
Matteo Scandolo0430f672020-05-07 11:50:26 -0700659 - bool:
660 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700661 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700662 description: 'Option to install Prometheus'
663
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700664 - bool:
665 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700666 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700667 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
668
Matteo Scandolo68776b72020-07-21 14:06:06 -0700669 - bool:
670 name: withPcap
671 default: '{withPcap}'
672 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
673
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700674 - string:
675 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700676 default: '{extraHelmFlags}'
677 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 -0700678
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800679 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700680 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700681 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700682 description: 'How many OpenONU adapter instances to run'
683
684 - string:
685 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700686 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700687 description: 'How many ONOSes instances to run'
688
689 - string:
690 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700691 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700692 description: 'How many Atomix instances to run'
693
694 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700695 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700696 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700697 description: 'How often ONOS should poll for ports, flows and meters'
698
699 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700700 name: bbsimImg
701 default: '{bbsimImg}'
702 description: 'Custom image selection for BBSIM (repo:tag)'
703
704 - string:
705 name: bbsimChart
706 default: '{bbsimChart}'
707 description: 'BBSim chart name (or location on file system)'
708
709 - string:
710 name: rwCoreImg
711 default: '{rwCoreImg}'
712 description: 'Custom image selection for VOLTHA (repo:tag)'
713
714 - string:
715 name: ofAgentImg
716 default: '{ofAgentImg}'
717 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
718
719 - string:
720 name: volthaChart
721 default: '{volthaChart}'
722 description: 'VOLTHA chart name (or location on file system)'
723
724 - string:
725 name: openoltAdapterImg
726 default: '{openoltAdapterImg}'
727 description: 'Custom image selection for Openolt Adapter (repo:tag)'
728
729 - string:
730 name: openoltAdapterChart
731 default: '{openoltAdapterChart}'
732 description: 'OpenOLT chart name (or location on file system)'
733
734 - string:
735 name: openonuAdapterImg
736 default: '{openonuAdapterImg}'
737 description: 'Custom image selection for Openonu Adapter (repo:tag)'
738
739 - string:
740 name: openonuAdapterChart
741 default: '{openonuAdapterChart}'
742 description: 'OpenONU chart name (or location on file system)'
743
744 - string:
745 name: onosImg
746 default: '{onosImg}'
747 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700748
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700749 - string:
750 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700751 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700752 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
753
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700754 - string:
755 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700756 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700757 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
758
Matteo Scandolo68776b72020-07-21 14:06:06 -0700759 - bool:
760 name: inMemoryEtcdStorage
761 default: '{inMemoryEtcdStorage}'
762 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
763
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200764 - string:
765 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700766 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200767 description: 'Karaf home'
768
Matteo Scandolo51b76302020-02-05 12:07:23 -0800769 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800770 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800771
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700772 dsl: !include-raw-escape: pipeline/{pipeline-script}