blob: 23dec7e5353ef3752fd595a7d135826078077c6d [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 Scandoloffc7f842020-11-04 13:43:21 -0800292 time-trigger: H 0 * * * #
Matteo Scandolo51b76302020-02-05 12:07:23 -0800293
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700294 # development matrix
295 - 'voltha-scale-matrix':
296 name: 'voltha-scale-matrix-voltha-master'
297 build-node: 'onf-pod1-head-node'
298 onosReplicas: 3
299 atomixReplicas: 3
300 kafkaReplicas: 3
301 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800302 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700303
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700304# list of parameters for the VOLTHA Jobs,
305# used as anchor so that can be shared across multiple jobs
306# to use in a job: `parameters: *voltha-build-job-parameters`
307- voltha-scale-job-parameters: &voltha-scale-job-parameters
308 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700309 parameters:
310 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700311 name: release
312 default: '{release}'
313 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
314
315 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700316 name: buildNode
317 default: '{build-node}'
318 description: 'Name of the Jenkins node to run the job on'
319
320 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700321 name: dockerRegistry
322 default: '{dockerRegistry}'
323 description: 'Address of the docker registry to use if we are building custom images'
324
325 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700326 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700327 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700328 description: 'Log level for all the components'
329
330 - string:
331 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700332 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700333 description: 'Number of ONUs to provision'
334
335 - string:
336 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700337 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700338 description: 'Number of PONs to provision'
339
340 - string:
341 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700342 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700343 description: 'How many BBSim instances to run'
344
345 - string:
346 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700347 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700348 description: 'Which workflow are we testing (att, dt, tt)'
349
350 - bool:
351 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700352 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700353 description: 'Wheter to push flows from ONOS'
354
355 - bool:
356 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700357 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700358 description: 'Wheter to provision subscribers durint the tests'
359
360 - bool:
361 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700362 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 description: 'Wheter EAPOL is enabled for the test'
364
365 - bool:
366 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 description: 'Wheter DHCP is enabled for the test'
369
370 - bool:
371 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'Wheter IGMP is enabled for the test'
374
375 - bool:
376 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'Wheter Link Discovery is enabled for the test'
379
380 - bool:
381 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'Option to trigger MIB template command'
384
385 - bool:
386 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Option to install Prometheus'
389
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700390 - bool:
391 name: withProfiling
392 default: '{withProfiling}'
393 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
394
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700395 - bool:
396 name: withPcap
397 default: '{withPcap}'
398 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
399
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700400 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700401 name: withRadius
402 default: '{withRadius}'
403 description: 'Value to pass to kind-voltha WITH_RADIUS'
404
405 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700406 name: extraHelmFlags
407 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700408 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 -0700409
Matteo Scandolo272aed42020-05-08 15:05:57 -0700410 - string:
411 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700412 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700413 description: 'How many OpenONU adapter instances to run'
414
415 - string:
416 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700417 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700418 description: 'How many ONOSes instances to run'
419
420 - string:
421 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700422 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700423 description: 'How many Atomix instances to run'
424
425 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700426 name: kafkaReplicas
427 default: '{kafkaReplicas}'
428 description: 'How many Kafka instances to run'
429
430 - string:
431 name: etcdReplicas
432 default: '{etcdReplicas}'
433 description: 'How many ETCD instances to run'
434
435 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700436 name: onosStatInterval
437 default: '{onosStatInterval}'
438 description: 'How often ONOS should poll for ports, flows and meters'
439
440 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700441 name: bbsimImg
442 default: '{bbsimImg}'
443 description: 'Custom image selection for BBSIM (repo:tag)'
444
445 - string:
446 name: bbsimChart
447 default: '{bbsimChart}'
448 description: 'BBSim chart name (or location on file system)'
449
450 - string:
451 name: rwCoreImg
452 default: '{rwCoreImg}'
453 description: 'Custom image selection for VOLTHA (repo:tag)'
454
455 - string:
456 name: ofAgentImg
457 default: '{ofAgentImg}'
458 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
459
460 - string:
461 name: volthaChart
462 default: '{volthaChart}'
463 description: 'VOLTHA chart name (or location on file system)'
464
465 - string:
466 name: openoltAdapterImg
467 default: '{openoltAdapterImg}'
468 description: 'Custom image selection for Openolt Adapter (repo:tag)'
469
470 - string:
471 name: openoltAdapterChart
472 default: '{openoltAdapterChart}'
473 description: 'OpenOLT chart name (or location on file system)'
474
475 - string:
476 name: openonuAdapterImg
477 default: '{openonuAdapterImg}'
478 description: 'Custom image selection for Openonu Adapter (repo:tag)'
479
480 - string:
481 name: openonuAdapterChart
482 default: '{openonuAdapterChart}'
483 description: 'OpenONU chart name (or location on file system)'
484
485 - string:
486 name: onosImg
487 default: '{onosImg}'
488 description: 'Custom image selection for Openonu Adapter (repo:tag)'
489
490 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700491 name: onosChart
492 default: '{onosChart}'
493 description: 'ONOS chart name (or location on file system)'
494
495 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700496 name: radiusChart
497 default: '{radiusChart}'
498 description: 'freeradius chart name (or location on file system)'
499
500 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700501 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700502 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700503 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
504
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700505 - string:
506 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700507 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700508 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
509
Matteo Scandoloccc06192020-06-22 10:16:17 -0700510 - bool:
511 name: inMemoryEtcdStorage
512 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700513 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700514
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200515 - string:
516 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700517 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200518 description: 'Karaf home'
519
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700520- job-template:
521 id: 'voltha-scale-measurements'
522 name: '{name}'
523 pipeline-script: 'voltha-scale-test.groovy'
524 disabled: '{disable-job}'
525
526 description: |
527 <!-- Managed by Jenkins Job Builder -->
528 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
529 Using pipeline {pipeline-script} <br/><br/>
530 Scale measurements for VOLTHA 2.x
531
532 properties:
533 - cord-infra-properties:
534 build-days-to-keep: 30
535 artifact-num-to-keep: 15
536
537 wrappers:
538 - lf-infra-wrappers:
539 build-timeout: '{build-timeout}'
540 jenkins-ssh-credential: '{jenkins-ssh-credential}'
541
542 # default values
543 release: master
544
545 bbsimImg: voltha/bbsim:master
546 rwCoreImg: voltha/voltha-rw-core:master
547 ofAgentImg: voltha/voltha-ofagent-go:master
548 openoltAdapterImg: voltha/voltha-openolt-adapter:master
549 openonuAdapterImg: voltha/voltha-openonu-adapter:master
550 onosImg: voltha/voltha-onos:master
551
552 bbsimChart: onf/bbsim
553 volthaChart: onf/voltha
554 openoltAdapterChart: onf/voltha-adapter-openolt
555 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700556 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700557 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700558
559 olts: 2
560 pons: 2
561 onus: 2
562 workflow: att
563 withFlows: false
564 provisionSubscribers: false
565 withEapol: true
566 withDhcp: true
567 withIgmp: false
568 withLLDP: false
569 withMibTemplate: true
570 withMonitoring: true
571 withProfiling: false
572 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700573 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700574 openonuAdapterReplicas: 8
575 onosReplicas: 3
576 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700577 kafkaReplicas: 3
578 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700579 extraHelmFlags: ''
580 onosStatInterval: 5
581 volthaSystemTestsChange: ''
582 kindVolthaChange: ''
583 inMemoryEtcdStorage: true
584 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700585 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700586 dockerRegistry: 10.90.0.101:30500
587 trigger-comment: vv7CBoQQYYonvaN8xcru
588 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700589
590 <<: *voltha-scale-job-parameters
591
Matteo Scandolo272aed42020-05-08 15:05:57 -0700592 project-type: pipeline
593 concurrent: false
594
595 dsl: !include-raw-escape: pipeline/{pipeline-script}
596
Matteo Scandoloabb83972020-06-25 16:08:23 -0700597 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700598 # periodic jobs will set this every 4 hours
599 # 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 -0700600 - timed: |
601 TZ=America/Los_Angeles
602 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700603 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
604 # patchset jobs will set this to a meaningful comment
605 - gerrit:
606 server-name: '{gerrit-server-name}'
607 silent-start: false
608 successful-message: "PASSED scale test"
609 failure-message: "FAILED scale test"
610 unstable-message: "UNSTABLE scale test"
611 trigger-on:
612 - comment-added-contains-event:
613 comment-contains-value: '.*{trigger-comment}.*'
614 projects:
615 - project-compare-type: REG_EXP
616 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
617 branches:
618 - branch-compare-type: REG_EXP
619 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700620
621- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700622 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800623 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700624 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800625
626 description: |
627 <!-- Managed by Jenkins Job Builder -->
628 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
629 Using pipeline {pipeline-script} <br/><br/>
630 Scale measurements for VOLTHA 2.x
631
632 properties:
633 - cord-infra-properties:
634 build-days-to-keep: '{build-days-to-keep}'
635 artifact-num-to-keep: '{artifact-num-to-keep}'
636
637 wrappers:
638 - lf-infra-wrappers:
639 build-timeout: '{build-timeout}'
640 jenkins-ssh-credential: '{jenkins-ssh-credential}'
641
Matteo Scandolo0430f672020-05-07 11:50:26 -0700642 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700643 release: master
644
Matteo Scandolo0430f672020-05-07 11:50:26 -0700645 bbsimImg: voltha/bbsim:master
646 rwCoreImg: voltha/voltha-rw-core:master
647 ofAgentImg: voltha/voltha-ofagent-go:master
648 openoltAdapterImg: voltha/voltha-openolt-adapter:master
649 openonuAdapterImg: voltha/voltha-openonu-adapter:master
650 onosImg: voltha/voltha-onos:master
651
652 bbsimChart: onf/bbsim
653 volthaChart: onf/voltha
654 openoltAdapterChart: onf/voltha-adapter-openolt
655 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700656 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700657 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700658
Matteo Scandolo68776b72020-07-21 14:06:06 -0700659 olts: 2
660 pons: 2
661 onus: 2
662 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700663 withFlows: true
664 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700665 withEapol: true
666 withDhcp: true
667 withIgmp: false
668 withLLDP: false
669 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700670 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700671 withProfiling: false
672 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700673 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700674 openonuAdapterReplicas: 1
675 onosReplicas: 1
676 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700677 kafkaReplicas: 1
678 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700679 extraHelmFlags: ''
680 onosStatInterval: 5
681 volthaSystemTestsChange: ''
682 kindVolthaChange: ''
683 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700684 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700685 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700686 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700687
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700688 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200689
Matteo Scandolo51b76302020-02-05 12:07:23 -0800690 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800691 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800692
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700693 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700694
Matteo Scandolo849db722020-10-21 10:58:41 -0700695 triggers:
696 - gerrit:
697 server-name: '{gerrit-server-name}'
698 silent-start: false
699 successful-message: "PASSED scale test"
700 failure-message: "FAILED scale test"
701 unstable-message: "UNSTABLE scale test"
702 trigger-on:
703 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700704 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700705 projects:
706 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700707 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700708 branches:
709 - branch-compare-type: REG_EXP
710 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700711- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700712 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700713 name: '{name}'
714 pipeline-script: 'voltha-scale-matrix.groovy'
715
716 description: |
717 <!-- Managed by Jenkins Job Builder -->
718 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
719 Using pipeline {pipeline-script} <br/><br/>
720 Scale measurements for VOLTHA 2.x
721
722 properties:
723 - cord-infra-properties:
724 build-days-to-keep: '{build-days-to-keep}'
725 artifact-num-to-keep: '{artifact-num-to-keep}'
726
727 wrappers:
728 - lf-infra-wrappers:
729 build-timeout: '{build-timeout}'
730 jenkins-ssh-credential: '{jenkins-ssh-credential}'
731
732 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800733 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700734 release: master
735 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700736 volthaSystemTestsChange: ''
737 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700738 onosReplicas: 1
739 atomixReplicas: 0
740 kafkaReplicas: 1
741 etcdReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800742 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700743
744 project-type: pipeline
745 concurrent: false
746
747 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700748
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700749 parameters:
750 - string:
751 name: release
752 default: '{release}'
753 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
754
755 - string:
756 name: buildNode
757 default: '{build-node}'
758 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700759
760 - string:
761 name: volthaSystemTestsChange
762 default: '{volthaSystemTestsChange}'
763 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
764
765 - string:
766 name: kindVolthaChange
767 default: '{kindVolthaChange}'
768 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 -0700769
770 - string:
771 name: onosReplicas
772 default: '{onosReplicas}'
773 description: 'How many ONOSes instances to run'
774
775 - string:
776 name: atomixReplicas
777 default: '{atomixReplicas}'
778 description: 'How many Atomix instances to run'
779
780 - string:
781 name: kafkaReplicas
782 default: '{kafkaReplicas}'
783 description: 'How many Kafka instances to run'
784
785 - string:
786 name: etcdReplicas
787 default: '{etcdReplicas}'
788 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800789
790 - string:
791 name: topologies
792 default: '{topologies}'
793 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
794
795 triggers:
796 - timed: |
797 TZ=America/Los_Angeles
798 {time-trigger}