blob: 62b6c15440a75d3ba90f57bdc98fea5373c11717 [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-1-64-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: 64
23 ponPorts: 1
Matteo Scandolo132f5552020-03-03 18:56:35 -080024 expectedOnus: 64
Matteo Scandoloda2834f2020-03-03 13:12:32 -080025 BBSIMdelay: 200
Matteo Scandolo272aed42020-05-08 15:05:57 -070026 - 'voltha-scale-measurements-periodic-legacy':
Matteo Scandolod1a15082020-04-22 10:57:49 -070027 name: 'voltha-scale-measurements-periodic-10-20-200ms-with-flows'
28 build-node: 'onf-pod1-head-node'
29 time-trigger: "H H/4 * * *"
30 onuPerPon: 20
31 ponPorts: 10
32 expectedOnus: 200
33 BBSIMdelay: 200
34 withOnosApps: true
35 flowStatInterval: 5
36 portsStatInterval: 5
Matteo Scandoloc9812232020-04-22 14:18:07 -070037 expectedFlows: 201
Matteo Scandolo268f3222020-04-24 15:19:25 -070038 bbsimAuth: false
39 bbsimDhcp: false
Matteo Scandolo272aed42020-05-08 15:05:57 -070040
41 # new Jobs
42 # name format is <job-template>-<olts>-<pon>-<onus>-<setup>
43 # needed for comparison with the openonu-go adapter
44 - 'voltha-scale-measurements':
45 name: 'voltha-scale-measurements-1-2-32-activation-no-mib'
Matteo Scandolo268f3222020-04-24 15:19:25 -070046 build-node: 'onf-pod1-head-node'
47 time-trigger: "H H/4 * * *"
Matteo Scandolo272aed42020-05-08 15:05:57 -070048 olts: 1
49 pons: 2
50 onus: 32
51 withFlows: false
52 provisionSubscribers: false
53 withEapol: false
54 withDhcp: false
55 withIgmp: false
56 withMibTemplate: false
57
58 # jobs for 200 ONUs with a single openonu-adapter
59 - 'voltha-scale-measurements':
60 name: 'voltha-scale-measurements-1-10-20-activation'
Matteo Scandolo3e0e0402020-04-27 16:07:05 -070061 build-node: 'onf-pod1-head-node'
62 time-trigger: "H H/4 * * *"
Matteo Scandolo272aed42020-05-08 15:05:57 -070063 olts: 1
64 pons: 10
65 onus: 20
66 withFlows: false
67 provisionSubscribers: false
68 withEapol: false
69 withDhcp: false
70 withIgmp: false
71 - 'voltha-scale-measurements':
72 name: 'voltha-scale-measurements-1-10-20-flows'
73 build-node: 'onf-pod1-head-node'
74 time-trigger: "H H/4 * * *"
75 olts: 1
76 pons: 10
77 onus: 20
78 withFlows: true
79 provisionSubscribers: false
80 withEapol: true
81 withDhcp: true
82 withIgmp: false
83 - 'voltha-scale-measurements':
84 name: 'voltha-scale-measurements-1-10-20-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 withEapol: true
93 withDhcp: true
94 withIgmp: false
95
96 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS
97 - 'voltha-scale-measurements':
98 name: 'voltha-scale-measurements-1-16-32-activation'
99 build-node: 'onf-pod1-head-node'
100 time-trigger: "H H/4 * * *"
101 olts: 1
102 pons: 16
103 onus: 32
104 withFlows: false
105 provisionSubscribers: false
106 withEapol: false
107 withDhcp: false
108 withIgmp: false
109 openonuAdapterReplicas: 8
110 onosReplicas: 3
111 atomixReplicas: 3
112 - 'voltha-scale-measurements':
113 name: 'voltha-scale-measurements-1-16-32-flows'
114 build-node: 'onf-pod1-head-node'
115 time-trigger: "H H/4 * * *"
116 olts: 1
117 pons: 16
118 onus: 32
119 withFlows: true
120 provisionSubscribers: false
121 withEapol: true
122 withDhcp: true
123 withIgmp: false
124 openonuAdapterReplicas: 8
125 onosReplicas: 3
126 atomixReplicas: 3
127 - 'voltha-scale-measurements':
128 name: 'voltha-scale-measurements-1-16-32-subscribers'
129 build-node: 'onf-pod1-head-node'
130 time-trigger: "H H/4 * * *"
131 olts: 1
132 pons: 16
133 onus: 32
134 withFlows: true
135 provisionSubscribers: true
136 withEapol: true
137 withDhcp: true
138 withIgmp: false
139 openonuAdapterReplicas: 8
140 onosReplicas: 3
141 atomixReplicas: 3
142
143 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
144 - 'voltha-scale-measurements':
145 name: 'voltha-scale-measurements-2-16-32-activation'
146 build-node: 'onf-pod1-head-node'
147 time-trigger: "H H/4 * * *"
148 olts: 2
149 pons: 16
150 onus: 32
151 withFlows: false
152 provisionSubscribers: false
153 withEapol: false
154 withDhcp: false
155 withIgmp: false
156 openonuAdapterReplicas: 8
157 onosReplicas: 3
158 atomixReplicas: 3
159 - 'voltha-scale-measurements':
160 name: 'voltha-scale-measurements-2-16-32-flows'
161 build-node: 'onf-pod1-head-node'
162 time-trigger: "H H/4 * * *"
163 olts: 2
164 pons: 16
165 onus: 32
166 withFlows: true
167 provisionSubscribers: false
168 withEapol: true
169 withDhcp: true
170 withIgmp: false
171 openonuAdapterReplicas: 8
172 onosReplicas: 3
173 atomixReplicas: 3
174 - 'voltha-scale-measurements':
175 name: 'voltha-scale-measurements-2-16-32-subscribers'
176 build-node: 'onf-pod1-head-node'
177 time-trigger: "H H/4 * * *"
178 olts: 2
179 pons: 16
180 onus: 32
181 withFlows: true
182 provisionSubscribers: true
183 withEapol: true
184 withDhcp: true
185 withIgmp: false
186 openonuAdapterReplicas: 8
187 onosReplicas: 3
188 atomixReplicas: 3
189
190 # development pipeline
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700191 - 'voltha-scale-measurements-dev':
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800192 name: 'voltha-scale-measurements-dev'
Shrey Baid4c108ad2020-03-10 15:21:13 -0700193 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800194
195- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700196 id: 'voltha-scale-measurements-periodic-legacy'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800197 name: '{name}'
198 pipeline-script: 'voltha-scale-measurements.groovy'
199
200 description: |
201 <!-- Managed by Jenkins Job Builder -->
202 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
203 Using pipeline {pipeline-script} <br/><br/>
204 Scale measurements for VOLTHA 2.x
205
206 properties:
207 - cord-infra-properties:
208 build-days-to-keep: '{build-days-to-keep}'
209 artifact-num-to-keep: '{artifact-num-to-keep}'
210
211 wrappers:
212 - lf-infra-wrappers:
213 build-timeout: '{build-timeout}'
214 jenkins-ssh-credential: '{jenkins-ssh-credential}'
215
Matteo Scandolo49421972020-03-20 10:55:11 -0700216 # default parameters
217 bbsimImg: voltha/bbsim:master
218 bbsimChart: onf/bbsim
219 volthaImg: voltha/voltha-rw-core:master
Matteo Scandoloe1c200f2020-03-24 10:33:58 -0700220 ofAgentImg: voltha/voltha-ofagent-go:master
Matteo Scandolo49421972020-03-20 10:55:11 -0700221 volthaChart: onf/voltha
222 openoltAdapterImg: voltha/voltha-openolt-adapter:master
223 openoltAdapterChart: onf/voltha-adapter-openolt
224 openonuAdapterImg: voltha/voltha-openonu-adapter:master
225 openonuAdapterChart: onf/voltha-adapter-openonu
Shrey Baid70c849a2020-04-03 21:52:00 +0530226 onosImg: voltha/voltha-onos:master
Matteo Scandolo49421972020-03-20 10:55:11 -0700227 extraHelmFlags: ''
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700228 withMibTemplate: true
229 numOfBbsim: 1
230 numOfKafka: 3
Matteo Scandolod1a15082020-04-22 10:57:49 -0700231 withOnosApps: false
232 setLinkDiscovery: false
233 flowStatInterval: 600
234 portsStatInterval: 600
Matteo Scandoloc9812232020-04-22 14:18:07 -0700235 expectedFlows: 0 # by defualt ONOS apps are deactivated
Matteo Scandolo268f3222020-04-24 15:19:25 -0700236 bbsimAuth: true
237 bbsimDhcp: true
Matteo Scandolo49421972020-03-20 10:55:11 -0700238
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800239 parameters:
240 - string:
241 name: buildNode
242 default: '{build-node}'
243 description: 'Name of the Jenkins node to run the job on'
244
245 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700246 name: logLevel
247 default: 'WARN'
248 description: 'Log level for all the components'
249
250 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800251 name: onuPerPon
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800252 default: '{onuPerPon}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800253 description: 'Number of ONUs to provision'
254
255 - string:
256 name: ponPorts
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800257 default: '{ponPorts}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800258 description: 'Number of PONs to provision'
259
260 - string:
261 name: expectedOnus
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800262 default: '{expectedOnus}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800263 description: 'Expected number of activated ONUs'
264
265 - string:
Matteo Scandoloc9812232020-04-22 14:18:07 -0700266 name: expectedFlows
267 default: '{expectedFlows}'
268 description: 'Expected number of flows in ONOS'
269
270 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800271 name: pollInterval
272 default: 5
273 description: 'Sleep time between ONU activation checks'
274
275 - bool:
276 name: withOnosApps
Matteo Scandolod1a15082020-04-22 10:57:49 -0700277 default: '{withOnosApps}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800278 description: 'Option to deactivate certain ONOS apps'
279
280 - bool:
281 name: withMibTemplate
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700282 default: '{withMibTemplate}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800283 description: 'Option to trigger MIB template command'
284
285 - bool:
286 name: setLinkDiscovery
Matteo Scandolod1a15082020-04-22 10:57:49 -0700287 default: '{setLinkDiscovery}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800288 description: 'Option to toggle Link Discovery'
289
290 - string:
291 name: BBSIMdelay
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800292 default: '{BBSIMdelay}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800293 description: 'BBSIM Delay, milliseconds'
294
295 - string:
296 name: flowStatInterval
Matteo Scandolod1a15082020-04-22 10:57:49 -0700297 default: '{flowStatInterval}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800298 description: 'Flow Stats Collection Interval, milliseconds'
299
300 - string:
301 name: portsStatInterval
Matteo Scandolod1a15082020-04-22 10:57:49 -0700302 default: {portsStatInterval}
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800303 description: 'Ports Stats Collection Interval, milliseconds'
304
305 - bool:
306 name: bbsimAuth
Matteo Scandolo268f3222020-04-24 15:19:25 -0700307 default: '{bbsimAuth}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800308 description: 'Option to toggle BBSIM EAPOL true/false'
309
310 - bool:
311 name: bbsimDhcp
Matteo Scandolo268f3222020-04-24 15:19:25 -0700312 default: '{bbsimDhcp}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800313 description: 'Option to toggle BBSIM DHCP true/false'
314
315 - string:
316 name: bbsimImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700317 default: '{bbsimImg}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800318 description: 'Custom image selection for BBSIM (repo:tag)'
319
320 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700321 name: bbsimChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700322 default: '{bbsimChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700323 description: 'BBSim chart name (or location on file system)'
324
325 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800326 name: volthaImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700327 default: '{volthaImg}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800328 description: 'Custom image selection for VOLTHA (repo:tag)'
329
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800330 - string:
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700331 name: ofAgentImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700332 default: '{ofAgentImg}'
Matteo Scandolofddcb002020-03-24 09:14:57 -0700333 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700334
335 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700336 name: volthaChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700337 default: '{volthaChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700338 description: 'VOLTHA chart name (or location on file system)'
339
340 - string:
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800341 name: openoltAdapterImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700342 default: '{openoltAdapterImg}'
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800343 description: 'Custom image selection for Openolt Adapter (repo:tag)'
344
345 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700346 name: openoltAdapterChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700347 default: '{openoltAdapterChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700348 description: 'OpenOLT chart name (or location on file system)'
349
350 - string:
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800351 name: openonuAdapterImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700352 default: '{openonuAdapterImg}'
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800353 description: 'Custom image selection for Openonu Adapter (repo:tag)'
354
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700355 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700356 name: openonuAdapterChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700357 default: '{openonuAdapterChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700358 description: 'OpenONU chart name (or location on file system)'
359
360 - string:
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700361 name: onosImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700362 default: '{onosImg}'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700363 description: 'Custom image selection for Openonu Adapter (repo:tag)'
364
365 - string:
366 name: extraHelmFlags
Matteo Scandolo49421972020-03-20 10:55:11 -0700367 default: '{extraHelmFlags}'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700368 description: 'Any extra helm parameters you want (passed to every helm install command)'
369
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700370 - string:
371 name: numOfBbsim
372 default: '{numOfBbsim}'
373 description: 'How many BBSim instances to run'
374
375 - string:
376 name: numOfKafka
377 default: '{numOfKafka}'
378 description: 'How many Kafka instances to run'
379
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800380 project-type: pipeline
381 concurrent: false
382
383 dsl: !include-raw-escape: pipeline/{pipeline-script}
384
385 triggers:
386 - timed: |
387 TZ=America/Los_Angeles
388 {time-trigger}
389
390- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700391 id: 'voltha-scale-measurements'
392 name: '{name}'
393 pipeline-script: 'voltha-scale-test.groovy'
394
395 description: |
396 <!-- Managed by Jenkins Job Builder -->
397 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
398 Using pipeline {pipeline-script} <br/><br/>
399 Scale measurements for VOLTHA 2.x
400
401 properties:
402 - cord-infra-properties:
403 build-days-to-keep: '{build-days-to-keep}'
404 artifact-num-to-keep: '{artifact-num-to-keep}'
405
406 wrappers:
407 - lf-infra-wrappers:
408 build-timeout: '{build-timeout}'
409 jenkins-ssh-credential: '{jenkins-ssh-credential}'
410
411 # default values
412 bbsimImg: voltha/bbsim:master
413 rwCoreImg: voltha/voltha-rw-core:master
414 ofAgentImg: voltha/voltha-ofagent-go:master
415 openoltAdapterImg: voltha/voltha-openolt-adapter:master
416 openonuAdapterImg: voltha/voltha-openonu-adapter:master
417 onosImg: voltha/voltha-onos:master
418
419 bbsimChart: onf/bbsim
420 volthaChart: onf/voltha
421 openoltAdapterChart: onf/voltha-adapter-openolt
422 openonuAdapterChart: onf/voltha-adapter-openonu
423
Matteo Scandolo393add12020-05-08 18:03:17 -0700424 olts: 2
425 pons: 2
426 onus: 2
427 workflow: att
428 withFlows: false
429 provisionSubscribers: false
430 withEapol: true
431 withDhcp: true
432 withIgmp: false
433 withLLDP: false
434 withMibTemplate: true
435 withMonitoring: true
436 openonuAdapterReplicas: 1
437 onosReplicas: 1
438 atomixReplicas: 0
439
Matteo Scandolo272aed42020-05-08 15:05:57 -0700440 parameters:
441 - string:
442 name: buildNode
443 default: '{build-node}'
444 description: 'Name of the Jenkins node to run the job on'
445
446 - string:
447 name: logLevel
448 default: 'WARN'
449 description: 'Log level for all the components'
450
451 - string:
452 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700453 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700454 description: 'Number of ONUs to provision'
455
456 - string:
457 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700458 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700459 description: 'Number of PONs to provision'
460
461 - string:
462 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700463 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700464 description: 'How many BBSim instances to run'
465
466 - string:
467 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700468 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700469 description: 'Which workflow are we testing (att, dt, tt)'
470
471 - bool:
472 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700473 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700474 description: 'Wheter to push flows from ONOS'
475
476 - bool:
477 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700478 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700479 description: 'Wheter to provision subscribers durint the tests'
480
481 - bool:
482 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700483 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700484 description: 'Wheter EAPOL is enabled for the test'
485
486 - bool:
487 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700488 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700489 description: 'Wheter DHCP is enabled for the test'
490
491 - bool:
492 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700493 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700494 description: 'Wheter IGMP is enabled for the test'
495
496 - bool:
497 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700498 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700499 description: 'Wheter Link Discovery is enabled for the test'
500
501 - bool:
502 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700503 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700504 description: 'Option to trigger MIB template command'
505
506 - bool:
507 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700508 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700509 description: 'Option to install Prometheus'
510
511 - string:
512 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700513 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700514 description: 'How many OpenONU adapter instances to run'
515
516 - string:
517 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700518 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700519 description: 'How many ONOSes instances to run'
520
521 - string:
522 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700523 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700524 description: 'How many Atomix instances to run'
525
526 - string:
527 name: bbsimImg
528 default: '{bbsimImg}'
529 description: 'Custom image selection for BBSIM (repo:tag)'
530
531 - string:
532 name: bbsimChart
533 default: '{bbsimChart}'
534 description: 'BBSim chart name (or location on file system)'
535
536 - string:
537 name: rwCoreImg
538 default: '{rwCoreImg}'
539 description: 'Custom image selection for VOLTHA (repo:tag)'
540
541 - string:
542 name: ofAgentImg
543 default: '{ofAgentImg}'
544 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
545
546 - string:
547 name: volthaChart
548 default: '{volthaChart}'
549 description: 'VOLTHA chart name (or location on file system)'
550
551 - string:
552 name: openoltAdapterImg
553 default: '{openoltAdapterImg}'
554 description: 'Custom image selection for Openolt Adapter (repo:tag)'
555
556 - string:
557 name: openoltAdapterChart
558 default: '{openoltAdapterChart}'
559 description: 'OpenOLT chart name (or location on file system)'
560
561 - string:
562 name: openonuAdapterImg
563 default: '{openonuAdapterImg}'
564 description: 'Custom image selection for Openonu Adapter (repo:tag)'
565
566 - string:
567 name: openonuAdapterChart
568 default: '{openonuAdapterChart}'
569 description: 'OpenONU chart name (or location on file system)'
570
571 - string:
572 name: onosImg
573 default: '{onosImg}'
574 description: 'Custom image selection for Openonu Adapter (repo:tag)'
575
576 - string:
577 name: volthaSystemTestsChange
578 default: ''
579 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
580
581 project-type: pipeline
582 concurrent: false
583
584 dsl: !include-raw-escape: pipeline/{pipeline-script}
585
586 triggers:
587 - timed: |
588 TZ=America/Los_Angeles
589 {time-trigger}
590
591- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700592 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800593 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700594 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800595
596 description: |
597 <!-- Managed by Jenkins Job Builder -->
598 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
599 Using pipeline {pipeline-script} <br/><br/>
600 Scale measurements for VOLTHA 2.x
601
602 properties:
603 - cord-infra-properties:
604 build-days-to-keep: '{build-days-to-keep}'
605 artifact-num-to-keep: '{artifact-num-to-keep}'
606
607 wrappers:
608 - lf-infra-wrappers:
609 build-timeout: '{build-timeout}'
610 jenkins-ssh-credential: '{jenkins-ssh-credential}'
611
Matteo Scandolo0430f672020-05-07 11:50:26 -0700612 # default values
613 bbsimImg: voltha/bbsim:master
614 rwCoreImg: voltha/voltha-rw-core:master
615 ofAgentImg: voltha/voltha-ofagent-go:master
616 openoltAdapterImg: voltha/voltha-openolt-adapter:master
617 openonuAdapterImg: voltha/voltha-openonu-adapter:master
618 onosImg: voltha/voltha-onos:master
619
620 bbsimChart: onf/bbsim
621 volthaChart: onf/voltha
622 openoltAdapterChart: onf/voltha-adapter-openolt
623 openonuAdapterChart: onf/voltha-adapter-openonu
624
Matteo Scandolo51b76302020-02-05 12:07:23 -0800625 parameters:
626 - string:
627 name: buildNode
628 default: '{build-node}'
629 description: 'Name of the Jenkins node to run the job on'
630
631 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700632 name: logLevel
633 default: 'WARN'
634 description: 'Log level for all the components'
635
636 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700637 name: onus
638 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800639 description: 'Number of ONUs to provision'
640
641 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700642 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700643 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800644 description: 'Number of PONs to provision'
645
Matteo Scandolo0430f672020-05-07 11:50:26 -0700646 - string:
647 name: olts
648 default: 2
649 description: 'How many BBSim instances to run'
650
651 - string:
652 name: workflow
653 default: att
654 description: 'Which workflow are we testing (att, dt, tt)'
655
656 - bool:
657 name: withFlows
658 default: false
659 description: 'Wheter to push flows from ONOS'
660
661 - bool:
662 name: provisionSubscribers
663 default: false
664 description: 'Wheter to provision subscribers durint the tests'
665
666 - bool:
667 name: withEapol
668 default: true
669 description: 'Wheter EAPOL is enabled for the test'
670
671 - bool:
672 name: withDhcp
673 default: true
674 description: 'Wheter DHCP is enabled for the test'
675
676 - bool:
677 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700678 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700679 description: 'Wheter IGMP is enabled for the test'
680
681 - bool:
682 name: withLLDP
683 default: false
684 description: 'Wheter Link Discovery is enabled for the test'
685
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800686 - bool:
687 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700688 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800689 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800690
Matteo Scandolo0430f672020-05-07 11:50:26 -0700691 - bool:
692 name: withMonitoring
693 default: true
694 description: 'Option to install Prometheus'
695
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800696 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700697 name: openonuAdapterReplicas
698 default: 1
699 description: 'How many OpenONU adapter instances to run'
700
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700701 # 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 -0700702 - string:
703 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700704 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700705 description: 'How many ONOSes instances to run'
706
707 - string:
708 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700709 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700710 description: 'How many Atomix instances to run'
711
712 - string:
713 name: bbsimImg
714 default: '{bbsimImg}'
715 description: 'Custom image selection for BBSIM (repo:tag)'
716
717 - string:
718 name: bbsimChart
719 default: '{bbsimChart}'
720 description: 'BBSim chart name (or location on file system)'
721
722 - string:
723 name: rwCoreImg
724 default: '{rwCoreImg}'
725 description: 'Custom image selection for VOLTHA (repo:tag)'
726
727 - string:
728 name: ofAgentImg
729 default: '{ofAgentImg}'
730 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
731
732 - string:
733 name: volthaChart
734 default: '{volthaChart}'
735 description: 'VOLTHA chart name (or location on file system)'
736
737 - string:
738 name: openoltAdapterImg
739 default: '{openoltAdapterImg}'
740 description: 'Custom image selection for Openolt Adapter (repo:tag)'
741
742 - string:
743 name: openoltAdapterChart
744 default: '{openoltAdapterChart}'
745 description: 'OpenOLT chart name (or location on file system)'
746
747 - string:
748 name: openonuAdapterImg
749 default: '{openonuAdapterImg}'
750 description: 'Custom image selection for Openonu Adapter (repo:tag)'
751
752 - string:
753 name: openonuAdapterChart
754 default: '{openonuAdapterChart}'
755 description: 'OpenONU chart name (or location on file system)'
756
757 - string:
758 name: onosImg
759 default: '{onosImg}'
760 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700761
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700762 - string:
763 name: volthaSystemTestsChange
764 default: ''
765 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
766
Matteo Scandolo51b76302020-02-05 12:07:23 -0800767 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800768 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800769
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700770 dsl: !include-raw-escape: pipeline/{pipeline-script}