blob: 35e9410a77717c05eb8ad884e988572bb8233dce [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>
Matteo Scandolo3136cca2020-05-15 14:14:27 -070011
Shrey Baid765fb942020-07-06 19:02:57 +053012 # jobs for 64 ONUs with a 1 openonu-adapter
13 - 'voltha-scale-measurements':
14 name: 'voltha-openonu-go-scale-measurements-master-1-2-32-activation'
15 build-node: 'onf-pod1-head-node'
16 time-trigger: "H H/4 * * *"
17 olts: 1
18 pons: 2
19 onus: 32
20 withFlows: false
21 provisionSubscribers: false
22 withEapol: false
23 withDhcp: false
24 withIgmp: false
25 openonuAdapterReplicas: 1
26 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
27 extraHelmFlags: '--set use_openonu_adapter_go=true'
28
29 - 'voltha-scale-measurements':
30 name: 'voltha-openonu-scale-measurements-master-1-2-32-activation'
31 build-node: 'onf-pod1-head-node'
32 time-trigger: "H H/4 * * *"
33 olts: 1
34 pons: 2
35 onus: 32
36 withFlows: false
37 provisionSubscribers: false
38 withEapol: false
39 withDhcp: false
40 withIgmp: false
41 openonuAdapterReplicas: 1
42 openonuAdapterImg: voltha/voltha-openonu-adapter:master
43
Matteo Scandolo7dc5b452020-07-27 07:36:11 -070044 # jobs for 256 ONUs with a 1 openonu-adapter
45 - 'voltha-scale-measurements':
46 name: 'voltha-openonu-go-scale-measurements-master-1-8-32-activation'
47 build-node: 'onf-pod1-head-node'
48 time-trigger: "H H/4 * * *"
49 olts: 1
50 pons: 8
51 onus: 32
52 withFlows: false
53 provisionSubscribers: false
54 withEapol: false
55 withDhcp: false
56 withIgmp: false
57 openonuAdapterReplicas: 1
58 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
59 extraHelmFlags: '--set use_openonu_adapter_go=true'
60
61 - 'voltha-scale-measurements':
62 name: 'voltha-openonu-scale-measurements-master-1-8-32-activation'
63 build-node: 'onf-pod1-head-node'
64 time-trigger: "H H/4 * * *"
65 olts: 1
66 pons: 8
67 onus: 32
68 withFlows: false
69 provisionSubscribers: false
70 withEapol: false
71 withDhcp: false
72 withIgmp: false
73 openonuAdapterReplicas: 1
74 openonuAdapterImg: voltha/voltha-openonu-adapter:master
75
Matteo Scandolob46bc402020-06-11 13:59:44 -070076 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070077 name: 'voltha-scale-measurements-master-1-16-32-activation'
Matteo Scandolob46bc402020-06-11 13:59:44 -070078 build-node: 'onf-pod1-head-node'
79 time-trigger: "H H/4 * * *"
80 olts: 1
81 pons: 16
82 onus: 32
83 withFlows: false
84 provisionSubscribers: false
85 withEapol: false
86 withDhcp: false
87 withIgmp: false
88 openonuAdapterReplicas: 8
89 onosReplicas: 3
90 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -070091
Matteo Scandolo272aed42020-05-08 15:05:57 -070092 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070093 name: 'voltha-scale-measurements-master-1-16-32-att-flows'
Matteo Scandolo272aed42020-05-08 15:05:57 -070094 build-node: 'onf-pod1-head-node'
95 time-trigger: "H H/4 * * *"
96 olts: 1
97 pons: 16
98 onus: 32
99 withFlows: true
100 provisionSubscribers: false
101 withEapol: true
102 withDhcp: true
103 withIgmp: false
104 openonuAdapterReplicas: 8
105 onosReplicas: 3
106 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700107 extraHelmFlags: '--set auth=false '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700108
109 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700110 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700111 build-node: 'onf-pod1-head-node'
112 time-trigger: "H H/4 * * *"
113 olts: 1
114 pons: 16
115 onus: 32
116 withFlows: true
117 provisionSubscribers: true
118 withEapol: true
119 withDhcp: true
120 withIgmp: false
121 openonuAdapterReplicas: 8
122 onosReplicas: 3
123 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700124 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700125
126 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
127 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700128 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700129 build-node: 'onf-pod1-head-node'
130 time-trigger: "H H/4 * * *"
131 olts: 1
132 pons: 16
133 onus: 32
134 withFlows: true
135 provisionSubscribers: true
136 workflow: dt
137 withEapol: false
138 withDhcp: false
139 withIgmp: false
140 openonuAdapterReplicas: 8
141 onosReplicas: 3
142 atomixReplicas: 3
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200143
Matteo Scandolo272aed42020-05-08 15:05:57 -0700144 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700145 - 'voltha-scale-measurements':
146 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700147 name: 'voltha-scale-measurements-master-2-16-32-activation'
Matteo Scandolocb726432020-06-01 08:49:14 -0700148 build-node: 'onf-pod1-head-node'
149 time-trigger: "H H/4 * * *"
150 olts: 2
151 pons: 16
152 onus: 32
153 withFlows: false
154 provisionSubscribers: false
155 withEapol: false
156 withDhcp: false
157 withIgmp: false
158 openonuAdapterReplicas: 8
159 onosReplicas: 3
160 atomixReplicas: 3
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700161
Matteo Scandolocb726432020-06-01 08:49:14 -0700162 - 'voltha-scale-measurements':
163 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700164 name: 'voltha-scale-measurements-master-2-16-32-att-flows'
Matteo Scandolocb726432020-06-01 08:49:14 -0700165 build-node: 'onf-pod1-head-node'
166 time-trigger: "H H/4 * * *"
167 olts: 2
168 pons: 16
169 onus: 32
170 withFlows: true
171 provisionSubscribers: false
172 withEapol: true
173 withDhcp: true
174 withIgmp: false
175 openonuAdapterReplicas: 8
176 onosReplicas: 3
177 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700178 extraHelmFlags: '--set auth=false '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700179
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700180 - 'voltha-scale-measurements':
181 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700182 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700183 build-node: 'onf-pod1-head-node'
184 time-trigger: "H H/4 * * *"
185 olts: 2
186 pons: 16
187 onus: 32
188 withFlows: true
189 provisionSubscribers: true
190 withEapol: true
191 withDhcp: true
192 withIgmp: false
193 openonuAdapterReplicas: 8
194 onosReplicas: 3
195 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700196 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700197
198 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
199 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700200 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700201 build-node: 'onf-pod1-head-node'
202 time-trigger: "H H/4 * * *"
203 olts: 2
204 pons: 16
205 onus: 32
206 withFlows: true
207 provisionSubscribers: true
208 workflow: dt
209 withEapol: false
210 withDhcp: false
211 withIgmp: false
212 openonuAdapterReplicas: 8
213 onosReplicas: 3
214 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700215 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo272aed42020-05-08 15:05:57 -0700216
Matteo Scandolod43064b2020-07-13 17:18:45 -0700217 # voltha-2.4 Jobs
218 - 'voltha-scale-measurements':
Matteo Scandolo5055e4e2020-07-14 10:10:38 -0700219 name: 'voltha-scale-measurements-voltha-2.4-1-16-32-att-subscribers'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700220 build-node: 'onf-pod1-head-node'
221 time-trigger: "H H/4 * * *"
222 olts: 1
223 pons: 16
224 onus: 32
225 withFlows: true
226 provisionSubscribers: true
227 withEapol: true
228 withDhcp: true
229 withIgmp: false
230 openonuAdapterReplicas: 8
231 onosReplicas: 3
232 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700233 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700234 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200235 karafHome: apache-karaf-4.2.8
Matteo Scandolod43064b2020-07-13 17:18:45 -0700236
237 - 'voltha-scale-measurements':
238 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
239 build-node: 'onf-pod1-head-node'
240 time-trigger: "H H/4 * * *"
241 olts: 2
242 pons: 16
243 onus: 32
244 withFlows: true
245 provisionSubscribers: true
246 workflow: dt
247 withEapol: false
248 withDhcp: false
249 withIgmp: false
250 openonuAdapterReplicas: 8
251 onosReplicas: 3
252 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700253 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700254 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200255 karafHome: apache-karaf-4.2.8
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700256
Matteo Scandolo272aed42020-05-08 15:05:57 -0700257 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700258 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700259 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700260 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700261 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700262
Matteo Scandolo51b76302020-02-05 12:07:23 -0800263
264- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700265 id: 'voltha-scale-measurements'
266 name: '{name}'
267 pipeline-script: 'voltha-scale-test.groovy'
268
269 description: |
270 <!-- Managed by Jenkins Job Builder -->
271 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
272 Using pipeline {pipeline-script} <br/><br/>
273 Scale measurements for VOLTHA 2.x
274
275 properties:
276 - cord-infra-properties:
277 build-days-to-keep: '{build-days-to-keep}'
278 artifact-num-to-keep: '{artifact-num-to-keep}'
279
280 wrappers:
281 - lf-infra-wrappers:
282 build-timeout: '{build-timeout}'
283 jenkins-ssh-credential: '{jenkins-ssh-credential}'
284
285 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700286 release: master
287
Matteo Scandolo272aed42020-05-08 15:05:57 -0700288 bbsimImg: voltha/bbsim:master
289 rwCoreImg: voltha/voltha-rw-core:master
290 ofAgentImg: voltha/voltha-ofagent-go:master
291 openoltAdapterImg: voltha/voltha-openolt-adapter:master
292 openonuAdapterImg: voltha/voltha-openonu-adapter:master
293 onosImg: voltha/voltha-onos:master
294
295 bbsimChart: onf/bbsim
296 volthaChart: onf/voltha
297 openoltAdapterChart: onf/voltha-adapter-openolt
298 openonuAdapterChart: onf/voltha-adapter-openonu
299
Matteo Scandolo393add12020-05-08 18:03:17 -0700300 olts: 2
301 pons: 2
302 onus: 2
303 workflow: att
304 withFlows: false
305 provisionSubscribers: false
306 withEapol: true
307 withDhcp: true
308 withIgmp: false
309 withLLDP: false
310 withMibTemplate: true
311 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700312 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700313 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700314 openonuAdapterReplicas: 1
315 onosReplicas: 1
316 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700317 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700318 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700319 volthaSystemTestsChange: ''
320 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700321 inMemoryEtcdStorage: true
Matteo Scandolo393add12020-05-08 18:03:17 -0700322
Matteo Scandolo272aed42020-05-08 15:05:57 -0700323 parameters:
324 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700325 name: release
326 default: '{release}'
327 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
328
329 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700330 name: buildNode
331 default: '{build-node}'
332 description: 'Name of the Jenkins node to run the job on'
333
334 - string:
335 name: logLevel
336 default: 'WARN'
337 description: 'Log level for all the components'
338
339 - string:
340 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700341 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700342 description: 'Number of ONUs to provision'
343
344 - string:
345 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700346 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700347 description: 'Number of PONs to provision'
348
349 - string:
350 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700351 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700352 description: 'How many BBSim instances to run'
353
354 - string:
355 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700356 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700357 description: 'Which workflow are we testing (att, dt, tt)'
358
359 - bool:
360 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700361 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700362 description: 'Wheter to push flows from ONOS'
363
364 - bool:
365 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700366 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700367 description: 'Wheter to provision subscribers durint the tests'
368
369 - bool:
370 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700371 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700372 description: 'Wheter EAPOL is enabled for the test'
373
374 - bool:
375 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700376 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700377 description: 'Wheter DHCP is enabled for the test'
378
379 - bool:
380 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700381 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700382 description: 'Wheter IGMP is enabled for the test'
383
384 - bool:
385 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700386 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700387 description: 'Wheter Link Discovery is enabled for the test'
388
389 - bool:
390 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700391 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700392 description: 'Option to trigger MIB template command'
393
394 - bool:
395 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700396 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700397 description: 'Option to install Prometheus'
398
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700399 - bool:
400 name: withProfiling
401 default: '{withProfiling}'
402 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
403
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700404 - bool:
405 name: withPcap
406 default: '{withPcap}'
407 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
408
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700409 - string:
410 name: extraHelmFlags
411 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700412 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 -0700413
Matteo Scandolo272aed42020-05-08 15:05:57 -0700414 - string:
415 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700416 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700417 description: 'How many OpenONU adapter instances to run'
418
419 - string:
420 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700421 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700422 description: 'How many ONOSes instances to run'
423
424 - string:
425 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700426 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700427 description: 'How many Atomix instances to run'
428
429 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700430 name: onosStatInterval
431 default: '{onosStatInterval}'
432 description: 'How often ONOS should poll for ports, flows and meters'
433
434 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700435 name: bbsimImg
436 default: '{bbsimImg}'
437 description: 'Custom image selection for BBSIM (repo:tag)'
438
439 - string:
440 name: bbsimChart
441 default: '{bbsimChart}'
442 description: 'BBSim chart name (or location on file system)'
443
444 - string:
445 name: rwCoreImg
446 default: '{rwCoreImg}'
447 description: 'Custom image selection for VOLTHA (repo:tag)'
448
449 - string:
450 name: ofAgentImg
451 default: '{ofAgentImg}'
452 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
453
454 - string:
455 name: volthaChart
456 default: '{volthaChart}'
457 description: 'VOLTHA chart name (or location on file system)'
458
459 - string:
460 name: openoltAdapterImg
461 default: '{openoltAdapterImg}'
462 description: 'Custom image selection for Openolt Adapter (repo:tag)'
463
464 - string:
465 name: openoltAdapterChart
466 default: '{openoltAdapterChart}'
467 description: 'OpenOLT chart name (or location on file system)'
468
469 - string:
470 name: openonuAdapterImg
471 default: '{openonuAdapterImg}'
472 description: 'Custom image selection for Openonu Adapter (repo:tag)'
473
474 - string:
475 name: openonuAdapterChart
476 default: '{openonuAdapterChart}'
477 description: 'OpenONU chart name (or location on file system)'
478
479 - string:
480 name: onosImg
481 default: '{onosImg}'
482 description: 'Custom image selection for Openonu Adapter (repo:tag)'
483
484 - string:
485 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700486 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700487 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
488
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700489 - string:
490 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700491 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700492 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
493
Matteo Scandoloccc06192020-06-22 10:16:17 -0700494 - bool:
495 name: inMemoryEtcdStorage
496 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700497 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700498
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200499 - string:
500 name: karafHome
501 default: '{karaf-home}'
502 description: 'Karaf home'
503
Matteo Scandolo272aed42020-05-08 15:05:57 -0700504 project-type: pipeline
505 concurrent: false
506
507 dsl: !include-raw-escape: pipeline/{pipeline-script}
508
Matteo Scandoloabb83972020-06-25 16:08:23 -0700509 triggers:
510 - timed: |
511 TZ=America/Los_Angeles
512 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700513
514- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700515 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800516 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700517 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800518
519 description: |
520 <!-- Managed by Jenkins Job Builder -->
521 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
522 Using pipeline {pipeline-script} <br/><br/>
523 Scale measurements for VOLTHA 2.x
524
525 properties:
526 - cord-infra-properties:
527 build-days-to-keep: '{build-days-to-keep}'
528 artifact-num-to-keep: '{artifact-num-to-keep}'
529
530 wrappers:
531 - lf-infra-wrappers:
532 build-timeout: '{build-timeout}'
533 jenkins-ssh-credential: '{jenkins-ssh-credential}'
534
Matteo Scandolo0430f672020-05-07 11:50:26 -0700535 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700536 release: master
537
Matteo Scandolo0430f672020-05-07 11:50:26 -0700538 bbsimImg: voltha/bbsim:master
539 rwCoreImg: voltha/voltha-rw-core:master
540 ofAgentImg: voltha/voltha-ofagent-go:master
541 openoltAdapterImg: voltha/voltha-openolt-adapter:master
542 openonuAdapterImg: voltha/voltha-openonu-adapter:master
543 onosImg: voltha/voltha-onos:master
544
545 bbsimChart: onf/bbsim
546 volthaChart: onf/voltha
547 openoltAdapterChart: onf/voltha-adapter-openolt
548 openonuAdapterChart: onf/voltha-adapter-openonu
549
Matteo Scandolo68776b72020-07-21 14:06:06 -0700550 olts: 2
551 pons: 2
552 onus: 2
553 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700554 withFlows: true
555 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700556 withEapol: true
557 withDhcp: true
558 withIgmp: false
559 withLLDP: false
560 withMibTemplate: true
561 withMonitoring: true
562 withProfiling: false
563 withPcap: false
564 openonuAdapterReplicas: 1
565 onosReplicas: 1
566 atomixReplicas: 0
567 extraHelmFlags: ''
568 onosStatInterval: 5
569 volthaSystemTestsChange: ''
570 kindVolthaChange: ''
571 inMemoryEtcdStorage: true
572
Matteo Scandolo51b76302020-02-05 12:07:23 -0800573 parameters:
574 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700575 name: release
576 default: '{release}'
577 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
578
579 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800580 name: buildNode
581 default: '{build-node}'
582 description: 'Name of the Jenkins node to run the job on'
583
584 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700585 name: logLevel
586 default: 'WARN'
587 description: 'Log level for all the components'
588
589 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700590 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700591 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800592 description: 'Number of ONUs to provision'
593
594 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700595 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700596 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800597 description: 'Number of PONs to provision'
598
Matteo Scandolo0430f672020-05-07 11:50:26 -0700599 - string:
600 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700601 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700602 description: 'How many BBSim instances to run'
603
604 - string:
605 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700606 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700607 description: 'Which workflow are we testing (att, dt, tt)'
608
609 - bool:
610 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700611 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700612 description: 'Wheter to push flows from ONOS'
613
614 - bool:
615 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700616 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700617 description: 'Wheter to provision subscribers durint the tests'
618
619 - bool:
620 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700621 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700622 description: 'Wheter EAPOL is enabled for the test'
623
624 - bool:
625 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700626 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700627 description: 'Wheter DHCP is enabled for the test'
628
629 - bool:
630 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700631 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700632 description: 'Wheter IGMP is enabled for the test'
633
634 - bool:
635 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700636 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700637 description: 'Wheter Link Discovery is enabled for the test'
638
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800639 - bool:
640 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700641 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800642 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800643
Matteo Scandolo0430f672020-05-07 11:50:26 -0700644 - bool:
645 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700646 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700647 description: 'Option to install Prometheus'
648
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700649 - bool:
650 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700651 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700652 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
653
Matteo Scandolo68776b72020-07-21 14:06:06 -0700654 - bool:
655 name: withPcap
656 default: '{withPcap}'
657 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
658
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700659 - string:
660 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700661 default: '{extraHelmFlags}'
662 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 -0700663
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800664 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700665 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700666 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700667 description: 'How many OpenONU adapter instances to run'
668
669 - string:
670 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700671 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700672 description: 'How many ONOSes instances to run'
673
674 - string:
675 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700676 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700677 description: 'How many Atomix instances to run'
678
679 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700680 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700681 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700682 description: 'How often ONOS should poll for ports, flows and meters'
683
684 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700685 name: bbsimImg
686 default: '{bbsimImg}'
687 description: 'Custom image selection for BBSIM (repo:tag)'
688
689 - string:
690 name: bbsimChart
691 default: '{bbsimChart}'
692 description: 'BBSim chart name (or location on file system)'
693
694 - string:
695 name: rwCoreImg
696 default: '{rwCoreImg}'
697 description: 'Custom image selection for VOLTHA (repo:tag)'
698
699 - string:
700 name: ofAgentImg
701 default: '{ofAgentImg}'
702 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
703
704 - string:
705 name: volthaChart
706 default: '{volthaChart}'
707 description: 'VOLTHA chart name (or location on file system)'
708
709 - string:
710 name: openoltAdapterImg
711 default: '{openoltAdapterImg}'
712 description: 'Custom image selection for Openolt Adapter (repo:tag)'
713
714 - string:
715 name: openoltAdapterChart
716 default: '{openoltAdapterChart}'
717 description: 'OpenOLT chart name (or location on file system)'
718
719 - string:
720 name: openonuAdapterImg
721 default: '{openonuAdapterImg}'
722 description: 'Custom image selection for Openonu Adapter (repo:tag)'
723
724 - string:
725 name: openonuAdapterChart
726 default: '{openonuAdapterChart}'
727 description: 'OpenONU chart name (or location on file system)'
728
729 - string:
730 name: onosImg
731 default: '{onosImg}'
732 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700733
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700734 - string:
735 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700736 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700737 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
738
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700739 - string:
740 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700741 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700742 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
743
Matteo Scandolo68776b72020-07-21 14:06:06 -0700744 - bool:
745 name: inMemoryEtcdStorage
746 default: '{inMemoryEtcdStorage}'
747 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
748
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200749 - string:
750 name: karafHome
751 default: '{karaf-home}'
752 description: 'Karaf home'
753
Matteo Scandolo51b76302020-02-05 12:07:23 -0800754 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800755 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800756
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700757 dsl: !include-raw-escape: pipeline/{pipeline-script}