blob: ac6a60e217489e8c4c8bbda7b5c9f15eebe48c81 [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
Matteo Scandolo272aed42020-05-08 15:05:57 -070097 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS
Matteo Scandolob46bc402020-06-11 13:59:44 -070098 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070099 name: 'voltha-scale-measurements-master-1-16-32-activation'
Matteo Scandolob46bc402020-06-11 13:59:44 -0700100 build-node: 'onf-pod1-head-node'
101 time-trigger: "H H/4 * * *"
102 olts: 1
103 pons: 16
104 onus: 32
105 withFlows: false
106 provisionSubscribers: false
107 withEapol: false
108 withDhcp: false
109 withIgmp: false
110 openonuAdapterReplicas: 8
111 onosReplicas: 3
112 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700113
Matteo Scandolo272aed42020-05-08 15:05:57 -0700114 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700115 name: 'voltha-scale-measurements-master-1-16-32-att-flows'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700116 build-node: 'onf-pod1-head-node'
117 time-trigger: "H H/4 * * *"
118 olts: 1
119 pons: 16
120 onus: 32
121 withFlows: true
122 provisionSubscribers: false
123 withEapol: true
124 withDhcp: true
125 withIgmp: false
126 openonuAdapterReplicas: 8
127 onosReplicas: 3
128 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700129 extraHelmFlags: '--set auth=false '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700130
131 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700132 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700133 build-node: 'onf-pod1-head-node'
134 time-trigger: "H H/4 * * *"
135 olts: 1
136 pons: 16
137 onus: 32
138 withFlows: true
139 provisionSubscribers: true
140 withEapol: true
141 withDhcp: true
142 withIgmp: false
143 openonuAdapterReplicas: 8
144 onosReplicas: 3
145 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700146 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700147
148 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
149 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700150 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700151 build-node: 'onf-pod1-head-node'
152 time-trigger: "H H/4 * * *"
153 olts: 1
154 pons: 16
155 onus: 32
156 withFlows: true
157 provisionSubscribers: true
158 workflow: dt
159 withEapol: false
160 withDhcp: false
161 withIgmp: false
162 openonuAdapterReplicas: 8
163 onosReplicas: 3
164 atomixReplicas: 3
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200165
Matteo Scandolo272aed42020-05-08 15:05:57 -0700166 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700167 - 'voltha-scale-measurements':
168 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700169 name: 'voltha-scale-measurements-master-2-16-32-activation'
Matteo Scandolocb726432020-06-01 08:49:14 -0700170 build-node: 'onf-pod1-head-node'
171 time-trigger: "H H/4 * * *"
172 olts: 2
173 pons: 16
174 onus: 32
175 withFlows: false
176 provisionSubscribers: false
177 withEapol: false
178 withDhcp: false
179 withIgmp: false
180 openonuAdapterReplicas: 8
181 onosReplicas: 3
182 atomixReplicas: 3
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700183
Matteo Scandolocb726432020-06-01 08:49:14 -0700184 - 'voltha-scale-measurements':
185 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700186 name: 'voltha-scale-measurements-master-2-16-32-att-flows'
Matteo Scandolocb726432020-06-01 08:49:14 -0700187 build-node: 'onf-pod1-head-node'
188 time-trigger: "H H/4 * * *"
189 olts: 2
190 pons: 16
191 onus: 32
192 withFlows: true
193 provisionSubscribers: false
194 withEapol: true
195 withDhcp: true
196 withIgmp: false
197 openonuAdapterReplicas: 8
198 onosReplicas: 3
199 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700200 extraHelmFlags: '--set auth=false '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700201
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700202 - 'voltha-scale-measurements':
203 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700204 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700205 build-node: 'onf-pod1-head-node'
206 time-trigger: "H H/4 * * *"
207 olts: 2
208 pons: 16
209 onus: 32
210 withFlows: true
211 provisionSubscribers: true
212 withEapol: true
213 withDhcp: true
214 withIgmp: false
215 openonuAdapterReplicas: 8
216 onosReplicas: 3
217 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700218 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700219
220 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
221 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700222 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700223 build-node: 'onf-pod1-head-node'
224 time-trigger: "H H/4 * * *"
225 olts: 2
226 pons: 16
227 onus: 32
228 withFlows: true
229 provisionSubscribers: true
230 workflow: dt
231 withEapol: false
232 withDhcp: false
233 withIgmp: false
234 openonuAdapterReplicas: 8
235 onosReplicas: 3
236 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700237 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo272aed42020-05-08 15:05:57 -0700238
Matteo Scandolod43064b2020-07-13 17:18:45 -0700239 # voltha-2.4 Jobs
240 - 'voltha-scale-measurements':
Matteo Scandolo5055e4e2020-07-14 10:10:38 -0700241 name: 'voltha-scale-measurements-voltha-2.4-1-16-32-att-subscribers'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700242 build-node: 'onf-pod1-head-node'
243 time-trigger: "H H/4 * * *"
244 olts: 1
245 pons: 16
246 onus: 32
247 withFlows: true
248 provisionSubscribers: true
249 withEapol: true
250 withDhcp: true
251 withIgmp: false
252 openonuAdapterReplicas: 8
253 onosReplicas: 3
254 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700255 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700256 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200257 karafHome: apache-karaf-4.2.8
Matteo Scandolod43064b2020-07-13 17:18:45 -0700258
259 - 'voltha-scale-measurements':
260 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
261 build-node: 'onf-pod1-head-node'
262 time-trigger: "H H/4 * * *"
263 olts: 2
264 pons: 16
265 onus: 32
266 withFlows: true
267 provisionSubscribers: true
268 workflow: dt
269 withEapol: false
270 withDhcp: false
271 withIgmp: false
272 openonuAdapterReplicas: 8
273 onosReplicas: 3
274 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700275 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700276 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200277 karafHome: apache-karaf-4.2.8
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700278
Matteo Scandolo272aed42020-05-08 15:05:57 -0700279 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700280 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700281 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700282 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700283 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700284
Matteo Scandolo51b76302020-02-05 12:07:23 -0800285
286- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700287 id: 'voltha-scale-measurements'
288 name: '{name}'
289 pipeline-script: 'voltha-scale-test.groovy'
290
291 description: |
292 <!-- Managed by Jenkins Job Builder -->
293 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
294 Using pipeline {pipeline-script} <br/><br/>
295 Scale measurements for VOLTHA 2.x
296
297 properties:
298 - cord-infra-properties:
299 build-days-to-keep: '{build-days-to-keep}'
300 artifact-num-to-keep: '{artifact-num-to-keep}'
301
302 wrappers:
303 - lf-infra-wrappers:
304 build-timeout: '{build-timeout}'
305 jenkins-ssh-credential: '{jenkins-ssh-credential}'
306
307 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700308 release: master
309
Matteo Scandolo272aed42020-05-08 15:05:57 -0700310 bbsimImg: voltha/bbsim:master
311 rwCoreImg: voltha/voltha-rw-core:master
312 ofAgentImg: voltha/voltha-ofagent-go:master
313 openoltAdapterImg: voltha/voltha-openolt-adapter:master
314 openonuAdapterImg: voltha/voltha-openonu-adapter:master
315 onosImg: voltha/voltha-onos:master
316
317 bbsimChart: onf/bbsim
318 volthaChart: onf/voltha
319 openoltAdapterChart: onf/voltha-adapter-openolt
320 openonuAdapterChart: onf/voltha-adapter-openonu
321
Matteo Scandolo393add12020-05-08 18:03:17 -0700322 olts: 2
323 pons: 2
324 onus: 2
325 workflow: att
326 withFlows: false
327 provisionSubscribers: false
328 withEapol: true
329 withDhcp: true
330 withIgmp: false
331 withLLDP: false
332 withMibTemplate: true
333 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700334 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700335 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700336 openonuAdapterReplicas: 1
337 onosReplicas: 1
338 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700339 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700340 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700341 volthaSystemTestsChange: ''
342 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700343 inMemoryEtcdStorage: true
Matteo Scandolo393add12020-05-08 18:03:17 -0700344
Matteo Scandolo272aed42020-05-08 15:05:57 -0700345 parameters:
346 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700347 name: release
348 default: '{release}'
349 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
350
351 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700352 name: buildNode
353 default: '{build-node}'
354 description: 'Name of the Jenkins node to run the job on'
355
356 - string:
357 name: logLevel
358 default: 'WARN'
359 description: 'Log level for all the components'
360
361 - string:
362 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700363 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700364 description: 'Number of ONUs to provision'
365
366 - string:
367 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700368 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700369 description: 'Number of PONs to provision'
370
371 - string:
372 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700373 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700374 description: 'How many BBSim instances to run'
375
376 - string:
377 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700378 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700379 description: 'Which workflow are we testing (att, dt, tt)'
380
381 - bool:
382 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700383 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700384 description: 'Wheter to push flows from ONOS'
385
386 - bool:
387 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700388 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700389 description: 'Wheter to provision subscribers durint the tests'
390
391 - bool:
392 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700393 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700394 description: 'Wheter EAPOL is enabled for the test'
395
396 - bool:
397 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700398 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700399 description: 'Wheter DHCP is enabled for the test'
400
401 - bool:
402 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700403 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700404 description: 'Wheter IGMP is enabled for the test'
405
406 - bool:
407 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700408 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700409 description: 'Wheter Link Discovery is enabled for the test'
410
411 - bool:
412 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700413 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700414 description: 'Option to trigger MIB template command'
415
416 - bool:
417 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700418 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700419 description: 'Option to install Prometheus'
420
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700421 - bool:
422 name: withProfiling
423 default: '{withProfiling}'
424 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
425
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700426 - bool:
427 name: withPcap
428 default: '{withPcap}'
429 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
430
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700431 - string:
432 name: extraHelmFlags
433 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700434 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 -0700435
Matteo Scandolo272aed42020-05-08 15:05:57 -0700436 - string:
437 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700438 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700439 description: 'How many OpenONU adapter instances to run'
440
441 - string:
442 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700443 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700444 description: 'How many ONOSes instances to run'
445
446 - string:
447 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700448 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700449 description: 'How many Atomix instances to run'
450
451 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700452 name: onosStatInterval
453 default: '{onosStatInterval}'
454 description: 'How often ONOS should poll for ports, flows and meters'
455
456 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700457 name: bbsimImg
458 default: '{bbsimImg}'
459 description: 'Custom image selection for BBSIM (repo:tag)'
460
461 - string:
462 name: bbsimChart
463 default: '{bbsimChart}'
464 description: 'BBSim chart name (or location on file system)'
465
466 - string:
467 name: rwCoreImg
468 default: '{rwCoreImg}'
469 description: 'Custom image selection for VOLTHA (repo:tag)'
470
471 - string:
472 name: ofAgentImg
473 default: '{ofAgentImg}'
474 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
475
476 - string:
477 name: volthaChart
478 default: '{volthaChart}'
479 description: 'VOLTHA chart name (or location on file system)'
480
481 - string:
482 name: openoltAdapterImg
483 default: '{openoltAdapterImg}'
484 description: 'Custom image selection for Openolt Adapter (repo:tag)'
485
486 - string:
487 name: openoltAdapterChart
488 default: '{openoltAdapterChart}'
489 description: 'OpenOLT chart name (or location on file system)'
490
491 - string:
492 name: openonuAdapterImg
493 default: '{openonuAdapterImg}'
494 description: 'Custom image selection for Openonu Adapter (repo:tag)'
495
496 - string:
497 name: openonuAdapterChart
498 default: '{openonuAdapterChart}'
499 description: 'OpenONU chart name (or location on file system)'
500
501 - string:
502 name: onosImg
503 default: '{onosImg}'
504 description: 'Custom image selection for Openonu Adapter (repo:tag)'
505
506 - string:
507 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700508 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700509 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
510
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700511 - string:
512 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700513 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700514 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
515
Matteo Scandoloccc06192020-06-22 10:16:17 -0700516 - bool:
517 name: inMemoryEtcdStorage
518 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700519 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700520
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200521 - string:
522 name: karafHome
523 default: '{karaf-home}'
524 description: 'Karaf home'
525
Matteo Scandolo272aed42020-05-08 15:05:57 -0700526 project-type: pipeline
527 concurrent: false
528
529 dsl: !include-raw-escape: pipeline/{pipeline-script}
530
Matteo Scandoloabb83972020-06-25 16:08:23 -0700531 triggers:
532 - timed: |
533 TZ=America/Los_Angeles
534 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700535
536- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700537 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800538 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700539 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800540
541 description: |
542 <!-- Managed by Jenkins Job Builder -->
543 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
544 Using pipeline {pipeline-script} <br/><br/>
545 Scale measurements for VOLTHA 2.x
546
547 properties:
548 - cord-infra-properties:
549 build-days-to-keep: '{build-days-to-keep}'
550 artifact-num-to-keep: '{artifact-num-to-keep}'
551
552 wrappers:
553 - lf-infra-wrappers:
554 build-timeout: '{build-timeout}'
555 jenkins-ssh-credential: '{jenkins-ssh-credential}'
556
Matteo Scandolo0430f672020-05-07 11:50:26 -0700557 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700558 release: master
559
Matteo Scandolo0430f672020-05-07 11:50:26 -0700560 bbsimImg: voltha/bbsim:master
561 rwCoreImg: voltha/voltha-rw-core:master
562 ofAgentImg: voltha/voltha-ofagent-go:master
563 openoltAdapterImg: voltha/voltha-openolt-adapter:master
564 openonuAdapterImg: voltha/voltha-openonu-adapter:master
565 onosImg: voltha/voltha-onos:master
566
567 bbsimChart: onf/bbsim
568 volthaChart: onf/voltha
569 openoltAdapterChart: onf/voltha-adapter-openolt
570 openonuAdapterChart: onf/voltha-adapter-openonu
571
Matteo Scandolo68776b72020-07-21 14:06:06 -0700572 olts: 2
573 pons: 2
574 onus: 2
575 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700576 withFlows: true
577 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700578 withEapol: true
579 withDhcp: true
580 withIgmp: false
581 withLLDP: false
582 withMibTemplate: true
583 withMonitoring: true
584 withProfiling: false
585 withPcap: false
586 openonuAdapterReplicas: 1
587 onosReplicas: 1
588 atomixReplicas: 0
589 extraHelmFlags: ''
590 onosStatInterval: 5
591 volthaSystemTestsChange: ''
592 kindVolthaChange: ''
593 inMemoryEtcdStorage: true
594
Matteo Scandolo51b76302020-02-05 12:07:23 -0800595 parameters:
596 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700597 name: release
598 default: '{release}'
599 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
600
601 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800602 name: buildNode
603 default: '{build-node}'
604 description: 'Name of the Jenkins node to run the job on'
605
606 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700607 name: logLevel
608 default: 'WARN'
609 description: 'Log level for all the components'
610
611 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700612 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700613 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800614 description: 'Number of ONUs to provision'
615
616 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700617 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700618 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800619 description: 'Number of PONs to provision'
620
Matteo Scandolo0430f672020-05-07 11:50:26 -0700621 - string:
622 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700623 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700624 description: 'How many BBSim instances to run'
625
626 - string:
627 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700628 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700629 description: 'Which workflow are we testing (att, dt, tt)'
630
631 - bool:
632 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700633 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700634 description: 'Wheter to push flows from ONOS'
635
636 - bool:
637 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700638 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700639 description: 'Wheter to provision subscribers durint the tests'
640
641 - bool:
642 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700643 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700644 description: 'Wheter EAPOL is enabled for the test'
645
646 - bool:
647 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700648 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700649 description: 'Wheter DHCP is enabled for the test'
650
651 - bool:
652 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700653 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700654 description: 'Wheter IGMP is enabled for the test'
655
656 - bool:
657 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700658 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700659 description: 'Wheter Link Discovery is enabled for the test'
660
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800661 - bool:
662 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700663 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800664 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800665
Matteo Scandolo0430f672020-05-07 11:50:26 -0700666 - bool:
667 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700668 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700669 description: 'Option to install Prometheus'
670
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700671 - bool:
672 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700673 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700674 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
675
Matteo Scandolo68776b72020-07-21 14:06:06 -0700676 - bool:
677 name: withPcap
678 default: '{withPcap}'
679 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
680
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700681 - string:
682 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700683 default: '{extraHelmFlags}'
684 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 -0700685
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800686 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700687 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700688 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700689 description: 'How many OpenONU adapter instances to run'
690
691 - string:
692 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700693 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700694 description: 'How many ONOSes instances to run'
695
696 - string:
697 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700698 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700699 description: 'How many Atomix instances to run'
700
701 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700702 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700703 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700704 description: 'How often ONOS should poll for ports, flows and meters'
705
706 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700707 name: bbsimImg
708 default: '{bbsimImg}'
709 description: 'Custom image selection for BBSIM (repo:tag)'
710
711 - string:
712 name: bbsimChart
713 default: '{bbsimChart}'
714 description: 'BBSim chart name (or location on file system)'
715
716 - string:
717 name: rwCoreImg
718 default: '{rwCoreImg}'
719 description: 'Custom image selection for VOLTHA (repo:tag)'
720
721 - string:
722 name: ofAgentImg
723 default: '{ofAgentImg}'
724 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
725
726 - string:
727 name: volthaChart
728 default: '{volthaChart}'
729 description: 'VOLTHA chart name (or location on file system)'
730
731 - string:
732 name: openoltAdapterImg
733 default: '{openoltAdapterImg}'
734 description: 'Custom image selection for Openolt Adapter (repo:tag)'
735
736 - string:
737 name: openoltAdapterChart
738 default: '{openoltAdapterChart}'
739 description: 'OpenOLT chart name (or location on file system)'
740
741 - string:
742 name: openonuAdapterImg
743 default: '{openonuAdapterImg}'
744 description: 'Custom image selection for Openonu Adapter (repo:tag)'
745
746 - string:
747 name: openonuAdapterChart
748 default: '{openonuAdapterChart}'
749 description: 'OpenONU chart name (or location on file system)'
750
751 - string:
752 name: onosImg
753 default: '{onosImg}'
754 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700755
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700756 - string:
757 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700758 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700759 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
760
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700761 - string:
762 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700763 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700764 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
765
Matteo Scandolo68776b72020-07-21 14:06:06 -0700766 - bool:
767 name: inMemoryEtcdStorage
768 default: '{inMemoryEtcdStorage}'
769 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
770
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200771 - string:
772 name: karafHome
773 default: '{karaf-home}'
774 description: 'Karaf home'
775
Matteo Scandolo51b76302020-02-05 12:07:23 -0800776 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800777 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800778
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700779 dsl: !include-raw-escape: pipeline/{pipeline-script}