blob: 9e08b8163502ec8eb752cb277088bf6f62ec14a1 [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)
Matteo Scandolodc4608c2020-11-12 16:48:16 -080073 # time-trigger: "H 0 29 2 *"
74 time-trigger: "H H/4 * * *"
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080075 withMonitoring: false
76 volthaStacks: 2
77 olts: 2
Matteo Scandolodc4608c2020-11-12 16:48:16 -080078 pons: 8
79 onus: 16
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080080 withFlows: true
81 provisionSubscribers: true
82 withEapol: true
83 withDhcp: true
84 withIgmp: false
85 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
86 withPcap: true
87 volthaSystemTestsChange: refs/changes/27/21627/2
88 kindVolthaChange: refs/changes/85/21485/8
89
Matteo Scandolo8df57162020-10-06 14:43:53 -070090
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070091 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070092 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070093 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080094 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070095 build-node: 'onf-pod1-head-node'
96 time-trigger: "H H/4 * * *"
97 olts: 1
98 pons: 16
99 onus: 32
100 withFlows: true
101 provisionSubscribers: true
102 withEapol: true
103 withDhcp: true
104 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700105 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700106
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700107 - 'voltha-scale-measurements':
108 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800109 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700110 build-node: 'onf-pod1-head-node'
111 time-trigger: "H H/4 * * *"
112 olts: 1
113 pons: 16
114 onus: 32
115 withFlows: true
116 provisionSubscribers: true
117 workflow: tt
118 withEapol: false
119 withDhcp: true
120 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700121 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700122
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700123 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700124 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800125 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700126 build-node: 'onf-pod1-head-node'
127 time-trigger: "H H/4 * * *"
128 olts: 1
129 pons: 16
130 onus: 32
131 withFlows: true
132 provisionSubscribers: true
133 workflow: dt
134 withEapol: false
135 withDhcp: false
136 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700137 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200138
Matteo Scandolo272aed42020-05-08 15:05:57 -0700139 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700140 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700141 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800142 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700143 build-node: 'onf-pod1-head-node'
144 time-trigger: "H H/4 * * *"
145 olts: 2
146 pons: 16
147 onus: 32
148 withFlows: true
149 provisionSubscribers: true
150 withEapol: true
151 withDhcp: true
152 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700153 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700154
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700155 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700156 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800157 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700158 build-node: 'onf-pod1-head-node'
159 time-trigger: "H H/4 * * *"
160 olts: 2
161 pons: 16
162 onus: 32
163 withFlows: true
164 provisionSubscribers: true
165 workflow: dt
166 withEapol: false
167 withDhcp: false
168 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700169 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700170
171 - 'voltha-scale-measurements':
172 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800173 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700174 build-node: 'onf-pod1-head-node'
175 time-trigger: "H H/4 * * *"
176 olts: 2
177 pons: 16
178 onus: 32
179 withFlows: true
180 provisionSubscribers: true
181 workflow: tt
182 withEapol: false
183 withDhcp: true
184 withIgmp: true
185 openonuAdapterReplicas: 8
186 onosReplicas: 3
187 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700188 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700189
Matteo Scandolo031bd982020-09-16 10:03:47 -0700190 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700191 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700192 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800193 '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: 1
197 pons: 16
198 onus: 32
199 withFlows: true
200 provisionSubscribers: true
201 withEapol: true
202 withDhcp: true
203 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700204 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700205 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700206 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700207 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700208 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700209 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700210 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200211 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700212
213 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700214 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800215 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700216 build-node: 'onf-pod1-head-node'
217 time-trigger: "H H/4 * * *"
218 olts: 2
219 pons: 16
220 onus: 32
221 withFlows: true
222 provisionSubscribers: true
223 workflow: dt
224 withEapol: false
225 withDhcp: false
226 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700227 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700228 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700229 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700230 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700231 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700232 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700233 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200234 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700235
Matteo Scandolo031bd982020-09-16 10:03:47 -0700236 - 'voltha-scale-measurements':
237 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800238 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700239 build-node: 'onf-pod1-head-node'
240 time-trigger: "H H/4 * * *"
241 olts: 1
242 pons: 16
243 onus: 32
244 withFlows: true
245 provisionSubscribers: true
246 workflow: tt
247 withEapol: false
248 withDhcp: true
249 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700250 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
251 release: voltha-2.5
252 bbsimImg: ''
253 rwCoreImg: ''
254 ofAgentImg: ''
255 openoltAdapterImg: ''
256 openonuAdapterImg: ''
257 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700258
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700259 # per patchset job
260 - 'voltha-scale-measurements':
261 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
262 build-node: 'onf-pod1-head-node'
263 olts: 1
264 pons: 16
265 onus: 32
266 withFlows: true
267 provisionSubscribers: true
268 withEapol: true
269 withDhcp: true
270 withIgmp: false
271 withMonitoring: false
272 trigger-comment: "voltha scale test ATT"
273
274 - 'voltha-scale-measurements':
275 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
276 build-node: 'onf-pod1-head-node'
277 olts: 1
278 pons: 16
279 onus: 32
280 withFlows: true
281 provisionSubscribers: true
282 workflow: tt
283 withEapol: false
284 withDhcp: true
285 withIgmp: true
286 withMonitoring: false
287 trigger-comment: "voltha scale test TT"
288
289 - 'voltha-scale-measurements':
290 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
291 build-node: 'onf-pod1-head-node'
292 olts: 1
293 pons: 16
294 onus: 32
295 withFlows: true
296 provisionSubscribers: true
297 workflow: dt
298 withEapol: false
299 withDhcp: false
300 withIgmp: false
301 withMonitoring: false
302 trigger-comment: "voltha scale test DT"
303
Matteo Scandolo272aed42020-05-08 15:05:57 -0700304 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700305 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700306 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700307 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700308 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700309
Matteo Scandolodc930192020-08-27 15:56:16 -0700310 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700311 - 'voltha-scale-matrix':
312 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700313 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800314
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700315 # development matrix
316 - 'voltha-scale-matrix':
317 name: 'voltha-scale-matrix-voltha-master'
318 build-node: 'onf-pod1-head-node'
319 onosReplicas: 3
320 atomixReplicas: 3
321 kafkaReplicas: 3
322 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800323 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800324 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800325 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700326
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700327# list of parameters for the VOLTHA Jobs,
328# used as anchor so that can be shared across multiple jobs
329# to use in a job: `parameters: *voltha-build-job-parameters`
330- voltha-scale-job-parameters: &voltha-scale-job-parameters
331 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700332 parameters:
333 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800334 name: pipeline-script
335 default: '{pipeline-script}'
336 description: 'The pipeline script to use'
337
338 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700339 name: release
340 default: '{release}'
341 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
342
343 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700344 name: buildNode
345 default: '{build-node}'
346 description: 'Name of the Jenkins node to run the job on'
347
348 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700349 name: dockerRegistry
350 default: '{dockerRegistry}'
351 description: 'Address of the docker registry to use if we are building custom images'
352
353 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700354 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700355 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700356 description: 'Log level for all the components'
357
358 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800359 name: volthaStacks
360 default: '{volthaStacks}'
361 description: 'Number of VOLTHA Stacks to deploy'
362
363 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700364 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700365 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700366 description: 'Number of ONUs to provision'
367
368 - string:
369 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700370 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700371 description: 'Number of PONs to provision'
372
373 - string:
374 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700375 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700376 description: 'How many BBSim instances to run'
377
378 - string:
379 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700380 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700381 description: 'Which workflow are we testing (att, dt, tt)'
382
383 - bool:
384 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700385 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700386 description: 'Wheter to push flows from ONOS'
387
388 - bool:
389 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700390 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700391 description: 'Wheter to provision subscribers durint the tests'
392
393 - bool:
394 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700395 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700396 description: 'Wheter EAPOL is enabled for the test'
397
398 - bool:
399 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700400 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700401 description: 'Wheter DHCP is enabled for the test'
402
403 - bool:
404 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700405 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700406 description: 'Wheter IGMP is enabled for the test'
407
408 - bool:
409 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700410 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700411 description: 'Wheter Link Discovery is enabled for the test'
412
413 - bool:
414 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700415 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700416 description: 'Option to trigger MIB template command'
417
418 - bool:
419 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700420 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700421 description: 'Option to install Prometheus'
422
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700423 - bool:
424 name: withProfiling
425 default: '{withProfiling}'
426 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
427
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700428 - bool:
429 name: withPcap
430 default: '{withPcap}'
431 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
432
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700433 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700434 name: withRadius
435 default: '{withRadius}'
436 description: 'Value to pass to kind-voltha WITH_RADIUS'
437
438 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700439 name: extraHelmFlags
440 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700441 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 -0700442
Matteo Scandolo272aed42020-05-08 15:05:57 -0700443 - string:
444 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700445 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700446 description: 'How many OpenONU adapter instances to run'
447
448 - string:
449 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700450 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700451 description: 'How many ONOSes instances to run'
452
453 - string:
454 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700455 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700456 description: 'How many Atomix instances to run'
457
458 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700459 name: kafkaReplicas
460 default: '{kafkaReplicas}'
461 description: 'How many Kafka instances to run'
462
463 - string:
464 name: etcdReplicas
465 default: '{etcdReplicas}'
466 description: 'How many ETCD instances to run'
467
468 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700469 name: onosStatInterval
470 default: '{onosStatInterval}'
471 description: 'How often ONOS should poll for ports, flows and meters'
472
473 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700474 name: bbsimImg
475 default: '{bbsimImg}'
476 description: 'Custom image selection for BBSIM (repo:tag)'
477
478 - string:
479 name: bbsimChart
480 default: '{bbsimChart}'
481 description: 'BBSim chart name (or location on file system)'
482
483 - string:
484 name: rwCoreImg
485 default: '{rwCoreImg}'
486 description: 'Custom image selection for VOLTHA (repo:tag)'
487
488 - string:
489 name: ofAgentImg
490 default: '{ofAgentImg}'
491 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
492
493 - string:
494 name: volthaChart
495 default: '{volthaChart}'
496 description: 'VOLTHA chart name (or location on file system)'
497
498 - string:
499 name: openoltAdapterImg
500 default: '{openoltAdapterImg}'
501 description: 'Custom image selection for Openolt Adapter (repo:tag)'
502
503 - string:
504 name: openoltAdapterChart
505 default: '{openoltAdapterChart}'
506 description: 'OpenOLT chart name (or location on file system)'
507
508 - string:
509 name: openonuAdapterImg
510 default: '{openonuAdapterImg}'
511 description: 'Custom image selection for Openonu Adapter (repo:tag)'
512
513 - string:
514 name: openonuAdapterChart
515 default: '{openonuAdapterChart}'
516 description: 'OpenONU chart name (or location on file system)'
517
518 - string:
519 name: onosImg
520 default: '{onosImg}'
521 description: 'Custom image selection for Openonu Adapter (repo:tag)'
522
523 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700524 name: onosChart
525 default: '{onosChart}'
526 description: 'ONOS chart name (or location on file system)'
527
528 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700529 name: radiusChart
530 default: '{radiusChart}'
531 description: 'freeradius chart name (or location on file system)'
532
533 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700534 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700535 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700536 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
537
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700538 - string:
539 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700540 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700541 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
542
Matteo Scandoloccc06192020-06-22 10:16:17 -0700543 - bool:
544 name: inMemoryEtcdStorage
545 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700546 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700547
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200548 - string:
549 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700550 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200551 description: 'Karaf home'
552
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700553- job-template:
554 id: 'voltha-scale-measurements'
555 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700556 disabled: '{disable-job}'
557
558 description: |
559 <!-- Managed by Jenkins Job Builder -->
560 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
561 Using pipeline {pipeline-script} <br/><br/>
562 Scale measurements for VOLTHA 2.x
563
564 properties:
565 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800566 build-days-to-keep: '{big-build-days-to-keep}'
567 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700568
569 wrappers:
570 - lf-infra-wrappers:
571 build-timeout: '{build-timeout}'
572 jenkins-ssh-credential: '{jenkins-ssh-credential}'
573
574 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800575 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700576 release: master
577
578 bbsimImg: voltha/bbsim:master
579 rwCoreImg: voltha/voltha-rw-core:master
580 ofAgentImg: voltha/voltha-ofagent-go:master
581 openoltAdapterImg: voltha/voltha-openolt-adapter:master
582 openonuAdapterImg: voltha/voltha-openonu-adapter:master
583 onosImg: voltha/voltha-onos:master
584
585 bbsimChart: onf/bbsim
586 volthaChart: onf/voltha
587 openoltAdapterChart: onf/voltha-adapter-openolt
588 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700589 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700590 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700591
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800592 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700593 olts: 2
594 pons: 2
595 onus: 2
596 workflow: att
597 withFlows: false
598 provisionSubscribers: false
599 withEapol: true
600 withDhcp: true
601 withIgmp: false
602 withLLDP: false
603 withMibTemplate: true
604 withMonitoring: true
605 withProfiling: false
606 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700607 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700608 openonuAdapterReplicas: 8
609 onosReplicas: 3
610 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700611 kafkaReplicas: 3
612 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700613 extraHelmFlags: ''
614 onosStatInterval: 5
615 volthaSystemTestsChange: ''
616 kindVolthaChange: ''
617 inMemoryEtcdStorage: true
618 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700619 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700620 dockerRegistry: 10.90.0.101:30500
621 trigger-comment: vv7CBoQQYYonvaN8xcru
622 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700623
624 <<: *voltha-scale-job-parameters
625
Matteo Scandolo272aed42020-05-08 15:05:57 -0700626 project-type: pipeline
627 concurrent: false
628
629 dsl: !include-raw-escape: pipeline/{pipeline-script}
630
Matteo Scandoloabb83972020-06-25 16:08:23 -0700631 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700632 # periodic jobs will set this every 4 hours
633 # 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 -0700634 - timed: |
635 TZ=America/Los_Angeles
636 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700637 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
638 # patchset jobs will set this to a meaningful comment
639 - gerrit:
640 server-name: '{gerrit-server-name}'
641 silent-start: false
642 successful-message: "PASSED scale test"
643 failure-message: "FAILED scale test"
644 unstable-message: "UNSTABLE scale test"
645 trigger-on:
646 - comment-added-contains-event:
647 comment-contains-value: '.*{trigger-comment}.*'
648 projects:
649 - project-compare-type: REG_EXP
650 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
651 branches:
652 - branch-compare-type: REG_EXP
653 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700654
655- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700656 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800657 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800658
659 description: |
660 <!-- Managed by Jenkins Job Builder -->
661 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
662 Using pipeline {pipeline-script} <br/><br/>
663 Scale measurements for VOLTHA 2.x
664
665 properties:
666 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800667 build-days-to-keep: '{big-build-days-to-keep}'
668 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800669
670 wrappers:
671 - lf-infra-wrappers:
672 build-timeout: '{build-timeout}'
673 jenkins-ssh-credential: '{jenkins-ssh-credential}'
674
Matteo Scandolo0430f672020-05-07 11:50:26 -0700675 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800676 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700677 release: master
678
Matteo Scandolo0430f672020-05-07 11:50:26 -0700679 bbsimImg: voltha/bbsim:master
680 rwCoreImg: voltha/voltha-rw-core:master
681 ofAgentImg: voltha/voltha-ofagent-go:master
682 openoltAdapterImg: voltha/voltha-openolt-adapter:master
683 openonuAdapterImg: voltha/voltha-openonu-adapter:master
684 onosImg: voltha/voltha-onos:master
685
686 bbsimChart: onf/bbsim
687 volthaChart: onf/voltha
688 openoltAdapterChart: onf/voltha-adapter-openolt
689 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700690 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700691 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700692
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800693 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700694 olts: 2
695 pons: 2
696 onus: 2
697 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700698 withFlows: true
699 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700700 withEapol: true
701 withDhcp: true
702 withIgmp: false
703 withLLDP: false
704 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700705 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700706 withProfiling: false
707 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700708 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700709 openonuAdapterReplicas: 1
710 onosReplicas: 1
711 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700712 kafkaReplicas: 1
713 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700714 extraHelmFlags: ''
715 onosStatInterval: 5
716 volthaSystemTestsChange: ''
717 kindVolthaChange: ''
718 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700719 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700720 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700721 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700722
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700723 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200724
Matteo Scandolo51b76302020-02-05 12:07:23 -0800725 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800726 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800727
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700728 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700729
Matteo Scandolo849db722020-10-21 10:58:41 -0700730 triggers:
731 - gerrit:
732 server-name: '{gerrit-server-name}'
733 silent-start: false
734 successful-message: "PASSED scale test"
735 failure-message: "FAILED scale test"
736 unstable-message: "UNSTABLE scale test"
737 trigger-on:
738 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700739 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700740 projects:
741 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700742 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700743 branches:
744 - branch-compare-type: REG_EXP
745 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700746- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700747 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700748 name: '{name}'
749 pipeline-script: 'voltha-scale-matrix.groovy'
750
751 description: |
752 <!-- Managed by Jenkins Job Builder -->
753 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
754 Using pipeline {pipeline-script} <br/><br/>
755 Scale measurements for VOLTHA 2.x
756
757 properties:
758 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800759 build-days-to-keep: '{big-build-days-to-keep}'
760 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700761
762 wrappers:
763 - lf-infra-wrappers:
764 build-timeout: '{build-timeout}'
765 jenkins-ssh-credential: '{jenkins-ssh-credential}'
766
767 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800768 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700769 release: master
770 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700771 volthaSystemTestsChange: ''
772 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700773 onosReplicas: 1
774 atomixReplicas: 0
775 kafkaReplicas: 1
776 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800777 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800778 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700779
780 project-type: pipeline
781 concurrent: false
782
783 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700784
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700785 parameters:
786 - string:
787 name: release
788 default: '{release}'
789 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
790
791 - string:
792 name: buildNode
793 default: '{build-node}'
794 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700795
796 - string:
797 name: volthaSystemTestsChange
798 default: '{volthaSystemTestsChange}'
799 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
800
801 - string:
802 name: kindVolthaChange
803 default: '{kindVolthaChange}'
804 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 -0700805
806 - string:
807 name: onosReplicas
808 default: '{onosReplicas}'
809 description: 'How many ONOSes instances to run'
810
811 - string:
812 name: atomixReplicas
813 default: '{atomixReplicas}'
814 description: 'How many Atomix instances to run'
815
816 - string:
817 name: kafkaReplicas
818 default: '{kafkaReplicas}'
819 description: 'How many Kafka instances to run'
820
821 - string:
822 name: etcdReplicas
823 default: '{etcdReplicas}'
824 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800825
826 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800827 name: openonuAdapterReplicas
828 default: '{openonuAdapterReplicas}'
829 description: 'How many OpenONU adapter instances to run'
830
831 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800832 name: topologies
833 default: '{topologies}'
834 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
835
836 triggers:
837 - timed: |
838 TZ=America/Los_Angeles
839 {time-trigger}