blob: ad3c6e8493bdfd14d4b38a06dd4a76dd93a9da47 [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>
Matteo Scandolo3136cca2020-05-15 14:14:27 -070011
Matteo Scandoloca097652020-08-14 09:49:23 -070012 # OpenONU GO Scale
Matteo Scandolob46bc402020-06-11 13:59:44 -070013 - 'voltha-scale-measurements':
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020014 name: 'voltha-openonu-go-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo87b042e2020-10-27 09:07:45 -070015 'disable-job': true
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020016 build-node: 'onf-pod1-head-node'
17 time-trigger: "H H/4 * * *"
18 olts: 2
19 pons: 16
20 onus: 32
21 withFlows: true
22 provisionSubscribers: true
23 workflow: dt
24 withEapol: false
25 withDhcp: false
26 withIgmp: false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020027 openonuAdapterReplicas: 1
28 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
29 extraHelmFlags: '--set use_openonu_adapter_go=true'
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070030
Andrea Campanellabdb199e2020-10-27 10:47:16 +010031 - 'voltha-scale-measurements':
32 name: 'voltha-openonu-go-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo87b042e2020-10-27 09:07:45 -070033 'disable-job': true
Andrea Campanellabdb199e2020-10-27 10:47:16 +010034 build-node: 'onf-pod1-head-node'
35 time-trigger: "H H/4 * * *"
36 olts: 1
37 pons: 16
38 onus: 32
39 withFlows: true
40 provisionSubscribers: true
41 withEapol: true
42 withDhcp: true
43 withIgmp: false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010044 openonuAdapterReplicas: 1
45 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
46 extraHelmFlags: '--set use_openonu_adapter_go=true'
47
Matteo Scandolo8df57162020-10-06 14:43:53 -070048 # this job will be used to test custom images without disrupting tests on master
49 - 'voltha-scale-measurements':
50 name: 'voltha-scale-measurements-master-experimental'
51 build-node: 'onf-pod1-head-node'
Matteo Scandolo85f67e72020-10-09 15:23:38 -070052 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080053 # trigger on Feb 29th (a.k.a only trigger it manually)
54 time-trigger: "H 0 29 2 *"
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -070055 withMonitoring: false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080056 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070057 pons: 16
58 onus: 32
59 withFlows: true
60 provisionSubscribers: true
61 withEapol: true
62 withDhcp: true
63 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070064 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo8df57162020-10-06 14:43:53 -070065 withPcap: true
Matteo Scandolo9665d592020-10-23 19:08:14 +000066
Matteo Scandolo8df57162020-10-06 14:43:53 -070067
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070068 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070069 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070070 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo9b5d1b82020-10-28 15:02:10 -070071 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070072 build-node: 'onf-pod1-head-node'
73 time-trigger: "H H/4 * * *"
74 olts: 1
75 pons: 16
76 onus: 32
77 withFlows: true
78 provisionSubscribers: true
79 withEapol: true
80 withDhcp: true
81 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -070082 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -070083
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070084 - 'voltha-scale-measurements':
85 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo9b5d1b82020-10-28 15:02:10 -070086 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070087 build-node: 'onf-pod1-head-node'
88 time-trigger: "H H/4 * * *"
89 olts: 1
90 pons: 16
91 onus: 32
92 withFlows: true
93 provisionSubscribers: true
94 workflow: tt
95 withEapol: false
96 withDhcp: true
97 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -070098 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070099
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700100 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700101 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo9b5d1b82020-10-28 15:02:10 -0700102 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700103 build-node: 'onf-pod1-head-node'
104 time-trigger: "H H/4 * * *"
105 olts: 1
106 pons: 16
107 onus: 32
108 withFlows: true
109 provisionSubscribers: true
110 workflow: dt
111 withEapol: false
112 withDhcp: false
113 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700114 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200115
Matteo Scandolo272aed42020-05-08 15:05:57 -0700116 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700117 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700118 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolo9b5d1b82020-10-28 15:02:10 -0700119 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700120 build-node: 'onf-pod1-head-node'
121 time-trigger: "H H/4 * * *"
122 olts: 2
123 pons: 16
124 onus: 32
125 withFlows: true
126 provisionSubscribers: true
127 withEapol: true
128 withDhcp: true
129 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700130 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo9607a2b2020-10-30 12:20:12 -0700131 onosImg: matteoscandolo/voltha-onos:olt-log
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700132
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700133 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700134 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo9b5d1b82020-10-28 15:02:10 -0700135 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700136 build-node: 'onf-pod1-head-node'
137 time-trigger: "H H/4 * * *"
138 olts: 2
139 pons: 16
140 onus: 32
141 withFlows: true
142 provisionSubscribers: true
143 workflow: dt
144 withEapol: false
145 withDhcp: false
146 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700147 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700148
149 - 'voltha-scale-measurements':
150 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
151 'disable-job': false
152 build-node: 'onf-pod1-head-node'
153 time-trigger: "H H/4 * * *"
154 olts: 2
155 pons: 16
156 onus: 32
157 withFlows: true
158 provisionSubscribers: true
159 workflow: tt
160 withEapol: false
161 withDhcp: true
162 withIgmp: true
163 openonuAdapterReplicas: 8
164 onosReplicas: 3
165 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700166 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700167
Matteo Scandolo031bd982020-09-16 10:03:47 -0700168 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700169 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700170 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo86939302020-10-30 13:32:08 -0700171 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700172 build-node: 'onf-pod1-head-node'
173 time-trigger: "H H/4 * * *"
174 olts: 1
175 pons: 16
176 onus: 32
177 withFlows: true
178 provisionSubscribers: true
179 withEapol: true
180 withDhcp: true
181 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700182 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700183 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700184 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700185 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700186 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700187 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700188 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200189 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700190
191 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700192 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo86939302020-10-30 13:32:08 -0700193 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700194 build-node: 'onf-pod1-head-node'
195 time-trigger: "H H/4 * * *"
196 olts: 2
197 pons: 16
198 onus: 32
199 withFlows: true
200 provisionSubscribers: true
201 workflow: dt
202 withEapol: false
203 withDhcp: false
204 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700205 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700206 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700207 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700208 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700209 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700210 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700211 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200212 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700213
Matteo Scandolo031bd982020-09-16 10:03:47 -0700214 - 'voltha-scale-measurements':
215 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo86939302020-10-30 13:32:08 -0700216 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700217 build-node: 'onf-pod1-head-node'
218 time-trigger: "H H/4 * * *"
219 olts: 1
220 pons: 16
221 onus: 32
222 withFlows: true
223 provisionSubscribers: true
224 workflow: tt
225 withEapol: false
226 withDhcp: true
227 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700228 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
229 release: voltha-2.5
230 bbsimImg: ''
231 rwCoreImg: ''
232 ofAgentImg: ''
233 openoltAdapterImg: ''
234 openonuAdapterImg: ''
235 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700236
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700237 # per patchset job
238 - 'voltha-scale-measurements':
239 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
240 build-node: 'onf-pod1-head-node'
241 olts: 1
242 pons: 16
243 onus: 32
244 withFlows: true
245 provisionSubscribers: true
246 withEapol: true
247 withDhcp: true
248 withIgmp: false
249 withMonitoring: false
250 trigger-comment: "voltha scale test ATT"
251
252 - 'voltha-scale-measurements':
253 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
254 build-node: 'onf-pod1-head-node'
255 olts: 1
256 pons: 16
257 onus: 32
258 withFlows: true
259 provisionSubscribers: true
260 workflow: tt
261 withEapol: false
262 withDhcp: true
263 withIgmp: true
264 withMonitoring: false
265 trigger-comment: "voltha scale test TT"
266
267 - 'voltha-scale-measurements':
268 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
269 build-node: 'onf-pod1-head-node'
270 olts: 1
271 pons: 16
272 onus: 32
273 withFlows: true
274 provisionSubscribers: true
275 workflow: dt
276 withEapol: false
277 withDhcp: false
278 withIgmp: false
279 withMonitoring: false
280 trigger-comment: "voltha scale test DT"
281
Matteo Scandolo272aed42020-05-08 15:05:57 -0700282 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700283 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700284 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700285 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700286 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700287
Matteo Scandolodc930192020-08-27 15:56:16 -0700288 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700289 - 'voltha-scale-matrix':
290 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700291 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800292
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700293 # development matrix
294 - 'voltha-scale-matrix':
295 name: 'voltha-scale-matrix-voltha-master'
296 build-node: 'onf-pod1-head-node'
297 onosReplicas: 3
298 atomixReplicas: 3
299 kafkaReplicas: 3
300 etcdReplicas: 3
301
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700302# list of parameters for the VOLTHA Jobs,
303# used as anchor so that can be shared across multiple jobs
304# to use in a job: `parameters: *voltha-build-job-parameters`
305- voltha-scale-job-parameters: &voltha-scale-job-parameters
306 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700307 parameters:
308 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700309 name: release
310 default: '{release}'
311 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
312
313 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700314 name: buildNode
315 default: '{build-node}'
316 description: 'Name of the Jenkins node to run the job on'
317
318 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700319 name: dockerRegistry
320 default: '{dockerRegistry}'
321 description: 'Address of the docker registry to use if we are building custom images'
322
323 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700324 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700325 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700326 description: 'Log level for all the components'
327
328 - string:
329 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700330 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700331 description: 'Number of ONUs to provision'
332
333 - string:
334 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700335 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700336 description: 'Number of PONs to provision'
337
338 - string:
339 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700340 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700341 description: 'How many BBSim instances to run'
342
343 - string:
344 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700345 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700346 description: 'Which workflow are we testing (att, dt, tt)'
347
348 - bool:
349 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700350 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700351 description: 'Wheter to push flows from ONOS'
352
353 - bool:
354 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700355 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700356 description: 'Wheter to provision subscribers durint the tests'
357
358 - bool:
359 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700360 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700361 description: 'Wheter EAPOL is enabled for the test'
362
363 - bool:
364 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700365 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700366 description: 'Wheter DHCP is enabled for the test'
367
368 - bool:
369 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700370 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700371 description: 'Wheter IGMP is enabled for the test'
372
373 - bool:
374 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700375 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700376 description: 'Wheter Link Discovery is enabled for the test'
377
378 - bool:
379 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700380 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700381 description: 'Option to trigger MIB template command'
382
383 - bool:
384 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700385 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700386 description: 'Option to install Prometheus'
387
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700388 - bool:
389 name: withProfiling
390 default: '{withProfiling}'
391 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
392
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700393 - bool:
394 name: withPcap
395 default: '{withPcap}'
396 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
397
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700398 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700399 name: withRadius
400 default: '{withRadius}'
401 description: 'Value to pass to kind-voltha WITH_RADIUS'
402
403 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700404 name: extraHelmFlags
405 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700406 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 -0700407
Matteo Scandolo272aed42020-05-08 15:05:57 -0700408 - string:
409 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700410 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700411 description: 'How many OpenONU adapter instances to run'
412
413 - string:
414 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700415 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700416 description: 'How many ONOSes instances to run'
417
418 - string:
419 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700420 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700421 description: 'How many Atomix instances to run'
422
423 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700424 name: kafkaReplicas
425 default: '{kafkaReplicas}'
426 description: 'How many Kafka instances to run'
427
428 - string:
429 name: etcdReplicas
430 default: '{etcdReplicas}'
431 description: 'How many ETCD instances to run'
432
433 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700434 name: onosStatInterval
435 default: '{onosStatInterval}'
436 description: 'How often ONOS should poll for ports, flows and meters'
437
438 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700439 name: bbsimImg
440 default: '{bbsimImg}'
441 description: 'Custom image selection for BBSIM (repo:tag)'
442
443 - string:
444 name: bbsimChart
445 default: '{bbsimChart}'
446 description: 'BBSim chart name (or location on file system)'
447
448 - string:
449 name: rwCoreImg
450 default: '{rwCoreImg}'
451 description: 'Custom image selection for VOLTHA (repo:tag)'
452
453 - string:
454 name: ofAgentImg
455 default: '{ofAgentImg}'
456 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
457
458 - string:
459 name: volthaChart
460 default: '{volthaChart}'
461 description: 'VOLTHA chart name (or location on file system)'
462
463 - string:
464 name: openoltAdapterImg
465 default: '{openoltAdapterImg}'
466 description: 'Custom image selection for Openolt Adapter (repo:tag)'
467
468 - string:
469 name: openoltAdapterChart
470 default: '{openoltAdapterChart}'
471 description: 'OpenOLT chart name (or location on file system)'
472
473 - string:
474 name: openonuAdapterImg
475 default: '{openonuAdapterImg}'
476 description: 'Custom image selection for Openonu Adapter (repo:tag)'
477
478 - string:
479 name: openonuAdapterChart
480 default: '{openonuAdapterChart}'
481 description: 'OpenONU chart name (or location on file system)'
482
483 - string:
484 name: onosImg
485 default: '{onosImg}'
486 description: 'Custom image selection for Openonu Adapter (repo:tag)'
487
488 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700489 name: onosChart
490 default: '{onosChart}'
491 description: 'ONOS chart name (or location on file system)'
492
493 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700494 name: radiusChart
495 default: '{radiusChart}'
496 description: 'freeradius chart name (or location on file system)'
497
498 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700499 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700500 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700501 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
502
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700503 - string:
504 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700505 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700506 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
507
Matteo Scandoloccc06192020-06-22 10:16:17 -0700508 - bool:
509 name: inMemoryEtcdStorage
510 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700511 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700512
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200513 - string:
514 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700515 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200516 description: 'Karaf home'
517
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700518- job-template:
519 id: 'voltha-scale-measurements'
520 name: '{name}'
521 pipeline-script: 'voltha-scale-test.groovy'
522 disabled: '{disable-job}'
523
524 description: |
525 <!-- Managed by Jenkins Job Builder -->
526 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
527 Using pipeline {pipeline-script} <br/><br/>
528 Scale measurements for VOLTHA 2.x
529
530 properties:
531 - cord-infra-properties:
532 build-days-to-keep: 30
533 artifact-num-to-keep: 15
534
535 wrappers:
536 - lf-infra-wrappers:
537 build-timeout: '{build-timeout}'
538 jenkins-ssh-credential: '{jenkins-ssh-credential}'
539
540 # default values
541 release: master
542
543 bbsimImg: voltha/bbsim:master
544 rwCoreImg: voltha/voltha-rw-core:master
545 ofAgentImg: voltha/voltha-ofagent-go:master
546 openoltAdapterImg: voltha/voltha-openolt-adapter:master
547 openonuAdapterImg: voltha/voltha-openonu-adapter:master
548 onosImg: voltha/voltha-onos:master
549
550 bbsimChart: onf/bbsim
551 volthaChart: onf/voltha
552 openoltAdapterChart: onf/voltha-adapter-openolt
553 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700554 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700555 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700556
557 olts: 2
558 pons: 2
559 onus: 2
560 workflow: att
561 withFlows: false
562 provisionSubscribers: false
563 withEapol: true
564 withDhcp: true
565 withIgmp: false
566 withLLDP: false
567 withMibTemplate: true
568 withMonitoring: true
569 withProfiling: false
570 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700571 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700572 openonuAdapterReplicas: 8
573 onosReplicas: 3
574 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700575 kafkaReplicas: 3
576 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700577 extraHelmFlags: ''
578 onosStatInterval: 5
579 volthaSystemTestsChange: ''
580 kindVolthaChange: ''
581 inMemoryEtcdStorage: true
582 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700583 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700584 dockerRegistry: 10.90.0.101:30500
585 trigger-comment: vv7CBoQQYYonvaN8xcru
586 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700587
588 <<: *voltha-scale-job-parameters
589
Matteo Scandolo272aed42020-05-08 15:05:57 -0700590 project-type: pipeline
591 concurrent: false
592
593 dsl: !include-raw-escape: pipeline/{pipeline-script}
594
Matteo Scandoloabb83972020-06-25 16:08:23 -0700595 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700596 # periodic jobs will set this every 4 hours
597 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
Matteo Scandoloabb83972020-06-25 16:08:23 -0700598 - timed: |
599 TZ=America/Los_Angeles
600 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700601 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
602 # patchset jobs will set this to a meaningful comment
603 - gerrit:
604 server-name: '{gerrit-server-name}'
605 silent-start: false
606 successful-message: "PASSED scale test"
607 failure-message: "FAILED scale test"
608 unstable-message: "UNSTABLE scale test"
609 trigger-on:
610 - comment-added-contains-event:
611 comment-contains-value: '.*{trigger-comment}.*'
612 projects:
613 - project-compare-type: REG_EXP
614 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
615 branches:
616 - branch-compare-type: REG_EXP
617 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700618
619- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700620 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800621 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700622 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800623
624 description: |
625 <!-- Managed by Jenkins Job Builder -->
626 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
627 Using pipeline {pipeline-script} <br/><br/>
628 Scale measurements for VOLTHA 2.x
629
630 properties:
631 - cord-infra-properties:
632 build-days-to-keep: '{build-days-to-keep}'
633 artifact-num-to-keep: '{artifact-num-to-keep}'
634
635 wrappers:
636 - lf-infra-wrappers:
637 build-timeout: '{build-timeout}'
638 jenkins-ssh-credential: '{jenkins-ssh-credential}'
639
Matteo Scandolo0430f672020-05-07 11:50:26 -0700640 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700641 release: master
642
Matteo Scandolo0430f672020-05-07 11:50:26 -0700643 bbsimImg: voltha/bbsim:master
644 rwCoreImg: voltha/voltha-rw-core:master
645 ofAgentImg: voltha/voltha-ofagent-go:master
646 openoltAdapterImg: voltha/voltha-openolt-adapter:master
647 openonuAdapterImg: voltha/voltha-openonu-adapter:master
648 onosImg: voltha/voltha-onos:master
649
650 bbsimChart: onf/bbsim
651 volthaChart: onf/voltha
652 openoltAdapterChart: onf/voltha-adapter-openolt
653 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700654 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700655 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700656
Matteo Scandolo68776b72020-07-21 14:06:06 -0700657 olts: 2
658 pons: 2
659 onus: 2
660 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700661 withFlows: true
662 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700663 withEapol: true
664 withDhcp: true
665 withIgmp: false
666 withLLDP: false
667 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700668 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700669 withProfiling: false
670 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700671 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700672 openonuAdapterReplicas: 1
673 onosReplicas: 1
674 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700675 kafkaReplicas: 1
676 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700677 extraHelmFlags: ''
678 onosStatInterval: 5
679 volthaSystemTestsChange: ''
680 kindVolthaChange: ''
681 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700682 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700683 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700684 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700685
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700686 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200687
Matteo Scandolo51b76302020-02-05 12:07:23 -0800688 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800689 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800690
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700691 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700692
Matteo Scandolo849db722020-10-21 10:58:41 -0700693 triggers:
694 - gerrit:
695 server-name: '{gerrit-server-name}'
696 silent-start: false
697 successful-message: "PASSED scale test"
698 failure-message: "FAILED scale test"
699 unstable-message: "UNSTABLE scale test"
700 trigger-on:
701 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700702 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700703 projects:
704 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700705 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700706 branches:
707 - branch-compare-type: REG_EXP
708 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700709- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700710 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700711 name: '{name}'
712 pipeline-script: 'voltha-scale-matrix.groovy'
713
714 description: |
715 <!-- Managed by Jenkins Job Builder -->
716 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
717 Using pipeline {pipeline-script} <br/><br/>
718 Scale measurements for VOLTHA 2.x
719
720 properties:
721 - cord-infra-properties:
722 build-days-to-keep: '{build-days-to-keep}'
723 artifact-num-to-keep: '{artifact-num-to-keep}'
724
725 wrappers:
726 - lf-infra-wrappers:
727 build-timeout: '{build-timeout}'
728 jenkins-ssh-credential: '{jenkins-ssh-credential}'
729
730 # default values
731 release: master
732 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700733 volthaSystemTestsChange: ''
734 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700735 onosReplicas: 1
736 atomixReplicas: 0
737 kafkaReplicas: 1
738 etcdReplicas: 1
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700739
740 project-type: pipeline
741 concurrent: false
742
743 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700744
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700745 parameters:
746 - string:
747 name: release
748 default: '{release}'
749 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
750
751 - string:
752 name: buildNode
753 default: '{build-node}'
754 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700755
756 - string:
757 name: volthaSystemTestsChange
758 default: '{volthaSystemTestsChange}'
759 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
760
761 - string:
762 name: kindVolthaChange
763 default: '{kindVolthaChange}'
764 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700765
766 - string:
767 name: onosReplicas
768 default: '{onosReplicas}'
769 description: 'How many ONOSes instances to run'
770
771 - string:
772 name: atomixReplicas
773 default: '{atomixReplicas}'
774 description: 'How many Atomix instances to run'
775
776 - string:
777 name: kafkaReplicas
778 default: '{kafkaReplicas}'
779 description: 'How many Kafka instances to run'
780
781 - string:
782 name: etcdReplicas
783 default: '{etcdReplicas}'
784 description: 'How many ETCD instances to run'