blob: 0c03a309e853eed5ccce0b89db0006771c92be62 [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 Scandolo330f7522020-03-17 17:15:53 -070011 name: 'voltha-scale-measurements-periodic-8-16-200ms'
12 build-node: 'onf-pod1-head-node'
13 time-trigger: "H H/4 * * *"
14 onuPerPon: 16
15 ponPorts: 8
16 expectedOnus: 128
17 BBSIMdelay: 200
18 - 'voltha-scale-measurements-periodic':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080019 name: 'voltha-scale-measurements-periodic-8-32-200ms'
Shrey Baidb0447182020-02-27 16:39:35 -080020 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080021 time-trigger: "H H/4 * * *"
Matteo Scandolod48d95e2020-02-27 17:04:55 -080022 onuPerPon: 32
23 ponPorts: 8
24 expectedOnus: 256
Matteo Scandolo54d98802020-02-28 11:14:23 -080025 BBSIMdelay: 200
Matteo Scandolo55c379e2020-03-02 11:57:05 -080026 - '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 Scandoloda2834f2020-03-03 13:12:32 -080035 name: 'voltha-scale-measurements-periodic-4-32-200ms'
Matteo Scandolo55c379e2020-03-02 11:57:05 -080036 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080037 time-trigger: "H H/4 * * *"
Matteo Scandolo55c379e2020-03-02 11:57:05 -080038 onuPerPon: 32
39 ponPorts: 4
40 expectedOnus: 128
Matteo Scandoloda2834f2020-03-03 13:12:32 -080041 BBSIMdelay: 200
42 - 'voltha-scale-measurements-periodic':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080043 name: 'voltha-scale-measurements-periodic-16-32-200ms'
44 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080045 time-trigger: "H H/4 * * *"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080046 onuPerPon: 32
47 ponPorts: 16
Matteo Scandolo132f5552020-03-03 18:56:35 -080048 expectedOnus: 512
Matteo Scandoloda2834f2020-03-03 13:12:32 -080049 BBSIMdelay: 200
Matteo Scandolo24044fc2020-04-14 10:07:14 -070050 # multi-adapter
Matteo Scandolo89f1cea2020-04-10 10:20:20 -070051 extraHelmFlags: "--set replicas.adapter_open_onu=8"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080052 - 'voltha-scale-measurements-periodic':
Matteo Scandolo75f807a2020-04-30 10:30:18 -070053 name: 'voltha-scale-measurements-periodic-16-32-20s'
54 build-node: 'onf-pod1-head-node'
55 time-trigger: "H H/4 * * *"
56 onuPerPon: 32
57 ponPorts: 16
58 expectedOnus: 512
59 BBSIMdelay: 20000
60 # multi-adapter
61 extraHelmFlags: "--set replicas.adapter_open_onu=8"
62 - 'voltha-scale-measurements-periodic':
Matteo Scandolo731d4d22020-03-20 10:06:00 -070063 name: 'voltha-scale-measurements-periodic-16-64-200ms'
Matteo Scandoloda2834f2020-03-03 13:12:32 -080064 build-node: 'onf-pod1-head-node'
Matteo Scandolo380af272020-03-05 14:26:47 -080065 time-trigger: "H H/4 * * *"
Matteo Scandolo731d4d22020-03-20 10:06:00 -070066 onuPerPon: 64
Matteo Scandoloda2834f2020-03-03 13:12:32 -080067 ponPorts: 16
Matteo Scandolo731d4d22020-03-20 10:06:00 -070068 expectedOnus: 1024
69 BBSIMdelay: 200
Matteo Scandolo24044fc2020-04-14 10:07:14 -070070 # multi-adapter
Matteo Scandolo89f1cea2020-04-10 10:20:20 -070071 extraHelmFlags: "--set replicas.adapter_open_onu=8"
Matteo Scandoloda2834f2020-03-03 13:12:32 -080072 - 'voltha-scale-measurements-periodic':
Matteo Scandolo75f807a2020-04-30 10:30:18 -070073 name: 'voltha-scale-measurements-periodic-16-64-20s'
74 build-node: 'onf-pod1-head-node'
75 time-trigger: "H H/4 * * *"
76 onuPerPon: 64
77 ponPorts: 16
78 expectedOnus: 1024
79 BBSIMdelay: 20000
80 # multi-adapter
81 extraHelmFlags: "--set replicas.adapter_open_onu=8"
82 - 'voltha-scale-measurements-periodic':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080083 name: 'voltha-scale-measurements-periodic-4-64-200ms'
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: 200
90 - 'voltha-scale-measurements-periodic':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080091 name: 'voltha-scale-measurements-periodic-1-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: 1
Matteo Scandolo132f5552020-03-03 18:56:35 -080096 expectedOnus: 128
Matteo Scandoloda2834f2020-03-03 13:12:32 -080097 BBSIMdelay: 200
98 - 'voltha-scale-measurements-periodic':
Matteo Scandoloda2834f2020-03-03 13:12:32 -080099 name: 'voltha-scale-measurements-periodic-1-64-200ms'
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: 64
103 ponPorts: 1
Matteo Scandolo132f5552020-03-03 18:56:35 -0800104 expectedOnus: 64
Matteo Scandoloda2834f2020-03-03 13:12:32 -0800105 BBSIMdelay: 200
106 - 'voltha-scale-measurements-periodic':
Matteo Scandolo3e0e0402020-04-27 16:07:05 -0700107 name: 'voltha-scale-measurements-periodic-1-1-200ms-complete'
Matteo Scandolo380af272020-03-05 14:26:47 -0800108 build-node: 'onf-pod1-head-node'
109 time-trigger: "H H/4 * * *"
110 onuPerPon: 1
111 ponPorts: 1
112 expectedOnus: 1
113 BBSIMdelay: 200
Matteo Scandolo3e0e0402020-04-27 16:07:05 -0700114 withOnosApps: true
115 flowStatInterval: 5
116 portsStatInterval: 5
117 expectedFlows: 2
Matteo Scandolo380af272020-03-05 14:26:47 -0800118 - 'voltha-scale-measurements-periodic':
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700119 name: 'voltha-scale-measurements-periodic-2-OLTs-10-10-200ms'
Matteo Scandolo380af272020-03-05 14:26:47 -0800120 build-node: 'onf-pod1-head-node'
121 time-trigger: "H H/4 * * *"
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700122 onuPerPon: 10
123 ponPorts: 10
124 numOfBbsim: 2
125 expectedOnus: 200
126 BBSIMdelay: 200
Matteo Scandolod1a15082020-04-22 10:57:49 -0700127 - 'voltha-scale-measurements-periodic':
128 name: 'voltha-scale-measurements-periodic-10-20-200ms-with-flows'
129 build-node: 'onf-pod1-head-node'
130 time-trigger: "H H/4 * * *"
131 onuPerPon: 20
132 ponPorts: 10
133 expectedOnus: 200
134 BBSIMdelay: 200
135 withOnosApps: true
136 flowStatInterval: 5
137 portsStatInterval: 5
Matteo Scandoloc9812232020-04-22 14:18:07 -0700138 expectedFlows: 201
Matteo Scandolo268f3222020-04-24 15:19:25 -0700139 bbsimAuth: false
140 bbsimDhcp: false
141 - 'voltha-scale-measurements-periodic':
Matteo Scandolo3e0e0402020-04-27 16:07:05 -0700142 name: 'voltha-scale-measurements-periodic-4-16-200ms-complete'
Matteo Scandolo268f3222020-04-24 15:19:25 -0700143 build-node: 'onf-pod1-head-node'
144 time-trigger: "H H/4 * * *"
145 onuPerPon: 16
146 ponPorts: 4
147 expectedOnus: 64
148 BBSIMdelay: 200
149 withOnosApps: true
150 flowStatInterval: 5
151 portsStatInterval: 5
152 expectedFlows: 65
Matteo Scandolo3e0e0402020-04-27 16:07:05 -0700153 - 'voltha-scale-measurements-periodic':
154 name: 'voltha-scale-measurements-periodic-10-20-200ms-complete'
155 build-node: 'onf-pod1-head-node'
156 time-trigger: "H H/4 * * *"
157 onuPerPon: 20
158 ponPorts: 10
Matteo Scandolo33dfebd2020-04-29 07:26:28 -0700159 expectedOnus: 200
Matteo Scandolo3e0e0402020-04-27 16:07:05 -0700160 BBSIMdelay: 200
161 withOnosApps: true
162 flowStatInterval: 5
163 portsStatInterval: 5
164 expectedFlows: 201
Matteo Scandolo75f807a2020-04-30 10:30:18 -0700165 extraHelmFlags: "--set replicas.adapter_open_onu=2"
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800166 - 'voltha-scale-measurements':
167 name: 'voltha-scale-measurements-dev'
Shrey Baid4c108ad2020-03-10 15:21:13 -0700168 build-node: 'voltha-scale'
Matteo Scandolo54d98802020-02-28 11:14:23 -0800169 onuPerPon: 16
170 ponPorts: 1
171 expectedOnus: 16
172 BBSIMdelay: 200
Matteo Scandolo51b76302020-02-05 12:07:23 -0800173
174- job-template:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800175 id: 'voltha-scale-measurements-periodic'
176 name: '{name}'
177 pipeline-script: 'voltha-scale-measurements.groovy'
178
179 description: |
180 <!-- Managed by Jenkins Job Builder -->
181 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
182 Using pipeline {pipeline-script} <br/><br/>
183 Scale measurements for VOLTHA 2.x
184
185 properties:
186 - cord-infra-properties:
187 build-days-to-keep: '{build-days-to-keep}'
188 artifact-num-to-keep: '{artifact-num-to-keep}'
189
190 wrappers:
191 - lf-infra-wrappers:
192 build-timeout: '{build-timeout}'
193 jenkins-ssh-credential: '{jenkins-ssh-credential}'
194
Matteo Scandolo49421972020-03-20 10:55:11 -0700195 # default parameters
196 bbsimImg: voltha/bbsim:master
197 bbsimChart: onf/bbsim
198 volthaImg: voltha/voltha-rw-core:master
Matteo Scandoloe1c200f2020-03-24 10:33:58 -0700199 ofAgentImg: voltha/voltha-ofagent-go:master
Matteo Scandolo49421972020-03-20 10:55:11 -0700200 volthaChart: onf/voltha
201 openoltAdapterImg: voltha/voltha-openolt-adapter:master
202 openoltAdapterChart: onf/voltha-adapter-openolt
203 openonuAdapterImg: voltha/voltha-openonu-adapter:master
204 openonuAdapterChart: onf/voltha-adapter-openonu
Shrey Baid70c849a2020-04-03 21:52:00 +0530205 onosImg: voltha/voltha-onos:master
Matteo Scandolo49421972020-03-20 10:55:11 -0700206 extraHelmFlags: ''
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700207 withMibTemplate: true
208 numOfBbsim: 1
209 numOfKafka: 3
Matteo Scandolod1a15082020-04-22 10:57:49 -0700210 withOnosApps: false
211 setLinkDiscovery: false
212 flowStatInterval: 600
213 portsStatInterval: 600
Matteo Scandoloc9812232020-04-22 14:18:07 -0700214 expectedFlows: 0 # by defualt ONOS apps are deactivated
Matteo Scandolo268f3222020-04-24 15:19:25 -0700215 bbsimAuth: true
216 bbsimDhcp: true
Matteo Scandolo49421972020-03-20 10:55:11 -0700217
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800218 parameters:
219 - string:
220 name: buildNode
221 default: '{build-node}'
222 description: 'Name of the Jenkins node to run the job on'
223
224 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700225 name: logLevel
226 default: 'WARN'
227 description: 'Log level for all the components'
228
229 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800230 name: onuPerPon
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800231 default: '{onuPerPon}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800232 description: 'Number of ONUs to provision'
233
234 - string:
235 name: ponPorts
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800236 default: '{ponPorts}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800237 description: 'Number of PONs to provision'
238
239 - string:
240 name: expectedOnus
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800241 default: '{expectedOnus}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800242 description: 'Expected number of activated ONUs'
243
244 - string:
Matteo Scandoloc9812232020-04-22 14:18:07 -0700245 name: expectedFlows
246 default: '{expectedFlows}'
247 description: 'Expected number of flows in ONOS'
248
249 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800250 name: pollInterval
251 default: 5
252 description: 'Sleep time between ONU activation checks'
253
254 - bool:
255 name: withOnosApps
Matteo Scandolod1a15082020-04-22 10:57:49 -0700256 default: '{withOnosApps}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800257 description: 'Option to deactivate certain ONOS apps'
258
259 - bool:
260 name: withMibTemplate
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700261 default: '{withMibTemplate}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800262 description: 'Option to trigger MIB template command'
263
264 - bool:
265 name: setLinkDiscovery
Matteo Scandolod1a15082020-04-22 10:57:49 -0700266 default: '{setLinkDiscovery}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800267 description: 'Option to toggle Link Discovery'
268
269 - string:
270 name: BBSIMdelay
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800271 default: '{BBSIMdelay}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800272 description: 'BBSIM Delay, milliseconds'
273
274 - string:
275 name: flowStatInterval
Matteo Scandolod1a15082020-04-22 10:57:49 -0700276 default: '{flowStatInterval}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800277 description: 'Flow Stats Collection Interval, milliseconds'
278
279 - string:
280 name: portsStatInterval
Matteo Scandolod1a15082020-04-22 10:57:49 -0700281 default: {portsStatInterval}
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800282 description: 'Ports Stats Collection Interval, milliseconds'
283
284 - bool:
285 name: bbsimAuth
Matteo Scandolo268f3222020-04-24 15:19:25 -0700286 default: '{bbsimAuth}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800287 description: 'Option to toggle BBSIM EAPOL true/false'
288
289 - bool:
290 name: bbsimDhcp
Matteo Scandolo268f3222020-04-24 15:19:25 -0700291 default: '{bbsimDhcp}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800292 description: 'Option to toggle BBSIM DHCP true/false'
293
294 - string:
295 name: bbsimImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700296 default: '{bbsimImg}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800297 description: 'Custom image selection for BBSIM (repo:tag)'
298
299 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700300 name: bbsimChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700301 default: '{bbsimChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700302 description: 'BBSim chart name (or location on file system)'
303
304 - string:
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800305 name: volthaImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700306 default: '{volthaImg}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800307 description: 'Custom image selection for VOLTHA (repo:tag)'
308
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800309 - string:
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700310 name: ofAgentImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700311 default: '{ofAgentImg}'
Matteo Scandolofddcb002020-03-24 09:14:57 -0700312 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700313
314 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700315 name: volthaChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700316 default: '{volthaChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700317 description: 'VOLTHA chart name (or location on file system)'
318
319 - string:
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800320 name: openoltAdapterImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700321 default: '{openoltAdapterImg}'
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800322 description: 'Custom image selection for Openolt Adapter (repo:tag)'
323
324 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700325 name: openoltAdapterChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700326 default: '{openoltAdapterChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700327 description: 'OpenOLT chart name (or location on file system)'
328
329 - string:
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800330 name: openonuAdapterImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700331 default: '{openonuAdapterImg}'
Matteo Scandolod4b5d672020-03-05 15:18:47 -0800332 description: 'Custom image selection for Openonu Adapter (repo:tag)'
333
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700334 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700335 name: openonuAdapterChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700336 default: '{openonuAdapterChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700337 description: 'OpenONU chart name (or location on file system)'
338
339 - string:
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700340 name: onosImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700341 default: '{onosImg}'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700342 description: 'Custom image selection for Openonu Adapter (repo:tag)'
343
344 - string:
345 name: extraHelmFlags
Matteo Scandolo49421972020-03-20 10:55:11 -0700346 default: '{extraHelmFlags}'
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700347 description: 'Any extra helm parameters you want (passed to every helm install command)'
348
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700349 - string:
350 name: numOfBbsim
351 default: '{numOfBbsim}'
352 description: 'How many BBSim instances to run'
353
354 - string:
355 name: numOfKafka
356 default: '{numOfKafka}'
357 description: 'How many Kafka instances to run'
358
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800359 project-type: pipeline
360 concurrent: false
361
362 dsl: !include-raw-escape: pipeline/{pipeline-script}
363
364 triggers:
365 - timed: |
366 TZ=America/Los_Angeles
367 {time-trigger}
368
369- job-template:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800370 id: 'voltha-scale-measurements'
371 name: '{name}'
372 pipeline-script: 'voltha-scale-measurements.groovy'
373
374 description: |
375 <!-- Managed by Jenkins Job Builder -->
376 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
377 Using pipeline {pipeline-script} <br/><br/>
378 Scale measurements for VOLTHA 2.x
379
380 properties:
381 - cord-infra-properties:
382 build-days-to-keep: '{build-days-to-keep}'
383 artifact-num-to-keep: '{artifact-num-to-keep}'
384
385 wrappers:
386 - lf-infra-wrappers:
387 build-timeout: '{build-timeout}'
388 jenkins-ssh-credential: '{jenkins-ssh-credential}'
389
Matteo Scandolo49421972020-03-20 10:55:11 -0700390 # default parameters
Matteo Scandolo45159ab2020-03-23 08:55:40 -0700391 bbsimImg: "voltha/bbsim:master"
392 bbsimChart: "onf/bbsim"
393 volthaImg: "voltha/voltha-rw-core:master"
Matteo Scandolo9a9bb892020-03-19 10:09:18 -0700394 ofAgentImg: "voltha/voltha-ofagent-go:master"
Matteo Scandolo45159ab2020-03-23 08:55:40 -0700395 volthaChart: "onf/voltha"
396 openoltAdapterImg: "voltha/voltha-openolt-adapter:master"
397 openoltAdapterChart: "onf/voltha-adapter-openolt"
398 openonuAdapterImg: "voltha/voltha-openonu-adapter:master"
399 openonuAdapterChart: "onf/voltha-adapter-openonu"
Shrey Baid70c849a2020-04-03 21:52:00 +0530400 onosImg: "voltha/voltha-onos:master"
Matteo Scandolo49421972020-03-20 10:55:11 -0700401 extraHelmFlags: ''
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700402 withMibTemplate: true
403 numOfBbsim: 1
Matteo Scandolod1a15082020-04-22 10:57:49 -0700404 numOfKafka: 3
405 withOnosApps: true
406 setLinkDiscovery: false
407 flowStatInterval: 600
408 portsStatInterval: 600
Matteo Scandoloc9812232020-04-22 14:18:07 -0700409 expectedFlows: 17 # one EAPOL per ONU + 1 LLDP on the NNI
Matteo Scandolo268f3222020-04-24 15:19:25 -0700410 bbsimAuth: true
411 bbsimDhcp: true
Matteo Scandolo49421972020-03-20 10:55:11 -0700412
Matteo Scandolo51b76302020-02-05 12:07:23 -0800413 parameters:
414 - string:
415 name: buildNode
416 default: '{build-node}'
417 description: 'Name of the Jenkins node to run the job on'
418
419 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700420 name: logLevel
421 default: 'WARN'
422 description: 'Log level for all the components'
423
424 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800425 name: onuPerPon
Matteo Scandolo51b76302020-02-05 12:07:23 -0800426 default: 1
427 description: 'Number of ONUs to provision'
428
429 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800430 name: ponPorts
Matteo Scandolo51b76302020-02-05 12:07:23 -0800431 default: 1
432 description: 'Number of PONs to provision'
433
Shrey Baid80d9fff2020-02-10 10:26:02 -0800434 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800435 name: expectedOnus
Shrey Baid80d9fff2020-02-10 10:26:02 -0800436 default: 1
437 description: 'Expected number of activated ONUs'
438
Shrey Baid6777d2c2020-02-10 11:36:55 -0800439 - string:
Matteo Scandoloc9812232020-04-22 14:18:07 -0700440 name: expectedFlows
441 default: '{expectedFlows}'
442 description: 'Expected number of flows in ONOS'
443
444 - string:
Shrey Baid6777d2c2020-02-10 11:36:55 -0800445 name: pollInterval
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800446 default: 5
Shrey Baid6777d2c2020-02-10 11:36:55 -0800447 description: 'Sleep time between ONU activation checks'
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800448
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800449 - bool:
450 name: withOnosApps
Matteo Scandolod1a15082020-04-22 10:57:49 -0700451 default: '{withOnosApps}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800452 description: 'Option to deactivate certain ONOS apps'
453
454 - bool:
455 name: withMibTemplate
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700456 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800457 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800458
459 - bool:
460 name: setLinkDiscovery
Matteo Scandolod1a15082020-04-22 10:57:49 -0700461 default: '{setLinkDiscovery}'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800462 description: 'Option to toggle Link Discovery'
463
464 - string:
465 name: BBSIMdelay
466 default: 200
467 description: 'BBSIM Delay, milliseconds'
468
469 - string:
470 name: flowStatInterval
Matteo Scandolod1a15082020-04-22 10:57:49 -0700471 default: '{flowStatInterval}'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800472 description: 'Flow Stats Collection Interval, milliseconds'
473
474 - string:
475 name: portsStatInterval
Matteo Scandolod1a15082020-04-22 10:57:49 -0700476 default: {portsStatInterval}
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800477 description: 'Ports Stats Collection Interval, milliseconds'
Shrey Baid6777d2c2020-02-10 11:36:55 -0800478
Shrey Baide7614d02020-02-25 10:26:42 -0800479 - bool:
480 name: bbsimAuth
Matteo Scandolo268f3222020-04-24 15:19:25 -0700481 default: '{bbsimAuth}'
Shrey Baida3b8aa62020-02-13 11:22:51 -0800482 description: 'Option to toggle BBSIM EAPOL true/false'
483
Shrey Baide7614d02020-02-25 10:26:42 -0800484 - bool:
Shrey Baida3b8aa62020-02-13 11:22:51 -0800485 name: bbsimDhcp
Matteo Scandolo268f3222020-04-24 15:19:25 -0700486 default: '{bbsimDhcp}'
Shrey Baida3b8aa62020-02-13 11:22:51 -0800487 description: 'Option to toggle BBSIM DHCP true/false'
488
Shrey Baide7614d02020-02-25 10:26:42 -0800489 - string:
490 name: bbsimImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700491 default: '{bbsimImg}'
Shrey Baide7614d02020-02-25 10:26:42 -0800492 description: 'Custom image selection for BBSIM (repo:tag)'
493
494 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700495 name: bbsimChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700496 default: '{bbsimChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700497 description: 'BBSim chart name (or location on file system)'
498
499 - string:
Shrey Baide7614d02020-02-25 10:26:42 -0800500 name: volthaImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700501 default: '{volthaImg}'
Shrey Baide7614d02020-02-25 10:26:42 -0800502 description: 'Custom image selection for VOLTHA (repo:tag)'
503
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800504 - string:
Matteo Scandolofe241be2020-03-12 10:00:17 -0700505 name: ofAgentImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700506 default: '{ofAgentImg}'
Matteo Scandolofddcb002020-03-24 09:14:57 -0700507 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
Matteo Scandolofe241be2020-03-12 10:00:17 -0700508
509 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700510 name: volthaChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700511 default: '{volthaChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700512 description: 'VOLTHA chart name (or location on file system)'
513
514 - string:
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800515 name: openoltAdapterImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700516 default: '{openoltAdapterImg}'
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800517 description: 'Custom image selection for Openolt Adapter (repo:tag)'
518
519 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700520 name: openoltAdapterChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700521 default: '{openoltAdapterChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700522 description: 'OpenOLT chart name (or location on file system)'
523
524 - string:
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800525 name: openonuAdapterImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700526 default: '{openonuAdapterImg}'
Matteo Scandoloa2928e72020-03-02 16:38:22 -0800527 description: 'Custom image selection for Openonu Adapter (repo:tag)'
528
Matteo Scandolofe241be2020-03-12 10:00:17 -0700529 - string:
Matteo Scandolo7059b082020-03-17 09:05:03 -0700530 name: openonuAdapterChart
Matteo Scandolo49421972020-03-20 10:55:11 -0700531 default: '{openonuAdapterChart}'
Matteo Scandolo7059b082020-03-17 09:05:03 -0700532 description: 'OpenONU chart name (or location on file system)'
533
534 - string:
Matteo Scandolofe241be2020-03-12 10:00:17 -0700535 name: onosImg
Matteo Scandolo49421972020-03-20 10:55:11 -0700536 default: '{onosImg}'
Matteo Scandolofe241be2020-03-12 10:00:17 -0700537 description: 'Custom image selection for Openonu Adapter (repo:tag)'
538
539 - string:
540 name: extraHelmFlags
Matteo Scandolo49421972020-03-20 10:55:11 -0700541 default: '{extraHelmFlags}'
Matteo Scandolofe241be2020-03-12 10:00:17 -0700542 description: 'Any extra helm parameters you want (passed to every helm install command)'
543
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700544 - string:
545 name: numOfBbsim
546 default: '{numOfBbsim}'
547 description: 'How many BBSim instances to run'
548
549 - string:
550 name: numOfKafka
551 default: '{numOfKafka}'
552 description: 'How many Kafka instances to run'
553
Matteo Scandolo51b76302020-02-05 12:07:23 -0800554 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800555 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800556
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700557 dsl: !include-raw-escape: pipeline/{pipeline-script}