blob: 6207bad79d9571a5bca436ef3987fbdbe175f09b [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':
13 # name: 'voltha-scale-measurements-1-2-32-activation-no-mib'
14 # 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':
28 # name: 'voltha-scale-measurements-1-10-20-activation'
29 # 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':
40 # name: 'voltha-scale-measurements-1-10-20-att-flows'
41 # 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':
53 # name: 'voltha-scale-measurements-1-10-20-att-subscribers'
54 # 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':
65 # name: 'voltha-scale-measurements-1-10-20-att-subscribers-profiled'
66 # 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':
84 # name: 'voltha-scale-measurements-1-10-20-dt-subscribers'
85 # 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':
99 name: 'voltha-scale-measurements-1-16-32-activation'
100 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 '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700114 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
115 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700116 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloa2a7d712020-06-18 07:59:18 -0700117 onosImg: andreacampanella/voltha-onos:onos-extended-timeouts
Matteo Scandolob46bc402020-06-11 13:59:44 -0700118
Matteo Scandolo272aed42020-05-08 15:05:57 -0700119 - 'voltha-scale-measurements':
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700120 name: 'voltha-scale-measurements-1-16-32-att-flows'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700121 build-node: 'onf-pod1-head-node'
122 time-trigger: "H H/4 * * *"
123 olts: 1
124 pons: 16
125 onus: 32
126 withFlows: true
127 provisionSubscribers: false
128 withEapol: true
129 withDhcp: true
130 withIgmp: false
131 openonuAdapterReplicas: 8
132 onosReplicas: 3
133 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700134 extraHelmFlags: '--set auth=false --set limits.memory=8192Mi '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700135 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
136 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700137 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloa2a7d712020-06-18 07:59:18 -0700138 onosImg: andreacampanella/voltha-onos:onos-extended-timeouts
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700139
140 - 'voltha-scale-measurements':
141 name: 'voltha-scale-measurements-1-16-32-att-subscribers'
142 build-node: 'onf-pod1-head-node'
143 time-trigger: "H H/4 * * *"
144 olts: 1
145 pons: 16
146 onus: 32
147 withFlows: true
148 provisionSubscribers: true
149 withEapol: true
150 withDhcp: true
151 withIgmp: false
152 openonuAdapterReplicas: 8
153 onosReplicas: 3
154 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700155 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700156 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
157 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700158 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloa2a7d712020-06-18 07:59:18 -0700159 onosImg: andreacampanella/voltha-onos:onos-extended-timeouts
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700160
161 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
162 - 'voltha-scale-measurements':
163 name: 'voltha-scale-measurements-1-16-32-dt-subscribers'
164 build-node: 'onf-pod1-head-node'
165 time-trigger: "H H/4 * * *"
166 olts: 1
167 pons: 16
168 onus: 32
169 withFlows: true
170 provisionSubscribers: true
171 workflow: dt
172 withEapol: false
173 withDhcp: false
174 withIgmp: false
175 openonuAdapterReplicas: 8
176 onosReplicas: 3
177 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700178 extraHelmFlags: '--set limits.memory=8192Mi '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700179 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
180 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700181 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloa2a7d712020-06-18 07:59:18 -0700182 onosImg: andreacampanella/voltha-onos:onos-extended-timeouts
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200183
Matteo Scandolo272aed42020-05-08 15:05:57 -0700184 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700185 - 'voltha-scale-measurements':
186 disabled: true
187 name: 'voltha-scale-measurements-2-16-32-activation'
188 build-node: 'onf-pod1-head-node'
189 time-trigger: "H H/4 * * *"
190 olts: 2
191 pons: 16
192 onus: 32
193 withFlows: false
194 provisionSubscribers: false
195 withEapol: false
196 withDhcp: false
197 withIgmp: false
198 openonuAdapterReplicas: 8
199 onosReplicas: 3
200 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700201 extraHelmFlags: '--set limits.memory=8192Mi '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700202 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
203 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700204 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloa2a7d712020-06-18 07:59:18 -0700205 onosImg: andreacampanella/voltha-onos:onos-extended-timeouts
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700206
Matteo Scandolocb726432020-06-01 08:49:14 -0700207 - 'voltha-scale-measurements':
208 disabled: true
209 name: 'voltha-scale-measurements-2-16-32-att-flows'
210 build-node: 'onf-pod1-head-node'
211 time-trigger: "H H/4 * * *"
212 olts: 2
213 pons: 16
214 onus: 32
215 withFlows: true
216 provisionSubscribers: false
217 withEapol: true
218 withDhcp: true
219 withIgmp: false
220 openonuAdapterReplicas: 8
221 onosReplicas: 3
222 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700223 extraHelmFlags: '--set limits.memory=8192Mi --set auth=false '
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700224 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
225 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700226 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloa2a7d712020-06-18 07:59:18 -0700227 onosImg: andreacampanella/voltha-onos:onos-extended-timeouts
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700228
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700229 - 'voltha-scale-measurements':
230 disabled: true
231 name: 'voltha-scale-measurements-2-16-32-att-subscribers'
232 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 withEapol: true
240 withDhcp: true
241 withIgmp: false
242 openonuAdapterReplicas: 8
243 onosReplicas: 3
244 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700245 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700246 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
247 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700248 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloa2a7d712020-06-18 07:59:18 -0700249 onosImg: andreacampanella/voltha-onos:onos-extended-timeouts
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700250
251 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
252 - 'voltha-scale-measurements':
253 name: 'voltha-scale-measurements-2-16-32-dt-subscribers'
254 build-node: 'onf-pod1-head-node'
255 time-trigger: "H H/4 * * *"
256 olts: 2
257 pons: 16
258 onus: 32
259 withFlows: true
260 provisionSubscribers: true
261 workflow: dt
262 withEapol: false
263 withDhcp: false
264 withIgmp: false
265 openonuAdapterReplicas: 8
266 onosReplicas: 3
267 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700268 extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s'
Matteo Scandolo9093cbd2020-06-16 17:58:16 -0700269 openonuAdapterImg: matteoscandolo/voltha-openonu-adapter:adopt-retry
270 rwCoreImg: matteoscandolo/voltha-rw-core:flow-remove-log
Matteo Scandolo7b897362020-06-17 12:22:48 -0700271 ofAgentImg: matteoscandolo/voltha-ofagent-go:flow-remove-log
Matteo Scandoloa2a7d712020-06-18 07:59:18 -0700272 onosImg: andreacampanella/voltha-onos:onos-extended-timeouts
Matteo Scandolo272aed42020-05-08 15:05:57 -0700273
274 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700275 - 'voltha-scale-measurements-dev':
276 name: 'voltha-scale-measurements-dev'
277 build-node: 'voltha-scale'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700278
Matteo Scandolo51b76302020-02-05 12:07:23 -0800279
280- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700281 id: 'voltha-scale-measurements'
282 name: '{name}'
283 pipeline-script: 'voltha-scale-test.groovy'
284
285 description: |
286 <!-- Managed by Jenkins Job Builder -->
287 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
288 Using pipeline {pipeline-script} <br/><br/>
289 Scale measurements for VOLTHA 2.x
290
291 properties:
292 - cord-infra-properties:
293 build-days-to-keep: '{build-days-to-keep}'
294 artifact-num-to-keep: '{artifact-num-to-keep}'
295
296 wrappers:
297 - lf-infra-wrappers:
298 build-timeout: '{build-timeout}'
299 jenkins-ssh-credential: '{jenkins-ssh-credential}'
300
301 # default values
302 bbsimImg: voltha/bbsim:master
303 rwCoreImg: voltha/voltha-rw-core:master
304 ofAgentImg: voltha/voltha-ofagent-go:master
305 openoltAdapterImg: voltha/voltha-openolt-adapter:master
306 openonuAdapterImg: voltha/voltha-openonu-adapter:master
307 onosImg: voltha/voltha-onos:master
308
309 bbsimChart: onf/bbsim
310 volthaChart: onf/voltha
311 openoltAdapterChart: onf/voltha-adapter-openolt
312 openonuAdapterChart: onf/voltha-adapter-openonu
313
Matteo Scandolo393add12020-05-08 18:03:17 -0700314 olts: 2
315 pons: 2
316 onus: 2
317 workflow: att
318 withFlows: false
319 provisionSubscribers: false
320 withEapol: true
321 withDhcp: true
322 withIgmp: false
323 withLLDP: false
324 withMibTemplate: true
325 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700326 withProfiling: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700327 openonuAdapterReplicas: 1
328 onosReplicas: 1
329 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700330 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700331 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700332 volthaSystemTestsChange: ''
333 kindVolthaChange: ''
Matteo Scandolo393add12020-05-08 18:03:17 -0700334
Matteo Scandolo272aed42020-05-08 15:05:57 -0700335 parameters:
336 - string:
337 name: buildNode
338 default: '{build-node}'
339 description: 'Name of the Jenkins node to run the job on'
340
341 - string:
342 name: logLevel
343 default: 'WARN'
344 description: 'Log level for all the components'
345
346 - string:
347 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700348 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700349 description: 'Number of ONUs to provision'
350
351 - string:
352 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700353 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700354 description: 'Number of PONs to provision'
355
356 - string:
357 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700358 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700359 description: 'How many BBSim instances to run'
360
361 - string:
362 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700363 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700364 description: 'Which workflow are we testing (att, dt, tt)'
365
366 - bool:
367 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700368 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700369 description: 'Wheter to push flows from ONOS'
370
371 - bool:
372 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700373 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700374 description: 'Wheter to provision subscribers durint the tests'
375
376 - bool:
377 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700378 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700379 description: 'Wheter EAPOL is enabled for the test'
380
381 - bool:
382 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700383 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700384 description: 'Wheter DHCP is enabled for the test'
385
386 - bool:
387 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700388 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700389 description: 'Wheter IGMP is enabled for the test'
390
391 - bool:
392 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700393 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700394 description: 'Wheter Link Discovery is enabled for the test'
395
396 - bool:
397 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700398 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700399 description: 'Option to trigger MIB template command'
400
401 - bool:
402 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700403 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700404 description: 'Option to install Prometheus'
405
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700406 - bool:
407 name: withProfiling
408 default: '{withProfiling}'
409 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
410
411 - string:
412 name: extraHelmFlags
413 default: '{extraHelmFlags}'
414 description: 'Any extra helm parameters you want (passed to every helm install command)'
415
Matteo Scandolo272aed42020-05-08 15:05:57 -0700416 - string:
417 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700418 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700419 description: 'How many OpenONU adapter instances to run'
420
421 - string:
422 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700423 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700424 description: 'How many ONOSes instances to run'
425
426 - string:
427 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700428 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700429 description: 'How many Atomix instances to run'
430
431 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700432 name: onosStatInterval
433 default: '{onosStatInterval}'
434 description: 'How often ONOS should poll for ports, flows and meters'
435
436 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700437 name: bbsimImg
438 default: '{bbsimImg}'
439 description: 'Custom image selection for BBSIM (repo:tag)'
440
441 - string:
442 name: bbsimChart
443 default: '{bbsimChart}'
444 description: 'BBSim chart name (or location on file system)'
445
446 - string:
447 name: rwCoreImg
448 default: '{rwCoreImg}'
449 description: 'Custom image selection for VOLTHA (repo:tag)'
450
451 - string:
452 name: ofAgentImg
453 default: '{ofAgentImg}'
454 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
455
456 - string:
457 name: volthaChart
458 default: '{volthaChart}'
459 description: 'VOLTHA chart name (or location on file system)'
460
461 - string:
462 name: openoltAdapterImg
463 default: '{openoltAdapterImg}'
464 description: 'Custom image selection for Openolt Adapter (repo:tag)'
465
466 - string:
467 name: openoltAdapterChart
468 default: '{openoltAdapterChart}'
469 description: 'OpenOLT chart name (or location on file system)'
470
471 - string:
472 name: openonuAdapterImg
473 default: '{openonuAdapterImg}'
474 description: 'Custom image selection for Openonu Adapter (repo:tag)'
475
476 - string:
477 name: openonuAdapterChart
478 default: '{openonuAdapterChart}'
479 description: 'OpenONU chart name (or location on file system)'
480
481 - string:
482 name: onosImg
483 default: '{onosImg}'
484 description: 'Custom image selection for Openonu Adapter (repo:tag)'
485
486 - string:
487 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700488 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700489 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
490
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700491 - string:
492 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700493 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700494 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
495
Matteo Scandolo272aed42020-05-08 15:05:57 -0700496 project-type: pipeline
497 concurrent: false
498
499 dsl: !include-raw-escape: pipeline/{pipeline-script}
500
Matteo Scandoloa2a7d712020-06-18 07:59:18 -0700501 # triggers:
502 # - timed: |
503 # TZ=America/Los_Angeles
504 # {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700505
506- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700507 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800508 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700509 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800510
511 description: |
512 <!-- Managed by Jenkins Job Builder -->
513 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
514 Using pipeline {pipeline-script} <br/><br/>
515 Scale measurements for VOLTHA 2.x
516
517 properties:
518 - cord-infra-properties:
519 build-days-to-keep: '{build-days-to-keep}'
520 artifact-num-to-keep: '{artifact-num-to-keep}'
521
522 wrappers:
523 - lf-infra-wrappers:
524 build-timeout: '{build-timeout}'
525 jenkins-ssh-credential: '{jenkins-ssh-credential}'
526
Matteo Scandolo0430f672020-05-07 11:50:26 -0700527 # default values
528 bbsimImg: voltha/bbsim:master
529 rwCoreImg: voltha/voltha-rw-core:master
530 ofAgentImg: voltha/voltha-ofagent-go:master
531 openoltAdapterImg: voltha/voltha-openolt-adapter:master
532 openonuAdapterImg: voltha/voltha-openonu-adapter:master
533 onosImg: voltha/voltha-onos:master
534
535 bbsimChart: onf/bbsim
536 volthaChart: onf/voltha
537 openoltAdapterChart: onf/voltha-adapter-openolt
538 openonuAdapterChart: onf/voltha-adapter-openonu
539
Matteo Scandolo51b76302020-02-05 12:07:23 -0800540 parameters:
541 - string:
542 name: buildNode
543 default: '{build-node}'
544 description: 'Name of the Jenkins node to run the job on'
545
546 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700547 name: logLevel
548 default: 'WARN'
549 description: 'Log level for all the components'
550
551 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700552 name: onus
553 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800554 description: 'Number of ONUs to provision'
555
556 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700557 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700558 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800559 description: 'Number of PONs to provision'
560
Matteo Scandolo0430f672020-05-07 11:50:26 -0700561 - string:
562 name: olts
563 default: 2
564 description: 'How many BBSim instances to run'
565
566 - string:
567 name: workflow
568 default: att
569 description: 'Which workflow are we testing (att, dt, tt)'
570
571 - bool:
572 name: withFlows
573 default: false
574 description: 'Wheter to push flows from ONOS'
575
576 - bool:
577 name: provisionSubscribers
578 default: false
579 description: 'Wheter to provision subscribers durint the tests'
580
581 - bool:
582 name: withEapol
583 default: true
584 description: 'Wheter EAPOL is enabled for the test'
585
586 - bool:
587 name: withDhcp
588 default: true
589 description: 'Wheter DHCP is enabled for the test'
590
591 - bool:
592 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700593 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700594 description: 'Wheter IGMP is enabled for the test'
595
596 - bool:
597 name: withLLDP
598 default: false
599 description: 'Wheter Link Discovery is enabled for the test'
600
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800601 - bool:
602 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700603 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800604 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800605
Matteo Scandolo0430f672020-05-07 11:50:26 -0700606 - bool:
607 name: withMonitoring
608 default: true
609 description: 'Option to install Prometheus'
610
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700611 - bool:
612 name: withProfiling
613 default: false
614 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
615
616 - string:
617 name: extraHelmFlags
618 default: ' '
619 description: 'Any extra helm parameters you want (passed to every helm install command)'
620
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800621 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700622 name: openonuAdapterReplicas
623 default: 1
624 description: 'How many OpenONU adapter instances to run'
625
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700626 # 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 -0700627 - string:
628 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700629 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700630 description: 'How many ONOSes instances to run'
631
632 - string:
633 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700634 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700635 description: 'How many Atomix instances to run'
636
637 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700638 name: onosStatInterval
639 default: 5
640 description: 'How often ONOS should poll for ports, flows and meters'
641
642 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700643 name: bbsimImg
644 default: '{bbsimImg}'
645 description: 'Custom image selection for BBSIM (repo:tag)'
646
647 - string:
648 name: bbsimChart
649 default: '{bbsimChart}'
650 description: 'BBSim chart name (or location on file system)'
651
652 - string:
653 name: rwCoreImg
654 default: '{rwCoreImg}'
655 description: 'Custom image selection for VOLTHA (repo:tag)'
656
657 - string:
658 name: ofAgentImg
659 default: '{ofAgentImg}'
660 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
661
662 - string:
663 name: volthaChart
664 default: '{volthaChart}'
665 description: 'VOLTHA chart name (or location on file system)'
666
667 - string:
668 name: openoltAdapterImg
669 default: '{openoltAdapterImg}'
670 description: 'Custom image selection for Openolt Adapter (repo:tag)'
671
672 - string:
673 name: openoltAdapterChart
674 default: '{openoltAdapterChart}'
675 description: 'OpenOLT chart name (or location on file system)'
676
677 - string:
678 name: openonuAdapterImg
679 default: '{openonuAdapterImg}'
680 description: 'Custom image selection for Openonu Adapter (repo:tag)'
681
682 - string:
683 name: openonuAdapterChart
684 default: '{openonuAdapterChart}'
685 description: 'OpenONU chart name (or location on file system)'
686
687 - string:
688 name: onosImg
689 default: '{onosImg}'
690 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700691
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700692 - string:
693 name: volthaSystemTestsChange
694 default: ''
695 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
696
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700697 - string:
698 name: kindVolthaChange
699 default: ''
700 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
701
Matteo Scandolo51b76302020-02-05 12:07:23 -0800702 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800703 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800704
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700705 dsl: !include-raw-escape: pipeline/{pipeline-script}