blob: 56d9c44ea11666b110e98dd3b91b414b3ae169ca [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 Scandolob2f814a2020-07-15 10:01:11 -0700129 extraHelmFlags: '--set auth=false '
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 Scandolob2f814a2020-07-15 10:01:11 -0700146 extraHelmFlags: '--set defaults.rw_core.timeout=30s'
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 Scandolob2f814a2020-07-15 10:01:11 -0700200 extraHelmFlags: '--set auth=false '
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 Scandolob2f814a2020-07-15 10:01:11 -0700218 extraHelmFlags: '--set defaults.rw_core.timeout=30s'
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 Scandolob2f814a2020-07-15 10:01:11 -0700237 extraHelmFlags: '--set defaults.rw_core.timeout=30s'
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
255 extraHelmFlags: '--set defaults.rw_core.timeout=30s'
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 Scandolob2f814a2020-07-15 10:01:11 -0700275 extraHelmFlags: '--set defaults.rw_core.timeout=30s'
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
557 bbsimImg: voltha/bbsim:master
558 rwCoreImg: voltha/voltha-rw-core:master
559 ofAgentImg: voltha/voltha-ofagent-go:master
560 openoltAdapterImg: voltha/voltha-openolt-adapter:master
561 openonuAdapterImg: voltha/voltha-openonu-adapter:master
562 onosImg: voltha/voltha-onos:master
563
564 bbsimChart: onf/bbsim
565 volthaChart: onf/voltha
566 openoltAdapterChart: onf/voltha-adapter-openolt
567 openonuAdapterChart: onf/voltha-adapter-openonu
568
Matteo Scandolo51b76302020-02-05 12:07:23 -0800569 parameters:
570 - string:
571 name: buildNode
572 default: '{build-node}'
573 description: 'Name of the Jenkins node to run the job on'
574
575 - string:
Matteo Scandolo330f7522020-03-17 17:15:53 -0700576 name: logLevel
577 default: 'WARN'
578 description: 'Log level for all the components'
579
580 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700581 name: onus
582 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800583 description: 'Number of ONUs to provision'
584
585 - string:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700586 name: pons
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700587 default: 2
Matteo Scandolo51b76302020-02-05 12:07:23 -0800588 description: 'Number of PONs to provision'
589
Matteo Scandolo0430f672020-05-07 11:50:26 -0700590 - string:
591 name: olts
592 default: 2
593 description: 'How many BBSim instances to run'
594
595 - string:
596 name: workflow
597 default: att
598 description: 'Which workflow are we testing (att, dt, tt)'
599
600 - bool:
601 name: withFlows
602 default: false
603 description: 'Wheter to push flows from ONOS'
604
605 - bool:
606 name: provisionSubscribers
607 default: false
608 description: 'Wheter to provision subscribers durint the tests'
609
610 - bool:
611 name: withEapol
612 default: true
613 description: 'Wheter EAPOL is enabled for the test'
614
615 - bool:
616 name: withDhcp
617 default: true
618 description: 'Wheter DHCP is enabled for the test'
619
620 - bool:
621 name: withIgmp
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700622 default: false
Matteo Scandolo0430f672020-05-07 11:50:26 -0700623 description: 'Wheter IGMP is enabled for the test'
624
625 - bool:
626 name: withLLDP
627 default: false
628 description: 'Wheter Link Discovery is enabled for the test'
629
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800630 - bool:
631 name: withMibTemplate
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700632 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800633 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800634
Matteo Scandolo0430f672020-05-07 11:50:26 -0700635 - bool:
636 name: withMonitoring
637 default: true
638 description: 'Option to install Prometheus'
639
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700640 - bool:
641 name: withProfiling
642 default: false
643 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
644
645 - string:
646 name: extraHelmFlags
647 default: ' '
648 description: 'Any extra helm parameters you want (passed to every helm install command)'
649
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800650 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700651 name: openonuAdapterReplicas
652 default: 1
653 description: 'How many OpenONU adapter instances to run'
654
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700655 # 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 -0700656 - string:
657 name: onosReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700658 default: 1
Matteo Scandolo0430f672020-05-07 11:50:26 -0700659 description: 'How many ONOSes instances to run'
660
661 - string:
662 name: atomixReplicas
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700663 default: 0
Matteo Scandolo0430f672020-05-07 11:50:26 -0700664 description: 'How many Atomix instances to run'
665
666 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700667 name: onosStatInterval
668 default: 5
669 description: 'How often ONOS should poll for ports, flows and meters'
670
671 - string:
Matteo Scandolo0430f672020-05-07 11:50:26 -0700672 name: bbsimImg
673 default: '{bbsimImg}'
674 description: 'Custom image selection for BBSIM (repo:tag)'
675
676 - string:
677 name: bbsimChart
678 default: '{bbsimChart}'
679 description: 'BBSim chart name (or location on file system)'
680
681 - string:
682 name: rwCoreImg
683 default: '{rwCoreImg}'
684 description: 'Custom image selection for VOLTHA (repo:tag)'
685
686 - string:
687 name: ofAgentImg
688 default: '{ofAgentImg}'
689 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
690
691 - string:
692 name: volthaChart
693 default: '{volthaChart}'
694 description: 'VOLTHA chart name (or location on file system)'
695
696 - string:
697 name: openoltAdapterImg
698 default: '{openoltAdapterImg}'
699 description: 'Custom image selection for Openolt Adapter (repo:tag)'
700
701 - string:
702 name: openoltAdapterChart
703 default: '{openoltAdapterChart}'
704 description: 'OpenOLT chart name (or location on file system)'
705
706 - string:
707 name: openonuAdapterImg
708 default: '{openonuAdapterImg}'
709 description: 'Custom image selection for Openonu Adapter (repo:tag)'
710
711 - string:
712 name: openonuAdapterChart
713 default: '{openonuAdapterChart}'
714 description: 'OpenONU chart name (or location on file system)'
715
716 - string:
717 name: onosImg
718 default: '{onosImg}'
719 description: 'Custom image selection for Openonu Adapter (repo:tag)'
Matteo Scandolof87e1da2020-04-16 16:13:31 -0700720
Matteo Scandolob70b3e02020-05-07 11:50:26 -0700721 - string:
722 name: volthaSystemTestsChange
723 default: ''
724 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
725
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700726 - string:
727 name: kindVolthaChange
728 default: ''
729 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
730
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200731 - string:
732 name: karafHome
733 default: '{karaf-home}'
734 description: 'Karaf home'
735
Matteo Scandolo51b76302020-02-05 12:07:23 -0800736 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800737 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800738
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700739 dsl: !include-raw-escape: pipeline/{pipeline-script}