blob: dbb019b3a05ee23f79318e7d67760f7835d6f066 [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 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandolo2e2901f2020-03-12 10:51:01 -070011 name: 'voltha-scale-measurements-periodic-10-20-200ms'
Matteo Scandolo380af272020-03-05 14:26:47 -080012 build-node: 'onf-pod1-head-node'
13 time-trigger: "H H/4 * * *"
Matteo Scandolo2e2901f2020-03-12 10:51:01 -070014 onuPerPon: 20
15 ponPorts: 10
16 expectedOnus: 200
Matteo Scandolo380af272020-03-05 14:26:47 -080017 BBSIMdelay: 200
Matteo Scandolo272aed42020-05-08 15:05:57 -070018 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080019 name: 'voltha-scale-measurements-periodic-16-32-200ms'
20 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080021 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080022 onuPerPon: 32
23 ponPorts: 16
Matteo Scandolo132f5552020-03-03 18:56:35 -080024 expectedOnus: 512
Matteo Scandoloda2834f2020-03-03 13:12:32 -080025 BBSIMdelay: 200
Matteo Scandolo24044fc2020-04-14 10:07:14 -070026 # multi-adapter
Matteo Scandolo89f1cea2020-04-10 10:20:20 -070027 extraHelmFlags: "--set replicas.adapter_open_onu=8"
Matteo Scandolo272aed42020-05-08 15:05:57 -070028 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandolo731d4d22020-03-20 10:06:00 -070029 name: 'voltha-scale-measurements-periodic-16-64-200ms'
Matteo Scandoloda2834f2020-03-03 13:12:32 -080030 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080031 time-trigger: "H H/4 * * *"
Matteo Scandolo731d4d22020-03-20 10:06:00 -070032 onuPerPon: 64
Matteo Scandoloda2834f2020-03-03 13:12:32 -080033 ponPorts: 16
Matteo Scandolo731d4d22020-03-20 10:06:00 -070034 expectedOnus: 1024
35 BBSIMdelay: 200
Matteo Scandolo24044fc2020-04-14 10:07:14 -070036 # multi-adapter
Matteo Scandolo89f1cea2020-04-10 10:20:20 -070037 extraHelmFlags: "--set replicas.adapter_open_onu=8"
Matteo Scandolo272aed42020-05-08 15:05:57 -070038 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080039 name: 'voltha-scale-measurements-periodic-1-64-200ms'
40 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080041 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080042 onuPerPon: 64
43 ponPorts: 1
Matteo Scandolo132f5552020-03-03 18:56:35 -080044 expectedOnus: 64
Matteo Scandoloda2834f2020-03-03 13:12:32 -080045 BBSIMdelay: 200
Matteo Scandolo272aed42020-05-08 15:05:57 -070046 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandolof87e1da2020-04-16 16:13:31 -070047 name: 'voltha-scale-measurements-periodic-2-OLTs-10-10-200ms'
Matteo Scandolo380af272020-03-05 14:26:47 -080048 build-node: 'onf-pod1-head-node'
49 time-trigger: "H H/4 * * *"
Matteo Scandolof87e1da2020-04-16 16:13:31 -070050 onuPerPon: 10
51 ponPorts: 10
52 numOfBbsim: 2
53 expectedOnus: 200
54 BBSIMdelay: 200
Matteo Scandolo272aed42020-05-08 15:05:57 -070055 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandolod1a15082020-04-22 10:57:49 -070056 name: 'voltha-scale-measurements-periodic-10-20-200ms-with-flows'
57 build-node: 'onf-pod1-head-node'
58 time-trigger: "H H/4 * * *"
59 onuPerPon: 20
60 ponPorts: 10
61 expectedOnus: 200
62 BBSIMdelay: 200
63 withOnosApps: true
64 flowStatInterval: 5
65 portsStatInterval: 5
Matteo Scandoloc9812232020-04-22 14:18:07 -070066 expectedFlows: 201
Matteo Scandolo268f3222020-04-24 15:19:25 -070067 bbsimAuth: false
68 bbsimDhcp: false
Matteo Scandolo272aed42020-05-08 15:05:57 -070069
70 # new Jobs
71 # name format is <job-template>-<olts>-<pon>-<onus>-<setup>
72 # needed for comparison with the openonu-go adapter
73 - 'voltha-scale-measurements':
74 name: 'voltha-scale-measurements-1-2-32-activation-no-mib'
Matteo Scandolo268f3222020-04-24 15:19:25 -070075 build-node: 'onf-pod1-head-node'
76 time-trigger: "H H/4 * * *"
Matteo Scandolo272aed42020-05-08 15:05:57 -070077 olts: 1
78 pons: 2
79 onus: 32
80 withFlows: false
81 provisionSubscribers: false
82 withEapol: false
83 withDhcp: false
84 withIgmp: false
85 withMibTemplate: false
86
87 # jobs for 200 ONUs with a single openonu-adapter
88 - 'voltha-scale-measurements':
89 name: 'voltha-scale-measurements-1-10-20-activation'
Matteo Scandolo3e0e0402020-04-27 16:07:05 -070090 build-node: 'onf-pod1-head-node'
91 time-trigger: "H H/4 * * *"
Matteo Scandolo272aed42020-05-08 15:05:57 -070092 olts: 1
93 pons: 10
94 onus: 20
95 withFlows: false
96 provisionSubscribers: false
97 withEapol: false
98 withDhcp: false
99 withIgmp: false
100 - 'voltha-scale-measurements':
101 name: 'voltha-scale-measurements-1-10-20-flows'
102 build-node: 'onf-pod1-head-node'
103 time-trigger: "H H/4 * * *"
104 olts: 1
105 pons: 10
106 onus: 20
107 withFlows: true
108 provisionSubscribers: false
109 withEapol: true
110 withDhcp: true
111 withIgmp: false
112 - 'voltha-scale-measurements':
113 name: 'voltha-scale-measurements-1-10-20-subscribers'
114 build-node: 'onf-pod1-head-node'
115 time-trigger: "H H/4 * * *"
116 olts: 1
117 pons: 10
118 onus: 20
119 withFlows: true
120 provisionSubscribers: true
121 withEapol: true
122 withDhcp: true
123 withIgmp: false
124
125 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS
126 - 'voltha-scale-measurements':
127 name: 'voltha-scale-measurements-1-16-32-activation'
128 build-node: 'onf-pod1-head-node'
129 time-trigger: "H H/4 * * *"
130 olts: 1
131 pons: 16
132 onus: 32
133 withFlows: false
134 provisionSubscribers: false
135 withEapol: false
136 withDhcp: false
137 withIgmp: false
138 openonuAdapterReplicas: 8
139 onosReplicas: 3
140 atomixReplicas: 3
141 - 'voltha-scale-measurements':
142 name: 'voltha-scale-measurements-1-16-32-flows'
143 build-node: 'onf-pod1-head-node'
144 time-trigger: "H H/4 * * *"
145 olts: 1
146 pons: 16
147 onus: 32
148 withFlows: true
149 provisionSubscribers: false
150 withEapol: true
151 withDhcp: true
152 withIgmp: false
153 openonuAdapterReplicas: 8
154 onosReplicas: 3
155 atomixReplicas: 3
156 - 'voltha-scale-measurements':
157 name: 'voltha-scale-measurements-1-16-32-subscribers'
158 build-node: 'onf-pod1-head-node'
159 time-trigger: "H H/4 * * *"
160 olts: 1
161 pons: 16
162 onus: 32
163 withFlows: true
164 provisionSubscribers: true
165 withEapol: true
166 withDhcp: true
167 withIgmp: false
168 openonuAdapterReplicas: 8
169 onosReplicas: 3
170 atomixReplicas: 3
171
172 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
173 - 'voltha-scale-measurements':
174 name: 'voltha-scale-measurements-2-16-32-activation'
175 build-node: 'onf-pod1-head-node'
176 time-trigger: "H H/4 * * *"
177 olts: 2
178 pons: 16
179 onus: 32
180 withFlows: false
181 provisionSubscribers: false
182 withEapol: false
183 withDhcp: false
184 withIgmp: false
185 openonuAdapterReplicas: 8
186 onosReplicas: 3
187 atomixReplicas: 3
188 - 'voltha-scale-measurements':
189 name: 'voltha-scale-measurements-2-16-32-flows'
190 build-node: 'onf-pod1-head-node'
191 time-trigger: "H H/4 * * *"
192 olts: 2
193 pons: 16
194 onus: 32
195 withFlows: true
196 provisionSubscribers: false
197 withEapol: true
198 withDhcp: true
199 withIgmp: false
200 openonuAdapterReplicas: 8
201 onosReplicas: 3
202 atomixReplicas: 3
203 - 'voltha-scale-measurements':
204 name: 'voltha-scale-measurements-2-16-32-subscribers'
205 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
218
219 # development pipeline
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700220 - 'voltha-scale-measurements-dev':
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800221 name: 'voltha-scale-measurements-dev'
Shrey Baid4c108ad2020-03-10 15:21:13 -0700222 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800223
224- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700225 id: 'voltha-scale-measurements-periodic-legacy'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800226 name: '{name}'
227 pipeline-script: 'voltha-scale-measurements.groovy'
228
229 description: |
230 <!-- Managed by Jenkins Job Builder -->
231 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
232 Using pipeline {pipeline-script} <br/><br/>
233 Scale measurements for VOLTHA 2.x
234
235 properties:
236 - cord-infra-properties:
237 build-days-to-keep: '{build-days-to-keep}'
238 artifact-num-to-keep: '{artifact-num-to-keep}'
239
240 wrappers:
241 - lf-infra-wrappers:
242 build-timeout: '{build-timeout}'
243 jenkins-ssh-credential: '{jenkins-ssh-credential}'
244
Matteo Scandolo49421972020-03-20 10:55:11 -0700245 # default parameters
246 bbsimImg: voltha/bbsim:master
247 bbsimChart: onf/bbsim
248 volthaImg: voltha/voltha-rw-core:master
Matteo Scandoloe1c200f2020-03-24 10:33:58 -0700249 ofAgentImg: voltha/voltha-ofagent-go:master
Matteo Scandolo49421972020-03-20 10:55:11 -0700250 volthaChart: onf/voltha
251 openoltAdapterImg: voltha/voltha-openolt-adapter:master
252 openoltAdapterChart: onf/voltha-adapter-openolt
253 openonuAdapterImg: voltha/voltha-openonu-adapter:master
254 openonuAdapterChart: onf/voltha-adapter-openonu
Shrey Baid70c849a2020-04-03 21:52:00 +0530255 onosImg: voltha/voltha-onos:master
Matteo Scandolo49421972020-03-20 10:55:11 -0700256 extraHelmFlags: ''
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700257 withMibTemplate: true
258 numOfBbsim: 1
259 numOfKafka: 3
Matteo Scandolod1a15082020-04-22 10:57:49 -0700260 withOnosApps: false
261 setLinkDiscovery: false
262 flowStatInterval: 600
263 portsStatInterval: 600
Matteo Scandoloc9812232020-04-22 14:18:07 -0700264 expectedFlows: 0 # by defualt ONOS apps are deactivated
Matteo Scandolo268f3222020-04-24 15:19:25 -0700265 bbsimAuth: true
266 bbsimDhcp: true
Matteo Scandolo49421972020-03-20 10:55:11 -0700267
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800268 parameters:
269 - string:
270 name: buildNode
271 default: '{build-node}'
272 description: 'Name of the Jenkins node to run the job on'
273
274 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700275 name: logLevel
276 default: 'WARN'
277 description: 'Log level for all the components'
278
279 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800280 name: onuPerPon
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800281 default: '{onuPerPon}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800282 description: 'Number of ONUs to provision'
283
284 - string:
285 name: ponPorts
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800286 default: '{ponPorts}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800287 description: 'Number of PONs to provision'
288
289 - string:
290 name: expectedOnus
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800291 default: '{expectedOnus}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800292 description: 'Expected number of activated ONUs'
293
294 - string:
Matteo Scandoloc9812232020-04-22 14:18:07 -0700295 name: expectedFlows
296 default: '{expectedFlows}'
297 description: 'Expected number of flows in ONOS'
298
299 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800300 name: pollInterval
301 default: 5
302 description: 'Sleep time between ONU activation checks'
303
304 - bool:
305 name: withOnosApps
Matteo Scandolod1a15082020-04-22 10:57:49 -0700306 default: '{withOnosApps}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800307 description: 'Option to deactivate certain ONOS apps'
308
309 - bool:
310 name: withMibTemplate
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700311 default: '{withMibTemplate}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800312 description: 'Option to trigger MIB template command'
313
314 - bool:
315 name: setLinkDiscovery
Matteo Scandolod1a15082020-04-22 10:57:49 -0700316 default: '{setLinkDiscovery}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800317 description: 'Option to toggle Link Discovery'
318
319 - string:
320 name: BBSIMdelay
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800321 default: '{BBSIMdelay}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800322 description: 'BBSIM Delay, milliseconds'
323
324 - string:
325 name: flowStatInterval
Matteo Scandolod1a15082020-04-22 10:57:49 -0700326 default: '{flowStatInterval}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800327 description: 'Flow Stats Collection Interval, milliseconds'
328
329 - string:
330 name: portsStatInterval
Matteo Scandolod1a15082020-04-22 10:57:49 -0700331 default: {portsStatInterval}
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800332 description: 'Ports Stats Collection Interval, milliseconds'
333
334 - bool:
335 name: bbsimAuth
Matteo Scandolo268f3222020-04-24 15:19:25 -0700336 default: '{bbsimAuth}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800337 description: 'Option to toggle BBSIM EAPOL true/false'
338
339 - bool:
340 name: bbsimDhcp
Matteo Scandolo268f3222020-04-24 15:19:25 -0700341 default: '{bbsimDhcp}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800342 description: 'Option to toggle BBSIM DHCP true/false'
343
344 - string:
345 name: bbsimImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700346 default: '{bbsimImg}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800347 description: 'Custom image selection for BBSIM (repo:tag)'
348
349 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700350 name: bbsimChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700351 default: '{bbsimChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700352 description: 'BBSim chart name (or location on file system)'
353
354 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800355 name: volthaImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700356 default: '{volthaImg}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800357 description: 'Custom image selection for VOLTHA (repo:tag)'
358
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800359 - string:
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700360 name: ofAgentImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700361 default: '{ofAgentImg}'
Matteo Scandolofddcb002020-03-24 09:14:57 -0700362 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700363
364 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700365 name: volthaChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700366 default: '{volthaChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700367 description: 'VOLTHA chart name (or location on file system)'
368
369 - string:
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800370 name: openoltAdapterImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700371 default: '{openoltAdapterImg}'
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800372 description: 'Custom image selection for Openolt Adapter (repo:tag)'
373
374 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700375 name: openoltAdapterChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700376 default: '{openoltAdapterChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700377 description: 'OpenOLT chart name (or location on file system)'
378
379 - string:
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800380 name: openonuAdapterImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700381 default: '{openonuAdapterImg}'
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800382 description: 'Custom image selection for Openonu Adapter (repo:tag)'
383
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700384 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700385 name: openonuAdapterChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700386 default: '{openonuAdapterChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700387 description: 'OpenONU chart name (or location on file system)'
388
389 - string:
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700390 name: onosImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700391 default: '{onosImg}'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700392 description: 'Custom image selection for Openonu Adapter (repo:tag)'
393
394 - string:
395 name: extraHelmFlags
Matteo Scandolo49421972020-03-20 10:55:11 -0700396 default: '{extraHelmFlags}'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700397 description: 'Any extra helm parameters you want (passed to every helm install command)'
398
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700399 - string:
400 name: numOfBbsim
401 default: '{numOfBbsim}'
402 description: 'How many BBSim instances to run'
403
404 - string:
405 name: numOfKafka
406 default: '{numOfKafka}'
407 description: 'How many Kafka instances to run'
408
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800409 project-type: pipeline
410 concurrent: false
411
412 dsl: !include-raw-escape: pipeline/{pipeline-script}
413
414 triggers:
415 - timed: |
416 TZ=America/Los_Angeles
417 {time-trigger}
418
419- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700420 id: 'voltha-scale-measurements'
421 name: '{name}'
422 pipeline-script: 'voltha-scale-test.groovy'
423
424 description: |
425 <!-- Managed by Jenkins Job Builder -->
426 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
427 Using pipeline {pipeline-script} <br/><br/>
428 Scale measurements for VOLTHA 2.x
429
430 properties:
431 - cord-infra-properties:
432 build-days-to-keep: '{build-days-to-keep}'
433 artifact-num-to-keep: '{artifact-num-to-keep}'
434
435 wrappers:
436 - lf-infra-wrappers:
437 build-timeout: '{build-timeout}'
438 jenkins-ssh-credential: '{jenkins-ssh-credential}'
439
440 # default values
441 bbsimImg: voltha/bbsim:master
442 rwCoreImg: voltha/voltha-rw-core:master
443 ofAgentImg: voltha/voltha-ofagent-go:master
444 openoltAdapterImg: voltha/voltha-openolt-adapter:master
445 openonuAdapterImg: voltha/voltha-openonu-adapter:master
446 onosImg: voltha/voltha-onos:master
447
448 bbsimChart: onf/bbsim
449 volthaChart: onf/voltha
450 openoltAdapterChart: onf/voltha-adapter-openolt
451 openonuAdapterChart: onf/voltha-adapter-openonu
452
Matteo Scandolo393add12020-05-08 18:03:17 -0700453 olts: 2
454 pons: 2
455 onus: 2
456 workflow: att
457 withFlows: false
458 provisionSubscribers: false
459 withEapol: true
460 withDhcp: true
461 withIgmp: false
462 withLLDP: false
463 withMibTemplate: true
464 withMonitoring: true
465 openonuAdapterReplicas: 1
466 onosReplicas: 1
467 atomixReplicas: 0
468
Matteo Scandolo272aed42020-05-08 15:05:57 -0700469 parameters:
470 - string:
471 name: buildNode
472 default: '{build-node}'
473 description: 'Name of the Jenkins node to run the job on'
474
475 - string:
476 name: logLevel
477 default: 'WARN'
478 description: 'Log level for all the components'
479
480 - string:
481 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700482 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700483 description: 'Number of ONUs to provision'
484
485 - string:
486 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700487 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700488 description: 'Number of PONs to provision'
489
490 - string:
491 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700492 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700493 description: 'How many BBSim instances to run'
494
495 - string:
496 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700497 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700498 description: 'Which workflow are we testing (att, dt, tt)'
499
500 - bool:
501 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700502 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700503 description: 'Wheter to push flows from ONOS'
504
505 - bool:
506 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700507 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700508 description: 'Wheter to provision subscribers durint the tests'
509
510 - bool:
511 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700512 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700513 description: 'Wheter EAPOL is enabled for the test'
514
515 - bool:
516 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700517 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700518 description: 'Wheter DHCP is enabled for the test'
519
520 - bool:
521 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700522 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700523 description: 'Wheter IGMP is enabled for the test'
524
525 - bool:
526 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700527 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700528 description: 'Wheter Link Discovery is enabled for the test'
529
530 - bool:
531 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700532 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700533 description: 'Option to trigger MIB template command'
534
535 - bool:
536 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700537 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700538 description: 'Option to install Prometheus'
539
540 - string:
541 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700542 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700543 description: 'How many OpenONU adapter instances to run'
544
545 - string:
546 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700547 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700548 description: 'How many ONOSes instances to run'
549
550 - string:
551 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700552 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700553 description: 'How many Atomix instances to run'
554
555 - string:
556 name: bbsimImg
557 default: '{bbsimImg}'
558 description: 'Custom image selection for BBSIM (repo:tag)'
559
560 - string:
561 name: bbsimChart
562 default: '{bbsimChart}'
563 description: 'BBSim chart name (or location on file system)'
564
565 - string:
566 name: rwCoreImg
567 default: '{rwCoreImg}'
568 description: 'Custom image selection for VOLTHA (repo:tag)'
569
570 - string:
571 name: ofAgentImg
572 default: '{ofAgentImg}'
573 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
574
575 - string:
576 name: volthaChart
577 default: '{volthaChart}'
578 description: 'VOLTHA chart name (or location on file system)'
579
580 - string:
581 name: openoltAdapterImg
582 default: '{openoltAdapterImg}'
583 description: 'Custom image selection for Openolt Adapter (repo:tag)'
584
585 - string:
586 name: openoltAdapterChart
587 default: '{openoltAdapterChart}'
588 description: 'OpenOLT chart name (or location on file system)'
589
590 - string:
591 name: openonuAdapterImg
592 default: '{openonuAdapterImg}'
593 description: 'Custom image selection for Openonu Adapter (repo:tag)'
594
595 - string:
596 name: openonuAdapterChart
597 default: '{openonuAdapterChart}'
598 description: 'OpenONU chart name (or location on file system)'
599
600 - string:
601 name: onosImg
602 default: '{onosImg}'
603 description: 'Custom image selection for Openonu Adapter (repo:tag)'
604
605 - string:
606 name: volthaSystemTestsChange
607 default: ''
608 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
609
610 project-type: pipeline
611 concurrent: false
612
613 dsl: !include-raw-escape: pipeline/{pipeline-script}
614
615 triggers:
616 - timed: |
617 TZ=America/Los_Angeles
618 {time-trigger}
619
620- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700621 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800622 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700623 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800624
625 description: |
626 <!-- Managed by Jenkins Job Builder -->
627 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
628 Using pipeline {pipeline-script} <br/><br/>
629 Scale measurements for VOLTHA 2.x
630
631 properties:
632 - cord-infra-properties:
633 build-days-to-keep: '{build-days-to-keep}'
634 artifact-num-to-keep: '{artifact-num-to-keep}'
635
636 wrappers:
637 - lf-infra-wrappers:
638 build-timeout: '{build-timeout}'
639 jenkins-ssh-credential: '{jenkins-ssh-credential}'
640
Matteo Scandolo0430f672020-05-07 11:50:26 -0700641 # default values
642 bbsimImg: voltha/bbsim:master
643 rwCoreImg: voltha/voltha-rw-core:master
644 ofAgentImg: voltha/voltha-ofagent-go:master
645 openoltAdapterImg: voltha/voltha-openolt-adapter:master
646 openonuAdapterImg: voltha/voltha-openonu-adapter:master
647 onosImg: voltha/voltha-onos:master
648
649 bbsimChart: onf/bbsim
650 volthaChart: onf/voltha
651 openoltAdapterChart: onf/voltha-adapter-openolt
652 openonuAdapterChart: onf/voltha-adapter-openonu
653
Matteo Scandolo51b76302020-02-05 12:07:23 -0800654 parameters:
655 - string:
656 name: buildNode
657 default: '{build-node}'
658 description: 'Name of the Jenkins node to run the job on'
659
660 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700661 name: logLevel
662 default: 'WARN'
663 description: 'Log level for all the components'
664
665 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700666 name: onus
667 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800668 description: 'Number of ONUs to provision'
669
670 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700671 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700672 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800673 description: 'Number of PONs to provision'
674
Matteo Scandolo0430f672020-05-07 11:50:26 -0700675 - string:
676 name: olts
677 default: 2
678 description: 'How many BBSim instances to run'
679
680 - string:
681 name: workflow
682 default: att
683 description: 'Which workflow are we testing (att, dt, tt)'
684
685 - bool:
686 name: withFlows
687 default: false
688 description: 'Wheter to push flows from ONOS'
689
690 - bool:
691 name: provisionSubscribers
692 default: false
693 description: 'Wheter to provision subscribers durint the tests'
694
695 - bool:
696 name: withEapol
697 default: true
698 description: 'Wheter EAPOL is enabled for the test'
699
700 - bool:
701 name: withDhcp
702 default: true
703 description: 'Wheter DHCP is enabled for the test'
704
705 - bool:
706 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700707 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700708 description: 'Wheter IGMP is enabled for the test'
709
710 - bool:
711 name: withLLDP
712 default: false
713 description: 'Wheter Link Discovery is enabled for the test'
714
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800715 - bool:
716 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700717 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800718 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800719
Matteo Scandolo0430f672020-05-07 11:50:26 -0700720 - bool:
721 name: withMonitoring
722 default: true
723 description: 'Option to install Prometheus'
724
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800725 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700726 name: openonuAdapterReplicas
727 default: 1
728 description: 'How many OpenONU adapter instances to run'
729
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700730 # 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 -0700731 - string:
732 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700733 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700734 description: 'How many ONOSes instances to run'
735
736 - string:
737 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700738 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700739 description: 'How many Atomix instances to run'
740
741 - string:
742 name: bbsimImg
743 default: '{bbsimImg}'
744 description: 'Custom image selection for BBSIM (repo:tag)'
745
746 - string:
747 name: bbsimChart
748 default: '{bbsimChart}'
749 description: 'BBSim chart name (or location on file system)'
750
751 - string:
752 name: rwCoreImg
753 default: '{rwCoreImg}'
754 description: 'Custom image selection for VOLTHA (repo:tag)'
755
756 - string:
757 name: ofAgentImg
758 default: '{ofAgentImg}'
759 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
760
761 - string:
762 name: volthaChart
763 default: '{volthaChart}'
764 description: 'VOLTHA chart name (or location on file system)'
765
766 - string:
767 name: openoltAdapterImg
768 default: '{openoltAdapterImg}'
769 description: 'Custom image selection for Openolt Adapter (repo:tag)'
770
771 - string:
772 name: openoltAdapterChart
773 default: '{openoltAdapterChart}'
774 description: 'OpenOLT chart name (or location on file system)'
775
776 - string:
777 name: openonuAdapterImg
778 default: '{openonuAdapterImg}'
779 description: 'Custom image selection for Openonu Adapter (repo:tag)'
780
781 - string:
782 name: openonuAdapterChart
783 default: '{openonuAdapterChart}'
784 description: 'OpenONU chart name (or location on file system)'
785
786 - string:
787 name: onosImg
788 default: '{onosImg}'
789 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700790
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700791 - string:
792 name: volthaSystemTestsChange
793 default: ''
794 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
795
Matteo Scandolo51b76302020-02-05 12:07:23 -0800796 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800797 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800798
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700799 dsl: !include-raw-escape: pipeline/{pipeline-script}