blob: 91f8c4a7291009a475ac5dcc2a1018644135def6 [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 Scandolod43064b2020-07-13 17:18:45 -0700245
246 - 'voltha-scale-measurements':
247 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
248 build-node: 'onf-pod1-head-node'
249 time-trigger: "H H/4 * * *"
250 olts: 2
251 pons: 16
252 onus: 32
253 withFlows: true
254 provisionSubscribers: true
255 workflow: dt
256 withEapol: false
257 withDhcp: false
258 withIgmp: false
259 openonuAdapterReplicas: 8
260 onosReplicas: 3
261 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700262 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700263 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200264 karafHome: apache-karaf-4.2.8
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700265
Matteo Scandolo272aed42020-05-08 15:05:57 -0700266 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700267 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700268 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700269 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700270 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700271
Matteo Scandolo51b76302020-02-05 12:07:23 -0800272
273- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700274 id: 'voltha-scale-measurements'
275 name: '{name}'
276 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolob4f81882020-07-30 09:45:15 -0700277 disabled: '{disable-job}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700278
279 description: |
280 <!-- Managed by Jenkins Job Builder -->
281 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
282 Using pipeline {pipeline-script} <br/><br/>
283 Scale measurements for VOLTHA 2.x
284
285 properties:
286 - cord-infra-properties:
287 build-days-to-keep: '{build-days-to-keep}'
288 artifact-num-to-keep: '{artifact-num-to-keep}'
289
290 wrappers:
291 - lf-infra-wrappers:
292 build-timeout: '{build-timeout}'
293 jenkins-ssh-credential: '{jenkins-ssh-credential}'
294
295 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700296 release: master
297
Matteo Scandolo272aed42020-05-08 15:05:57 -0700298 bbsimImg: voltha/bbsim:master
299 rwCoreImg: voltha/voltha-rw-core:master
300 ofAgentImg: voltha/voltha-ofagent-go:master
301 openoltAdapterImg: voltha/voltha-openolt-adapter:master
302 openonuAdapterImg: voltha/voltha-openonu-adapter:master
303 onosImg: voltha/voltha-onos:master
304
305 bbsimChart: onf/bbsim
306 volthaChart: onf/voltha
307 openoltAdapterChart: onf/voltha-adapter-openolt
308 openonuAdapterChart: onf/voltha-adapter-openonu
309
Matteo Scandolo393add12020-05-08 18:03:17 -0700310 olts: 2
311 pons: 2
312 onus: 2
313 workflow: att
314 withFlows: false
315 provisionSubscribers: false
316 withEapol: true
317 withDhcp: true
318 withIgmp: false
319 withLLDP: false
320 withMibTemplate: true
321 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700322 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700323 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700324 openonuAdapterReplicas: 1
325 onosReplicas: 1
326 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700327 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700328 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700329 volthaSystemTestsChange: ''
330 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700331 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700332 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo393add12020-05-08 18:03:17 -0700333
Matteo Scandolo272aed42020-05-08 15:05:57 -0700334 parameters:
335 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700336 name: release
337 default: '{release}'
338 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
339
340 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700341 name: buildNode
342 default: '{build-node}'
343 description: 'Name of the Jenkins node to run the job on'
344
345 - string:
346 name: logLevel
347 default: 'WARN'
348 description: 'Log level for all the components'
349
350 - string:
351 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700352 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700353 description: 'Number of ONUs to provision'
354
355 - string:
356 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700357 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700358 description: 'Number of PONs to provision'
359
360 - string:
361 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700362 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 description: 'How many BBSim instances to run'
364
365 - string:
366 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 description: 'Which workflow are we testing (att, dt, tt)'
369
370 - bool:
371 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'Wheter to push flows from ONOS'
374
375 - bool:
376 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'Wheter to provision subscribers durint the tests'
379
380 - bool:
381 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'Wheter EAPOL is enabled for the test'
384
385 - bool:
386 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Wheter DHCP is enabled for the test'
389
390 - bool:
391 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700392 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700393 description: 'Wheter IGMP is enabled for the test'
394
395 - bool:
396 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700397 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700398 description: 'Wheter Link Discovery is enabled for the test'
399
400 - bool:
401 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700402 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700403 description: 'Option to trigger MIB template command'
404
405 - bool:
406 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700407 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700408 description: 'Option to install Prometheus'
409
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700410 - bool:
411 name: withProfiling
412 default: '{withProfiling}'
413 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
414
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700415 - bool:
416 name: withPcap
417 default: '{withPcap}'
418 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
419
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700420 - string:
421 name: extraHelmFlags
422 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700423 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 -0700424
Matteo Scandolo272aed42020-05-08 15:05:57 -0700425 - string:
426 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700427 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700428 description: 'How many OpenONU adapter instances to run'
429
430 - string:
431 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700432 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700433 description: 'How many ONOSes instances to run'
434
435 - string:
436 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700437 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700438 description: 'How many Atomix instances to run'
439
440 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700441 name: onosStatInterval
442 default: '{onosStatInterval}'
443 description: 'How often ONOS should poll for ports, flows and meters'
444
445 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700446 name: bbsimImg
447 default: '{bbsimImg}'
448 description: 'Custom image selection for BBSIM (repo:tag)'
449
450 - string:
451 name: bbsimChart
452 default: '{bbsimChart}'
453 description: 'BBSim chart name (or location on file system)'
454
455 - string:
456 name: rwCoreImg
457 default: '{rwCoreImg}'
458 description: 'Custom image selection for VOLTHA (repo:tag)'
459
460 - string:
461 name: ofAgentImg
462 default: '{ofAgentImg}'
463 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
464
465 - string:
466 name: volthaChart
467 default: '{volthaChart}'
468 description: 'VOLTHA chart name (or location on file system)'
469
470 - string:
471 name: openoltAdapterImg
472 default: '{openoltAdapterImg}'
473 description: 'Custom image selection for Openolt Adapter (repo:tag)'
474
475 - string:
476 name: openoltAdapterChart
477 default: '{openoltAdapterChart}'
478 description: 'OpenOLT chart name (or location on file system)'
479
480 - string:
481 name: openonuAdapterImg
482 default: '{openonuAdapterImg}'
483 description: 'Custom image selection for Openonu Adapter (repo:tag)'
484
485 - string:
486 name: openonuAdapterChart
487 default: '{openonuAdapterChart}'
488 description: 'OpenONU chart name (or location on file system)'
489
490 - string:
491 name: onosImg
492 default: '{onosImg}'
493 description: 'Custom image selection for Openonu Adapter (repo:tag)'
494
495 - string:
496 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700497 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700498 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
499
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700500 - string:
501 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700502 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700503 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
504
Matteo Scandoloccc06192020-06-22 10:16:17 -0700505 - bool:
506 name: inMemoryEtcdStorage
507 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700508 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700509
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200510 - string:
511 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700512 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200513 description: 'Karaf home'
514
Matteo Scandolo272aed42020-05-08 15:05:57 -0700515 project-type: pipeline
516 concurrent: false
517
518 dsl: !include-raw-escape: pipeline/{pipeline-script}
519
Matteo Scandoloabb83972020-06-25 16:08:23 -0700520 triggers:
521 - timed: |
522 TZ=America/Los_Angeles
523 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700524
525- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700526 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800527 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700528 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800529
530 description: |
531 <!-- Managed by Jenkins Job Builder -->
532 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
533 Using pipeline {pipeline-script} <br/><br/>
534 Scale measurements for VOLTHA 2.x
535
536 properties:
537 - cord-infra-properties:
538 build-days-to-keep: '{build-days-to-keep}'
539 artifact-num-to-keep: '{artifact-num-to-keep}'
540
541 wrappers:
542 - lf-infra-wrappers:
543 build-timeout: '{build-timeout}'
544 jenkins-ssh-credential: '{jenkins-ssh-credential}'
545
Matteo Scandolo0430f672020-05-07 11:50:26 -0700546 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700547 release: master
548
Matteo Scandolo0430f672020-05-07 11:50:26 -0700549 bbsimImg: voltha/bbsim:master
550 rwCoreImg: voltha/voltha-rw-core:master
551 ofAgentImg: voltha/voltha-ofagent-go:master
552 openoltAdapterImg: voltha/voltha-openolt-adapter:master
553 openonuAdapterImg: voltha/voltha-openonu-adapter:master
554 onosImg: voltha/voltha-onos:master
555
556 bbsimChart: onf/bbsim
557 volthaChart: onf/voltha
558 openoltAdapterChart: onf/voltha-adapter-openolt
559 openonuAdapterChart: onf/voltha-adapter-openonu
560
Matteo Scandolo68776b72020-07-21 14:06:06 -0700561 olts: 2
562 pons: 2
563 onus: 2
564 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700565 withFlows: true
566 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700567 withEapol: true
568 withDhcp: true
569 withIgmp: false
570 withLLDP: false
571 withMibTemplate: true
572 withMonitoring: true
573 withProfiling: false
574 withPcap: false
575 openonuAdapterReplicas: 1
576 onosReplicas: 1
577 atomixReplicas: 0
578 extraHelmFlags: ''
579 onosStatInterval: 5
580 volthaSystemTestsChange: ''
581 kindVolthaChange: ''
582 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700583 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700584
Matteo Scandolo51b76302020-02-05 12:07:23 -0800585 parameters:
586 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700587 name: release
588 default: '{release}'
589 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
590
591 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800592 name: buildNode
593 default: '{build-node}'
594 description: 'Name of the Jenkins node to run the job on'
595
596 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700597 name: logLevel
598 default: 'WARN'
599 description: 'Log level for all the components'
600
601 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700602 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700603 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800604 description: 'Number of ONUs to provision'
605
606 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700607 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700608 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800609 description: 'Number of PONs to provision'
610
Matteo Scandolo0430f672020-05-07 11:50:26 -0700611 - string:
612 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700613 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700614 description: 'How many BBSim instances to run'
615
616 - string:
617 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700618 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700619 description: 'Which workflow are we testing (att, dt, tt)'
620
621 - bool:
622 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700623 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700624 description: 'Wheter to push flows from ONOS'
625
626 - bool:
627 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700628 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700629 description: 'Wheter to provision subscribers durint the tests'
630
631 - bool:
632 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700633 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700634 description: 'Wheter EAPOL is enabled for the test'
635
636 - bool:
637 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700638 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700639 description: 'Wheter DHCP is enabled for the test'
640
641 - bool:
642 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700643 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700644 description: 'Wheter IGMP is enabled for the test'
645
646 - bool:
647 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700648 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700649 description: 'Wheter Link Discovery is enabled for the test'
650
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800651 - bool:
652 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700653 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800654 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800655
Matteo Scandolo0430f672020-05-07 11:50:26 -0700656 - bool:
657 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700658 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700659 description: 'Option to install Prometheus'
660
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700661 - bool:
662 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700663 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700664 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
665
Matteo Scandolo68776b72020-07-21 14:06:06 -0700666 - bool:
667 name: withPcap
668 default: '{withPcap}'
669 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
670
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700671 - string:
672 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700673 default: '{extraHelmFlags}'
674 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 -0700675
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800676 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700677 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700678 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700679 description: 'How many OpenONU adapter instances to run'
680
681 - string:
682 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700683 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700684 description: 'How many ONOSes instances to run'
685
686 - string:
687 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700688 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700689 description: 'How many Atomix instances to run'
690
691 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700692 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700693 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700694 description: 'How often ONOS should poll for ports, flows and meters'
695
696 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700697 name: bbsimImg
698 default: '{bbsimImg}'
699 description: 'Custom image selection for BBSIM (repo:tag)'
700
701 - string:
702 name: bbsimChart
703 default: '{bbsimChart}'
704 description: 'BBSim chart name (or location on file system)'
705
706 - string:
707 name: rwCoreImg
708 default: '{rwCoreImg}'
709 description: 'Custom image selection for VOLTHA (repo:tag)'
710
711 - string:
712 name: ofAgentImg
713 default: '{ofAgentImg}'
714 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
715
716 - string:
717 name: volthaChart
718 default: '{volthaChart}'
719 description: 'VOLTHA chart name (or location on file system)'
720
721 - string:
722 name: openoltAdapterImg
723 default: '{openoltAdapterImg}'
724 description: 'Custom image selection for Openolt Adapter (repo:tag)'
725
726 - string:
727 name: openoltAdapterChart
728 default: '{openoltAdapterChart}'
729 description: 'OpenOLT chart name (or location on file system)'
730
731 - string:
732 name: openonuAdapterImg
733 default: '{openonuAdapterImg}'
734 description: 'Custom image selection for Openonu Adapter (repo:tag)'
735
736 - string:
737 name: openonuAdapterChart
738 default: '{openonuAdapterChart}'
739 description: 'OpenONU chart name (or location on file system)'
740
741 - string:
742 name: onosImg
743 default: '{onosImg}'
744 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700745
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700746 - string:
747 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700748 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700749 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
750
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700751 - string:
752 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700753 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700754 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
755
Matteo Scandolo68776b72020-07-21 14:06:06 -0700756 - bool:
757 name: inMemoryEtcdStorage
758 default: '{inMemoryEtcdStorage}'
759 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
760
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200761 - string:
762 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700763 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200764 description: 'Karaf home'
765
Matteo Scandolo51b76302020-02-05 12:07:23 -0800766 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800767 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800768
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700769 dsl: !include-raw-escape: pipeline/{pipeline-script}