blob: af877625cbf85437965ab6395b7164a8c9854115 [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 Scandolo380af272020-03-05 14:26:47 -080027 name: 'voltha-scale-measurements-periodic-8-48-200ms'
28 build-node: 'onf-pod1-head-node'
29 time-trigger: "H H/4 * * *"
30 onuPerPon: 48
31 ponPorts: 8
32 expectedOnus: 384
33 BBSIMdelay: 200
34 - 'voltha-scale-measurements-periodic':
35 name: 'voltha-scale-measurements-periodic-8-48-1000ms'
36 build-node: 'onf-pod1-head-node'
37 time-trigger: "H H/4 * * *"
38 onuPerPon: 48
39 ponPorts: 8
40 expectedOnus: 384
41 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'
156 build-node: 'voltha-scale-dev'
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:
255 name: volthaImg
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800256 default: 'voltha/voltha-rw-core:master'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800257 description: 'Custom image selection for VOLTHA (repo:tag)'
258
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800259 - string:
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700260 name: ofAgentImg
261 default: 'voltha/voltha-ofagent:master'
262 description: 'Custom image selection for OfAgent (repo:tag)'
263
264 - string:
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800265 name: openoltAdapterImg
266 default: voltha/voltha-openolt-adapter:master
267 description: 'Custom image selection for Openolt Adapter (repo:tag)'
268
269 - string:
270 name: openonuAdapterImg
271 default: voltha/voltha-openonu-adapter:master
272 description: 'Custom image selection for Openonu Adapter (repo:tag)'
273
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700274 - string:
275 name: onosImg
276 default: voltha/voltha-onos:4.0.1
277 description: 'Custom image selection for Openonu Adapter (repo:tag)'
278
279 - string:
280 name: extraHelmFlags
281 default: ''
282 description: 'Any extra helm parameters you want (passed to every helm install command)'
283
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800284 project-type: pipeline
285 concurrent: false
286
287 dsl: !include-raw-escape: pipeline/{pipeline-script}
288
289 triggers:
290 - timed: |
291 TZ=America/Los_Angeles
292 {time-trigger}
293
294- job-template:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800295 id: 'voltha-scale-measurements'
296 name: '{name}'
297 pipeline-script: 'voltha-scale-measurements.groovy'
298
299 description: |
300 <!-- Managed by Jenkins Job Builder -->
301 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
302 Using pipeline {pipeline-script} <br/><br/>
303 Scale measurements for VOLTHA 2.x
304
305 properties:
306 - cord-infra-properties:
307 build-days-to-keep: '{build-days-to-keep}'
308 artifact-num-to-keep: '{artifact-num-to-keep}'
309
310 wrappers:
311 - lf-infra-wrappers:
312 build-timeout: '{build-timeout}'
313 jenkins-ssh-credential: '{jenkins-ssh-credential}'
314
315 parameters:
316 - string:
317 name: buildNode
318 default: '{build-node}'
319 description: 'Name of the Jenkins node to run the job on'
320
321 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800322 name: onuPerPon
Matteo Scandolo51b76302020-02-05 12:07:23 -0800323 default: 1
324 description: 'Number of ONUs to provision'
325
326 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800327 name: ponPorts
Matteo Scandolo51b76302020-02-05 12:07:23 -0800328 default: 1
329 description: 'Number of PONs to provision'
330
Shrey Baid80d9fff2020-02-10 10:26:02 -0800331 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800332 name: expectedOnus
Shrey Baid80d9fff2020-02-10 10:26:02 -0800333 default: 1
334 description: 'Expected number of activated ONUs'
335
Shrey Baid6777d2c2020-02-10 11:36:55 -0800336 - string:
337 name: pollInterval
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800338 default: 5
Shrey Baid6777d2c2020-02-10 11:36:55 -0800339 description: 'Sleep time between ONU activation checks'
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800340
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800341 - bool:
342 name: withOnosApps
343 default: false
344 description: 'Option to deactivate certain ONOS apps'
345
346 - bool:
347 name: withMibTemplate
Shrey Baidf2203932020-02-12 15:40:09 -0800348 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800349 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800350
351 - bool:
352 name: setLinkDiscovery
353 default: false
354 description: 'Option to toggle Link Discovery'
355
356 - string:
357 name: BBSIMdelay
358 default: 200
359 description: 'BBSIM Delay, milliseconds'
360
361 - string:
362 name: flowStatInterval
363 default: 600
364 description: 'Flow Stats Collection Interval, milliseconds'
365
366 - string:
367 name: portsStatInterval
368 default: 600
369 description: 'Ports Stats Collection Interval, milliseconds'
Shrey Baid6777d2c2020-02-10 11:36:55 -0800370
Shrey Baide7614d02020-02-25 10:26:42 -0800371 - bool:
372 name: bbsimAuth
Shrey Baida3b8aa62020-02-13 11:22:51 -0800373 default: true
374 description: 'Option to toggle BBSIM EAPOL true/false'
375
Shrey Baide7614d02020-02-25 10:26:42 -0800376 - bool:
Shrey Baida3b8aa62020-02-13 11:22:51 -0800377 name: bbsimDhcp
378 default: true
379 description: 'Option to toggle BBSIM DHCP true/false'
380
Shrey Baide7614d02020-02-25 10:26:42 -0800381 - string:
382 name: bbsimImg
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800383 default: voltha/bbsim:master
Shrey Baide7614d02020-02-25 10:26:42 -0800384 description: 'Custom image selection for BBSIM (repo:tag)'
385
386 - string:
387 name: volthaImg
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800388 default: voltha/voltha-rw-core:master
Shrey Baide7614d02020-02-25 10:26:42 -0800389 description: 'Custom image selection for VOLTHA (repo:tag)'
390
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800391 - string:
392 name: openoltAdapterImg
393 default: voltha/voltha-openolt-adapter:master
394 description: 'Custom image selection for Openolt Adapter (repo:tag)'
395
396 - string:
397 name: openonuAdapterImg
398 default: voltha/voltha-openonu-adapter:master
399 description: 'Custom image selection for Openonu Adapter (repo:tag)'
400
Matteo Scandolo51b76302020-02-05 12:07:23 -0800401 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800402 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800403
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700404 dsl: !include-raw-escape: pipeline/{pipeline-script}