blob: 0e282c88c8400258eb296dfe61fa2202aef4a44f [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>
11 # needed for comparison with the openonu-go adapter
Matteo Scandolo679ced22020-05-19 15:15:58 -070012 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070013 # name: 'voltha-scale-measurements-master-1-2-32-activation-no-mib'
Matteo Scandolo679ced22020-05-19 15:15:58 -070014 # build-node: 'onf-pod1-head-node'
15 # time-trigger: "H H/4 * * *"
16 # olts: 1
17 # pons: 2
18 # onus: 32
19 # withFlows: false
20 # provisionSubscribers: false
21 # withEapol: false
22 # withDhcp: false
23 # withIgmp: false
24 # withMibTemplate: false
Matteo Scandolo272aed42020-05-08 15:05:57 -070025
26 # jobs for 200 ONUs with a single openonu-adapter
Matteo Scandolo679ced22020-05-19 15:15:58 -070027 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070028 # name: 'voltha-scale-measurements-master-1-10-20-activation'
Matteo Scandolo679ced22020-05-19 15:15:58 -070029 # build-node: 'onf-pod1-head-node'
30 # time-trigger: "H H/4 * * *"
31 # olts: 1
32 # pons: 10
33 # onus: 20
34 # withFlows: false
35 # provisionSubscribers: false
36 # withEapol: false
37 # withDhcp: false
38 # withIgmp: false
39 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070040 # name: 'voltha-scale-measurements-master-1-10-20-att-flows'
Matteo Scandolo679ced22020-05-19 15:15:58 -070041 # build-node: 'onf-pod1-head-node'
42 # time-trigger: "H H/4 * * *"
43 # olts: 1
44 # pons: 10
45 # onus: 20
46 # withFlows: true
47 # provisionSubscribers: false
48 # withEapol: true
49 # withDhcp: true
50 # withIgmp: false
51 # extraHelmFlags: '--set auth=false '
52 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070053 # name: 'voltha-scale-measurements-master-1-10-20-att-subscribers'
Matteo Scandolo679ced22020-05-19 15:15:58 -070054 # build-node: 'onf-pod1-head-node'
55 # time-trigger: "H H/4 * * *"
56 # olts: 1
57 # pons: 10
58 # onus: 20
59 # withFlows: true
60 # provisionSubscribers: true
61 # withEapol: true
62 # withDhcp: true
63 # withIgmp: false
64 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070065 # name: 'voltha-scale-measurements-master-1-10-20-att-subscribers-profiled'
Matteo Scandolo679ced22020-05-19 15:15:58 -070066 # build-node: 'onf-pod1-head-node'
67 # time-trigger: "H H/4 * * *"
68 # olts: 1
69 # pons: 10
70 # onus: 20
71 # withFlows: true
72 # provisionSubscribers: true
73 # withEapol: true
74 # withDhcp: true
75 # withIgmp: false
76 # withProfiling: true
77 # extraHelmFlags: '--set profiler.enabled=true '
78 # rwCoreImg: voltha/voltha-rw-core:master-profile
79 # openoltAdapterImg: voltha/voltha-openolt-adapter:master-profile
80 # ofAgentImg: voltha/voltha-ofagent-go:master-profile
81 #
82 # # jobs for DT with 200 ONUs with a single openonu-adapter
83 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070084 # name: 'voltha-scale-measurements-master-1-10-20-dt-subscribers'
Matteo Scandolo679ced22020-05-19 15:15:58 -070085 # build-node: 'onf-pod1-head-node'
86 # time-trigger: "H H/4 * * *"
87 # olts: 1
88 # pons: 10
89 # onus: 20
90 # withFlows: true
91 # provisionSubscribers: true
92 # workflow: dt
93 # withEapol: false
94 # withDhcp: false
95 # withIgmp: false
Matteo Scandolo3136cca2020-05-15 14:14:27 -070096
Shrey Baid765fb942020-07-06 19:02:57 +053097 # jobs for 64 ONUs with a 1 openonu-adapter
98 - 'voltha-scale-measurements':
99 name: 'voltha-openonu-go-scale-measurements-master-1-2-32-activation'
100 build-node: 'onf-pod1-head-node'
101 time-trigger: "H H/4 * * *"
102 olts: 1
103 pons: 2
104 onus: 32
105 withFlows: false
106 provisionSubscribers: false
107 withEapol: false
108 withDhcp: false
109 withIgmp: false
110 openonuAdapterReplicas: 1
111 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
112 extraHelmFlags: '--set use_openonu_adapter_go=true'
113
114 - 'voltha-scale-measurements':
115 name: 'voltha-openonu-scale-measurements-master-1-2-32-activation'
116 build-node: 'onf-pod1-head-node'
117 time-trigger: "H H/4 * * *"
118 olts: 1
119 pons: 2
120 onus: 32
121 withFlows: false
122 provisionSubscribers: false
123 withEapol: false
124 withDhcp: false
125 withIgmp: false
126 openonuAdapterReplicas: 1
127 openonuAdapterImg: voltha/voltha-openonu-adapter:master
128
Matteo Scandolob46bc402020-06-11 13:59:44 -0700129 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700130 name: 'voltha-scale-measurements-master-1-16-32-activation'
Matteo Scandolob46bc402020-06-11 13:59:44 -0700131 build-node: 'onf-pod1-head-node'
132 time-trigger: "H H/4 * * *"
133 olts: 1
134 pons: 16
135 onus: 32
136 withFlows: false
137 provisionSubscribers: false
138 withEapol: false
139 withDhcp: false
140 withIgmp: false
141 openonuAdapterReplicas: 8
142 onosReplicas: 3
143 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700144
Matteo Scandolo272aed42020-05-08 15:05:57 -0700145 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700146 name: 'voltha-scale-measurements-master-1-16-32-att-flows'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700147 build-node: 'onf-pod1-head-node'
148 time-trigger: "H H/4 * * *"
149 olts: 1
150 pons: 16
151 onus: 32
152 withFlows: true
153 provisionSubscribers: false
154 withEapol: true
155 withDhcp: true
156 withIgmp: false
157 openonuAdapterReplicas: 8
158 onosReplicas: 3
159 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700160 extraHelmFlags: '--set auth=false --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700161
162 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700163 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700164 build-node: 'onf-pod1-head-node'
165 time-trigger: "H H/4 * * *"
166 olts: 1
167 pons: 16
168 onus: 32
169 withFlows: true
170 provisionSubscribers: true
171 withEapol: true
172 withDhcp: true
173 withIgmp: false
174 openonuAdapterReplicas: 8
175 onosReplicas: 3
176 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700177 extraHelmFlags: '--set defaults.rw_core.timeout=30s --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700178
179 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
180 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700181 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700182 build-node: 'onf-pod1-head-node'
183 time-trigger: "H H/4 * * *"
184 olts: 1
185 pons: 16
186 onus: 32
187 withFlows: true
188 provisionSubscribers: true
189 workflow: dt
190 withEapol: false
191 withDhcp: false
192 withIgmp: false
193 openonuAdapterReplicas: 8
194 onosReplicas: 3
195 atomixReplicas: 3
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200196
Matteo Scandolo272aed42020-05-08 15:05:57 -0700197 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700198 - 'voltha-scale-measurements':
199 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700200 name: 'voltha-scale-measurements-master-2-16-32-activation'
Matteo Scandolocb726432020-06-01 08:49:14 -0700201 build-node: 'onf-pod1-head-node'
202 time-trigger: "H H/4 * * *"
203 olts: 2
204 pons: 16
205 onus: 32
206 withFlows: false
207 provisionSubscribers: false
208 withEapol: false
209 withDhcp: false
210 withIgmp: false
211 openonuAdapterReplicas: 8
212 onosReplicas: 3
213 atomixReplicas: 3
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700214
Matteo Scandolocb726432020-06-01 08:49:14 -0700215 - 'voltha-scale-measurements':
216 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700217 name: 'voltha-scale-measurements-master-2-16-32-att-flows'
Matteo Scandolocb726432020-06-01 08:49:14 -0700218 build-node: 'onf-pod1-head-node'
219 time-trigger: "H H/4 * * *"
220 olts: 2
221 pons: 16
222 onus: 32
223 withFlows: true
224 provisionSubscribers: false
225 withEapol: true
226 withDhcp: true
227 withIgmp: false
228 openonuAdapterReplicas: 8
229 onosReplicas: 3
230 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700231 extraHelmFlags: '--set auth=false --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700232
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700233 - 'voltha-scale-measurements':
234 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700235 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700236 build-node: 'onf-pod1-head-node'
237 time-trigger: "H H/4 * * *"
238 olts: 2
239 pons: 16
240 onus: 32
241 withFlows: true
242 provisionSubscribers: true
243 withEapol: true
244 withDhcp: true
245 withIgmp: false
246 openonuAdapterReplicas: 8
247 onosReplicas: 3
248 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700249 extraHelmFlags: '--set defaults.rw_core.timeout=30s --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700250
251 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
252 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700253 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700254 build-node: 'onf-pod1-head-node'
255 time-trigger: "H H/4 * * *"
256 olts: 2
257 pons: 16
258 onus: 32
259 withFlows: true
260 provisionSubscribers: true
261 workflow: dt
262 withEapol: false
263 withDhcp: false
264 withIgmp: false
265 openonuAdapterReplicas: 8
266 onosReplicas: 3
267 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700268 extraHelmFlags: '--set defaults.rw_core.timeout=30s --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandolo272aed42020-05-08 15:05:57 -0700269
Matteo Scandolod43064b2020-07-13 17:18:45 -0700270 # voltha-2.4 Jobs
271 - 'voltha-scale-measurements':
Matteo Scandolo5055e4e2020-07-14 10:10:38 -0700272 name: 'voltha-scale-measurements-voltha-2.4-1-16-32-att-subscribers'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700273 build-node: 'onf-pod1-head-node'
274 time-trigger: "H H/4 * * *"
275 olts: 1
276 pons: 16
277 onus: 32
278 withFlows: true
279 provisionSubscribers: true
280 withEapol: true
281 withDhcp: true
282 withIgmp: false
283 openonuAdapterReplicas: 8
284 onosReplicas: 3
285 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700286 extraHelmFlags: '--set defaults.rw_core.timeout=30s --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700287 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200288 karafHome: apache-karaf-4.2.8
Matteo Scandolod43064b2020-07-13 17:18:45 -0700289
290 - 'voltha-scale-measurements':
291 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
292 build-node: 'onf-pod1-head-node'
293 time-trigger: "H H/4 * * *"
294 olts: 2
295 pons: 16
296 onus: 32
297 withFlows: true
298 provisionSubscribers: true
299 workflow: dt
300 withEapol: false
301 withDhcp: false
302 withIgmp: false
303 openonuAdapterReplicas: 8
304 onosReplicas: 3
305 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700306 extraHelmFlags: '--set defaults.rw_core.timeout=30s --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700307 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200308 karafHome: apache-karaf-4.2.8
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700309
Matteo Scandolo272aed42020-05-08 15:05:57 -0700310 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700311 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700312 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700313 build-node: 'voltha-scale'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700314
Matteo Scandolo51b76302020-02-05 12:07:23 -0800315
316- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700317 id: 'voltha-scale-measurements'
318 name: '{name}'
319 pipeline-script: 'voltha-scale-test.groovy'
320
321 description: |
322 <!-- Managed by Jenkins Job Builder -->
323 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
324 Using pipeline {pipeline-script} <br/><br/>
325 Scale measurements for VOLTHA 2.x
326
327 properties:
328 - cord-infra-properties:
329 build-days-to-keep: '{build-days-to-keep}'
330 artifact-num-to-keep: '{artifact-num-to-keep}'
331
332 wrappers:
333 - lf-infra-wrappers:
334 build-timeout: '{build-timeout}'
335 jenkins-ssh-credential: '{jenkins-ssh-credential}'
336
337 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700338 release: master
339
Matteo Scandolo272aed42020-05-08 15:05:57 -0700340 bbsimImg: voltha/bbsim:master
341 rwCoreImg: voltha/voltha-rw-core:master
342 ofAgentImg: voltha/voltha-ofagent-go:master
343 openoltAdapterImg: voltha/voltha-openolt-adapter:master
344 openonuAdapterImg: voltha/voltha-openonu-adapter:master
345 onosImg: voltha/voltha-onos:master
346
347 bbsimChart: onf/bbsim
348 volthaChart: onf/voltha
349 openoltAdapterChart: onf/voltha-adapter-openolt
350 openonuAdapterChart: onf/voltha-adapter-openonu
351
Matteo Scandolo393add12020-05-08 18:03:17 -0700352 olts: 2
353 pons: 2
354 onus: 2
355 workflow: att
356 withFlows: false
357 provisionSubscribers: false
358 withEapol: true
359 withDhcp: true
360 withIgmp: false
361 withLLDP: false
362 withMibTemplate: true
363 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700364 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700365 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700366 openonuAdapterReplicas: 1
367 onosReplicas: 1
368 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700369 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700370 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700371 volthaSystemTestsChange: ''
372 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700373 inMemoryEtcdStorage: true
Matteo Scandolo393add12020-05-08 18:03:17 -0700374
Matteo Scandolo272aed42020-05-08 15:05:57 -0700375 parameters:
376 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700377 name: release
378 default: '{release}'
379 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
380
381 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700382 name: buildNode
383 default: '{build-node}'
384 description: 'Name of the Jenkins node to run the job on'
385
386 - string:
387 name: logLevel
388 default: 'WARN'
389 description: 'Log level for all the components'
390
391 - string:
392 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700393 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700394 description: 'Number of ONUs to provision'
395
396 - string:
397 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700398 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700399 description: 'Number of PONs to provision'
400
401 - string:
402 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700403 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700404 description: 'How many BBSim instances to run'
405
406 - string:
407 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700408 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700409 description: 'Which workflow are we testing (att, dt, tt)'
410
411 - bool:
412 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700413 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700414 description: 'Wheter to push flows from ONOS'
415
416 - bool:
417 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700418 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700419 description: 'Wheter to provision subscribers durint the tests'
420
421 - bool:
422 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700423 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700424 description: 'Wheter EAPOL is enabled for the test'
425
426 - bool:
427 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700428 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700429 description: 'Wheter DHCP is enabled for the test'
430
431 - bool:
432 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700433 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700434 description: 'Wheter IGMP is enabled for the test'
435
436 - bool:
437 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700438 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700439 description: 'Wheter Link Discovery is enabled for the test'
440
441 - bool:
442 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700443 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700444 description: 'Option to trigger MIB template command'
445
446 - bool:
447 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700448 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700449 description: 'Option to install Prometheus'
450
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700451 - bool:
452 name: withProfiling
453 default: '{withProfiling}'
454 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
455
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700456 - bool:
457 name: withPcap
458 default: '{withPcap}'
459 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
460
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700461 - string:
462 name: extraHelmFlags
463 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700464 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 -0700465
Matteo Scandolo272aed42020-05-08 15:05:57 -0700466 - string:
467 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700468 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700469 description: 'How many OpenONU adapter instances to run'
470
471 - string:
472 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700473 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700474 description: 'How many ONOSes instances to run'
475
476 - string:
477 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700478 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700479 description: 'How many Atomix instances to run'
480
481 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700482 name: onosStatInterval
483 default: '{onosStatInterval}'
484 description: 'How often ONOS should poll for ports, flows and meters'
485
486 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700487 name: bbsimImg
488 default: '{bbsimImg}'
489 description: 'Custom image selection for BBSIM (repo:tag)'
490
491 - string:
492 name: bbsimChart
493 default: '{bbsimChart}'
494 description: 'BBSim chart name (or location on file system)'
495
496 - string:
497 name: rwCoreImg
498 default: '{rwCoreImg}'
499 description: 'Custom image selection for VOLTHA (repo:tag)'
500
501 - string:
502 name: ofAgentImg
503 default: '{ofAgentImg}'
504 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
505
506 - string:
507 name: volthaChart
508 default: '{volthaChart}'
509 description: 'VOLTHA chart name (or location on file system)'
510
511 - string:
512 name: openoltAdapterImg
513 default: '{openoltAdapterImg}'
514 description: 'Custom image selection for Openolt Adapter (repo:tag)'
515
516 - string:
517 name: openoltAdapterChart
518 default: '{openoltAdapterChart}'
519 description: 'OpenOLT chart name (or location on file system)'
520
521 - string:
522 name: openonuAdapterImg
523 default: '{openonuAdapterImg}'
524 description: 'Custom image selection for Openonu Adapter (repo:tag)'
525
526 - string:
527 name: openonuAdapterChart
528 default: '{openonuAdapterChart}'
529 description: 'OpenONU chart name (or location on file system)'
530
531 - string:
532 name: onosImg
533 default: '{onosImg}'
534 description: 'Custom image selection for Openonu Adapter (repo:tag)'
535
536 - string:
537 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700538 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700539 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
540
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700541 - string:
542 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700543 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700544 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
545
Matteo Scandoloccc06192020-06-22 10:16:17 -0700546 - bool:
547 name: inMemoryEtcdStorage
548 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700549 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700550
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200551 - string:
552 name: karafHome
553 default: '{karaf-home}'
554 description: 'Karaf home'
555
Matteo Scandolo272aed42020-05-08 15:05:57 -0700556 project-type: pipeline
557 concurrent: false
558
559 dsl: !include-raw-escape: pipeline/{pipeline-script}
560
Matteo Scandoloabb83972020-06-25 16:08:23 -0700561 triggers:
562 - timed: |
563 TZ=America/Los_Angeles
564 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700565
566- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700567 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800568 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700569 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800570
571 description: |
572 <!-- Managed by Jenkins Job Builder -->
573 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
574 Using pipeline {pipeline-script} <br/><br/>
575 Scale measurements for VOLTHA 2.x
576
577 properties:
578 - cord-infra-properties:
579 build-days-to-keep: '{build-days-to-keep}'
580 artifact-num-to-keep: '{artifact-num-to-keep}'
581
582 wrappers:
583 - lf-infra-wrappers:
584 build-timeout: '{build-timeout}'
585 jenkins-ssh-credential: '{jenkins-ssh-credential}'
586
Matteo Scandolo0430f672020-05-07 11:50:26 -0700587 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700588 release: master
589
Matteo Scandolo0430f672020-05-07 11:50:26 -0700590 bbsimImg: voltha/bbsim:master
591 rwCoreImg: voltha/voltha-rw-core:master
592 ofAgentImg: voltha/voltha-ofagent-go:master
593 openoltAdapterImg: voltha/voltha-openolt-adapter:master
594 openonuAdapterImg: voltha/voltha-openonu-adapter:master
595 onosImg: voltha/voltha-onos:master
596
597 bbsimChart: onf/bbsim
598 volthaChart: onf/voltha
599 openoltAdapterChart: onf/voltha-adapter-openolt
600 openonuAdapterChart: onf/voltha-adapter-openonu
601
Matteo Scandolo68776b72020-07-21 14:06:06 -0700602 olts: 2
603 pons: 2
604 onus: 2
605 workflow: att
606 withFlows: false
607 provisionSubscribers: false
608 withEapol: true
609 withDhcp: true
610 withIgmp: false
611 withLLDP: false
612 withMibTemplate: true
613 withMonitoring: true
614 withProfiling: false
615 withPcap: false
616 openonuAdapterReplicas: 1
617 onosReplicas: 1
618 atomixReplicas: 0
619 extraHelmFlags: ''
620 onosStatInterval: 5
621 volthaSystemTestsChange: ''
622 kindVolthaChange: ''
623 inMemoryEtcdStorage: true
624
Matteo Scandolo51b76302020-02-05 12:07:23 -0800625 parameters:
626 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700627 name: release
628 default: '{release}'
629 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
630
631 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800632 name: buildNode
633 default: '{build-node}'
634 description: 'Name of the Jenkins node to run the job on'
635
636 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700637 name: logLevel
638 default: 'WARN'
639 description: 'Log level for all the components'
640
641 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700642 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700643 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800644 description: 'Number of ONUs to provision'
645
646 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700647 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700648 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800649 description: 'Number of PONs to provision'
650
Matteo Scandolo0430f672020-05-07 11:50:26 -0700651 - string:
652 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700653 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700654 description: 'How many BBSim instances to run'
655
656 - string:
657 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700658 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700659 description: 'Which workflow are we testing (att, dt, tt)'
660
661 - bool:
662 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700663 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700664 description: 'Wheter to push flows from ONOS'
665
666 - bool:
667 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700668 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700669 description: 'Wheter to provision subscribers durint the tests'
670
671 - bool:
672 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700673 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700674 description: 'Wheter EAPOL is enabled for the test'
675
676 - bool:
677 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700678 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700679 description: 'Wheter DHCP is enabled for the test'
680
681 - bool:
682 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700683 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700684 description: 'Wheter IGMP is enabled for the test'
685
686 - bool:
687 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700688 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700689 description: 'Wheter Link Discovery is enabled for the test'
690
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800691 - bool:
692 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700693 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800694 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800695
Matteo Scandolo0430f672020-05-07 11:50:26 -0700696 - bool:
697 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700698 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700699 description: 'Option to install Prometheus'
700
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700701 - bool:
702 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700703 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700704 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
705
Matteo Scandolo68776b72020-07-21 14:06:06 -0700706 - bool:
707 name: withPcap
708 default: '{withPcap}'
709 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
710
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700711 - string:
712 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700713 default: '{extraHelmFlags}'
714 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 -0700715
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800716 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700717 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700718 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700719 description: 'How many OpenONU adapter instances to run'
720
721 - string:
722 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700723 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700724 description: 'How many ONOSes instances to run'
725
726 - string:
727 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700728 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700729 description: 'How many Atomix instances to run'
730
731 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700732 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700733 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700734 description: 'How often ONOS should poll for ports, flows and meters'
735
736 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700737 name: bbsimImg
738 default: '{bbsimImg}'
739 description: 'Custom image selection for BBSIM (repo:tag)'
740
741 - string:
742 name: bbsimChart
743 default: '{bbsimChart}'
744 description: 'BBSim chart name (or location on file system)'
745
746 - string:
747 name: rwCoreImg
748 default: '{rwCoreImg}'
749 description: 'Custom image selection for VOLTHA (repo:tag)'
750
751 - string:
752 name: ofAgentImg
753 default: '{ofAgentImg}'
754 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
755
756 - string:
757 name: volthaChart
758 default: '{volthaChart}'
759 description: 'VOLTHA chart name (or location on file system)'
760
761 - string:
762 name: openoltAdapterImg
763 default: '{openoltAdapterImg}'
764 description: 'Custom image selection for Openolt Adapter (repo:tag)'
765
766 - string:
767 name: openoltAdapterChart
768 default: '{openoltAdapterChart}'
769 description: 'OpenOLT chart name (or location on file system)'
770
771 - string:
772 name: openonuAdapterImg
773 default: '{openonuAdapterImg}'
774 description: 'Custom image selection for Openonu Adapter (repo:tag)'
775
776 - string:
777 name: openonuAdapterChart
778 default: '{openonuAdapterChart}'
779 description: 'OpenONU chart name (or location on file system)'
780
781 - string:
782 name: onosImg
783 default: '{onosImg}'
784 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700785
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700786 - string:
787 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700788 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700789 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
790
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700791 - string:
792 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700793 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700794 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
795
Matteo Scandolo68776b72020-07-21 14:06:06 -0700796 - bool:
797 name: inMemoryEtcdStorage
798 default: '{inMemoryEtcdStorage}'
799 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
800
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200801 - string:
802 name: karafHome
803 default: '{karaf-home}'
804 description: 'Karaf home'
805
Matteo Scandolo51b76302020-02-05 12:07:23 -0800806 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800807 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800808
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700809 dsl: !include-raw-escape: pipeline/{pipeline-script}