blob: 33c33c5fa28781bdda840b718a22827aa54908b2 [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:
260 name: openoltAdapterImg
261 default: voltha/voltha-openolt-adapter:master
262 description: 'Custom image selection for Openolt Adapter (repo:tag)'
263
264 - string:
265 name: openonuAdapterImg
266 default: voltha/voltha-openonu-adapter:master
267 description: 'Custom image selection for Openonu Adapter (repo:tag)'
268
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800269 project-type: pipeline
270 concurrent: false
271
272 dsl: !include-raw-escape: pipeline/{pipeline-script}
273
274 triggers:
275 - timed: |
276 TZ=America/Los_Angeles
277 {time-trigger}
278
279- job-template:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800280 id: 'voltha-scale-measurements'
281 name: '{name}'
282 pipeline-script: 'voltha-scale-measurements.groovy'
283
284 description: |
285 <!-- Managed by Jenkins Job Builder -->
286 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
287 Using pipeline {pipeline-script} <br/><br/>
288 Scale measurements for VOLTHA 2.x
289
290 properties:
291 - cord-infra-properties:
292 build-days-to-keep: '{build-days-to-keep}'
293 artifact-num-to-keep: '{artifact-num-to-keep}'
294
295 wrappers:
296 - lf-infra-wrappers:
297 build-timeout: '{build-timeout}'
298 jenkins-ssh-credential: '{jenkins-ssh-credential}'
299
300 parameters:
301 - string:
302 name: buildNode
303 default: '{build-node}'
304 description: 'Name of the Jenkins node to run the job on'
305
306 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800307 name: onuPerPon
Matteo Scandolo51b76302020-02-05 12:07:23 -0800308 default: 1
309 description: 'Number of ONUs to provision'
310
311 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800312 name: ponPorts
Matteo Scandolo51b76302020-02-05 12:07:23 -0800313 default: 1
314 description: 'Number of PONs to provision'
315
Shrey Baid80d9fff2020-02-10 10:26:02 -0800316 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800317 name: expectedOnus
Shrey Baid80d9fff2020-02-10 10:26:02 -0800318 default: 1
319 description: 'Expected number of activated ONUs'
320
Shrey Baid6777d2c2020-02-10 11:36:55 -0800321 - string:
322 name: pollInterval
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800323 default: 5
Shrey Baid6777d2c2020-02-10 11:36:55 -0800324 description: 'Sleep time between ONU activation checks'
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800325
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800326 - bool:
327 name: withOnosApps
328 default: false
329 description: 'Option to deactivate certain ONOS apps'
330
331 - bool:
332 name: withMibTemplate
Shrey Baidf2203932020-02-12 15:40:09 -0800333 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800334 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800335
336 - bool:
337 name: setLinkDiscovery
338 default: false
339 description: 'Option to toggle Link Discovery'
340
341 - string:
342 name: BBSIMdelay
343 default: 200
344 description: 'BBSIM Delay, milliseconds'
345
346 - string:
347 name: flowStatInterval
348 default: 600
349 description: 'Flow Stats Collection Interval, milliseconds'
350
351 - string:
352 name: portsStatInterval
353 default: 600
354 description: 'Ports Stats Collection Interval, milliseconds'
Shrey Baid6777d2c2020-02-10 11:36:55 -0800355
Shrey Baide7614d02020-02-25 10:26:42 -0800356 - bool:
357 name: bbsimAuth
Shrey Baida3b8aa62020-02-13 11:22:51 -0800358 default: true
359 description: 'Option to toggle BBSIM EAPOL true/false'
360
Shrey Baide7614d02020-02-25 10:26:42 -0800361 - bool:
Shrey Baida3b8aa62020-02-13 11:22:51 -0800362 name: bbsimDhcp
363 default: true
364 description: 'Option to toggle BBSIM DHCP true/false'
365
Shrey Baide7614d02020-02-25 10:26:42 -0800366 - string:
367 name: bbsimImg
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800368 default: voltha/bbsim:master
Shrey Baide7614d02020-02-25 10:26:42 -0800369 description: 'Custom image selection for BBSIM (repo:tag)'
370
371 - string:
372 name: volthaImg
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800373 default: voltha/voltha-rw-core:master
Shrey Baide7614d02020-02-25 10:26:42 -0800374 description: 'Custom image selection for VOLTHA (repo:tag)'
375
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800376 - string:
377 name: openoltAdapterImg
378 default: voltha/voltha-openolt-adapter:master
379 description: 'Custom image selection for Openolt Adapter (repo:tag)'
380
381 - string:
382 name: openonuAdapterImg
383 default: voltha/voltha-openonu-adapter:master
384 description: 'Custom image selection for Openonu Adapter (repo:tag)'
385
Matteo Scandolo51b76302020-02-05 12:07:23 -0800386 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800387 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800388
Shrey Baid4da57a62020-03-05 15:49:50 -0800389 dsl: !include-raw-escape: pipeline/{pipeline-script}