blob: 28b274df716d0ca7cdc9e89df4d79efe473ca27a [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 Scandolo414062a2020-08-03 11:10:10 -0700267 openoltAdapterImg: matteoscandolo/voltha-rw-core:per-gem-lock
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700268
Matteo Scandolo272aed42020-05-08 15:05:57 -0700269 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700270 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700271 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700272 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700273 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700274
Matteo Scandolo51b76302020-02-05 12:07:23 -0800275
276- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700277 id: 'voltha-scale-measurements'
278 name: '{name}'
279 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolob4f81882020-07-30 09:45:15 -0700280 disabled: '{disable-job}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700281
282 description: |
283 <!-- Managed by Jenkins Job Builder -->
284 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
285 Using pipeline {pipeline-script} <br/><br/>
286 Scale measurements for VOLTHA 2.x
287
288 properties:
289 - cord-infra-properties:
290 build-days-to-keep: '{build-days-to-keep}'
291 artifact-num-to-keep: '{artifact-num-to-keep}'
292
293 wrappers:
294 - lf-infra-wrappers:
295 build-timeout: '{build-timeout}'
296 jenkins-ssh-credential: '{jenkins-ssh-credential}'
297
298 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700299 release: master
300
Matteo Scandolo272aed42020-05-08 15:05:57 -0700301 bbsimImg: voltha/bbsim:master
302 rwCoreImg: voltha/voltha-rw-core:master
303 ofAgentImg: voltha/voltha-ofagent-go:master
304 openoltAdapterImg: voltha/voltha-openolt-adapter:master
305 openonuAdapterImg: voltha/voltha-openonu-adapter:master
306 onosImg: voltha/voltha-onos:master
307
308 bbsimChart: onf/bbsim
309 volthaChart: onf/voltha
310 openoltAdapterChart: onf/voltha-adapter-openolt
311 openonuAdapterChart: onf/voltha-adapter-openonu
312
Matteo Scandolo393add12020-05-08 18:03:17 -0700313 olts: 2
314 pons: 2
315 onus: 2
316 workflow: att
317 withFlows: false
318 provisionSubscribers: false
319 withEapol: true
320 withDhcp: true
321 withIgmp: false
322 withLLDP: false
323 withMibTemplate: true
324 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700325 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700326 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700327 openonuAdapterReplicas: 1
328 onosReplicas: 1
329 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700330 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700331 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700332 volthaSystemTestsChange: ''
333 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700334 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700335 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700336 logLevel: 'WARN'
Matteo Scandolo393add12020-05-08 18:03:17 -0700337
Matteo Scandolo272aed42020-05-08 15:05:57 -0700338 parameters:
339 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700340 name: release
341 default: '{release}'
342 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
343
344 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700345 name: buildNode
346 default: '{build-node}'
347 description: 'Name of the Jenkins node to run the job on'
348
349 - string:
350 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700351 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700352 description: 'Log level for all the components'
353
354 - string:
355 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700356 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700357 description: 'Number of ONUs to provision'
358
359 - string:
360 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700361 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700362 description: 'Number of PONs to provision'
363
364 - string:
365 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700366 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700367 description: 'How many BBSim instances to run'
368
369 - string:
370 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700371 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700372 description: 'Which workflow are we testing (att, dt, tt)'
373
374 - bool:
375 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700376 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700377 description: 'Wheter to push flows from ONOS'
378
379 - bool:
380 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700381 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700382 description: 'Wheter to provision subscribers durint the tests'
383
384 - bool:
385 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700386 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700387 description: 'Wheter EAPOL is enabled for the test'
388
389 - bool:
390 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700391 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700392 description: 'Wheter DHCP is enabled for the test'
393
394 - bool:
395 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700396 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700397 description: 'Wheter IGMP is enabled for the test'
398
399 - bool:
400 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700401 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700402 description: 'Wheter Link Discovery is enabled for the test'
403
404 - bool:
405 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700406 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700407 description: 'Option to trigger MIB template command'
408
409 - bool:
410 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700411 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700412 description: 'Option to install Prometheus'
413
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700414 - bool:
415 name: withProfiling
416 default: '{withProfiling}'
417 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
418
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700419 - bool:
420 name: withPcap
421 default: '{withPcap}'
422 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
423
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700424 - string:
425 name: extraHelmFlags
426 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700427 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 -0700428
Matteo Scandolo272aed42020-05-08 15:05:57 -0700429 - string:
430 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700431 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700432 description: 'How many OpenONU adapter instances to run'
433
434 - string:
435 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700436 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700437 description: 'How many ONOSes instances to run'
438
439 - string:
440 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700441 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700442 description: 'How many Atomix instances to run'
443
444 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700445 name: onosStatInterval
446 default: '{onosStatInterval}'
447 description: 'How often ONOS should poll for ports, flows and meters'
448
449 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700450 name: bbsimImg
451 default: '{bbsimImg}'
452 description: 'Custom image selection for BBSIM (repo:tag)'
453
454 - string:
455 name: bbsimChart
456 default: '{bbsimChart}'
457 description: 'BBSim chart name (or location on file system)'
458
459 - string:
460 name: rwCoreImg
461 default: '{rwCoreImg}'
462 description: 'Custom image selection for VOLTHA (repo:tag)'
463
464 - string:
465 name: ofAgentImg
466 default: '{ofAgentImg}'
467 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
468
469 - string:
470 name: volthaChart
471 default: '{volthaChart}'
472 description: 'VOLTHA chart name (or location on file system)'
473
474 - string:
475 name: openoltAdapterImg
476 default: '{openoltAdapterImg}'
477 description: 'Custom image selection for Openolt Adapter (repo:tag)'
478
479 - string:
480 name: openoltAdapterChart
481 default: '{openoltAdapterChart}'
482 description: 'OpenOLT chart name (or location on file system)'
483
484 - string:
485 name: openonuAdapterImg
486 default: '{openonuAdapterImg}'
487 description: 'Custom image selection for Openonu Adapter (repo:tag)'
488
489 - string:
490 name: openonuAdapterChart
491 default: '{openonuAdapterChart}'
492 description: 'OpenONU chart name (or location on file system)'
493
494 - string:
495 name: onosImg
496 default: '{onosImg}'
497 description: 'Custom image selection for Openonu Adapter (repo:tag)'
498
499 - string:
500 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700501 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700502 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
503
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700504 - string:
505 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700506 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700507 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
508
Matteo Scandoloccc06192020-06-22 10:16:17 -0700509 - bool:
510 name: inMemoryEtcdStorage
511 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700512 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700513
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200514 - string:
515 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700516 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200517 description: 'Karaf home'
518
Matteo Scandolo272aed42020-05-08 15:05:57 -0700519 project-type: pipeline
520 concurrent: false
521
522 dsl: !include-raw-escape: pipeline/{pipeline-script}
523
Matteo Scandoloabb83972020-06-25 16:08:23 -0700524 triggers:
525 - timed: |
526 TZ=America/Los_Angeles
527 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700528
529- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700530 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800531 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700532 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800533
534 description: |
535 <!-- Managed by Jenkins Job Builder -->
536 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
537 Using pipeline {pipeline-script} <br/><br/>
538 Scale measurements for VOLTHA 2.x
539
540 properties:
541 - cord-infra-properties:
542 build-days-to-keep: '{build-days-to-keep}'
543 artifact-num-to-keep: '{artifact-num-to-keep}'
544
545 wrappers:
546 - lf-infra-wrappers:
547 build-timeout: '{build-timeout}'
548 jenkins-ssh-credential: '{jenkins-ssh-credential}'
549
Matteo Scandolo0430f672020-05-07 11:50:26 -0700550 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700551 release: master
552
Matteo Scandolo0430f672020-05-07 11:50:26 -0700553 bbsimImg: voltha/bbsim:master
554 rwCoreImg: voltha/voltha-rw-core:master
555 ofAgentImg: voltha/voltha-ofagent-go:master
556 openoltAdapterImg: voltha/voltha-openolt-adapter:master
557 openonuAdapterImg: voltha/voltha-openonu-adapter:master
558 onosImg: voltha/voltha-onos:master
559
560 bbsimChart: onf/bbsim
561 volthaChart: onf/voltha
562 openoltAdapterChart: onf/voltha-adapter-openolt
563 openonuAdapterChart: onf/voltha-adapter-openonu
564
Matteo Scandolo68776b72020-07-21 14:06:06 -0700565 olts: 2
566 pons: 2
567 onus: 2
568 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700569 withFlows: true
570 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700571 withEapol: true
572 withDhcp: true
573 withIgmp: false
574 withLLDP: false
575 withMibTemplate: true
576 withMonitoring: true
577 withProfiling: false
578 withPcap: false
579 openonuAdapterReplicas: 1
580 onosReplicas: 1
581 atomixReplicas: 0
582 extraHelmFlags: ''
583 onosStatInterval: 5
584 volthaSystemTestsChange: ''
585 kindVolthaChange: ''
586 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700587 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700588
Matteo Scandolo51b76302020-02-05 12:07:23 -0800589 parameters:
590 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700591 name: release
592 default: '{release}'
593 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
594
595 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800596 name: buildNode
597 default: '{build-node}'
598 description: 'Name of the Jenkins node to run the job on'
599
600 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700601 name: logLevel
602 default: 'WARN'
603 description: 'Log level for all the components'
604
605 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700606 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700607 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800608 description: 'Number of ONUs to provision'
609
610 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700611 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700612 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800613 description: 'Number of PONs to provision'
614
Matteo Scandolo0430f672020-05-07 11:50:26 -0700615 - string:
616 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700617 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700618 description: 'How many BBSim instances to run'
619
620 - string:
621 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700622 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700623 description: 'Which workflow are we testing (att, dt, tt)'
624
625 - bool:
626 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700627 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700628 description: 'Wheter to push flows from ONOS'
629
630 - bool:
631 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700632 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700633 description: 'Wheter to provision subscribers durint the tests'
634
635 - bool:
636 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700637 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700638 description: 'Wheter EAPOL is enabled for the test'
639
640 - bool:
641 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700642 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700643 description: 'Wheter DHCP is enabled for the test'
644
645 - bool:
646 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700647 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700648 description: 'Wheter IGMP is enabled for the test'
649
650 - bool:
651 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700652 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700653 description: 'Wheter Link Discovery is enabled for the test'
654
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800655 - bool:
656 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700657 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800658 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800659
Matteo Scandolo0430f672020-05-07 11:50:26 -0700660 - bool:
661 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700662 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700663 description: 'Option to install Prometheus'
664
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700665 - bool:
666 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700667 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700668 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
669
Matteo Scandolo68776b72020-07-21 14:06:06 -0700670 - bool:
671 name: withPcap
672 default: '{withPcap}'
673 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
674
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700675 - string:
676 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700677 default: '{extraHelmFlags}'
678 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 -0700679
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800680 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700681 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700682 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700683 description: 'How many OpenONU adapter instances to run'
684
685 - string:
686 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700687 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700688 description: 'How many ONOSes instances to run'
689
690 - string:
691 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700692 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700693 description: 'How many Atomix instances to run'
694
695 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700696 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700697 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700698 description: 'How often ONOS should poll for ports, flows and meters'
699
700 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700701 name: bbsimImg
702 default: '{bbsimImg}'
703 description: 'Custom image selection for BBSIM (repo:tag)'
704
705 - string:
706 name: bbsimChart
707 default: '{bbsimChart}'
708 description: 'BBSim chart name (or location on file system)'
709
710 - string:
711 name: rwCoreImg
712 default: '{rwCoreImg}'
713 description: 'Custom image selection for VOLTHA (repo:tag)'
714
715 - string:
716 name: ofAgentImg
717 default: '{ofAgentImg}'
718 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
719
720 - string:
721 name: volthaChart
722 default: '{volthaChart}'
723 description: 'VOLTHA chart name (or location on file system)'
724
725 - string:
726 name: openoltAdapterImg
727 default: '{openoltAdapterImg}'
728 description: 'Custom image selection for Openolt Adapter (repo:tag)'
729
730 - string:
731 name: openoltAdapterChart
732 default: '{openoltAdapterChart}'
733 description: 'OpenOLT chart name (or location on file system)'
734
735 - string:
736 name: openonuAdapterImg
737 default: '{openonuAdapterImg}'
738 description: 'Custom image selection for Openonu Adapter (repo:tag)'
739
740 - string:
741 name: openonuAdapterChart
742 default: '{openonuAdapterChart}'
743 description: 'OpenONU chart name (or location on file system)'
744
745 - string:
746 name: onosImg
747 default: '{onosImg}'
748 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700749
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700750 - string:
751 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700752 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700753 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
754
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700755 - string:
756 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700757 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700758 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
759
Matteo Scandolo68776b72020-07-21 14:06:06 -0700760 - bool:
761 name: inMemoryEtcdStorage
762 default: '{inMemoryEtcdStorage}'
763 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
764
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200765 - string:
766 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700767 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200768 description: 'Karaf home'
769
Matteo Scandolo51b76302020-02-05 12:07:23 -0800770 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800771 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800772
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700773 dsl: !include-raw-escape: pipeline/{pipeline-script}