blob: 71e20b6ca1d538346709655c3d9f2c05333701e6 [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 Scandolod48d95e2020-02-27 17:04:55 -080010 - 'voltha-scale-measurements-periodic':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080011 name: 'voltha-scale-measurements-periodic-8-32-200ms'
Shrey Baidb0447182020-02-27 16:39:35 -080012 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080013 time-trigger: "H H/4 * * *"
Matteo Scandolod48d95e2020-02-27 17:04:55 -080014 onuPerPon: 32
15 ponPorts: 8
16 expectedOnus: 256
Matteo Scandolo54d98802020-02-28 11:14:23 -080017 BBSIMdelay: 200
Matteo Scandolo55c379e2020-03-02 11:57:05 -080018 - 'voltha-scale-measurements-periodic':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080019 name: 'voltha-scale-measurements-periodic-8-32-1000ms'
Matteo Scandolo55c379e2020-03-02 11:57:05 -080020 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080021 time-trigger: "H H/4 * * *"
Matteo Scandolo55c379e2020-03-02 11:57:05 -080022 onuPerPon: 32
23 ponPorts: 8
24 expectedOnus: 256
25 BBSIMdelay: 1000
26 - 'voltha-scale-measurements-periodic':
Matteo Scandolo2e2901f2020-03-12 10:51:01 -070027 name: 'voltha-scale-measurements-periodic-10-20-200ms'
Matteo Scandolo380af272020-03-05 14:26:47 -080028 build-node: 'onf-pod1-head-node'
29 time-trigger: "H H/4 * * *"
Matteo Scandolo2e2901f2020-03-12 10:51:01 -070030 onuPerPon: 20
31 ponPorts: 10
32 expectedOnus: 200
Matteo Scandolo380af272020-03-05 14:26:47 -080033 BBSIMdelay: 200
34 - 'voltha-scale-measurements-periodic':
Matteo Scandolo2e2901f2020-03-12 10:51:01 -070035 name: 'voltha-scale-measurements-periodic-10-20-1000ms'
Matteo Scandolo380af272020-03-05 14:26:47 -080036 build-node: 'onf-pod1-head-node'
37 time-trigger: "H H/4 * * *"
Matteo Scandolo2e2901f2020-03-12 10:51:01 -070038 onuPerPon: 20
39 ponPorts: 10
40 expectedOnus: 200
Matteo Scandolo380af272020-03-05 14:26:47 -080041 BBSIMdelay: 1000
42 - 'voltha-scale-measurements-periodic':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080043 name: 'voltha-scale-measurements-periodic-4-32-200ms'
Matteo Scandolo55c379e2020-03-02 11:57:05 -080044 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080045 time-trigger: "H H/4 * * *"
Matteo Scandolo55c379e2020-03-02 11:57:05 -080046 onuPerPon: 32
47 ponPorts: 4
48 expectedOnus: 128
Matteo Scandoloda2834f2020-03-03 13:12:32 -080049 BBSIMdelay: 200
50 - 'voltha-scale-measurements-periodic':
51 name: 'voltha-scale-measurements-periodic-4-32-1000ms'
52 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080053 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080054 onuPerPon: 32
55 ponPorts: 4
56 expectedOnus: 128
57 BBSIMdelay: 1000
58 - 'voltha-scale-measurements-periodic':
59 name: 'voltha-scale-measurements-periodic-16-32-200ms'
60 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080061 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080062 onuPerPon: 32
63 ponPorts: 16
Matteo Scandolo132f5552020-03-03 18:56:35 -080064 expectedOnus: 512
Matteo Scandoloda2834f2020-03-03 13:12:32 -080065 BBSIMdelay: 200
66 - 'voltha-scale-measurements-periodic':
67 name: 'voltha-scale-measurements-periodic-16-32-1000ms'
68 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080069 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080070 onuPerPon: 32
71 ponPorts: 16
Matteo Scandolo132f5552020-03-03 18:56:35 -080072 expectedOnus: 512
Matteo Scandoloda2834f2020-03-03 13:12:32 -080073 BBSIMdelay: 1000
74 - 'voltha-scale-measurements-periodic':
75 name: 'voltha-scale-measurements-periodic-4-64-200ms'
76 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080077 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080078 onuPerPon: 64
79 ponPorts: 4
80 expectedOnus: 256
81 BBSIMdelay: 200
82 - 'voltha-scale-measurements-periodic':
83 name: 'voltha-scale-measurements-periodic-4-64-1000ms'
84 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080085 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080086 onuPerPon: 64
87 ponPorts: 4
88 expectedOnus: 256
89 BBSIMdelay: 1000
90 - 'voltha-scale-measurements-periodic':
91 name: 'voltha-scale-measurements-periodic-4-128-200ms'
92 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080093 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080094 onuPerPon: 128
95 ponPorts: 4
Matteo Scandolo132f5552020-03-03 18:56:35 -080096 expectedOnus: 512
Matteo Scandoloda2834f2020-03-03 13:12:32 -080097 BBSIMdelay: 200
98 - 'voltha-scale-measurements-periodic':
99 name: 'voltha-scale-measurements-periodic-4-128-1000ms'
100 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -0800101 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -0800102 onuPerPon: 128
103 ponPorts: 4
Matteo Scandolo132f5552020-03-03 18:56:35 -0800104 expectedOnus: 512
Matteo Scandoloda2834f2020-03-03 13:12:32 -0800105 BBSIMdelay: 1000
106 - 'voltha-scale-measurements-periodic':
107 name: 'voltha-scale-measurements-periodic-1-128-200ms'
108 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -0800109 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -0800110 onuPerPon: 128
111 ponPorts: 1
Matteo Scandolo132f5552020-03-03 18:56:35 -0800112 expectedOnus: 128
Matteo Scandoloda2834f2020-03-03 13:12:32 -0800113 BBSIMdelay: 200
114 - 'voltha-scale-measurements-periodic':
115 name: 'voltha-scale-measurements-periodic-1-128-1000ms'
116 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -0800117 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -0800118 onuPerPon: 128
119 ponPorts: 1
Matteo Scandolo132f5552020-03-03 18:56:35 -0800120 expectedOnus: 128
Matteo Scandoloda2834f2020-03-03 13:12:32 -0800121 BBSIMdelay: 1000
122 - 'voltha-scale-measurements-periodic':
123 name: 'voltha-scale-measurements-periodic-1-64-200ms'
124 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -0800125 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -0800126 onuPerPon: 64
127 ponPorts: 1
Matteo Scandolo132f5552020-03-03 18:56:35 -0800128 expectedOnus: 64
Matteo Scandoloda2834f2020-03-03 13:12:32 -0800129 BBSIMdelay: 200
130 - 'voltha-scale-measurements-periodic':
131 name: 'voltha-scale-measurements-periodic-1-64-1000ms'
132 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -0800133 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -0800134 onuPerPon: 64
135 ponPorts: 1
Matteo Scandolo132f5552020-03-03 18:56:35 -0800136 expectedOnus: 64
Matteo Scandolo55c379e2020-03-02 11:57:05 -0800137 BBSIMdelay: 1000
Matteo Scandolo380af272020-03-05 14:26:47 -0800138 - 'voltha-scale-measurements-periodic':
139 name: 'voltha-scale-measurements-periodic-1-1-200ms'
140 build-node: 'onf-pod1-head-node'
141 time-trigger: "H H/4 * * *"
142 onuPerPon: 1
143 ponPorts: 1
144 expectedOnus: 1
145 BBSIMdelay: 200
146 - 'voltha-scale-measurements-periodic':
147 name: 'voltha-scale-measurements-periodic-1-1-1000ms'
148 build-node: 'onf-pod1-head-node'
149 time-trigger: "H H/4 * * *"
150 onuPerPon: 1
151 ponPorts: 1
152 expectedOnus: 1
153 BBSIMdelay: 1000
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800154 - 'voltha-scale-measurements':
155 name: 'voltha-scale-measurements-dev'
Shrey Baid4c108ad2020-03-10 15:21:13 -0700156 build-node: 'voltha-scale'
Matteo Scandolo54d98802020-02-28 11:14:23 -0800157 onuPerPon: 16
158 ponPorts: 1
159 expectedOnus: 16
160 BBSIMdelay: 200
Matteo Scandolo51b76302020-02-05 12:07:23 -0800161
162- job-template:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800163 id: 'voltha-scale-measurements-periodic'
164 name: '{name}'
165 pipeline-script: 'voltha-scale-measurements.groovy'
166
167 description: |
168 <!-- Managed by Jenkins Job Builder -->
169 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
170 Using pipeline {pipeline-script} <br/><br/>
171 Scale measurements for VOLTHA 2.x
172
173 properties:
174 - cord-infra-properties:
175 build-days-to-keep: '{build-days-to-keep}'
176 artifact-num-to-keep: '{artifact-num-to-keep}'
177
178 wrappers:
179 - lf-infra-wrappers:
180 build-timeout: '{build-timeout}'
181 jenkins-ssh-credential: '{jenkins-ssh-credential}'
182
183 parameters:
184 - string:
185 name: buildNode
186 default: '{build-node}'
187 description: 'Name of the Jenkins node to run the job on'
188
189 - string:
190 name: onuPerPon
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800191 default: '{onuPerPon}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800192 description: 'Number of ONUs to provision'
193
194 - string:
195 name: ponPorts
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800196 default: '{ponPorts}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800197 description: 'Number of PONs to provision'
198
199 - string:
200 name: expectedOnus
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800201 default: '{expectedOnus}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800202 description: 'Expected number of activated ONUs'
203
204 - string:
205 name: pollInterval
206 default: 5
207 description: 'Sleep time between ONU activation checks'
208
209 - bool:
210 name: withOnosApps
211 default: false
212 description: 'Option to deactivate certain ONOS apps'
213
214 - bool:
215 name: withMibTemplate
216 default: true
217 description: 'Option to trigger MIB template command'
218
219 - bool:
220 name: setLinkDiscovery
221 default: false
222 description: 'Option to toggle Link Discovery'
223
224 - string:
225 name: BBSIMdelay
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800226 default: '{BBSIMdelay}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800227 description: 'BBSIM Delay, milliseconds'
228
229 - string:
230 name: flowStatInterval
231 default: 600
232 description: 'Flow Stats Collection Interval, milliseconds'
233
234 - string:
235 name: portsStatInterval
236 default: 600
237 description: 'Ports Stats Collection Interval, milliseconds'
238
239 - bool:
240 name: bbsimAuth
241 default: true
242 description: 'Option to toggle BBSIM EAPOL true/false'
243
244 - bool:
245 name: bbsimDhcp
246 default: true
247 description: 'Option to toggle BBSIM DHCP true/false'
248
249 - string:
250 name: bbsimImg
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800251 default: 'voltha/bbsim:master'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800252 description: 'Custom image selection for BBSIM (repo:tag)'
253
254 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700255 name: bbsimChart
256 default: onf/bbsim
257 description: 'BBSim chart name (or location on file system)'
258
259 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800260 name: volthaImg
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800261 default: 'voltha/voltha-rw-core:master'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800262 description: 'Custom image selection for VOLTHA (repo:tag)'
263
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800264 - string:
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700265 name: ofAgentImg
266 default: 'voltha/voltha-ofagent:master'
267 description: 'Custom image selection for OfAgent (repo:tag)'
268
269 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700270 name: volthaChart
271 default: onf/voltha
272 description: 'VOLTHA chart name (or location on file system)'
273
274 - string:
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800275 name: openoltAdapterImg
276 default: voltha/voltha-openolt-adapter:master
277 description: 'Custom image selection for Openolt Adapter (repo:tag)'
278
279 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700280 name: openoltAdapterChart
281 default: onf/voltha-adapter-openolt
282 description: 'OpenOLT chart name (or location on file system)'
283
284 - string:
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800285 name: openonuAdapterImg
286 default: voltha/voltha-openonu-adapter:master
287 description: 'Custom image selection for Openonu Adapter (repo:tag)'
288
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700289 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700290 name: openonuAdapterChart
291 default: onf/voltha-adapter-openonu
292 description: 'OpenONU chart name (or location on file system)'
293
294 - string:
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700295 name: onosImg
296 default: voltha/voltha-onos:4.0.1
297 description: 'Custom image selection for Openonu Adapter (repo:tag)'
298
299 - string:
300 name: extraHelmFlags
301 default: ''
302 description: 'Any extra helm parameters you want (passed to every helm install command)'
303
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800304 project-type: pipeline
305 concurrent: false
306
307 dsl: !include-raw-escape: pipeline/{pipeline-script}
308
309 triggers:
310 - timed: |
311 TZ=America/Los_Angeles
312 {time-trigger}
313
314- job-template:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800315 id: 'voltha-scale-measurements'
316 name: '{name}'
317 pipeline-script: 'voltha-scale-measurements.groovy'
318
319 description: |
320 <!-- Managed by Jenkins Job Builder -->
321 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
322 Using pipeline {pipeline-script} <br/><br/>
323 Scale measurements for VOLTHA 2.x
324
325 properties:
326 - cord-infra-properties:
327 build-days-to-keep: '{build-days-to-keep}'
328 artifact-num-to-keep: '{artifact-num-to-keep}'
329
330 wrappers:
331 - lf-infra-wrappers:
332 build-timeout: '{build-timeout}'
333 jenkins-ssh-credential: '{jenkins-ssh-credential}'
334
335 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:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800342 name: onuPerPon
Matteo Scandolo51b76302020-02-05 12:07:23 -0800343 default: 1
344 description: 'Number of ONUs to provision'
345
346 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800347 name: ponPorts
Matteo Scandolo51b76302020-02-05 12:07:23 -0800348 default: 1
349 description: 'Number of PONs to provision'
350
Shrey Baid80d9fff2020-02-10 10:26:02 -0800351 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800352 name: expectedOnus
Shrey Baid80d9fff2020-02-10 10:26:02 -0800353 default: 1
354 description: 'Expected number of activated ONUs'
355
Shrey Baid6777d2c2020-02-10 11:36:55 -0800356 - string:
357 name: pollInterval
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800358 default: 5
Shrey Baid6777d2c2020-02-10 11:36:55 -0800359 description: 'Sleep time between ONU activation checks'
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800360
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800361 - bool:
362 name: withOnosApps
363 default: false
364 description: 'Option to deactivate certain ONOS apps'
365
366 - bool:
367 name: withMibTemplate
Shrey Baidf2203932020-02-12 15:40:09 -0800368 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800369 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800370
371 - bool:
372 name: setLinkDiscovery
373 default: false
374 description: 'Option to toggle Link Discovery'
375
376 - string:
377 name: BBSIMdelay
378 default: 200
379 description: 'BBSIM Delay, milliseconds'
380
381 - string:
382 name: flowStatInterval
383 default: 600
384 description: 'Flow Stats Collection Interval, milliseconds'
385
386 - string:
387 name: portsStatInterval
388 default: 600
389 description: 'Ports Stats Collection Interval, milliseconds'
Shrey Baid6777d2c2020-02-10 11:36:55 -0800390
Shrey Baide7614d02020-02-25 10:26:42 -0800391 - bool:
392 name: bbsimAuth
Shrey Baida3b8aa62020-02-13 11:22:51 -0800393 default: true
394 description: 'Option to toggle BBSIM EAPOL true/false'
395
Shrey Baide7614d02020-02-25 10:26:42 -0800396 - bool:
Shrey Baida3b8aa62020-02-13 11:22:51 -0800397 name: bbsimDhcp
398 default: true
399 description: 'Option to toggle BBSIM DHCP true/false'
400
Shrey Baide7614d02020-02-25 10:26:42 -0800401 - string:
402 name: bbsimImg
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800403 default: voltha/bbsim:master
Shrey Baide7614d02020-02-25 10:26:42 -0800404 description: 'Custom image selection for BBSIM (repo:tag)'
405
406 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700407 name: bbsimChart
408 default: onf/bbsim
409 description: 'BBSim chart name (or location on file system)'
410
411 - string:
Shrey Baide7614d02020-02-25 10:26:42 -0800412 name: volthaImg
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800413 default: voltha/voltha-rw-core:master
Shrey Baide7614d02020-02-25 10:26:42 -0800414 description: 'Custom image selection for VOLTHA (repo:tag)'
415
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800416 - string:
Matteo Scandolofe241be2020-03-12 10:00:17 -0700417 name: ofAgentImg
418 default: 'voltha/voltha-ofagent:master'
419 description: 'Custom image selection for OfAgent (repo:tag)'
420
421 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700422 name: volthaChart
423 default: onf/voltha
424 description: 'VOLTHA chart name (or location on file system)'
425
426 - string:
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800427 name: openoltAdapterImg
428 default: voltha/voltha-openolt-adapter:master
429 description: 'Custom image selection for Openolt Adapter (repo:tag)'
430
431 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700432 name: openoltAdapterChart
433 default: onf/voltha-adapter-openolt
434 description: 'OpenOLT chart name (or location on file system)'
435
436 - string:
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800437 name: openonuAdapterImg
438 default: voltha/voltha-openonu-adapter:master
439 description: 'Custom image selection for Openonu Adapter (repo:tag)'
440
Matteo Scandolofe241be2020-03-12 10:00:17 -0700441 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700442 name: openonuAdapterChart
443 default: onf/voltha-adapter-openonu
444 description: 'OpenONU chart name (or location on file system)'
445
446 - string:
Matteo Scandolofe241be2020-03-12 10:00:17 -0700447 name: onosImg
448 default: voltha/voltha-onos:4.0.1
449 description: 'Custom image selection for Openonu Adapter (repo:tag)'
450
451 - string:
452 name: extraHelmFlags
453 default: ''
454 description: 'Any extra helm parameters you want (passed to every helm install command)'
455
Matteo Scandolo51b76302020-02-05 12:07:23 -0800456 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800457 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800458
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700459 dsl: !include-raw-escape: pipeline/{pipeline-script}