blob: d188e6b917d5104490d89db3883310e54a26d984 [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 Scandolo35177dd2020-07-24 10:44:44 -0700160 extraHelmFlags: '--set auth=false '
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 Scandolo35177dd2020-07-24 10:44:44 -0700177 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
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 Scandolo35177dd2020-07-24 10:44:44 -0700231 extraHelmFlags: '--set auth=false '
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 Scandolo35177dd2020-07-24 10:44:44 -0700249 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
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 Scandolo35177dd2020-07-24 10:44:44 -0700268 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
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 Scandolo35177dd2020-07-24 10:44:44 -0700286 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
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 Scandolo35177dd2020-07-24 10:44:44 -0700306 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
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 Scandolo35177dd2020-07-24 10:44:44 -0700314 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700315
Matteo Scandolo51b76302020-02-05 12:07:23 -0800316
317- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700318 id: 'voltha-scale-measurements'
319 name: '{name}'
320 pipeline-script: 'voltha-scale-test.groovy'
321
322 description: |
323 <!-- Managed by Jenkins Job Builder -->
324 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
325 Using pipeline {pipeline-script} <br/><br/>
326 Scale measurements for VOLTHA 2.x
327
328 properties:
329 - cord-infra-properties:
330 build-days-to-keep: '{build-days-to-keep}'
331 artifact-num-to-keep: '{artifact-num-to-keep}'
332
333 wrappers:
334 - lf-infra-wrappers:
335 build-timeout: '{build-timeout}'
336 jenkins-ssh-credential: '{jenkins-ssh-credential}'
337
338 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700339 release: master
340
Matteo Scandolo272aed42020-05-08 15:05:57 -0700341 bbsimImg: voltha/bbsim:master
342 rwCoreImg: voltha/voltha-rw-core:master
343 ofAgentImg: voltha/voltha-ofagent-go:master
344 openoltAdapterImg: voltha/voltha-openolt-adapter:master
345 openonuAdapterImg: voltha/voltha-openonu-adapter:master
346 onosImg: voltha/voltha-onos:master
347
348 bbsimChart: onf/bbsim
349 volthaChart: onf/voltha
350 openoltAdapterChart: onf/voltha-adapter-openolt
351 openonuAdapterChart: onf/voltha-adapter-openonu
352
Matteo Scandolo393add12020-05-08 18:03:17 -0700353 olts: 2
354 pons: 2
355 onus: 2
356 workflow: att
357 withFlows: false
358 provisionSubscribers: false
359 withEapol: true
360 withDhcp: true
361 withIgmp: false
362 withLLDP: false
363 withMibTemplate: true
364 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700365 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700366 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 openonuAdapterReplicas: 1
368 onosReplicas: 1
369 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700370 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700371 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700372 volthaSystemTestsChange: ''
373 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700374 inMemoryEtcdStorage: true
Matteo Scandolo393add12020-05-08 18:03:17 -0700375
Matteo Scandolo272aed42020-05-08 15:05:57 -0700376 parameters:
377 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700378 name: release
379 default: '{release}'
380 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
381
382 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 name: buildNode
384 default: '{build-node}'
385 description: 'Name of the Jenkins node to run the job on'
386
387 - string:
388 name: logLevel
389 default: 'WARN'
390 description: 'Log level for all the components'
391
392 - string:
393 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700394 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700395 description: 'Number of ONUs to provision'
396
397 - string:
398 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700399 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700400 description: 'Number of PONs to provision'
401
402 - string:
403 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700404 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700405 description: 'How many BBSim instances to run'
406
407 - string:
408 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700409 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700410 description: 'Which workflow are we testing (att, dt, tt)'
411
412 - bool:
413 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700414 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700415 description: 'Wheter to push flows from ONOS'
416
417 - bool:
418 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700419 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700420 description: 'Wheter to provision subscribers durint the tests'
421
422 - bool:
423 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700424 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700425 description: 'Wheter EAPOL is enabled for the test'
426
427 - bool:
428 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700429 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700430 description: 'Wheter DHCP is enabled for the test'
431
432 - bool:
433 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700434 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700435 description: 'Wheter IGMP is enabled for the test'
436
437 - bool:
438 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700439 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700440 description: 'Wheter Link Discovery is enabled for the test'
441
442 - bool:
443 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700444 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700445 description: 'Option to trigger MIB template command'
446
447 - bool:
448 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700449 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700450 description: 'Option to install Prometheus'
451
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700452 - bool:
453 name: withProfiling
454 default: '{withProfiling}'
455 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
456
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700457 - bool:
458 name: withPcap
459 default: '{withPcap}'
460 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
461
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700462 - string:
463 name: extraHelmFlags
464 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700465 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 -0700466
Matteo Scandolo272aed42020-05-08 15:05:57 -0700467 - string:
468 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700469 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700470 description: 'How many OpenONU adapter instances to run'
471
472 - string:
473 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700474 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700475 description: 'How many ONOSes instances to run'
476
477 - string:
478 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700479 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700480 description: 'How many Atomix instances to run'
481
482 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700483 name: onosStatInterval
484 default: '{onosStatInterval}'
485 description: 'How often ONOS should poll for ports, flows and meters'
486
487 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700488 name: bbsimImg
489 default: '{bbsimImg}'
490 description: 'Custom image selection for BBSIM (repo:tag)'
491
492 - string:
493 name: bbsimChart
494 default: '{bbsimChart}'
495 description: 'BBSim chart name (or location on file system)'
496
497 - string:
498 name: rwCoreImg
499 default: '{rwCoreImg}'
500 description: 'Custom image selection for VOLTHA (repo:tag)'
501
502 - string:
503 name: ofAgentImg
504 default: '{ofAgentImg}'
505 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
506
507 - string:
508 name: volthaChart
509 default: '{volthaChart}'
510 description: 'VOLTHA chart name (or location on file system)'
511
512 - string:
513 name: openoltAdapterImg
514 default: '{openoltAdapterImg}'
515 description: 'Custom image selection for Openolt Adapter (repo:tag)'
516
517 - string:
518 name: openoltAdapterChart
519 default: '{openoltAdapterChart}'
520 description: 'OpenOLT chart name (or location on file system)'
521
522 - string:
523 name: openonuAdapterImg
524 default: '{openonuAdapterImg}'
525 description: 'Custom image selection for Openonu Adapter (repo:tag)'
526
527 - string:
528 name: openonuAdapterChart
529 default: '{openonuAdapterChart}'
530 description: 'OpenONU chart name (or location on file system)'
531
532 - string:
533 name: onosImg
534 default: '{onosImg}'
535 description: 'Custom image selection for Openonu Adapter (repo:tag)'
536
537 - string:
538 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700539 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700540 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
541
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700542 - string:
543 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700544 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700545 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
546
Matteo Scandoloccc06192020-06-22 10:16:17 -0700547 - bool:
548 name: inMemoryEtcdStorage
549 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700550 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700551
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200552 - string:
553 name: karafHome
554 default: '{karaf-home}'
555 description: 'Karaf home'
556
Matteo Scandolo272aed42020-05-08 15:05:57 -0700557 project-type: pipeline
558 concurrent: false
559
560 dsl: !include-raw-escape: pipeline/{pipeline-script}
561
Matteo Scandoloabb83972020-06-25 16:08:23 -0700562 triggers:
563 - timed: |
564 TZ=America/Los_Angeles
565 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700566
567- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700568 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800569 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700570 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800571
572 description: |
573 <!-- Managed by Jenkins Job Builder -->
574 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
575 Using pipeline {pipeline-script} <br/><br/>
576 Scale measurements for VOLTHA 2.x
577
578 properties:
579 - cord-infra-properties:
580 build-days-to-keep: '{build-days-to-keep}'
581 artifact-num-to-keep: '{artifact-num-to-keep}'
582
583 wrappers:
584 - lf-infra-wrappers:
585 build-timeout: '{build-timeout}'
586 jenkins-ssh-credential: '{jenkins-ssh-credential}'
587
Matteo Scandolo0430f672020-05-07 11:50:26 -0700588 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700589 release: master
590
Matteo Scandolo0430f672020-05-07 11:50:26 -0700591 bbsimImg: voltha/bbsim:master
592 rwCoreImg: voltha/voltha-rw-core:master
593 ofAgentImg: voltha/voltha-ofagent-go:master
594 openoltAdapterImg: voltha/voltha-openolt-adapter:master
595 openonuAdapterImg: voltha/voltha-openonu-adapter:master
596 onosImg: voltha/voltha-onos:master
597
598 bbsimChart: onf/bbsim
599 volthaChart: onf/voltha
600 openoltAdapterChart: onf/voltha-adapter-openolt
601 openonuAdapterChart: onf/voltha-adapter-openonu
602
Matteo Scandolo68776b72020-07-21 14:06:06 -0700603 olts: 2
604 pons: 2
605 onus: 2
606 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700607 withFlows: true
608 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700609 withEapol: true
610 withDhcp: true
611 withIgmp: false
612 withLLDP: false
613 withMibTemplate: true
614 withMonitoring: true
615 withProfiling: false
616 withPcap: false
617 openonuAdapterReplicas: 1
618 onosReplicas: 1
619 atomixReplicas: 0
620 extraHelmFlags: ''
621 onosStatInterval: 5
622 volthaSystemTestsChange: ''
623 kindVolthaChange: ''
624 inMemoryEtcdStorage: true
625
Matteo Scandolo51b76302020-02-05 12:07:23 -0800626 parameters:
627 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700628 name: release
629 default: '{release}'
630 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
631
632 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800633 name: buildNode
634 default: '{build-node}'
635 description: 'Name of the Jenkins node to run the job on'
636
637 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700638 name: logLevel
639 default: 'WARN'
640 description: 'Log level for all the components'
641
642 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700643 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700644 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800645 description: 'Number of ONUs to provision'
646
647 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700648 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700649 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800650 description: 'Number of PONs to provision'
651
Matteo Scandolo0430f672020-05-07 11:50:26 -0700652 - string:
653 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700654 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700655 description: 'How many BBSim instances to run'
656
657 - string:
658 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700659 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700660 description: 'Which workflow are we testing (att, dt, tt)'
661
662 - bool:
663 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700664 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700665 description: 'Wheter to push flows from ONOS'
666
667 - bool:
668 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700669 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700670 description: 'Wheter to provision subscribers durint the tests'
671
672 - bool:
673 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700674 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700675 description: 'Wheter EAPOL is enabled for the test'
676
677 - bool:
678 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700679 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700680 description: 'Wheter DHCP is enabled for the test'
681
682 - bool:
683 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700684 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700685 description: 'Wheter IGMP is enabled for the test'
686
687 - bool:
688 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700689 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700690 description: 'Wheter Link Discovery is enabled for the test'
691
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800692 - bool:
693 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700694 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800695 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800696
Matteo Scandolo0430f672020-05-07 11:50:26 -0700697 - bool:
698 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700699 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700700 description: 'Option to install Prometheus'
701
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700702 - bool:
703 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700704 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700705 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
706
Matteo Scandolo68776b72020-07-21 14:06:06 -0700707 - bool:
708 name: withPcap
709 default: '{withPcap}'
710 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
711
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700712 - string:
713 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700714 default: '{extraHelmFlags}'
715 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 -0700716
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800717 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700718 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700719 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700720 description: 'How many OpenONU adapter instances to run'
721
722 - string:
723 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700724 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700725 description: 'How many ONOSes instances to run'
726
727 - string:
728 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700729 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700730 description: 'How many Atomix instances to run'
731
732 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700733 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700734 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700735 description: 'How often ONOS should poll for ports, flows and meters'
736
737 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700738 name: bbsimImg
739 default: '{bbsimImg}'
740 description: 'Custom image selection for BBSIM (repo:tag)'
741
742 - string:
743 name: bbsimChart
744 default: '{bbsimChart}'
745 description: 'BBSim chart name (or location on file system)'
746
747 - string:
748 name: rwCoreImg
749 default: '{rwCoreImg}'
750 description: 'Custom image selection for VOLTHA (repo:tag)'
751
752 - string:
753 name: ofAgentImg
754 default: '{ofAgentImg}'
755 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
756
757 - string:
758 name: volthaChart
759 default: '{volthaChart}'
760 description: 'VOLTHA chart name (or location on file system)'
761
762 - string:
763 name: openoltAdapterImg
764 default: '{openoltAdapterImg}'
765 description: 'Custom image selection for Openolt Adapter (repo:tag)'
766
767 - string:
768 name: openoltAdapterChart
769 default: '{openoltAdapterChart}'
770 description: 'OpenOLT chart name (or location on file system)'
771
772 - string:
773 name: openonuAdapterImg
774 default: '{openonuAdapterImg}'
775 description: 'Custom image selection for Openonu Adapter (repo:tag)'
776
777 - string:
778 name: openonuAdapterChart
779 default: '{openonuAdapterChart}'
780 description: 'OpenONU chart name (or location on file system)'
781
782 - string:
783 name: onosImg
784 default: '{onosImg}'
785 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700786
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700787 - string:
788 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700789 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700790 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
791
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700792 - string:
793 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700794 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700795 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
796
Matteo Scandolo68776b72020-07-21 14:06:06 -0700797 - bool:
798 name: inMemoryEtcdStorage
799 default: '{inMemoryEtcdStorage}'
800 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
801
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200802 - string:
803 name: karafHome
804 default: '{karaf-home}'
805 description: 'Karaf home'
806
Matteo Scandolo51b76302020-02-05 12:07:23 -0800807 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800808 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800809
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700810 dsl: !include-raw-escape: pipeline/{pipeline-script}