blob: d0c9795c3b2d93827773adf24e839f244ef78005 [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
Matteo Scandolo7dc5b452020-07-27 07:36:11 -070012 # jobs for 256 ONUs with a 1 openonu-adapter
13 - 'voltha-scale-measurements':
14 name: 'voltha-openonu-go-scale-measurements-master-1-8-32-activation'
Matteo Scandolob4f81882020-07-30 09:45:15 -070015 'disable-job': true
Matteo Scandolo7dc5b452020-07-27 07:36:11 -070016 build-node: 'onf-pod1-head-node'
17 time-trigger: "H H/4 * * *"
18 olts: 1
19 pons: 8
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-8-32-activation'
Matteo Scandolob4f81882020-07-30 09:45:15 -070032 'disable-job': true
Matteo Scandolo7dc5b452020-07-27 07:36:11 -070033 build-node: 'onf-pod1-head-node'
34 time-trigger: "H H/4 * * *"
35 olts: 1
36 pons: 8
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 Scandolob46bc402020-06-11 13:59:44 -070046 - 'voltha-scale-measurements':
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070047 name: 'voltha-openonu-go-scale-measurements-master-1-16-64-activation'
48 build-node: 'onf-pod1-head-node'
49 time-trigger: "H H/4 * * *"
50 olts: 1
51 pons: 16
52 onus: 64
53 withFlows: false
54 provisionSubscribers: false
55 withEapol: false
56 withDhcp: false
57 withIgmp: false
58 openonuAdapterReplicas: 1
59 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
60 extraHelmFlags: '--set use_openonu_adapter_go=true'
61
62 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070063 name: 'voltha-scale-measurements-master-1-16-32-activation'
Matteo Scandolob4f81882020-07-30 09:45:15 -070064 'disable-job': true
Matteo Scandolob46bc402020-06-11 13:59:44 -070065 build-node: 'onf-pod1-head-node'
66 time-trigger: "H H/4 * * *"
67 olts: 1
68 pons: 16
69 onus: 32
70 withFlows: false
71 provisionSubscribers: false
72 withEapol: false
73 withDhcp: false
74 withIgmp: false
75 openonuAdapterReplicas: 8
76 onosReplicas: 3
77 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -070078
Matteo Scandolo272aed42020-05-08 15:05:57 -070079 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070080 name: 'voltha-scale-measurements-master-1-16-32-att-flows'
Matteo Scandolob4f81882020-07-30 09:45:15 -070081 'disable-job': true
Matteo Scandolo272aed42020-05-08 15:05:57 -070082 build-node: 'onf-pod1-head-node'
83 time-trigger: "H H/4 * * *"
84 olts: 1
85 pons: 16
86 onus: 32
87 withFlows: true
88 provisionSubscribers: false
89 withEapol: true
90 withDhcp: true
91 withIgmp: false
92 openonuAdapterReplicas: 8
93 onosReplicas: 3
94 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -070095 extraHelmFlags: '--set auth=false '
Matteo Scandoloe4b04342020-05-28 07:35:45 -070096
97 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070098 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolob4f81882020-07-30 09:45:15 -070099 'disable-job': true
Matteo Scandoloe4b04342020-05-28 07:35:45 -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: true
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 defaults.rw_core.timeout=30s '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700114
115 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
116 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700117 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolob4f81882020-07-30 09:45:15 -0700118 'disable-job': true
Matteo Scandoloe4b04342020-05-28 07:35:45 -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: true
126 workflow: dt
127 withEapol: false
128 withDhcp: false
129 withIgmp: false
130 openonuAdapterReplicas: 8
131 onosReplicas: 3
132 atomixReplicas: 3
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200133
Matteo Scandolo272aed42020-05-08 15:05:57 -0700134 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700135 - 'voltha-scale-measurements':
Matteo Scandolob4f81882020-07-30 09:45:15 -0700136 'disable-job': true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700137 name: 'voltha-scale-measurements-master-2-16-32-activation'
Matteo Scandolocb726432020-06-01 08:49:14 -0700138 build-node: 'onf-pod1-head-node'
139 time-trigger: "H H/4 * * *"
140 olts: 2
141 pons: 16
142 onus: 32
143 withFlows: false
144 provisionSubscribers: false
145 withEapol: false
146 withDhcp: false
147 withIgmp: false
148 openonuAdapterReplicas: 8
149 onosReplicas: 3
150 atomixReplicas: 3
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700151
Matteo Scandolocb726432020-06-01 08:49:14 -0700152 - 'voltha-scale-measurements':
Matteo Scandolob4f81882020-07-30 09:45:15 -0700153 'disable-job': true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700154 name: 'voltha-scale-measurements-master-2-16-32-att-flows'
Matteo Scandolocb726432020-06-01 08:49:14 -0700155 build-node: 'onf-pod1-head-node'
156 time-trigger: "H H/4 * * *"
157 olts: 2
158 pons: 16
159 onus: 32
160 withFlows: true
161 provisionSubscribers: false
162 withEapol: true
163 withDhcp: true
164 withIgmp: false
165 openonuAdapterReplicas: 8
166 onosReplicas: 3
167 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700168 extraHelmFlags: '--set auth=false '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700169
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -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-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -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: true
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 defaults.rw_core.timeout=30s '
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700187
188 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
189 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700190 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolob4f81882020-07-30 09:45:15 -0700191 'disable-job': true
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700192 build-node: 'onf-pod1-head-node'
193 time-trigger: "H H/4 * * *"
194 olts: 2
195 pons: 16
196 onus: 32
197 withFlows: true
198 provisionSubscribers: true
199 workflow: dt
200 withEapol: false
201 withDhcp: false
202 withIgmp: false
203 openonuAdapterReplicas: 8
204 onosReplicas: 3
205 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700206 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo272aed42020-05-08 15:05:57 -0700207
Matteo Scandolod43064b2020-07-13 17:18:45 -0700208 # voltha-2.4 Jobs
209 - 'voltha-scale-measurements':
Matteo Scandolo5055e4e2020-07-14 10:10:38 -0700210 name: 'voltha-scale-measurements-voltha-2.4-1-16-32-att-subscribers'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700211 build-node: 'onf-pod1-head-node'
212 time-trigger: "H H/4 * * *"
213 olts: 1
214 pons: 16
215 onus: 32
216 withFlows: true
217 provisionSubscribers: true
218 withEapol: true
219 withDhcp: true
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 Scandolod43064b2020-07-13 17:18:45 -0700225 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200226 karafHome: apache-karaf-4.2.8
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700227 logLevel: INFO
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700228 bbsimImg: ''
Matteo Scandolo0b623ed2020-08-06 13:40:48 -0700229 rwCoreImg: 'matteoscandolo/voltha-rw-core:voltha-2.4-dev'
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700230 ofAgentImg: ''
Matteo Scandolo7e8a6962020-08-04 12:19:59 -0700231 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:per-gem-lock
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700232 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200233 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700234
235 - 'voltha-scale-measurements':
236 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
237 build-node: 'onf-pod1-head-node'
238 time-trigger: "H H/4 * * *"
239 olts: 2
240 pons: 16
241 onus: 32
242 withFlows: true
243 provisionSubscribers: true
244 workflow: dt
245 withEapol: false
246 withDhcp: false
247 withIgmp: false
248 openonuAdapterReplicas: 8
249 onosReplicas: 3
250 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700251 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700252 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200253 karafHome: apache-karaf-4.2.8
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700254 logLevel: INFO
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700255 bbsimImg: ''
Matteo Scandolo0b623ed2020-08-06 13:40:48 -0700256 rwCoreImg: 'matteoscandolo/voltha-rw-core:voltha-2.4-dev'
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700257 ofAgentImg: ''
Matteo Scandolo7e8a6962020-08-04 12:19:59 -0700258 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:per-gem-lock
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700259 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200260 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700261
Matteo Scandolo272aed42020-05-08 15:05:57 -0700262 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700263 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700264 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700265 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700266 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700267
Matteo Scandolo51b76302020-02-05 12:07:23 -0800268
269- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700270 id: 'voltha-scale-measurements'
271 name: '{name}'
272 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolob4f81882020-07-30 09:45:15 -0700273 disabled: '{disable-job}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700274
275 description: |
276 <!-- Managed by Jenkins Job Builder -->
277 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
278 Using pipeline {pipeline-script} <br/><br/>
279 Scale measurements for VOLTHA 2.x
280
281 properties:
282 - cord-infra-properties:
Zack Williams5412fbf2020-08-03 16:03:29 -0700283 build-days-to-keep: 30
284 artifact-num-to-keep: 15
Matteo Scandolo272aed42020-05-08 15:05:57 -0700285
286 wrappers:
287 - lf-infra-wrappers:
288 build-timeout: '{build-timeout}'
289 jenkins-ssh-credential: '{jenkins-ssh-credential}'
290
291 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700292 release: master
293
Matteo Scandolo272aed42020-05-08 15:05:57 -0700294 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 Scandoloc9dd44f2020-06-18 15:06:04 -0700319 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700320 openonuAdapterReplicas: 1
321 onosReplicas: 1
322 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700323 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700324 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700325 volthaSystemTestsChange: ''
326 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700327 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700328 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700329 logLevel: 'WARN'
Matteo Scandolo393add12020-05-08 18:03:17 -0700330
Matteo Scandolo272aed42020-05-08 15:05:57 -0700331 parameters:
332 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700333 name: release
334 default: '{release}'
335 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
336
337 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700338 name: buildNode
339 default: '{build-node}'
340 description: 'Name of the Jenkins node to run the job on'
341
342 - string:
343 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700344 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700345 description: 'Log level for all the components'
346
347 - string:
348 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700349 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700350 description: 'Number of ONUs to provision'
351
352 - string:
353 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700354 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700355 description: 'Number of PONs to provision'
356
357 - string:
358 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700359 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700360 description: 'How many BBSim instances to run'
361
362 - string:
363 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700364 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700365 description: 'Which workflow are we testing (att, dt, tt)'
366
367 - bool:
368 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700369 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700370 description: 'Wheter to push flows from ONOS'
371
372 - bool:
373 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700374 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700375 description: 'Wheter to provision subscribers durint the tests'
376
377 - bool:
378 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700379 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700380 description: 'Wheter EAPOL is enabled for the test'
381
382 - bool:
383 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700384 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700385 description: 'Wheter DHCP is enabled for the test'
386
387 - bool:
388 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700389 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700390 description: 'Wheter IGMP is enabled for the test'
391
392 - bool:
393 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700394 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700395 description: 'Wheter Link Discovery is enabled for the test'
396
397 - bool:
398 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700399 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700400 description: 'Option to trigger MIB template command'
401
402 - bool:
403 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700404 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700405 description: 'Option to install Prometheus'
406
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700407 - bool:
408 name: withProfiling
409 default: '{withProfiling}'
410 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
411
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700412 - bool:
413 name: withPcap
414 default: '{withPcap}'
415 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
416
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700417 - string:
418 name: extraHelmFlags
419 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700420 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 -0700421
Matteo Scandolo272aed42020-05-08 15:05:57 -0700422 - string:
423 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700424 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700425 description: 'How many OpenONU adapter instances to run'
426
427 - string:
428 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700429 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700430 description: 'How many ONOSes instances to run'
431
432 - string:
433 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700434 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700435 description: 'How many Atomix instances to run'
436
437 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700438 name: onosStatInterval
439 default: '{onosStatInterval}'
440 description: 'How often ONOS should poll for ports, flows and meters'
441
442 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700443 name: bbsimImg
444 default: '{bbsimImg}'
445 description: 'Custom image selection for BBSIM (repo:tag)'
446
447 - string:
448 name: bbsimChart
449 default: '{bbsimChart}'
450 description: 'BBSim chart name (or location on file system)'
451
452 - string:
453 name: rwCoreImg
454 default: '{rwCoreImg}'
455 description: 'Custom image selection for VOLTHA (repo:tag)'
456
457 - string:
458 name: ofAgentImg
459 default: '{ofAgentImg}'
460 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
461
462 - string:
463 name: volthaChart
464 default: '{volthaChart}'
465 description: 'VOLTHA chart name (or location on file system)'
466
467 - string:
468 name: openoltAdapterImg
469 default: '{openoltAdapterImg}'
470 description: 'Custom image selection for Openolt Adapter (repo:tag)'
471
472 - string:
473 name: openoltAdapterChart
474 default: '{openoltAdapterChart}'
475 description: 'OpenOLT chart name (or location on file system)'
476
477 - string:
478 name: openonuAdapterImg
479 default: '{openonuAdapterImg}'
480 description: 'Custom image selection for Openonu Adapter (repo:tag)'
481
482 - string:
483 name: openonuAdapterChart
484 default: '{openonuAdapterChart}'
485 description: 'OpenONU chart name (or location on file system)'
486
487 - string:
488 name: onosImg
489 default: '{onosImg}'
490 description: 'Custom image selection for Openonu Adapter (repo:tag)'
491
492 - string:
493 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700494 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700495 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
496
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700497 - string:
498 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700499 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700500 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
501
Matteo Scandoloccc06192020-06-22 10:16:17 -0700502 - bool:
503 name: inMemoryEtcdStorage
504 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700505 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700506
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200507 - string:
508 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700509 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200510 description: 'Karaf home'
511
Matteo Scandolo272aed42020-05-08 15:05:57 -0700512 project-type: pipeline
513 concurrent: false
514
515 dsl: !include-raw-escape: pipeline/{pipeline-script}
516
Matteo Scandoloabb83972020-06-25 16:08:23 -0700517 triggers:
518 - timed: |
519 TZ=America/Los_Angeles
520 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700521
522- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700523 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800524 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700525 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800526
527 description: |
528 <!-- Managed by Jenkins Job Builder -->
529 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
530 Using pipeline {pipeline-script} <br/><br/>
531 Scale measurements for VOLTHA 2.x
532
533 properties:
534 - cord-infra-properties:
535 build-days-to-keep: '{build-days-to-keep}'
536 artifact-num-to-keep: '{artifact-num-to-keep}'
537
538 wrappers:
539 - lf-infra-wrappers:
540 build-timeout: '{build-timeout}'
541 jenkins-ssh-credential: '{jenkins-ssh-credential}'
542
Matteo Scandolo0430f672020-05-07 11:50:26 -0700543 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700544 release: master
545
Matteo Scandolo0430f672020-05-07 11:50:26 -0700546 bbsimImg: voltha/bbsim:master
547 rwCoreImg: voltha/voltha-rw-core:master
548 ofAgentImg: voltha/voltha-ofagent-go:master
549 openoltAdapterImg: voltha/voltha-openolt-adapter:master
550 openonuAdapterImg: voltha/voltha-openonu-adapter:master
551 onosImg: voltha/voltha-onos:master
552
553 bbsimChart: onf/bbsim
554 volthaChart: onf/voltha
555 openoltAdapterChart: onf/voltha-adapter-openolt
556 openonuAdapterChart: onf/voltha-adapter-openonu
557
Matteo Scandolo68776b72020-07-21 14:06:06 -0700558 olts: 2
559 pons: 2
560 onus: 2
561 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700562 withFlows: true
563 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700564 withEapol: true
565 withDhcp: true
566 withIgmp: false
567 withLLDP: false
568 withMibTemplate: true
569 withMonitoring: true
570 withProfiling: false
571 withPcap: false
572 openonuAdapterReplicas: 1
573 onosReplicas: 1
574 atomixReplicas: 0
575 extraHelmFlags: ''
576 onosStatInterval: 5
577 volthaSystemTestsChange: ''
578 kindVolthaChange: ''
579 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700580 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700581
Matteo Scandolo51b76302020-02-05 12:07:23 -0800582 parameters:
583 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700584 name: release
585 default: '{release}'
586 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
587
588 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800589 name: buildNode
590 default: '{build-node}'
591 description: 'Name of the Jenkins node to run the job on'
592
593 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700594 name: logLevel
595 default: 'WARN'
596 description: 'Log level for all the components'
597
598 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700599 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700600 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800601 description: 'Number of ONUs to provision'
602
603 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700604 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700605 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800606 description: 'Number of PONs to provision'
607
Matteo Scandolo0430f672020-05-07 11:50:26 -0700608 - string:
609 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700610 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700611 description: 'How many BBSim instances to run'
612
613 - string:
614 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700615 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700616 description: 'Which workflow are we testing (att, dt, tt)'
617
618 - bool:
619 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700620 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700621 description: 'Wheter to push flows from ONOS'
622
623 - bool:
624 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700625 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700626 description: 'Wheter to provision subscribers durint the tests'
627
628 - bool:
629 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700630 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700631 description: 'Wheter EAPOL is enabled for the test'
632
633 - bool:
634 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700635 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700636 description: 'Wheter DHCP is enabled for the test'
637
638 - bool:
639 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700640 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700641 description: 'Wheter IGMP is enabled for the test'
642
643 - bool:
644 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700645 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700646 description: 'Wheter Link Discovery is enabled for the test'
647
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800648 - bool:
649 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700650 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800651 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800652
Matteo Scandolo0430f672020-05-07 11:50:26 -0700653 - bool:
654 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700655 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700656 description: 'Option to install Prometheus'
657
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700658 - bool:
659 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700660 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700661 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
662
Matteo Scandolo68776b72020-07-21 14:06:06 -0700663 - bool:
664 name: withPcap
665 default: '{withPcap}'
666 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
667
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700668 - string:
669 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700670 default: '{extraHelmFlags}'
671 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 -0700672
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800673 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700674 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700675 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700676 description: 'How many OpenONU adapter instances to run'
677
678 - string:
679 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700680 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700681 description: 'How many ONOSes instances to run'
682
683 - string:
684 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700685 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700686 description: 'How many Atomix instances to run'
687
688 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700689 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700690 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700691 description: 'How often ONOS should poll for ports, flows and meters'
692
693 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700694 name: bbsimImg
695 default: '{bbsimImg}'
696 description: 'Custom image selection for BBSIM (repo:tag)'
697
698 - string:
699 name: bbsimChart
700 default: '{bbsimChart}'
701 description: 'BBSim chart name (or location on file system)'
702
703 - string:
704 name: rwCoreImg
705 default: '{rwCoreImg}'
706 description: 'Custom image selection for VOLTHA (repo:tag)'
707
708 - string:
709 name: ofAgentImg
710 default: '{ofAgentImg}'
711 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
712
713 - string:
714 name: volthaChart
715 default: '{volthaChart}'
716 description: 'VOLTHA chart name (or location on file system)'
717
718 - string:
719 name: openoltAdapterImg
720 default: '{openoltAdapterImg}'
721 description: 'Custom image selection for Openolt Adapter (repo:tag)'
722
723 - string:
724 name: openoltAdapterChart
725 default: '{openoltAdapterChart}'
726 description: 'OpenOLT chart name (or location on file system)'
727
728 - string:
729 name: openonuAdapterImg
730 default: '{openonuAdapterImg}'
731 description: 'Custom image selection for Openonu Adapter (repo:tag)'
732
733 - string:
734 name: openonuAdapterChart
735 default: '{openonuAdapterChart}'
736 description: 'OpenONU chart name (or location on file system)'
737
738 - string:
739 name: onosImg
740 default: '{onosImg}'
741 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700742
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700743 - string:
744 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700745 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700746 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
747
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700748 - string:
749 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700750 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700751 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
752
Matteo Scandolo68776b72020-07-21 14:06:06 -0700753 - bool:
754 name: inMemoryEtcdStorage
755 default: '{inMemoryEtcdStorage}'
756 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
757
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200758 - string:
759 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700760 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200761 description: 'Karaf home'
762
Matteo Scandolo51b76302020-02-05 12:07:23 -0800763 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800764 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800765
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700766 dsl: !include-raw-escape: pipeline/{pipeline-script}