blob: a55d91f80900ca128b52e254268894d12cc32533 [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 Scandolob2f814a2020-07-15 10:01:11 -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 Scandolob2f814a2020-07-15 10:01:11 -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 Scandolob2f814a2020-07-15 10:01:11 -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 Scandolob2f814a2020-07-15 10:01:11 -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 Scandolob2f814a2020-07-15 10:01:11 -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
255 extraHelmFlags: '--set defaults.rw_core.timeout=30s'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700256 release: voltha-2.4
257
258 - 'voltha-scale-measurements':
259 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
260 build-node: 'onf-pod1-head-node'
261 time-trigger: "H H/4 * * *"
262 olts: 2
263 pons: 16
264 onus: 32
265 withFlows: true
266 provisionSubscribers: true
267 workflow: dt
268 withEapol: false
269 withDhcp: false
270 withIgmp: false
271 openonuAdapterReplicas: 8
272 onosReplicas: 3
273 atomixReplicas: 3
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700274 extraHelmFlags: '--set defaults.rw_core.timeout=30s'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700275 release: voltha-2.4
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700276
Matteo Scandolo272aed42020-05-08 15:05:57 -0700277 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700278 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700279 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700280 build-node: 'voltha-scale'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700281
Matteo Scandolo51b76302020-02-05 12:07:23 -0800282
283- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700284 id: 'voltha-scale-measurements'
285 name: '{name}'
286 pipeline-script: 'voltha-scale-test.groovy'
287
288 description: |
289 <!-- Managed by Jenkins Job Builder -->
290 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
291 Using pipeline {pipeline-script} <br/><br/>
292 Scale measurements for VOLTHA 2.x
293
294 properties:
295 - cord-infra-properties:
296 build-days-to-keep: '{build-days-to-keep}'
297 artifact-num-to-keep: '{artifact-num-to-keep}'
298
299 wrappers:
300 - lf-infra-wrappers:
301 build-timeout: '{build-timeout}'
302 jenkins-ssh-credential: '{jenkins-ssh-credential}'
303
304 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700305 release: master
306
Matteo Scandolo272aed42020-05-08 15:05:57 -0700307 bbsimImg: voltha/bbsim:master
308 rwCoreImg: voltha/voltha-rw-core:master
309 ofAgentImg: voltha/voltha-ofagent-go:master
310 openoltAdapterImg: voltha/voltha-openolt-adapter:master
311 openonuAdapterImg: voltha/voltha-openonu-adapter:master
312 onosImg: voltha/voltha-onos:master
313
314 bbsimChart: onf/bbsim
315 volthaChart: onf/voltha
316 openoltAdapterChart: onf/voltha-adapter-openolt
317 openonuAdapterChart: onf/voltha-adapter-openonu
318
Matteo Scandolo393add12020-05-08 18:03:17 -0700319 olts: 2
320 pons: 2
321 onus: 2
322 workflow: att
323 withFlows: false
324 provisionSubscribers: false
325 withEapol: true
326 withDhcp: true
327 withIgmp: false
328 withLLDP: false
329 withMibTemplate: true
330 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700331 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700332 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700333 openonuAdapterReplicas: 1
334 onosReplicas: 1
335 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700336 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700337 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700338 volthaSystemTestsChange: ''
339 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700340 inMemoryEtcdStorage: true
Matteo Scandolo393add12020-05-08 18:03:17 -0700341
Matteo Scandolo272aed42020-05-08 15:05:57 -0700342 parameters:
343 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700344 name: release
345 default: '{release}'
346 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
347
348 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700349 name: buildNode
350 default: '{build-node}'
351 description: 'Name of the Jenkins node to run the job on'
352
353 - string:
354 name: logLevel
355 default: 'WARN'
356 description: 'Log level for all the components'
357
358 - string:
359 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700360 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700361 description: 'Number of ONUs to provision'
362
363 - string:
364 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700365 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700366 description: 'Number of PONs to provision'
367
368 - string:
369 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700370 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700371 description: 'How many BBSim instances to run'
372
373 - string:
374 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700375 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700376 description: 'Which workflow are we testing (att, dt, tt)'
377
378 - bool:
379 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700380 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700381 description: 'Wheter to push flows from ONOS'
382
383 - bool:
384 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700385 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700386 description: 'Wheter to provision subscribers durint the tests'
387
388 - bool:
389 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700390 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700391 description: 'Wheter EAPOL is enabled for the test'
392
393 - bool:
394 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700395 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700396 description: 'Wheter DHCP is enabled for the test'
397
398 - bool:
399 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700400 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700401 description: 'Wheter IGMP is enabled for the test'
402
403 - bool:
404 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700405 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700406 description: 'Wheter Link Discovery is enabled for the test'
407
408 - bool:
409 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700410 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700411 description: 'Option to trigger MIB template command'
412
413 - bool:
414 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700415 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700416 description: 'Option to install Prometheus'
417
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700418 - bool:
419 name: withProfiling
420 default: '{withProfiling}'
421 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
422
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700423 - bool:
424 name: withPcap
425 default: '{withPcap}'
426 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
427
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700428 - string:
429 name: extraHelmFlags
430 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700431 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 -0700432
Matteo Scandolo272aed42020-05-08 15:05:57 -0700433 - string:
434 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700435 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700436 description: 'How many OpenONU adapter instances to run'
437
438 - string:
439 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700440 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700441 description: 'How many ONOSes instances to run'
442
443 - string:
444 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700445 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700446 description: 'How many Atomix instances to run'
447
448 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700449 name: onosStatInterval
450 default: '{onosStatInterval}'
451 description: 'How often ONOS should poll for ports, flows and meters'
452
453 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700454 name: bbsimImg
455 default: '{bbsimImg}'
456 description: 'Custom image selection for BBSIM (repo:tag)'
457
458 - string:
459 name: bbsimChart
460 default: '{bbsimChart}'
461 description: 'BBSim chart name (or location on file system)'
462
463 - string:
464 name: rwCoreImg
465 default: '{rwCoreImg}'
466 description: 'Custom image selection for VOLTHA (repo:tag)'
467
468 - string:
469 name: ofAgentImg
470 default: '{ofAgentImg}'
471 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
472
473 - string:
474 name: volthaChart
475 default: '{volthaChart}'
476 description: 'VOLTHA chart name (or location on file system)'
477
478 - string:
479 name: openoltAdapterImg
480 default: '{openoltAdapterImg}'
481 description: 'Custom image selection for Openolt Adapter (repo:tag)'
482
483 - string:
484 name: openoltAdapterChart
485 default: '{openoltAdapterChart}'
486 description: 'OpenOLT chart name (or location on file system)'
487
488 - string:
489 name: openonuAdapterImg
490 default: '{openonuAdapterImg}'
491 description: 'Custom image selection for Openonu Adapter (repo:tag)'
492
493 - string:
494 name: openonuAdapterChart
495 default: '{openonuAdapterChart}'
496 description: 'OpenONU chart name (or location on file system)'
497
498 - string:
499 name: onosImg
500 default: '{onosImg}'
501 description: 'Custom image selection for Openonu Adapter (repo:tag)'
502
503 - string:
504 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700505 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700506 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
507
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700508 - string:
509 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700510 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700511 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
512
Matteo Scandoloccc06192020-06-22 10:16:17 -0700513 - bool:
514 name: inMemoryEtcdStorage
515 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700516 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700517
Matteo Scandolo272aed42020-05-08 15:05:57 -0700518 project-type: pipeline
519 concurrent: false
520
521 dsl: !include-raw-escape: pipeline/{pipeline-script}
522
Matteo Scandoloabb83972020-06-25 16:08:23 -0700523 triggers:
524 - timed: |
525 TZ=America/Los_Angeles
526 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700527
528- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700529 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800530 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700531 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800532
533 description: |
534 <!-- Managed by Jenkins Job Builder -->
535 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
536 Using pipeline {pipeline-script} <br/><br/>
537 Scale measurements for VOLTHA 2.x
538
539 properties:
540 - cord-infra-properties:
541 build-days-to-keep: '{build-days-to-keep}'
542 artifact-num-to-keep: '{artifact-num-to-keep}'
543
544 wrappers:
545 - lf-infra-wrappers:
546 build-timeout: '{build-timeout}'
547 jenkins-ssh-credential: '{jenkins-ssh-credential}'
548
Matteo Scandolo0430f672020-05-07 11:50:26 -0700549 # default values
550 bbsimImg: voltha/bbsim:master
551 rwCoreImg: voltha/voltha-rw-core:master
552 ofAgentImg: voltha/voltha-ofagent-go:master
553 openoltAdapterImg: voltha/voltha-openolt-adapter:master
554 openonuAdapterImg: voltha/voltha-openonu-adapter:master
555 onosImg: voltha/voltha-onos:master
556
557 bbsimChart: onf/bbsim
558 volthaChart: onf/voltha
559 openoltAdapterChart: onf/voltha-adapter-openolt
560 openonuAdapterChart: onf/voltha-adapter-openonu
561
Matteo Scandolo51b76302020-02-05 12:07:23 -0800562 parameters:
563 - string:
564 name: buildNode
565 default: '{build-node}'
566 description: 'Name of the Jenkins node to run the job on'
567
568 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700569 name: logLevel
570 default: 'WARN'
571 description: 'Log level for all the components'
572
573 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700574 name: onus
575 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800576 description: 'Number of ONUs to provision'
577
578 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700579 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700580 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800581 description: 'Number of PONs to provision'
582
Matteo Scandolo0430f672020-05-07 11:50:26 -0700583 - string:
584 name: olts
585 default: 2
586 description: 'How many BBSim instances to run'
587
588 - string:
589 name: workflow
590 default: att
591 description: 'Which workflow are we testing (att, dt, tt)'
592
593 - bool:
594 name: withFlows
595 default: false
596 description: 'Wheter to push flows from ONOS'
597
598 - bool:
599 name: provisionSubscribers
600 default: false
601 description: 'Wheter to provision subscribers durint the tests'
602
603 - bool:
604 name: withEapol
605 default: true
606 description: 'Wheter EAPOL is enabled for the test'
607
608 - bool:
609 name: withDhcp
610 default: true
611 description: 'Wheter DHCP is enabled for the test'
612
613 - bool:
614 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700615 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700616 description: 'Wheter IGMP is enabled for the test'
617
618 - bool:
619 name: withLLDP
620 default: false
621 description: 'Wheter Link Discovery is enabled for the test'
622
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800623 - bool:
624 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700625 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800626 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800627
Matteo Scandolo0430f672020-05-07 11:50:26 -0700628 - bool:
629 name: withMonitoring
630 default: true
631 description: 'Option to install Prometheus'
632
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700633 - bool:
634 name: withProfiling
635 default: false
636 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
637
638 - string:
639 name: extraHelmFlags
640 default: ' '
641 description: 'Any extra helm parameters you want (passed to every helm install command)'
642
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800643 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700644 name: openonuAdapterReplicas
645 default: 1
646 description: 'How many OpenONU adapter instances to run'
647
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700648 # 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 -0700649 - string:
650 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700651 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700652 description: 'How many ONOSes instances to run'
653
654 - string:
655 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700656 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700657 description: 'How many Atomix instances to run'
658
659 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700660 name: onosStatInterval
661 default: 5
662 description: 'How often ONOS should poll for ports, flows and meters'
663
664 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700665 name: bbsimImg
666 default: '{bbsimImg}'
667 description: 'Custom image selection for BBSIM (repo:tag)'
668
669 - string:
670 name: bbsimChart
671 default: '{bbsimChart}'
672 description: 'BBSim chart name (or location on file system)'
673
674 - string:
675 name: rwCoreImg
676 default: '{rwCoreImg}'
677 description: 'Custom image selection for VOLTHA (repo:tag)'
678
679 - string:
680 name: ofAgentImg
681 default: '{ofAgentImg}'
682 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
683
684 - string:
685 name: volthaChart
686 default: '{volthaChart}'
687 description: 'VOLTHA chart name (or location on file system)'
688
689 - string:
690 name: openoltAdapterImg
691 default: '{openoltAdapterImg}'
692 description: 'Custom image selection for Openolt Adapter (repo:tag)'
693
694 - string:
695 name: openoltAdapterChart
696 default: '{openoltAdapterChart}'
697 description: 'OpenOLT chart name (or location on file system)'
698
699 - string:
700 name: openonuAdapterImg
701 default: '{openonuAdapterImg}'
702 description: 'Custom image selection for Openonu Adapter (repo:tag)'
703
704 - string:
705 name: openonuAdapterChart
706 default: '{openonuAdapterChart}'
707 description: 'OpenONU chart name (or location on file system)'
708
709 - string:
710 name: onosImg
711 default: '{onosImg}'
712 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700713
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700714 - string:
715 name: volthaSystemTestsChange
716 default: ''
717 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
718
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700719 - string:
720 name: kindVolthaChange
721 default: ''
722 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
723
Matteo Scandolo51b76302020-02-05 12:07:23 -0800724 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800725 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800726
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700727 dsl: !include-raw-escape: pipeline/{pipeline-script}