blob: e8e12cd9a7349a4aef73fa2fb06da166ab021e05 [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 # name format is <job-template>-<olts>-<pon>-<onus>-<setup>
11 # needed for comparison with the openonu-go adapter
Matteo Scandolo679ced22020-05-19 15:15:58 -070012 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070013 # name: 'voltha-scale-measurements-master-1-2-32-activation-no-mib'
Matteo Scandolo679ced22020-05-19 15:15:58 -070014 # build-node: 'onf-pod1-head-node'
15 # time-trigger: "H H/4 * * *"
16 # olts: 1
17 # pons: 2
18 # onus: 32
19 # withFlows: false
20 # provisionSubscribers: false
21 # withEapol: false
22 # withDhcp: false
23 # withIgmp: false
24 # withMibTemplate: false
Matteo Scandolo272aed42020-05-08 15:05:57 -070025
26 # jobs for 200 ONUs with a single openonu-adapter
Matteo Scandolo679ced22020-05-19 15:15:58 -070027 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070028 # name: 'voltha-scale-measurements-master-1-10-20-activation'
Matteo Scandolo679ced22020-05-19 15:15:58 -070029 # build-node: 'onf-pod1-head-node'
30 # time-trigger: "H H/4 * * *"
31 # olts: 1
32 # pons: 10
33 # onus: 20
34 # withFlows: false
35 # provisionSubscribers: false
36 # withEapol: false
37 # withDhcp: false
38 # withIgmp: false
39 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070040 # name: 'voltha-scale-measurements-master-1-10-20-att-flows'
Matteo Scandolo679ced22020-05-19 15:15:58 -070041 # build-node: 'onf-pod1-head-node'
42 # time-trigger: "H H/4 * * *"
43 # olts: 1
44 # pons: 10
45 # onus: 20
46 # withFlows: true
47 # provisionSubscribers: false
48 # withEapol: true
49 # withDhcp: true
50 # withIgmp: false
51 # extraHelmFlags: '--set auth=false '
52 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070053 # name: 'voltha-scale-measurements-master-1-10-20-att-subscribers'
Matteo Scandolo679ced22020-05-19 15:15:58 -070054 # build-node: 'onf-pod1-head-node'
55 # time-trigger: "H H/4 * * *"
56 # olts: 1
57 # pons: 10
58 # onus: 20
59 # withFlows: true
60 # provisionSubscribers: true
61 # withEapol: true
62 # withDhcp: true
63 # withIgmp: false
64 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070065 # name: 'voltha-scale-measurements-master-1-10-20-att-subscribers-profiled'
Matteo Scandolo679ced22020-05-19 15:15:58 -070066 # build-node: 'onf-pod1-head-node'
67 # time-trigger: "H H/4 * * *"
68 # olts: 1
69 # pons: 10
70 # onus: 20
71 # withFlows: true
72 # provisionSubscribers: true
73 # withEapol: true
74 # withDhcp: true
75 # withIgmp: false
76 # withProfiling: true
77 # extraHelmFlags: '--set profiler.enabled=true '
78 # rwCoreImg: voltha/voltha-rw-core:master-profile
79 # openoltAdapterImg: voltha/voltha-openolt-adapter:master-profile
80 # ofAgentImg: voltha/voltha-ofagent-go:master-profile
81 #
82 # # jobs for DT with 200 ONUs with a single openonu-adapter
83 # - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070084 # name: 'voltha-scale-measurements-master-1-10-20-dt-subscribers'
Matteo Scandolo679ced22020-05-19 15:15:58 -070085 # 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 # workflow: dt
93 # withEapol: false
94 # withDhcp: false
95 # withIgmp: false
Matteo Scandolo3136cca2020-05-15 14:14:27 -070096
Matteo Scandolo272aed42020-05-08 15:05:57 -070097 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS
Matteo Scandolob46bc402020-06-11 13:59:44 -070098 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070099 name: 'voltha-scale-measurements-master-1-16-32-activation'
Matteo Scandolob46bc402020-06-11 13:59:44 -0700100 build-node: 'onf-pod1-head-node'
101 time-trigger: "H H/4 * * *"
102 olts: 1
103 pons: 16
104 onus: 32
105 withFlows: false
106 provisionSubscribers: false
107 withEapol: false
108 withDhcp: false
109 withIgmp: false
110 openonuAdapterReplicas: 8
111 onosReplicas: 3
112 atomixReplicas: 3
Matteo Scandolob46bc402020-06-11 13:59:44 -0700113
Matteo Scandolo272aed42020-05-08 15:05:57 -0700114 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700115 name: 'voltha-scale-measurements-master-1-16-32-att-flows'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700116 build-node: 'onf-pod1-head-node'
117 time-trigger: "H H/4 * * *"
118 olts: 1
119 pons: 16
120 onus: 32
121 withFlows: true
122 provisionSubscribers: false
123 withEapol: true
124 withDhcp: true
125 withIgmp: false
126 openonuAdapterReplicas: 8
127 onosReplicas: 3
128 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700129 extraHelmFlags: '--set auth=false --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700130
131 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700132 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700133 build-node: 'onf-pod1-head-node'
134 time-trigger: "H H/4 * * *"
135 olts: 1
136 pons: 16
137 onus: 32
138 withFlows: true
139 provisionSubscribers: true
140 withEapol: true
141 withDhcp: true
142 withIgmp: false
143 openonuAdapterReplicas: 8
144 onosReplicas: 3
145 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700146 extraHelmFlags: '--set defaults.rw_core.timeout=30s --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700147
148 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
149 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700150 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700151 build-node: 'onf-pod1-head-node'
152 time-trigger: "H H/4 * * *"
153 olts: 1
154 pons: 16
155 onus: 32
156 withFlows: true
157 provisionSubscribers: true
158 workflow: dt
159 withEapol: false
160 withDhcp: false
161 withIgmp: false
162 openonuAdapterReplicas: 8
163 onosReplicas: 3
164 atomixReplicas: 3
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200165
Matteo Scandolo272aed42020-05-08 15:05:57 -0700166 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700167 - 'voltha-scale-measurements':
168 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700169 name: 'voltha-scale-measurements-master-2-16-32-activation'
Matteo Scandolocb726432020-06-01 08:49:14 -0700170 build-node: 'onf-pod1-head-node'
171 time-trigger: "H H/4 * * *"
172 olts: 2
173 pons: 16
174 onus: 32
175 withFlows: false
176 provisionSubscribers: false
177 withEapol: false
178 withDhcp: false
179 withIgmp: false
180 openonuAdapterReplicas: 8
181 onosReplicas: 3
182 atomixReplicas: 3
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700183
Matteo Scandolocb726432020-06-01 08:49:14 -0700184 - 'voltha-scale-measurements':
185 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700186 name: 'voltha-scale-measurements-master-2-16-32-att-flows'
Matteo Scandolocb726432020-06-01 08:49:14 -0700187 build-node: 'onf-pod1-head-node'
188 time-trigger: "H H/4 * * *"
189 olts: 2
190 pons: 16
191 onus: 32
192 withFlows: true
193 provisionSubscribers: false
194 withEapol: true
195 withDhcp: true
196 withIgmp: false
197 openonuAdapterReplicas: 8
198 onosReplicas: 3
199 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700200 extraHelmFlags: '--set auth=false --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700201
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700202 - 'voltha-scale-measurements':
203 disabled: true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700204 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700205 build-node: 'onf-pod1-head-node'
206 time-trigger: "H H/4 * * *"
207 olts: 2
208 pons: 16
209 onus: 32
210 withFlows: true
211 provisionSubscribers: true
212 withEapol: true
213 withDhcp: true
214 withIgmp: false
215 openonuAdapterReplicas: 8
216 onosReplicas: 3
217 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700218 extraHelmFlags: '--set defaults.rw_core.timeout=30s --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700219
220 # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS.
221 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700222 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700223 build-node: 'onf-pod1-head-node'
224 time-trigger: "H H/4 * * *"
225 olts: 2
226 pons: 16
227 onus: 32
228 withFlows: true
229 provisionSubscribers: true
230 workflow: dt
231 withEapol: false
232 withDhcp: false
233 withIgmp: false
234 openonuAdapterReplicas: 8
235 onosReplicas: 3
236 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700237 extraHelmFlags: '--set defaults.rw_core.timeout=30s --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandolo272aed42020-05-08 15:05:57 -0700238
Matteo Scandolod43064b2020-07-13 17:18:45 -0700239 # voltha-2.4 Jobs
240 - 'voltha-scale-measurements':
Matteo Scandolo5055e4e2020-07-14 10:10:38 -0700241 name: 'voltha-scale-measurements-voltha-2.4-1-16-32-att-subscribers'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700242 build-node: 'onf-pod1-head-node'
243 time-trigger: "H H/4 * * *"
244 olts: 1
245 pons: 16
246 onus: 32
247 withFlows: true
248 provisionSubscribers: true
249 withEapol: true
250 withDhcp: true
251 withIgmp: false
252 openonuAdapterReplicas: 8
253 onosReplicas: 3
254 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700255 extraHelmFlags: '--set defaults.rw_core.timeout=30s --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700256 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200257 karafHome: apache-karaf-4.2.8
Matteo Scandolod43064b2020-07-13 17:18:45 -0700258
259 - 'voltha-scale-measurements':
260 name: 'voltha-scale-measurements-voltha-2.4-2-16-32-dt-subscribers'
261 build-node: 'onf-pod1-head-node'
262 time-trigger: "H H/4 * * *"
263 olts: 2
264 pons: 16
265 onus: 32
266 withFlows: true
267 provisionSubscribers: true
268 workflow: dt
269 withEapol: false
270 withDhcp: false
271 withIgmp: false
272 openonuAdapterReplicas: 8
273 onosReplicas: 3
274 atomixReplicas: 3
Matteo Scandolo45671232020-07-21 16:40:51 -0700275 extraHelmFlags: '--set defaults.rw_core.timeout=30s --set images.bbsim_sadis_server.repository=matteoscandolo/bbsim-sadis-server --set images.bbsim_sadis_server.tag=k8-host '
Matteo Scandolod43064b2020-07-13 17:18:45 -0700276 release: voltha-2.4
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200277 karafHome: apache-karaf-4.2.8
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700278
Matteo Scandolo272aed42020-05-08 15:05:57 -0700279 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700280 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700281 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700282 build-node: 'voltha-scale'
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700283
Matteo Scandolo51b76302020-02-05 12:07:23 -0800284
285- job-template:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700286 id: 'voltha-scale-measurements'
287 name: '{name}'
288 pipeline-script: 'voltha-scale-test.groovy'
289
290 description: |
291 <!-- Managed by Jenkins Job Builder -->
292 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
293 Using pipeline {pipeline-script} <br/><br/>
294 Scale measurements for VOLTHA 2.x
295
296 properties:
297 - cord-infra-properties:
298 build-days-to-keep: '{build-days-to-keep}'
299 artifact-num-to-keep: '{artifact-num-to-keep}'
300
301 wrappers:
302 - lf-infra-wrappers:
303 build-timeout: '{build-timeout}'
304 jenkins-ssh-credential: '{jenkins-ssh-credential}'
305
306 # default values
Matteo Scandolod43064b2020-07-13 17:18:45 -0700307 release: master
308
Matteo Scandolo272aed42020-05-08 15:05:57 -0700309 bbsimImg: voltha/bbsim:master
310 rwCoreImg: voltha/voltha-rw-core:master
311 ofAgentImg: voltha/voltha-ofagent-go:master
312 openoltAdapterImg: voltha/voltha-openolt-adapter:master
313 openonuAdapterImg: voltha/voltha-openonu-adapter:master
314 onosImg: voltha/voltha-onos:master
315
316 bbsimChart: onf/bbsim
317 volthaChart: onf/voltha
318 openoltAdapterChart: onf/voltha-adapter-openolt
319 openonuAdapterChart: onf/voltha-adapter-openonu
320
Matteo Scandolo393add12020-05-08 18:03:17 -0700321 olts: 2
322 pons: 2
323 onus: 2
324 workflow: att
325 withFlows: false
326 provisionSubscribers: false
327 withEapol: true
328 withDhcp: true
329 withIgmp: false
330 withLLDP: false
331 withMibTemplate: true
332 withMonitoring: true
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700333 withProfiling: false
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700334 withPcap: false
Matteo Scandolo393add12020-05-08 18:03:17 -0700335 openonuAdapterReplicas: 1
336 onosReplicas: 1
337 atomixReplicas: 0
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700338 extraHelmFlags: ''
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700339 onosStatInterval: 5
Matteo Scandolofae22812020-06-03 15:02:27 -0700340 volthaSystemTestsChange: ''
341 kindVolthaChange: ''
Matteo Scandolo2f1cff22020-06-26 15:20:00 -0700342 inMemoryEtcdStorage: true
Matteo Scandolo393add12020-05-08 18:03:17 -0700343
Matteo Scandolo272aed42020-05-08 15:05:57 -0700344 parameters:
345 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700346 name: release
347 default: '{release}'
348 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
349
350 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700351 name: buildNode
352 default: '{build-node}'
353 description: 'Name of the Jenkins node to run the job on'
354
355 - string:
356 name: logLevel
357 default: 'WARN'
358 description: 'Log level for all the components'
359
360 - string:
361 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700362 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 description: 'Number of ONUs to provision'
364
365 - string:
366 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 description: 'Number of PONs to provision'
369
370 - string:
371 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'How many BBSim instances to run'
374
375 - string:
376 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'Which workflow are we testing (att, dt, tt)'
379
380 - bool:
381 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'Wheter to push flows from ONOS'
384
385 - bool:
386 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Wheter to provision subscribers durint the tests'
389
390 - bool:
391 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700392 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700393 description: 'Wheter EAPOL is enabled for the test'
394
395 - bool:
396 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700397 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700398 description: 'Wheter DHCP is enabled for the test'
399
400 - bool:
401 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700402 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700403 description: 'Wheter IGMP is enabled for the test'
404
405 - bool:
406 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700407 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700408 description: 'Wheter Link Discovery is enabled for the test'
409
410 - bool:
411 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700412 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700413 description: 'Option to trigger MIB template command'
414
415 - bool:
416 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700417 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700418 description: 'Option to install Prometheus'
419
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700420 - bool:
421 name: withProfiling
422 default: '{withProfiling}'
423 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
424
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700425 - bool:
426 name: withPcap
427 default: '{withPcap}'
428 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
429
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700430 - string:
431 name: extraHelmFlags
432 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700433 description: 'Any extra helm parameters you want (passed to every helm install command, not available if release != master)'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700434
Matteo Scandolo272aed42020-05-08 15:05:57 -0700435 - string:
436 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700437 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700438 description: 'How many OpenONU adapter instances to run'
439
440 - string:
441 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700442 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700443 description: 'How many ONOSes instances to run'
444
445 - string:
446 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700447 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700448 description: 'How many Atomix instances to run'
449
450 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700451 name: onosStatInterval
452 default: '{onosStatInterval}'
453 description: 'How often ONOS should poll for ports, flows and meters'
454
455 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700456 name: bbsimImg
457 default: '{bbsimImg}'
458 description: 'Custom image selection for BBSIM (repo:tag)'
459
460 - string:
461 name: bbsimChart
462 default: '{bbsimChart}'
463 description: 'BBSim chart name (or location on file system)'
464
465 - string:
466 name: rwCoreImg
467 default: '{rwCoreImg}'
468 description: 'Custom image selection for VOLTHA (repo:tag)'
469
470 - string:
471 name: ofAgentImg
472 default: '{ofAgentImg}'
473 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
474
475 - string:
476 name: volthaChart
477 default: '{volthaChart}'
478 description: 'VOLTHA chart name (or location on file system)'
479
480 - string:
481 name: openoltAdapterImg
482 default: '{openoltAdapterImg}'
483 description: 'Custom image selection for Openolt Adapter (repo:tag)'
484
485 - string:
486 name: openoltAdapterChart
487 default: '{openoltAdapterChart}'
488 description: 'OpenOLT chart name (or location on file system)'
489
490 - string:
491 name: openonuAdapterImg
492 default: '{openonuAdapterImg}'
493 description: 'Custom image selection for Openonu Adapter (repo:tag)'
494
495 - string:
496 name: openonuAdapterChart
497 default: '{openonuAdapterChart}'
498 description: 'OpenONU chart name (or location on file system)'
499
500 - string:
501 name: onosImg
502 default: '{onosImg}'
503 description: 'Custom image selection for Openonu Adapter (repo:tag)'
504
505 - string:
506 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700507 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700508 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
509
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700510 - string:
511 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700512 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700513 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
514
Matteo Scandoloccc06192020-06-22 10:16:17 -0700515 - bool:
516 name: inMemoryEtcdStorage
517 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700518 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700519
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200520 - string:
521 name: karafHome
522 default: '{karaf-home}'
523 description: 'Karaf home'
524
Matteo Scandolo272aed42020-05-08 15:05:57 -0700525 project-type: pipeline
526 concurrent: false
527
528 dsl: !include-raw-escape: pipeline/{pipeline-script}
529
Matteo Scandoloabb83972020-06-25 16:08:23 -0700530 triggers:
531 - timed: |
532 TZ=America/Los_Angeles
533 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700534
535- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700536 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800537 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700538 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800539
540 description: |
541 <!-- Managed by Jenkins Job Builder -->
542 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
543 Using pipeline {pipeline-script} <br/><br/>
544 Scale measurements for VOLTHA 2.x
545
546 properties:
547 - cord-infra-properties:
548 build-days-to-keep: '{build-days-to-keep}'
549 artifact-num-to-keep: '{artifact-num-to-keep}'
550
551 wrappers:
552 - lf-infra-wrappers:
553 build-timeout: '{build-timeout}'
554 jenkins-ssh-credential: '{jenkins-ssh-credential}'
555
Matteo Scandolo0430f672020-05-07 11:50:26 -0700556 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700557 release: master
558
Matteo Scandolo0430f672020-05-07 11:50:26 -0700559 bbsimImg: voltha/bbsim:master
560 rwCoreImg: voltha/voltha-rw-core:master
561 ofAgentImg: voltha/voltha-ofagent-go:master
562 openoltAdapterImg: voltha/voltha-openolt-adapter:master
563 openonuAdapterImg: voltha/voltha-openonu-adapter:master
564 onosImg: voltha/voltha-onos:master
565
566 bbsimChart: onf/bbsim
567 volthaChart: onf/voltha
568 openoltAdapterChart: onf/voltha-adapter-openolt
569 openonuAdapterChart: onf/voltha-adapter-openonu
570
Matteo Scandolo68776b72020-07-21 14:06:06 -0700571 olts: 2
572 pons: 2
573 onus: 2
574 workflow: att
575 withFlows: false
576 provisionSubscribers: false
577 withEapol: true
578 withDhcp: true
579 withIgmp: false
580 withLLDP: false
581 withMibTemplate: true
582 withMonitoring: true
583 withProfiling: false
584 withPcap: false
585 openonuAdapterReplicas: 1
586 onosReplicas: 1
587 atomixReplicas: 0
588 extraHelmFlags: ''
589 onosStatInterval: 5
590 volthaSystemTestsChange: ''
591 kindVolthaChange: ''
592 inMemoryEtcdStorage: true
593
Matteo Scandolo51b76302020-02-05 12:07:23 -0800594 parameters:
595 - string:
Matteo Scandolo68776b72020-07-21 14:06:06 -0700596 name: release
597 default: '{release}'
598 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
599
600 - string:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800601 name: buildNode
602 default: '{build-node}'
603 description: 'Name of the Jenkins node to run the job on'
604
605 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700606 name: logLevel
607 default: 'WARN'
608 description: 'Log level for all the components'
609
610 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700611 name: onus
Matteo Scandolo68776b72020-07-21 14:06:06 -0700612 default: '{onus}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800613 description: 'Number of ONUs to provision'
614
615 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700616 name: pons
Matteo Scandolo68776b72020-07-21 14:06:06 -0700617 default: '{pons}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800618 description: 'Number of PONs to provision'
619
Matteo Scandolo0430f672020-05-07 11:50:26 -0700620 - string:
621 name: olts
Matteo Scandolo68776b72020-07-21 14:06:06 -0700622 default: '{olts}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700623 description: 'How many BBSim instances to run'
624
625 - string:
626 name: workflow
Matteo Scandolo68776b72020-07-21 14:06:06 -0700627 default: '{workflow}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700628 description: 'Which workflow are we testing (att, dt, tt)'
629
630 - bool:
631 name: withFlows
Matteo Scandolo68776b72020-07-21 14:06:06 -0700632 default: '{withFlows}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700633 description: 'Wheter to push flows from ONOS'
634
635 - bool:
636 name: provisionSubscribers
Matteo Scandolo68776b72020-07-21 14:06:06 -0700637 default: '{provisionSubscribers}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700638 description: 'Wheter to provision subscribers durint the tests'
639
640 - bool:
641 name: withEapol
Matteo Scandolo68776b72020-07-21 14:06:06 -0700642 default: '{withEapol}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700643 description: 'Wheter EAPOL is enabled for the test'
644
645 - bool:
646 name: withDhcp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700647 default: '{withDhcp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700648 description: 'Wheter DHCP is enabled for the test'
649
650 - bool:
651 name: withIgmp
Matteo Scandolo68776b72020-07-21 14:06:06 -0700652 default: '{withIgmp}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700653 description: 'Wheter IGMP is enabled for the test'
654
655 - bool:
656 name: withLLDP
Matteo Scandolo68776b72020-07-21 14:06:06 -0700657 default: '{withLLDP}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700658 description: 'Wheter Link Discovery is enabled for the test'
659
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800660 - bool:
661 name: withMibTemplate
Matteo Scandolo68776b72020-07-21 14:06:06 -0700662 default: '{withMibTemplate}'
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800663 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800664
Matteo Scandolo0430f672020-05-07 11:50:26 -0700665 - bool:
666 name: withMonitoring
Matteo Scandolo68776b72020-07-21 14:06:06 -0700667 default: '{withMonitoring}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700668 description: 'Option to install Prometheus'
669
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700670 - bool:
671 name: withProfiling
Matteo Scandolo68776b72020-07-21 14:06:06 -0700672 default: '{withProfiling}'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700673 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
674
Matteo Scandolo68776b72020-07-21 14:06:06 -0700675 - bool:
676 name: withPcap
677 default: '{withPcap}'
678 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
679
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700680 - string:
681 name: extraHelmFlags
Matteo Scandolo68776b72020-07-21 14:06:06 -0700682 default: '{extraHelmFlags}'
683 description: 'Any extra helm parameters you want (passed to every helm install command, not available if release != master)'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700684
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800685 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700686 name: openonuAdapterReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700687 default: '{openonuAdapterReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700688 description: 'How many OpenONU adapter instances to run'
689
690 - string:
691 name: onosReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700692 default: '{onosReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700693 description: 'How many ONOSes instances to run'
694
695 - string:
696 name: atomixReplicas
Matteo Scandolo68776b72020-07-21 14:06:06 -0700697 default: '{atomixReplicas}'
Matteo Scandolo0430f672020-05-07 11:50:26 -0700698 description: 'How many Atomix instances to run'
699
700 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700701 name: onosStatInterval
Matteo Scandolo68776b72020-07-21 14:06:06 -0700702 default: '{onosStatInterval}'
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700703 description: 'How often ONOS should poll for ports, flows and meters'
704
705 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700706 name: bbsimImg
707 default: '{bbsimImg}'
708 description: 'Custom image selection for BBSIM (repo:tag)'
709
710 - string:
711 name: bbsimChart
712 default: '{bbsimChart}'
713 description: 'BBSim chart name (or location on file system)'
714
715 - string:
716 name: rwCoreImg
717 default: '{rwCoreImg}'
718 description: 'Custom image selection for VOLTHA (repo:tag)'
719
720 - string:
721 name: ofAgentImg
722 default: '{ofAgentImg}'
723 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
724
725 - string:
726 name: volthaChart
727 default: '{volthaChart}'
728 description: 'VOLTHA chart name (or location on file system)'
729
730 - string:
731 name: openoltAdapterImg
732 default: '{openoltAdapterImg}'
733 description: 'Custom image selection for Openolt Adapter (repo:tag)'
734
735 - string:
736 name: openoltAdapterChart
737 default: '{openoltAdapterChart}'
738 description: 'OpenOLT chart name (or location on file system)'
739
740 - string:
741 name: openonuAdapterImg
742 default: '{openonuAdapterImg}'
743 description: 'Custom image selection for Openonu Adapter (repo:tag)'
744
745 - string:
746 name: openonuAdapterChart
747 default: '{openonuAdapterChart}'
748 description: 'OpenONU chart name (or location on file system)'
749
750 - string:
751 name: onosImg
752 default: '{onosImg}'
753 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700754
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700755 - string:
756 name: volthaSystemTestsChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700757 default: '{volthaSystemTestsChange}'
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700758 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
759
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700760 - string:
761 name: kindVolthaChange
Matteo Scandolo68776b72020-07-21 14:06:06 -0700762 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700763 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
764
Matteo Scandolo68776b72020-07-21 14:06:06 -0700765 - bool:
766 name: inMemoryEtcdStorage
767 default: '{inMemoryEtcdStorage}'
768 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
769
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200770 - string:
771 name: karafHome
772 default: '{karaf-home}'
773 description: 'Karaf home'
774
Matteo Scandolo51b76302020-02-05 12:07:23 -0800775 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800776 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800777
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700778 dsl: !include-raw-escape: pipeline/{pipeline-script}