blob: 6ee6590135878628fc6786382b7bc435dedba7cb [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 Scandolob10be9a2020-08-04 13:55:59 -0700246 bbsimImg: ''
Matteo Scandolo0b623ed2020-08-06 13:40:48 -0700247 rwCoreImg: 'matteoscandolo/voltha-rw-core:voltha-2.4-dev'
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700248 ofAgentImg: ''
Matteo Scandolo7e8a6962020-08-04 12:19:59 -0700249 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:per-gem-lock
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700250 openonuAdapterImg: ''
Andrea Campanellad6b6c652020-08-11 12:21:52 +0000251 onosImg: andreacampanella/voltha-onos:eapol-retry
Matteo Scandolod43064b2020-07-13 17:18:45 -0700252
253 - 'voltha-scale-measurements':
254 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
255 build-node: 'onf-pod1-head-node'
256 time-trigger: "H H/4 * * *"
257 olts: 2
258 pons: 16
259 onus: 32
260 withFlows: true
261 provisionSubscribers: true
262 workflow: dt
263 withEapol: false
264 withDhcp: false
265 withIgmp: false
266 openonuAdapterReplicas: 8
267 onosReplicas: 3
268 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700269 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700270 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200271 karafHome: apache-karaf-4.2.8
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700272 logLevel: INFO
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700273 bbsimImg: ''
Matteo Scandolo0b623ed2020-08-06 13:40:48 -0700274 rwCoreImg: 'matteoscandolo/voltha-rw-core:voltha-2.4-dev'
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700275 ofAgentImg: ''
Matteo Scandolo7e8a6962020-08-04 12:19:59 -0700276 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:per-gem-lock
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700277 openonuAdapterImg: ''
Andrea Campanellad6b6c652020-08-11 12:21:52 +0000278 onosImg: andreacampanella/voltha-onos:eapol-retry
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700279
Matteo Scandolo272aed42020-05-08 15:05:57 -0700280 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700281 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700282 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700283 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700284 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700285
Matteo Scandolo51b76302020-02-05 12:07:23 -0800286
287- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700288 id: 'voltha-scale-measurements'
289 name: '{name}'
290 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolob4f81882020-07-30 09:45:15 -0700291 disabled: '{disable-job}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700292
293 description: |
294 <!-- Managed by Jenkins Job Builder -->
295 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
296 Using pipeline {pipeline-script} <br/><br/>
297 Scale measurements for VOLTHA 2.x
298
299 properties:
300 - cord-infra-properties:
Zack Williams5412fbf2020-08-03 16:03:29 -0700301 build-days-to-keep: 30
302 artifact-num-to-keep: 15
Matteo Scandolo272aed42020-05-08 15:05:57 -0700303
304 wrappers:
305 - lf-infra-wrappers:
306 build-timeout: '{build-timeout}'
307 jenkins-ssh-credential: '{jenkins-ssh-credential}'
308
309 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700310 release: master
311
Matteo Scandolo272aed42020-05-08 15:05:57 -0700312 bbsimImg: voltha/bbsim:master
313 rwCoreImg: voltha/voltha-rw-core:master
314 ofAgentImg: voltha/voltha-ofagent-go:master
315 openoltAdapterImg: voltha/voltha-openolt-adapter:master
316 openonuAdapterImg: voltha/voltha-openonu-adapter:master
317 onosImg: voltha/voltha-onos:master
318
319 bbsimChart: onf/bbsim
320 volthaChart: onf/voltha
321 openoltAdapterChart: onf/voltha-adapter-openolt
322 openonuAdapterChart: onf/voltha-adapter-openonu
323
Matteo Scandolo393add12020-05-08 18:03:17 -0700324 olts: 2
325 pons: 2
326 onus: 2
327 workflow: att
328 withFlows: false
329 provisionSubscribers: false
330 withEapol: true
331 withDhcp: true
332 withIgmp: false
333 withLLDP: false
334 withMibTemplate: true
335 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700336 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700337 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700338 openonuAdapterReplicas: 1
339 onosReplicas: 1
340 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700341 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700342 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700343 volthaSystemTestsChange: ''
344 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700345 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700346 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700347 logLevel: 'WARN'
Matteo Scandolo393add12020-05-08 18:03:17 -0700348
Matteo Scandolo272aed42020-05-08 15:05:57 -0700349 parameters:
350 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700351 name: release
352 default: '{release}'
353 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
354
355 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700356 name: buildNode
357 default: '{build-node}'
358 description: 'Name of the Jenkins node to run the job on'
359
360 - string:
361 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700362 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 description: 'Log level for all the components'
364
365 - string:
366 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 description: 'Number of ONUs to provision'
369
370 - string:
371 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'Number of PONs to provision'
374
375 - string:
376 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'How many BBSim instances to run'
379
380 - string:
381 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'Which workflow are we testing (att, dt, tt)'
384
385 - bool:
386 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Wheter to push flows from ONOS'
389
390 - bool:
391 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700392 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700393 description: 'Wheter to provision subscribers durint the tests'
394
395 - bool:
396 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700397 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700398 description: 'Wheter EAPOL is enabled for the test'
399
400 - bool:
401 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700402 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700403 description: 'Wheter DHCP is enabled for the test'
404
405 - bool:
406 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700407 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700408 description: 'Wheter IGMP is enabled for the test'
409
410 - bool:
411 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700412 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700413 description: 'Wheter Link Discovery is enabled for the test'
414
415 - bool:
416 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700417 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700418 description: 'Option to trigger MIB template command'
419
420 - bool:
421 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700422 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700423 description: 'Option to install Prometheus'
424
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700425 - bool:
426 name: withProfiling
427 default: '{withProfiling}'
428 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
429
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700430 - bool:
431 name: withPcap
432 default: '{withPcap}'
433 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
434
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700435 - string:
436 name: extraHelmFlags
437 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700438 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 -0700439
Matteo Scandolo272aed42020-05-08 15:05:57 -0700440 - string:
441 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700442 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700443 description: 'How many OpenONU adapter instances to run'
444
445 - string:
446 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700447 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700448 description: 'How many ONOSes instances to run'
449
450 - string:
451 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700452 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700453 description: 'How many Atomix instances to run'
454
455 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700456 name: onosStatInterval
457 default: '{onosStatInterval}'
458 description: 'How often ONOS should poll for ports, flows and meters'
459
460 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700461 name: bbsimImg
462 default: '{bbsimImg}'
463 description: 'Custom image selection for BBSIM (repo:tag)'
464
465 - string:
466 name: bbsimChart
467 default: '{bbsimChart}'
468 description: 'BBSim chart name (or location on file system)'
469
470 - string:
471 name: rwCoreImg
472 default: '{rwCoreImg}'
473 description: 'Custom image selection for VOLTHA (repo:tag)'
474
475 - string:
476 name: ofAgentImg
477 default: '{ofAgentImg}'
478 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
479
480 - string:
481 name: volthaChart
482 default: '{volthaChart}'
483 description: 'VOLTHA chart name (or location on file system)'
484
485 - string:
486 name: openoltAdapterImg
487 default: '{openoltAdapterImg}'
488 description: 'Custom image selection for Openolt Adapter (repo:tag)'
489
490 - string:
491 name: openoltAdapterChart
492 default: '{openoltAdapterChart}'
493 description: 'OpenOLT chart name (or location on file system)'
494
495 - string:
496 name: openonuAdapterImg
497 default: '{openonuAdapterImg}'
498 description: 'Custom image selection for Openonu Adapter (repo:tag)'
499
500 - string:
501 name: openonuAdapterChart
502 default: '{openonuAdapterChart}'
503 description: 'OpenONU chart name (or location on file system)'
504
505 - string:
506 name: onosImg
507 default: '{onosImg}'
508 description: 'Custom image selection for Openonu Adapter (repo:tag)'
509
510 - string:
511 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700512 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700513 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
514
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700515 - string:
516 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700517 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700518 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
519
Matteo Scandoloccc06192020-06-22 10:16:17 -0700520 - bool:
521 name: inMemoryEtcdStorage
522 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700523 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700524
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200525 - string:
526 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700527 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200528 description: 'Karaf home'
529
Matteo Scandolo272aed42020-05-08 15:05:57 -0700530 project-type: pipeline
531 concurrent: false
532
533 dsl: !include-raw-escape: pipeline/{pipeline-script}
534
Matteo Scandoloabb83972020-06-25 16:08:23 -0700535 triggers:
536 - timed: |
537 TZ=America/Los_Angeles
538 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700539
540- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700541 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800542 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700543 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800544
545 description: |
546 <!-- Managed by Jenkins Job Builder -->
547 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
548 Using pipeline {pipeline-script} <br/><br/>
549 Scale measurements for VOLTHA 2.x
550
551 properties:
552 - cord-infra-properties:
553 build-days-to-keep: '{build-days-to-keep}'
554 artifact-num-to-keep: '{artifact-num-to-keep}'
555
556 wrappers:
557 - lf-infra-wrappers:
558 build-timeout: '{build-timeout}'
559 jenkins-ssh-credential: '{jenkins-ssh-credential}'
560
Matteo Scandolo0430f672020-05-07 11:50:26 -0700561 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700562 release: master
563
Matteo Scandolo0430f672020-05-07 11:50:26 -0700564 bbsimImg: voltha/bbsim:master
565 rwCoreImg: voltha/voltha-rw-core:master
566 ofAgentImg: voltha/voltha-ofagent-go:master
567 openoltAdapterImg: voltha/voltha-openolt-adapter:master
568 openonuAdapterImg: voltha/voltha-openonu-adapter:master
569 onosImg: voltha/voltha-onos:master
570
571 bbsimChart: onf/bbsim
572 volthaChart: onf/voltha
573 openoltAdapterChart: onf/voltha-adapter-openolt
574 openonuAdapterChart: onf/voltha-adapter-openonu
575
Matteo Scandolo68776b72020-07-21 14:06:06 -0700576 olts: 2
577 pons: 2
578 onus: 2
579 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700580 withFlows: true
581 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700582 withEapol: true
583 withDhcp: true
584 withIgmp: false
585 withLLDP: false
586 withMibTemplate: true
587 withMonitoring: true
588 withProfiling: false
589 withPcap: false
590 openonuAdapterReplicas: 1
591 onosReplicas: 1
592 atomixReplicas: 0
593 extraHelmFlags: ''
594 onosStatInterval: 5
595 volthaSystemTestsChange: ''
596 kindVolthaChange: ''
597 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700598 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700599
Matteo Scandolo51b76302020-02-05 12:07:23 -0800600 parameters:
601 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700602 name: release
603 default: '{release}'
604 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
605
606 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800607 name: buildNode
608 default: '{build-node}'
609 description: 'Name of the Jenkins node to run the job on'
610
611 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700612 name: logLevel
613 default: 'WARN'
614 description: 'Log level for all the components'
615
616 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700617 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700618 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800619 description: 'Number of ONUs to provision'
620
621 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700622 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700623 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800624 description: 'Number of PONs to provision'
625
Matteo Scandolo0430f672020-05-07 11:50:26 -0700626 - string:
627 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700628 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700629 description: 'How many BBSim instances to run'
630
631 - string:
632 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700633 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700634 description: 'Which workflow are we testing (att, dt, tt)'
635
636 - bool:
637 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700638 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700639 description: 'Wheter to push flows from ONOS'
640
641 - bool:
642 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700643 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700644 description: 'Wheter to provision subscribers durint the tests'
645
646 - bool:
647 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700648 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700649 description: 'Wheter EAPOL is enabled for the test'
650
651 - bool:
652 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700653 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700654 description: 'Wheter DHCP is enabled for the test'
655
656 - bool:
657 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700658 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700659 description: 'Wheter IGMP is enabled for the test'
660
661 - bool:
662 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700663 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700664 description: 'Wheter Link Discovery is enabled for the test'
665
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800666 - bool:
667 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700668 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800669 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800670
Matteo Scandolo0430f672020-05-07 11:50:26 -0700671 - bool:
672 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700673 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700674 description: 'Option to install Prometheus'
675
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700676 - bool:
677 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700678 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700679 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
680
Matteo Scandolo68776b72020-07-21 14:06:06 -0700681 - bool:
682 name: withPcap
683 default: '{withPcap}'
684 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
685
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700686 - string:
687 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700688 default: '{extraHelmFlags}'
689 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 -0700690
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800691 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700692 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700693 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700694 description: 'How many OpenONU adapter instances to run'
695
696 - string:
697 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700698 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700699 description: 'How many ONOSes instances to run'
700
701 - string:
702 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700703 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700704 description: 'How many Atomix instances to run'
705
706 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700707 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700708 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700709 description: 'How often ONOS should poll for ports, flows and meters'
710
711 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700712 name: bbsimImg
713 default: '{bbsimImg}'
714 description: 'Custom image selection for BBSIM (repo:tag)'
715
716 - string:
717 name: bbsimChart
718 default: '{bbsimChart}'
719 description: 'BBSim chart name (or location on file system)'
720
721 - string:
722 name: rwCoreImg
723 default: '{rwCoreImg}'
724 description: 'Custom image selection for VOLTHA (repo:tag)'
725
726 - string:
727 name: ofAgentImg
728 default: '{ofAgentImg}'
729 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
730
731 - string:
732 name: volthaChart
733 default: '{volthaChart}'
734 description: 'VOLTHA chart name (or location on file system)'
735
736 - string:
737 name: openoltAdapterImg
738 default: '{openoltAdapterImg}'
739 description: 'Custom image selection for Openolt Adapter (repo:tag)'
740
741 - string:
742 name: openoltAdapterChart
743 default: '{openoltAdapterChart}'
744 description: 'OpenOLT chart name (or location on file system)'
745
746 - string:
747 name: openonuAdapterImg
748 default: '{openonuAdapterImg}'
749 description: 'Custom image selection for Openonu Adapter (repo:tag)'
750
751 - string:
752 name: openonuAdapterChart
753 default: '{openonuAdapterChart}'
754 description: 'OpenONU chart name (or location on file system)'
755
756 - string:
757 name: onosImg
758 default: '{onosImg}'
759 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700760
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700761 - string:
762 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700763 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700764 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
765
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700766 - string:
767 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700768 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700769 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
770
Matteo Scandolo68776b72020-07-21 14:06:06 -0700771 - bool:
772 name: inMemoryEtcdStorage
773 default: '{inMemoryEtcdStorage}'
774 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
775
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200776 - string:
777 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700778 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200779 description: 'Karaf home'
780
Matteo Scandolo51b76302020-02-05 12:07:23 -0800781 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800782 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800783
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700784 dsl: !include-raw-escape: pipeline/{pipeline-script}