blob: 85386eeacab0b7184ad0be867187ca812b09a459 [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 Scandolo8a82e9c2020-11-06 11:53:19 -080015 'disable-job': false
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 Scandolo4c4fbdd2020-11-04 13:49:42 -080033 'disable-job': false
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
Andrea Campanella04ca93a2020-11-07 14:57:50 +010046 extraHelmFlags: '--set use_openonu_adapter_go=true,authRetry=true,dhcpRetry=true'
Andrea Campanellabdb199e2020-10-27 10:47:16 +010047
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 Scandolo8a82e9c2020-11-06 11:53:19 -080052 '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 Scandolo4b006ae2020-11-09 16:14:40 -080067 - 'voltha-scale-measurements':
68 name: 'voltha-scale-measurements-master-experimental-multi-stack'
69 build-node: 'onf-pod1-head-node'
70 pipeline-script: 'voltha-scale-multi-stack.groovy'
71 'disable-job': false
72 # trigger on Feb 29th (a.k.a only trigger it manually)
73 time-trigger: "H 0 29 2 *"
74 withMonitoring: false
75 volthaStacks: 2
76 olts: 2
77 pons: 16
78 onus: 32
79 withFlows: true
80 provisionSubscribers: true
81 withEapol: true
82 withDhcp: true
83 withIgmp: false
84 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
85 withPcap: true
86 volthaSystemTestsChange: refs/changes/27/21627/2
87 kindVolthaChange: refs/changes/85/21485/8
88
Matteo Scandolo8df57162020-10-06 14:43:53 -070089
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070090 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070091 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070092 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080093 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070094 build-node: 'onf-pod1-head-node'
95 time-trigger: "H H/4 * * *"
96 olts: 1
97 pons: 16
98 onus: 32
99 withFlows: true
100 provisionSubscribers: true
101 withEapol: true
102 withDhcp: true
103 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700104 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700105
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700106 - 'voltha-scale-measurements':
107 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800108 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700109 build-node: 'onf-pod1-head-node'
110 time-trigger: "H H/4 * * *"
111 olts: 1
112 pons: 16
113 onus: 32
114 withFlows: true
115 provisionSubscribers: true
116 workflow: tt
117 withEapol: false
118 withDhcp: true
119 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700120 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700121
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700122 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700123 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800124 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700125 build-node: 'onf-pod1-head-node'
126 time-trigger: "H H/4 * * *"
127 olts: 1
128 pons: 16
129 onus: 32
130 withFlows: true
131 provisionSubscribers: true
132 workflow: dt
133 withEapol: false
134 withDhcp: false
135 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700136 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200137
Matteo Scandolo272aed42020-05-08 15:05:57 -0700138 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700139 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700140 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800141 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700142 build-node: 'onf-pod1-head-node'
143 time-trigger: "H H/4 * * *"
144 olts: 2
145 pons: 16
146 onus: 32
147 withFlows: true
148 provisionSubscribers: true
149 withEapol: true
150 withDhcp: true
151 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700152 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700153
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700154 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700155 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800156 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700157 build-node: 'onf-pod1-head-node'
158 time-trigger: "H H/4 * * *"
159 olts: 2
160 pons: 16
161 onus: 32
162 withFlows: true
163 provisionSubscribers: true
164 workflow: dt
165 withEapol: false
166 withDhcp: false
167 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700168 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700169
170 - 'voltha-scale-measurements':
171 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800172 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700173 build-node: 'onf-pod1-head-node'
174 time-trigger: "H H/4 * * *"
175 olts: 2
176 pons: 16
177 onus: 32
178 withFlows: true
179 provisionSubscribers: true
180 workflow: tt
181 withEapol: false
182 withDhcp: true
183 withIgmp: true
184 openonuAdapterReplicas: 8
185 onosReplicas: 3
186 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700187 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700188
Matteo Scandolo031bd982020-09-16 10:03:47 -0700189 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700190 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700191 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800192 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700193 build-node: 'onf-pod1-head-node'
194 time-trigger: "H H/4 * * *"
195 olts: 1
196 pons: 16
197 onus: 32
198 withFlows: true
199 provisionSubscribers: true
200 withEapol: true
201 withDhcp: true
202 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700203 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700204 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700205 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700206 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700207 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700208 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700209 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200210 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700211
212 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700213 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800214 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700215 build-node: 'onf-pod1-head-node'
216 time-trigger: "H H/4 * * *"
217 olts: 2
218 pons: 16
219 onus: 32
220 withFlows: true
221 provisionSubscribers: true
222 workflow: dt
223 withEapol: false
224 withDhcp: false
225 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700226 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700227 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700228 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700229 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700230 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700231 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700232 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200233 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700234
Matteo Scandolo031bd982020-09-16 10:03:47 -0700235 - 'voltha-scale-measurements':
236 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800237 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700238 build-node: 'onf-pod1-head-node'
239 time-trigger: "H H/4 * * *"
240 olts: 1
241 pons: 16
242 onus: 32
243 withFlows: true
244 provisionSubscribers: true
245 workflow: tt
246 withEapol: false
247 withDhcp: true
248 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700249 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
250 release: voltha-2.5
251 bbsimImg: ''
252 rwCoreImg: ''
253 ofAgentImg: ''
254 openoltAdapterImg: ''
255 openonuAdapterImg: ''
256 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700257
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700258 # per patchset job
259 - 'voltha-scale-measurements':
260 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
261 build-node: 'onf-pod1-head-node'
262 olts: 1
263 pons: 16
264 onus: 32
265 withFlows: true
266 provisionSubscribers: true
267 withEapol: true
268 withDhcp: true
269 withIgmp: false
270 withMonitoring: false
271 trigger-comment: "voltha scale test ATT"
272
273 - 'voltha-scale-measurements':
274 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
275 build-node: 'onf-pod1-head-node'
276 olts: 1
277 pons: 16
278 onus: 32
279 withFlows: true
280 provisionSubscribers: true
281 workflow: tt
282 withEapol: false
283 withDhcp: true
284 withIgmp: true
285 withMonitoring: false
286 trigger-comment: "voltha scale test TT"
287
288 - 'voltha-scale-measurements':
289 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
290 build-node: 'onf-pod1-head-node'
291 olts: 1
292 pons: 16
293 onus: 32
294 withFlows: true
295 provisionSubscribers: true
296 workflow: dt
297 withEapol: false
298 withDhcp: false
299 withIgmp: false
300 withMonitoring: false
301 trigger-comment: "voltha scale test DT"
302
Matteo Scandolo272aed42020-05-08 15:05:57 -0700303 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700304 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700305 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700306 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700307 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700308
Matteo Scandolodc930192020-08-27 15:56:16 -0700309 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700310 - 'voltha-scale-matrix':
311 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700312 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800313
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700314 # development matrix
315 - 'voltha-scale-matrix':
316 name: 'voltha-scale-matrix-voltha-master'
317 build-node: 'onf-pod1-head-node'
318 onosReplicas: 3
319 atomixReplicas: 3
320 kafkaReplicas: 3
321 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800322 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800323 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800324 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700325
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700326# list of parameters for the VOLTHA Jobs,
327# used as anchor so that can be shared across multiple jobs
328# to use in a job: `parameters: *voltha-build-job-parameters`
329- voltha-scale-job-parameters: &voltha-scale-job-parameters
330 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700331 parameters:
332 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800333 name: pipeline-script
334 default: '{pipeline-script}'
335 description: 'The pipeline script to use'
336
337 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700338 name: release
339 default: '{release}'
340 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
341
342 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700343 name: buildNode
344 default: '{build-node}'
345 description: 'Name of the Jenkins node to run the job on'
346
347 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700348 name: dockerRegistry
349 default: '{dockerRegistry}'
350 description: 'Address of the docker registry to use if we are building custom images'
351
352 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700353 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700354 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700355 description: 'Log level for all the components'
356
357 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800358 name: volthaStacks
359 default: '{volthaStacks}'
360 description: 'Number of VOLTHA Stacks to deploy'
361
362 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700364 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700365 description: 'Number of ONUs to provision'
366
367 - string:
368 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700369 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700370 description: 'Number of PONs to provision'
371
372 - string:
373 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700374 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700375 description: 'How many BBSim instances to run'
376
377 - string:
378 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700379 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700380 description: 'Which workflow are we testing (att, dt, tt)'
381
382 - bool:
383 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700384 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700385 description: 'Wheter to push flows from ONOS'
386
387 - bool:
388 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700389 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700390 description: 'Wheter to provision subscribers durint the tests'
391
392 - bool:
393 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700394 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700395 description: 'Wheter EAPOL is enabled for the test'
396
397 - bool:
398 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700399 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700400 description: 'Wheter DHCP is enabled for the test'
401
402 - bool:
403 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700404 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700405 description: 'Wheter IGMP is enabled for the test'
406
407 - bool:
408 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700409 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700410 description: 'Wheter Link Discovery is enabled for the test'
411
412 - bool:
413 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700414 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700415 description: 'Option to trigger MIB template command'
416
417 - bool:
418 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700419 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700420 description: 'Option to install Prometheus'
421
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700422 - bool:
423 name: withProfiling
424 default: '{withProfiling}'
425 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
426
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700427 - bool:
428 name: withPcap
429 default: '{withPcap}'
430 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
431
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700432 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700433 name: withRadius
434 default: '{withRadius}'
435 description: 'Value to pass to kind-voltha WITH_RADIUS'
436
437 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700438 name: extraHelmFlags
439 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700440 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 -0700441
Matteo Scandolo272aed42020-05-08 15:05:57 -0700442 - string:
443 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700444 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700445 description: 'How many OpenONU adapter instances to run'
446
447 - string:
448 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700449 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700450 description: 'How many ONOSes instances to run'
451
452 - string:
453 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700454 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700455 description: 'How many Atomix instances to run'
456
457 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700458 name: kafkaReplicas
459 default: '{kafkaReplicas}'
460 description: 'How many Kafka instances to run'
461
462 - string:
463 name: etcdReplicas
464 default: '{etcdReplicas}'
465 description: 'How many ETCD instances to run'
466
467 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700468 name: onosStatInterval
469 default: '{onosStatInterval}'
470 description: 'How often ONOS should poll for ports, flows and meters'
471
472 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700473 name: bbsimImg
474 default: '{bbsimImg}'
475 description: 'Custom image selection for BBSIM (repo:tag)'
476
477 - string:
478 name: bbsimChart
479 default: '{bbsimChart}'
480 description: 'BBSim chart name (or location on file system)'
481
482 - string:
483 name: rwCoreImg
484 default: '{rwCoreImg}'
485 description: 'Custom image selection for VOLTHA (repo:tag)'
486
487 - string:
488 name: ofAgentImg
489 default: '{ofAgentImg}'
490 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
491
492 - string:
493 name: volthaChart
494 default: '{volthaChart}'
495 description: 'VOLTHA chart name (or location on file system)'
496
497 - string:
498 name: openoltAdapterImg
499 default: '{openoltAdapterImg}'
500 description: 'Custom image selection for Openolt Adapter (repo:tag)'
501
502 - string:
503 name: openoltAdapterChart
504 default: '{openoltAdapterChart}'
505 description: 'OpenOLT chart name (or location on file system)'
506
507 - string:
508 name: openonuAdapterImg
509 default: '{openonuAdapterImg}'
510 description: 'Custom image selection for Openonu Adapter (repo:tag)'
511
512 - string:
513 name: openonuAdapterChart
514 default: '{openonuAdapterChart}'
515 description: 'OpenONU chart name (or location on file system)'
516
517 - string:
518 name: onosImg
519 default: '{onosImg}'
520 description: 'Custom image selection for Openonu Adapter (repo:tag)'
521
522 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700523 name: onosChart
524 default: '{onosChart}'
525 description: 'ONOS chart name (or location on file system)'
526
527 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700528 name: radiusChart
529 default: '{radiusChart}'
530 description: 'freeradius chart name (or location on file system)'
531
532 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700533 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700534 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700535 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
536
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700537 - string:
538 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700539 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700540 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
541
Matteo Scandoloccc06192020-06-22 10:16:17 -0700542 - bool:
543 name: inMemoryEtcdStorage
544 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700545 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700546
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200547 - string:
548 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700549 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200550 description: 'Karaf home'
551
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700552- job-template:
553 id: 'voltha-scale-measurements'
554 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700555 disabled: '{disable-job}'
556
557 description: |
558 <!-- Managed by Jenkins Job Builder -->
559 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
560 Using pipeline {pipeline-script} <br/><br/>
561 Scale measurements for VOLTHA 2.x
562
563 properties:
564 - cord-infra-properties:
565 build-days-to-keep: 30
566 artifact-num-to-keep: 15
567
568 wrappers:
569 - lf-infra-wrappers:
570 build-timeout: '{build-timeout}'
571 jenkins-ssh-credential: '{jenkins-ssh-credential}'
572
573 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800574 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700575 release: master
576
577 bbsimImg: voltha/bbsim:master
578 rwCoreImg: voltha/voltha-rw-core:master
579 ofAgentImg: voltha/voltha-ofagent-go:master
580 openoltAdapterImg: voltha/voltha-openolt-adapter:master
581 openonuAdapterImg: voltha/voltha-openonu-adapter:master
582 onosImg: voltha/voltha-onos:master
583
584 bbsimChart: onf/bbsim
585 volthaChart: onf/voltha
586 openoltAdapterChart: onf/voltha-adapter-openolt
587 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700588 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700589 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700590
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800591 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700592 olts: 2
593 pons: 2
594 onus: 2
595 workflow: att
596 withFlows: false
597 provisionSubscribers: false
598 withEapol: true
599 withDhcp: true
600 withIgmp: false
601 withLLDP: false
602 withMibTemplate: true
603 withMonitoring: true
604 withProfiling: false
605 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700606 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700607 openonuAdapterReplicas: 8
608 onosReplicas: 3
609 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700610 kafkaReplicas: 3
611 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700612 extraHelmFlags: ''
613 onosStatInterval: 5
614 volthaSystemTestsChange: ''
615 kindVolthaChange: ''
616 inMemoryEtcdStorage: true
617 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700618 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700619 dockerRegistry: 10.90.0.101:30500
620 trigger-comment: vv7CBoQQYYonvaN8xcru
621 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700622
623 <<: *voltha-scale-job-parameters
624
Matteo Scandolo272aed42020-05-08 15:05:57 -0700625 project-type: pipeline
626 concurrent: false
627
628 dsl: !include-raw-escape: pipeline/{pipeline-script}
629
Matteo Scandoloabb83972020-06-25 16:08:23 -0700630 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700631 # periodic jobs will set this every 4 hours
632 # 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 -0700633 - timed: |
634 TZ=America/Los_Angeles
635 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700636 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
637 # patchset jobs will set this to a meaningful comment
638 - gerrit:
639 server-name: '{gerrit-server-name}'
640 silent-start: false
641 successful-message: "PASSED scale test"
642 failure-message: "FAILED scale test"
643 unstable-message: "UNSTABLE scale test"
644 trigger-on:
645 - comment-added-contains-event:
646 comment-contains-value: '.*{trigger-comment}.*'
647 projects:
648 - project-compare-type: REG_EXP
649 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
650 branches:
651 - branch-compare-type: REG_EXP
652 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700653
654- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700655 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800656 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800657
658 description: |
659 <!-- Managed by Jenkins Job Builder -->
660 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
661 Using pipeline {pipeline-script} <br/><br/>
662 Scale measurements for VOLTHA 2.x
663
664 properties:
665 - cord-infra-properties:
666 build-days-to-keep: '{build-days-to-keep}'
667 artifact-num-to-keep: '{artifact-num-to-keep}'
668
669 wrappers:
670 - lf-infra-wrappers:
671 build-timeout: '{build-timeout}'
672 jenkins-ssh-credential: '{jenkins-ssh-credential}'
673
Matteo Scandolo0430f672020-05-07 11:50:26 -0700674 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800675 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700676 release: master
677
Matteo Scandolo0430f672020-05-07 11:50:26 -0700678 bbsimImg: voltha/bbsim:master
679 rwCoreImg: voltha/voltha-rw-core:master
680 ofAgentImg: voltha/voltha-ofagent-go:master
681 openoltAdapterImg: voltha/voltha-openolt-adapter:master
682 openonuAdapterImg: voltha/voltha-openonu-adapter:master
683 onosImg: voltha/voltha-onos:master
684
685 bbsimChart: onf/bbsim
686 volthaChart: onf/voltha
687 openoltAdapterChart: onf/voltha-adapter-openolt
688 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700689 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700690 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700691
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800692 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700693 olts: 2
694 pons: 2
695 onus: 2
696 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700697 withFlows: true
698 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700699 withEapol: true
700 withDhcp: true
701 withIgmp: false
702 withLLDP: false
703 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700704 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700705 withProfiling: false
706 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700707 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700708 openonuAdapterReplicas: 1
709 onosReplicas: 1
710 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700711 kafkaReplicas: 1
712 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700713 extraHelmFlags: ''
714 onosStatInterval: 5
715 volthaSystemTestsChange: ''
716 kindVolthaChange: ''
717 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700718 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700719 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700720 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700721
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700722 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200723
Matteo Scandolo51b76302020-02-05 12:07:23 -0800724 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800725 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800726
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700727 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700728
Matteo Scandolo849db722020-10-21 10:58:41 -0700729 triggers:
730 - gerrit:
731 server-name: '{gerrit-server-name}'
732 silent-start: false
733 successful-message: "PASSED scale test"
734 failure-message: "FAILED scale test"
735 unstable-message: "UNSTABLE scale test"
736 trigger-on:
737 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700738 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700739 projects:
740 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700741 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700742 branches:
743 - branch-compare-type: REG_EXP
744 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700745- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700746 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700747 name: '{name}'
748 pipeline-script: 'voltha-scale-matrix.groovy'
749
750 description: |
751 <!-- Managed by Jenkins Job Builder -->
752 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
753 Using pipeline {pipeline-script} <br/><br/>
754 Scale measurements for VOLTHA 2.x
755
756 properties:
757 - cord-infra-properties:
758 build-days-to-keep: '{build-days-to-keep}'
759 artifact-num-to-keep: '{artifact-num-to-keep}'
760
761 wrappers:
762 - lf-infra-wrappers:
763 build-timeout: '{build-timeout}'
764 jenkins-ssh-credential: '{jenkins-ssh-credential}'
765
766 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800767 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700768 release: master
769 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700770 volthaSystemTestsChange: ''
771 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700772 onosReplicas: 1
773 atomixReplicas: 0
774 kafkaReplicas: 1
775 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800776 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800777 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700778
779 project-type: pipeline
780 concurrent: false
781
782 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700783
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700784 parameters:
785 - string:
786 name: release
787 default: '{release}'
788 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
789
790 - string:
791 name: buildNode
792 default: '{build-node}'
793 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700794
795 - string:
796 name: volthaSystemTestsChange
797 default: '{volthaSystemTestsChange}'
798 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
799
800 - string:
801 name: kindVolthaChange
802 default: '{kindVolthaChange}'
803 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 -0700804
805 - string:
806 name: onosReplicas
807 default: '{onosReplicas}'
808 description: 'How many ONOSes instances to run'
809
810 - string:
811 name: atomixReplicas
812 default: '{atomixReplicas}'
813 description: 'How many Atomix instances to run'
814
815 - string:
816 name: kafkaReplicas
817 default: '{kafkaReplicas}'
818 description: 'How many Kafka instances to run'
819
820 - string:
821 name: etcdReplicas
822 default: '{etcdReplicas}'
823 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800824
825 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800826 name: openonuAdapterReplicas
827 default: '{openonuAdapterReplicas}'
828 description: 'How many OpenONU adapter instances to run'
829
830 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800831 name: topologies
832 default: '{topologies}'
833 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
834
835 triggers:
836 - timed: |
837 TZ=America/Los_Angeles
838 {time-trigger}