blob: f0e9ae2576947fcd6d66f872877d2051a3ee4d2e [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 Scandolo7e8a6962020-08-04 12:19:59 -0700246 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:per-gem-lock
Matteo Scandolod43064b2020-07-13 17:18:45 -0700247
248 - 'voltha-scale-measurements':
249 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
250 build-node: 'onf-pod1-head-node'
251 time-trigger: "H H/4 * * *"
252 olts: 2
253 pons: 16
254 onus: 32
255 withFlows: true
256 provisionSubscribers: true
257 workflow: dt
258 withEapol: false
259 withDhcp: false
260 withIgmp: false
261 openonuAdapterReplicas: 8
262 onosReplicas: 3
263 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700264 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700265 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200266 karafHome: apache-karaf-4.2.8
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700267 logLevel: INFO
Matteo Scandolo7e8a6962020-08-04 12:19:59 -0700268 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:per-gem-lock
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700269
Matteo Scandolo272aed42020-05-08 15:05:57 -0700270 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700271 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700272 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700273 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700274 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700275
Matteo Scandolo51b76302020-02-05 12:07:23 -0800276
277- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700278 id: 'voltha-scale-measurements'
279 name: '{name}'
280 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolob4f81882020-07-30 09:45:15 -0700281 disabled: '{disable-job}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700282
283 description: |
284 <!-- Managed by Jenkins Job Builder -->
285 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
286 Using pipeline {pipeline-script} <br/><br/>
287 Scale measurements for VOLTHA 2.x
288
289 properties:
290 - cord-infra-properties:
Zack Williams5412fbf2020-08-03 16:03:29 -0700291 build-days-to-keep: 30
292 artifact-num-to-keep: 15
Matteo Scandolo272aed42020-05-08 15:05:57 -0700293
294 wrappers:
295 - lf-infra-wrappers:
296 build-timeout: '{build-timeout}'
297 jenkins-ssh-credential: '{jenkins-ssh-credential}'
298
299 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700300 release: master
301
Matteo Scandolo272aed42020-05-08 15:05:57 -0700302 bbsimImg: voltha/bbsim:master
303 rwCoreImg: voltha/voltha-rw-core:master
304 ofAgentImg: voltha/voltha-ofagent-go:master
305 openoltAdapterImg: voltha/voltha-openolt-adapter:master
306 openonuAdapterImg: voltha/voltha-openonu-adapter:master
307 onosImg: voltha/voltha-onos:master
308
309 bbsimChart: onf/bbsim
310 volthaChart: onf/voltha
311 openoltAdapterChart: onf/voltha-adapter-openolt
312 openonuAdapterChart: onf/voltha-adapter-openonu
313
Matteo Scandolo393add12020-05-08 18:03:17 -0700314 olts: 2
315 pons: 2
316 onus: 2
317 workflow: att
318 withFlows: false
319 provisionSubscribers: false
320 withEapol: true
321 withDhcp: true
322 withIgmp: false
323 withLLDP: false
324 withMibTemplate: true
325 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700326 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700327 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700328 openonuAdapterReplicas: 1
329 onosReplicas: 1
330 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700331 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700332 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700333 volthaSystemTestsChange: ''
334 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700335 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700336 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700337 logLevel: 'WARN'
Matteo Scandolo393add12020-05-08 18:03:17 -0700338
Matteo Scandolo272aed42020-05-08 15:05:57 -0700339 parameters:
340 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700341 name: release
342 default: '{release}'
343 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
344
345 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700346 name: buildNode
347 default: '{build-node}'
348 description: 'Name of the Jenkins node to run the job on'
349
350 - string:
351 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700352 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700353 description: 'Log level for all the components'
354
355 - string:
356 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700357 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700358 description: 'Number of ONUs to provision'
359
360 - string:
361 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700362 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 description: 'Number of PONs to provision'
364
365 - string:
366 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 description: 'How many BBSim instances to run'
369
370 - string:
371 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'Which workflow are we testing (att, dt, tt)'
374
375 - bool:
376 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'Wheter to push flows from ONOS'
379
380 - bool:
381 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'Wheter to provision subscribers durint the tests'
384
385 - bool:
386 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Wheter EAPOL is enabled for the test'
389
390 - bool:
391 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700392 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700393 description: 'Wheter DHCP is enabled for the test'
394
395 - bool:
396 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700397 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700398 description: 'Wheter IGMP is enabled for the test'
399
400 - bool:
401 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700402 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700403 description: 'Wheter Link Discovery is enabled for the test'
404
405 - bool:
406 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700407 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700408 description: 'Option to trigger MIB template command'
409
410 - bool:
411 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700412 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700413 description: 'Option to install Prometheus'
414
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700415 - bool:
416 name: withProfiling
417 default: '{withProfiling}'
418 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
419
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700420 - bool:
421 name: withPcap
422 default: '{withPcap}'
423 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
424
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700425 - string:
426 name: extraHelmFlags
427 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700428 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 -0700429
Matteo Scandolo272aed42020-05-08 15:05:57 -0700430 - string:
431 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700432 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700433 description: 'How many OpenONU adapter instances to run'
434
435 - string:
436 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700437 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700438 description: 'How many ONOSes instances to run'
439
440 - string:
441 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700442 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700443 description: 'How many Atomix instances to run'
444
445 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700446 name: onosStatInterval
447 default: '{onosStatInterval}'
448 description: 'How often ONOS should poll for ports, flows and meters'
449
450 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700451 name: bbsimImg
452 default: '{bbsimImg}'
453 description: 'Custom image selection for BBSIM (repo:tag)'
454
455 - string:
456 name: bbsimChart
457 default: '{bbsimChart}'
458 description: 'BBSim chart name (or location on file system)'
459
460 - string:
461 name: rwCoreImg
462 default: '{rwCoreImg}'
463 description: 'Custom image selection for VOLTHA (repo:tag)'
464
465 - string:
466 name: ofAgentImg
467 default: '{ofAgentImg}'
468 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
469
470 - string:
471 name: volthaChart
472 default: '{volthaChart}'
473 description: 'VOLTHA chart name (or location on file system)'
474
475 - string:
476 name: openoltAdapterImg
477 default: '{openoltAdapterImg}'
478 description: 'Custom image selection for Openolt Adapter (repo:tag)'
479
480 - string:
481 name: openoltAdapterChart
482 default: '{openoltAdapterChart}'
483 description: 'OpenOLT chart name (or location on file system)'
484
485 - string:
486 name: openonuAdapterImg
487 default: '{openonuAdapterImg}'
488 description: 'Custom image selection for Openonu Adapter (repo:tag)'
489
490 - string:
491 name: openonuAdapterChart
492 default: '{openonuAdapterChart}'
493 description: 'OpenONU chart name (or location on file system)'
494
495 - string:
496 name: onosImg
497 default: '{onosImg}'
498 description: 'Custom image selection for Openonu Adapter (repo:tag)'
499
500 - string:
501 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700502 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700503 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
504
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700505 - string:
506 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700507 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700508 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
509
Matteo Scandoloccc06192020-06-22 10:16:17 -0700510 - bool:
511 name: inMemoryEtcdStorage
512 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700513 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700514
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200515 - string:
516 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700517 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200518 description: 'Karaf home'
519
Matteo Scandolo272aed42020-05-08 15:05:57 -0700520 project-type: pipeline
521 concurrent: false
522
523 dsl: !include-raw-escape: pipeline/{pipeline-script}
524
Matteo Scandoloabb83972020-06-25 16:08:23 -0700525 triggers:
526 - timed: |
527 TZ=America/Los_Angeles
528 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700529
530- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700531 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800532 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700533 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800534
535 description: |
536 <!-- Managed by Jenkins Job Builder -->
537 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
538 Using pipeline {pipeline-script} <br/><br/>
539 Scale measurements for VOLTHA 2.x
540
541 properties:
542 - cord-infra-properties:
543 build-days-to-keep: '{build-days-to-keep}'
544 artifact-num-to-keep: '{artifact-num-to-keep}'
545
546 wrappers:
547 - lf-infra-wrappers:
548 build-timeout: '{build-timeout}'
549 jenkins-ssh-credential: '{jenkins-ssh-credential}'
550
Matteo Scandolo0430f672020-05-07 11:50:26 -0700551 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700552 release: master
553
Matteo Scandolo0430f672020-05-07 11:50:26 -0700554 bbsimImg: voltha/bbsim:master
555 rwCoreImg: voltha/voltha-rw-core:master
556 ofAgentImg: voltha/voltha-ofagent-go:master
557 openoltAdapterImg: voltha/voltha-openolt-adapter:master
558 openonuAdapterImg: voltha/voltha-openonu-adapter:master
559 onosImg: voltha/voltha-onos:master
560
561 bbsimChart: onf/bbsim
562 volthaChart: onf/voltha
563 openoltAdapterChart: onf/voltha-adapter-openolt
564 openonuAdapterChart: onf/voltha-adapter-openonu
565
Matteo Scandolo68776b72020-07-21 14:06:06 -0700566 olts: 2
567 pons: 2
568 onus: 2
569 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700570 withFlows: true
571 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700572 withEapol: true
573 withDhcp: true
574 withIgmp: false
575 withLLDP: false
576 withMibTemplate: true
577 withMonitoring: true
578 withProfiling: false
579 withPcap: false
580 openonuAdapterReplicas: 1
581 onosReplicas: 1
582 atomixReplicas: 0
583 extraHelmFlags: ''
584 onosStatInterval: 5
585 volthaSystemTestsChange: ''
586 kindVolthaChange: ''
587 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700588 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700589
Matteo Scandolo51b76302020-02-05 12:07:23 -0800590 parameters:
591 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700592 name: release
593 default: '{release}'
594 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
595
596 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800597 name: buildNode
598 default: '{build-node}'
599 description: 'Name of the Jenkins node to run the job on'
600
601 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700602 name: logLevel
603 default: 'WARN'
604 description: 'Log level for all the components'
605
606 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700607 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700608 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800609 description: 'Number of ONUs to provision'
610
611 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700612 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700613 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800614 description: 'Number of PONs to provision'
615
Matteo Scandolo0430f672020-05-07 11:50:26 -0700616 - string:
617 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700618 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700619 description: 'How many BBSim instances to run'
620
621 - string:
622 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700623 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700624 description: 'Which workflow are we testing (att, dt, tt)'
625
626 - bool:
627 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700628 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700629 description: 'Wheter to push flows from ONOS'
630
631 - bool:
632 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700633 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700634 description: 'Wheter to provision subscribers durint the tests'
635
636 - bool:
637 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700638 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700639 description: 'Wheter EAPOL is enabled for the test'
640
641 - bool:
642 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700643 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700644 description: 'Wheter DHCP is enabled for the test'
645
646 - bool:
647 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700648 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700649 description: 'Wheter IGMP is enabled for the test'
650
651 - bool:
652 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700653 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700654 description: 'Wheter Link Discovery is enabled for the test'
655
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800656 - bool:
657 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700658 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800659 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800660
Matteo Scandolo0430f672020-05-07 11:50:26 -0700661 - bool:
662 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700663 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700664 description: 'Option to install Prometheus'
665
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700666 - bool:
667 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700668 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700669 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
670
Matteo Scandolo68776b72020-07-21 14:06:06 -0700671 - bool:
672 name: withPcap
673 default: '{withPcap}'
674 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
675
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700676 - string:
677 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700678 default: '{extraHelmFlags}'
679 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 -0700680
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800681 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700682 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700683 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700684 description: 'How many OpenONU adapter instances to run'
685
686 - string:
687 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700688 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700689 description: 'How many ONOSes instances to run'
690
691 - string:
692 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700693 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700694 description: 'How many Atomix instances to run'
695
696 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700697 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700698 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700699 description: 'How often ONOS should poll for ports, flows and meters'
700
701 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700702 name: bbsimImg
703 default: '{bbsimImg}'
704 description: 'Custom image selection for BBSIM (repo:tag)'
705
706 - string:
707 name: bbsimChart
708 default: '{bbsimChart}'
709 description: 'BBSim chart name (or location on file system)'
710
711 - string:
712 name: rwCoreImg
713 default: '{rwCoreImg}'
714 description: 'Custom image selection for VOLTHA (repo:tag)'
715
716 - string:
717 name: ofAgentImg
718 default: '{ofAgentImg}'
719 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
720
721 - string:
722 name: volthaChart
723 default: '{volthaChart}'
724 description: 'VOLTHA chart name (or location on file system)'
725
726 - string:
727 name: openoltAdapterImg
728 default: '{openoltAdapterImg}'
729 description: 'Custom image selection for Openolt Adapter (repo:tag)'
730
731 - string:
732 name: openoltAdapterChart
733 default: '{openoltAdapterChart}'
734 description: 'OpenOLT chart name (or location on file system)'
735
736 - string:
737 name: openonuAdapterImg
738 default: '{openonuAdapterImg}'
739 description: 'Custom image selection for Openonu Adapter (repo:tag)'
740
741 - string:
742 name: openonuAdapterChart
743 default: '{openonuAdapterChart}'
744 description: 'OpenONU chart name (or location on file system)'
745
746 - string:
747 name: onosImg
748 default: '{onosImg}'
749 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700750
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700751 - string:
752 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700753 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700754 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
755
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700756 - string:
757 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700758 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700759 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
760
Matteo Scandolo68776b72020-07-21 14:06:06 -0700761 - bool:
762 name: inMemoryEtcdStorage
763 default: '{inMemoryEtcdStorage}'
764 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
765
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200766 - string:
767 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700768 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200769 description: 'Karaf home'
770
Matteo Scandolo51b76302020-02-05 12:07:23 -0800771 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800772 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800773
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700774 dsl: !include-raw-escape: pipeline/{pipeline-script}