blob: 4c5e012c74b3f5d7745f95d5368ee902b3df55a6 [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
113 extraHelmFlags: '--set limits.memory=8192Mi '
114
Matteo Scandolo272aed42020-05-08 15:05:57 -0700115 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700116 name: 'voltha-scale-measurements-master-1-16-32-att-flows'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700117 build-node: 'onf-pod1-head-node'
118 time-trigger: "H H/4 * * *"
119 olts: 1
120 pons: 16
121 onus: 32
122 withFlows: true
123 provisionSubscribers: false
124 withEapol: true
125 withDhcp: true
126 withIgmp: false
127 openonuAdapterReplicas: 8
128 onosReplicas: 3
129 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700130 extraHelmFlags: '--set auth=false --set limits.memory=8192Mi '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700131
132 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700133 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700134 build-node: 'onf-pod1-head-node'
135 time-trigger: "H H/4 * * *"
136 olts: 1
137 pons: 16
138 onus: 32
139 withFlows: true
140 provisionSubscribers: true
141 withEapol: true
142 withDhcp: true
143 withIgmp: false
144 openonuAdapterReplicas: 8
145 onosReplicas: 3
146 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700147 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700148 withPcap: true
Matteo Scandolo505ae142020-06-23 15:50:55 -0700149 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:vol-3269
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700150
151 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
152 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700153 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700154 build-node: 'onf-pod1-head-node'
155 time-trigger: "H H/4 * * *"
156 olts: 1
157 pons: 16
158 onus: 32
159 withFlows: true
160 provisionSubscribers: true
161 workflow: dt
162 withEapol: false
163 withDhcp: false
164 withIgmp: false
165 openonuAdapterReplicas: 8
166 onosReplicas: 3
167 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700168 extraHelmFlags: '--set limits.memory=8192Mi '
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200169
Matteo Scandolo272aed42020-05-08 15:05:57 -0700170 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700171 - 'voltha-scale-measurements':
172 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700173 name: 'voltha-scale-measurements-master-2-16-32-activation'
Matteo Scandolocb726432020-06-01 08:49:14 -0700174 build-node: 'onf-pod1-head-node'
175 time-trigger: "H H/4 * * *"
176 olts: 2
177 pons: 16
178 onus: 32
179 withFlows: false
180 provisionSubscribers: false
181 withEapol: false
182 withDhcp: false
183 withIgmp: false
184 openonuAdapterReplicas: 8
185 onosReplicas: 3
186 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700187 extraHelmFlags: '--set limits.memory=8192Mi '
Andrea Campanellaf770f8a2020-07-10 16:49:57 +0200188 volthaSystemTestsChange: 'refs/changes/63/19663/1'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700189
Matteo Scandolocb726432020-06-01 08:49:14 -0700190 - 'voltha-scale-measurements':
191 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700192 name: 'voltha-scale-measurements-master-2-16-32-att-flows'
Matteo Scandolocb726432020-06-01 08:49:14 -0700193 build-node: 'onf-pod1-head-node'
194 time-trigger: "H H/4 * * *"
195 olts: 2
196 pons: 16
197 onus: 32
198 withFlows: true
199 provisionSubscribers: false
200 withEapol: true
201 withDhcp: true
202 withIgmp: false
203 openonuAdapterReplicas: 8
204 onosReplicas: 3
205 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700206 extraHelmFlags: '--set limits.memory=8192Mi --set auth=false '
Andrea Campanellaf770f8a2020-07-10 16:49:57 +0200207 volthaSystemTestsChange: 'refs/changes/63/19663/1'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700208
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700209 - 'voltha-scale-measurements':
210 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700211 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700212 build-node: 'onf-pod1-head-node'
213 time-trigger: "H H/4 * * *"
214 olts: 2
215 pons: 16
216 onus: 32
217 withFlows: true
218 provisionSubscribers: true
219 withEapol: true
220 withDhcp: true
221 withIgmp: false
222 openonuAdapterReplicas: 8
223 onosReplicas: 3
224 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700225 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo505ae142020-06-23 15:50:55 -0700226 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:vol-3269
Andrea Campanellaf770f8a2020-07-10 16:49:57 +0200227 volthaSystemTestsChange: 'refs/changes/63/19663/1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700228
229 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
230 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700231 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700232 build-node: 'onf-pod1-head-node'
233 time-trigger: "H H/4 * * *"
234 olts: 2
235 pons: 16
236 onus: 32
237 withFlows: true
238 provisionSubscribers: true
239 workflow: dt
240 withEapol: false
241 withDhcp: false
242 withIgmp: false
243 openonuAdapterReplicas: 8
244 onosReplicas: 3
245 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700246 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700247
Matteo Scandolod43064b2020-07-13 17:18:45 -0700248 # voltha-2.4 Jobs
249 - 'voltha-scale-measurements':
250 name: 'voltha-scale-measurements-voltha-2.4-16-32-att-subscribers'
251 build-node: 'onf-pod1-head-node'
252 time-trigger: "H H/4 * * *"
253 olts: 1
254 pons: 16
255 onus: 32
256 withFlows: true
257 provisionSubscribers: true
258 withEapol: true
259 withDhcp: true
260 withIgmp: false
261 openonuAdapterReplicas: 8
262 onosReplicas: 3
263 atomixReplicas: 3
264 extraHelmFlags: '--set defaults.rw_core.timeout=30s'
265 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:vol-3269
266 release: voltha-2.4
267
268 - 'voltha-scale-measurements':
269 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
270 build-node: 'onf-pod1-head-node'
271 time-trigger: "H H/4 * * *"
272 olts: 2
273 pons: 16
274 onus: 32
275 withFlows: true
276 provisionSubscribers: true
277 workflow: dt
278 withEapol: false
279 withDhcp: false
280 withIgmp: false
281 openonuAdapterReplicas: 8
282 onosReplicas: 3
283 atomixReplicas: 3
284 release: voltha-2.4
Matteo Scandolo272aed42020-05-08 15:05:57 -0700285 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700286 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700287 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700288 build-node: 'voltha-scale'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700289
Matteo Scandolo51b76302020-02-05 12:07:23 -0800290
291- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700292 id: 'voltha-scale-measurements'
293 name: '{name}'
294 pipeline-script: 'voltha-scale-test.groovy'
295
296 description: |
297 <!-- Managed by Jenkins Job Builder -->
298 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
299 Using pipeline {pipeline-script} <br/><br/>
300 Scale measurements for VOLTHA 2.x
301
302 properties:
303 - cord-infra-properties:
304 build-days-to-keep: '{build-days-to-keep}'
305 artifact-num-to-keep: '{artifact-num-to-keep}'
306
307 wrappers:
308 - lf-infra-wrappers:
309 build-timeout: '{build-timeout}'
310 jenkins-ssh-credential: '{jenkins-ssh-credential}'
311
312 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700313 release: master
314
Matteo Scandolo272aed42020-05-08 15:05:57 -0700315 bbsimImg: voltha/bbsim:master
316 rwCoreImg: voltha/voltha-rw-core:master
317 ofAgentImg: voltha/voltha-ofagent-go:master
318 openoltAdapterImg: voltha/voltha-openolt-adapter:master
319 openonuAdapterImg: voltha/voltha-openonu-adapter:master
320 onosImg: voltha/voltha-onos:master
321
322 bbsimChart: onf/bbsim
323 volthaChart: onf/voltha
324 openoltAdapterChart: onf/voltha-adapter-openolt
325 openonuAdapterChart: onf/voltha-adapter-openonu
326
Matteo Scandolo393add12020-05-08 18:03:17 -0700327 olts: 2
328 pons: 2
329 onus: 2
330 workflow: att
331 withFlows: false
332 provisionSubscribers: false
333 withEapol: true
334 withDhcp: true
335 withIgmp: false
336 withLLDP: false
337 withMibTemplate: true
338 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700339 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700340 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700341 openonuAdapterReplicas: 1
342 onosReplicas: 1
343 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700344 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700345 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700346 volthaSystemTestsChange: ''
347 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700348 inMemoryEtcdStorage: true
Matteo Scandolo393add12020-05-08 18:03:17 -0700349
Matteo Scandolo272aed42020-05-08 15:05:57 -0700350 parameters:
351 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700352 name: release
353 default: '{release}'
354 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
355
356 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700357 name: buildNode
358 default: '{build-node}'
359 description: 'Name of the Jenkins node to run the job on'
360
361 - string:
362 name: logLevel
363 default: 'WARN'
364 description: 'Log level for all the components'
365
366 - string:
367 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700368 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700369 description: 'Number of ONUs to provision'
370
371 - string:
372 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700373 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700374 description: 'Number of PONs to provision'
375
376 - string:
377 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700378 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700379 description: 'How many BBSim instances to run'
380
381 - string:
382 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700383 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700384 description: 'Which workflow are we testing (att, dt, tt)'
385
386 - bool:
387 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700388 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700389 description: 'Wheter to push flows from ONOS'
390
391 - bool:
392 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700393 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700394 description: 'Wheter to provision subscribers durint the tests'
395
396 - bool:
397 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700398 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700399 description: 'Wheter EAPOL is enabled for the test'
400
401 - bool:
402 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700403 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700404 description: 'Wheter DHCP is enabled for the test'
405
406 - bool:
407 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700408 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700409 description: 'Wheter IGMP is enabled for the test'
410
411 - bool:
412 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700413 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700414 description: 'Wheter Link Discovery is enabled for the test'
415
416 - bool:
417 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700418 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700419 description: 'Option to trigger MIB template command'
420
421 - bool:
422 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700423 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700424 description: 'Option to install Prometheus'
425
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700426 - bool:
427 name: withProfiling
428 default: '{withProfiling}'
429 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
430
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700431 - bool:
432 name: withPcap
433 default: '{withPcap}'
434 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
435
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700436 - string:
437 name: extraHelmFlags
438 default: '{extraHelmFlags}'
439 description: 'Any extra helm parameters you want (passed to every helm install command)'
440
Matteo Scandolo272aed42020-05-08 15:05:57 -0700441 - string:
442 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700443 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700444 description: 'How many OpenONU adapter instances to run'
445
446 - string:
447 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700448 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700449 description: 'How many ONOSes instances to run'
450
451 - string:
452 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700453 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700454 description: 'How many Atomix instances to run'
455
456 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700457 name: onosStatInterval
458 default: '{onosStatInterval}'
459 description: 'How often ONOS should poll for ports, flows and meters'
460
461 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700462 name: bbsimImg
463 default: '{bbsimImg}'
464 description: 'Custom image selection for BBSIM (repo:tag)'
465
466 - string:
467 name: bbsimChart
468 default: '{bbsimChart}'
469 description: 'BBSim chart name (or location on file system)'
470
471 - string:
472 name: rwCoreImg
473 default: '{rwCoreImg}'
474 description: 'Custom image selection for VOLTHA (repo:tag)'
475
476 - string:
477 name: ofAgentImg
478 default: '{ofAgentImg}'
479 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
480
481 - string:
482 name: volthaChart
483 default: '{volthaChart}'
484 description: 'VOLTHA chart name (or location on file system)'
485
486 - string:
487 name: openoltAdapterImg
488 default: '{openoltAdapterImg}'
489 description: 'Custom image selection for Openolt Adapter (repo:tag)'
490
491 - string:
492 name: openoltAdapterChart
493 default: '{openoltAdapterChart}'
494 description: 'OpenOLT chart name (or location on file system)'
495
496 - string:
497 name: openonuAdapterImg
498 default: '{openonuAdapterImg}'
499 description: 'Custom image selection for Openonu Adapter (repo:tag)'
500
501 - string:
502 name: openonuAdapterChart
503 default: '{openonuAdapterChart}'
504 description: 'OpenONU chart name (or location on file system)'
505
506 - string:
507 name: onosImg
508 default: '{onosImg}'
509 description: 'Custom image selection for Openonu Adapter (repo:tag)'
510
511 - string:
512 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700513 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700514 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
515
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700516 - string:
517 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700518 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700519 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
520
Matteo Scandoloccc06192020-06-22 10:16:17 -0700521 - bool:
522 name: inMemoryEtcdStorage
523 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700524 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700525
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
558 bbsimImg: voltha/bbsim:master
559 rwCoreImg: voltha/voltha-rw-core:master
560 ofAgentImg: voltha/voltha-ofagent-go:master
561 openoltAdapterImg: voltha/voltha-openolt-adapter:master
562 openonuAdapterImg: voltha/voltha-openonu-adapter:master
563 onosImg: voltha/voltha-onos:master
564
565 bbsimChart: onf/bbsim
566 volthaChart: onf/voltha
567 openoltAdapterChart: onf/voltha-adapter-openolt
568 openonuAdapterChart: onf/voltha-adapter-openonu
569
Matteo Scandolo51b76302020-02-05 12:07:23 -0800570 parameters:
571 - string:
572 name: buildNode
573 default: '{build-node}'
574 description: 'Name of the Jenkins node to run the job on'
575
576 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700577 name: logLevel
578 default: 'WARN'
579 description: 'Log level for all the components'
580
581 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700582 name: onus
583 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800584 description: 'Number of ONUs to provision'
585
586 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700587 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700588 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800589 description: 'Number of PONs to provision'
590
Matteo Scandolo0430f672020-05-07 11:50:26 -0700591 - string:
592 name: olts
593 default: 2
594 description: 'How many BBSim instances to run'
595
596 - string:
597 name: workflow
598 default: att
599 description: 'Which workflow are we testing (att, dt, tt)'
600
601 - bool:
602 name: withFlows
603 default: false
604 description: 'Wheter to push flows from ONOS'
605
606 - bool:
607 name: provisionSubscribers
608 default: false
609 description: 'Wheter to provision subscribers durint the tests'
610
611 - bool:
612 name: withEapol
613 default: true
614 description: 'Wheter EAPOL is enabled for the test'
615
616 - bool:
617 name: withDhcp
618 default: true
619 description: 'Wheter DHCP is enabled for the test'
620
621 - bool:
622 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700623 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700624 description: 'Wheter IGMP is enabled for the test'
625
626 - bool:
627 name: withLLDP
628 default: false
629 description: 'Wheter Link Discovery is enabled for the test'
630
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800631 - bool:
632 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700633 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800634 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800635
Matteo Scandolo0430f672020-05-07 11:50:26 -0700636 - bool:
637 name: withMonitoring
638 default: true
639 description: 'Option to install Prometheus'
640
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700641 - bool:
642 name: withProfiling
643 default: false
644 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
645
646 - string:
647 name: extraHelmFlags
648 default: ' '
649 description: 'Any extra helm parameters you want (passed to every helm install command)'
650
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800651 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700652 name: openonuAdapterReplicas
653 default: 1
654 description: 'How many OpenONU adapter instances to run'
655
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700656 # the dev node is single node cluster, we can't install a clustered ONOS because of the contraints
Matteo Scandolo0430f672020-05-07 11:50:26 -0700657 - string:
658 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700659 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700660 description: 'How many ONOSes instances to run'
661
662 - string:
663 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700664 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700665 description: 'How many Atomix instances to run'
666
667 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700668 name: onosStatInterval
669 default: 5
670 description: 'How often ONOS should poll for ports, flows and meters'
671
672 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700673 name: bbsimImg
674 default: '{bbsimImg}'
675 description: 'Custom image selection for BBSIM (repo:tag)'
676
677 - string:
678 name: bbsimChart
679 default: '{bbsimChart}'
680 description: 'BBSim chart name (or location on file system)'
681
682 - string:
683 name: rwCoreImg
684 default: '{rwCoreImg}'
685 description: 'Custom image selection for VOLTHA (repo:tag)'
686
687 - string:
688 name: ofAgentImg
689 default: '{ofAgentImg}'
690 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
691
692 - string:
693 name: volthaChart
694 default: '{volthaChart}'
695 description: 'VOLTHA chart name (or location on file system)'
696
697 - string:
698 name: openoltAdapterImg
699 default: '{openoltAdapterImg}'
700 description: 'Custom image selection for Openolt Adapter (repo:tag)'
701
702 - string:
703 name: openoltAdapterChart
704 default: '{openoltAdapterChart}'
705 description: 'OpenOLT chart name (or location on file system)'
706
707 - string:
708 name: openonuAdapterImg
709 default: '{openonuAdapterImg}'
710 description: 'Custom image selection for Openonu Adapter (repo:tag)'
711
712 - string:
713 name: openonuAdapterChart
714 default: '{openonuAdapterChart}'
715 description: 'OpenONU chart name (or location on file system)'
716
717 - string:
718 name: onosImg
719 default: '{onosImg}'
720 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700721
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700722 - string:
723 name: volthaSystemTestsChange
724 default: ''
725 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
726
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700727 - string:
728 name: kindVolthaChange
729 default: ''
730 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
731
Matteo Scandolo51b76302020-02-05 12:07:23 -0800732 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800733 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800734
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700735 dsl: !include-raw-escape: pipeline/{pipeline-script}