blob: 7ac47c0a1e42f52ea6b1ee1edb2a30762c28f79f [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'
Andrea Campanella16498b62020-11-10 10:24:29 +010030 onosImg: andreacampanella/voltha-onos:olt-meter-removal-master
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070031
Andrea Campanellabdb199e2020-10-27 10:47:16 +010032 - 'voltha-scale-measurements':
33 name: 'voltha-openonu-go-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080034 'disable-job': false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010035 build-node: 'onf-pod1-head-node'
36 time-trigger: "H H/4 * * *"
37 olts: 1
38 pons: 16
39 onus: 32
40 withFlows: true
41 provisionSubscribers: true
42 withEapol: true
43 withDhcp: true
44 withIgmp: false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010045 openonuAdapterReplicas: 1
46 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
Andrea Campanella68883592020-11-06 15:03:02 +010047 onosImg: andreacampanella/voltha-onos:olt-meter-removal-master
Andrea Campanella04ca93a2020-11-07 14:57:50 +010048 extraHelmFlags: '--set use_openonu_adapter_go=true,authRetry=true,dhcpRetry=true'
Andrea Campanellabdb199e2020-10-27 10:47:16 +010049
Matteo Scandolo8df57162020-10-06 14:43:53 -070050 # this job will be used to test custom images without disrupting tests on master
51 - 'voltha-scale-measurements':
52 name: 'voltha-scale-measurements-master-experimental'
53 build-node: 'onf-pod1-head-node'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080054 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080055 # trigger on Feb 29th (a.k.a only trigger it manually)
56 time-trigger: "H 0 29 2 *"
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -070057 withMonitoring: false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080058 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070059 pons: 16
60 onus: 32
61 withFlows: true
62 provisionSubscribers: true
63 withEapol: true
64 withDhcp: true
65 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070066 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo8df57162020-10-06 14:43:53 -070067 withPcap: true
Matteo Scandolo9665d592020-10-23 19:08:14 +000068
Matteo Scandolo8df57162020-10-06 14:43:53 -070069
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070070 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070071 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070072 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080073 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070074 build-node: 'onf-pod1-head-node'
75 time-trigger: "H H/4 * * *"
76 olts: 1
77 pons: 16
78 onus: 32
79 withFlows: true
80 provisionSubscribers: true
81 withEapol: true
82 withDhcp: true
83 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -070084 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanella16498b62020-11-10 10:24:29 +010085 onosImg: andreacampanella/voltha-onos:olt-meter-removal-master
Matteo Scandoloe4b04342020-05-28 07:35:45 -070086
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070087 - 'voltha-scale-measurements':
88 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080089 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070090 build-node: 'onf-pod1-head-node'
91 time-trigger: "H H/4 * * *"
92 olts: 1
93 pons: 16
94 onus: 32
95 withFlows: true
96 provisionSubscribers: true
97 workflow: tt
98 withEapol: false
99 withDhcp: true
100 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700101 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanella16498b62020-11-10 10:24:29 +0100102 onosImg: andreacampanella/voltha-onos:olt-meter-removal-master
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700103
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700104 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700105 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800106 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700107 build-node: 'onf-pod1-head-node'
108 time-trigger: "H H/4 * * *"
109 olts: 1
110 pons: 16
111 onus: 32
112 withFlows: true
113 provisionSubscribers: true
114 workflow: dt
115 withEapol: false
116 withDhcp: false
117 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700118 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200119
Matteo Scandolo272aed42020-05-08 15:05:57 -0700120 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700121 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700122 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800123 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700124 build-node: 'onf-pod1-head-node'
125 time-trigger: "H H/4 * * *"
126 olts: 2
127 pons: 16
128 onus: 32
129 withFlows: true
130 provisionSubscribers: true
131 withEapol: true
132 withDhcp: true
133 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700134 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanella16498b62020-11-10 10:24:29 +0100135 onosImg: andreacampanella/voltha-onos:olt-meter-removal-master
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700136
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700137 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700138 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800139 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700140 build-node: 'onf-pod1-head-node'
141 time-trigger: "H H/4 * * *"
142 olts: 2
143 pons: 16
144 onus: 32
145 withFlows: true
146 provisionSubscribers: true
147 workflow: dt
148 withEapol: false
149 withDhcp: false
150 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700151 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanella16498b62020-11-10 10:24:29 +0100152 onosImg: andreacampanella/voltha-onos:olt-meter-removal-master
Matteo Scandolo86939302020-10-30 13:32:08 -0700153
154 - 'voltha-scale-measurements':
155 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800156 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -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: tt
165 withEapol: false
166 withDhcp: true
167 withIgmp: true
168 openonuAdapterReplicas: 8
169 onosReplicas: 3
170 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700171 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanella16498b62020-11-10 10:24:29 +0100172 onosImg: andreacampanella/voltha-onos:olt-meter-removal-master
Matteo Scandolo272aed42020-05-08 15:05:57 -0700173
Matteo Scandolo031bd982020-09-16 10:03:47 -0700174 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700175 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700176 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800177 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700178 build-node: 'onf-pod1-head-node'
179 time-trigger: "H H/4 * * *"
180 olts: 1
181 pons: 16
182 onus: 32
183 withFlows: true
184 provisionSubscribers: true
185 withEapol: true
186 withDhcp: true
187 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700188 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700189 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700190 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700191 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700192 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700193 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700194 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200195 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700196
197 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700198 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800199 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700200 build-node: 'onf-pod1-head-node'
201 time-trigger: "H H/4 * * *"
202 olts: 2
203 pons: 16
204 onus: 32
205 withFlows: true
206 provisionSubscribers: true
207 workflow: dt
208 withEapol: false
209 withDhcp: false
210 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700211 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700212 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700213 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700214 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700215 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700216 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700217 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200218 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700219
Matteo Scandolo031bd982020-09-16 10:03:47 -0700220 - 'voltha-scale-measurements':
221 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800222 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700223 build-node: 'onf-pod1-head-node'
224 time-trigger: "H H/4 * * *"
225 olts: 1
226 pons: 16
227 onus: 32
228 withFlows: true
229 provisionSubscribers: true
230 workflow: tt
231 withEapol: false
232 withDhcp: true
233 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700234 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
235 release: voltha-2.5
236 bbsimImg: ''
237 rwCoreImg: ''
238 ofAgentImg: ''
239 openoltAdapterImg: ''
240 openonuAdapterImg: ''
241 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700242
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700243 # per patchset job
244 - 'voltha-scale-measurements':
245 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
246 build-node: 'onf-pod1-head-node'
247 olts: 1
248 pons: 16
249 onus: 32
250 withFlows: true
251 provisionSubscribers: true
252 withEapol: true
253 withDhcp: true
254 withIgmp: false
255 withMonitoring: false
256 trigger-comment: "voltha scale test ATT"
257
258 - 'voltha-scale-measurements':
259 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
260 build-node: 'onf-pod1-head-node'
261 olts: 1
262 pons: 16
263 onus: 32
264 withFlows: true
265 provisionSubscribers: true
266 workflow: tt
267 withEapol: false
268 withDhcp: true
269 withIgmp: true
270 withMonitoring: false
271 trigger-comment: "voltha scale test TT"
272
273 - 'voltha-scale-measurements':
274 name: 'voltha-scale-measurements-patchset-1-16-32-dt-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: dt
282 withEapol: false
283 withDhcp: false
284 withIgmp: false
285 withMonitoring: false
286 trigger-comment: "voltha scale test DT"
287
Matteo Scandolo272aed42020-05-08 15:05:57 -0700288 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700289 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700290 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700291 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700292 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700293
Matteo Scandolodc930192020-08-27 15:56:16 -0700294 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700295 - 'voltha-scale-matrix':
296 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700297 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800298
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700299 # development matrix
300 - 'voltha-scale-matrix':
301 name: 'voltha-scale-matrix-voltha-master'
302 build-node: 'onf-pod1-head-node'
303 onosReplicas: 3
304 atomixReplicas: 3
305 kafkaReplicas: 3
306 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800307 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800308 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800309 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700310
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700311# list of parameters for the VOLTHA Jobs,
312# used as anchor so that can be shared across multiple jobs
313# to use in a job: `parameters: *voltha-build-job-parameters`
314- voltha-scale-job-parameters: &voltha-scale-job-parameters
315 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700316 parameters:
317 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700318 name: release
319 default: '{release}'
320 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
321
322 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700323 name: buildNode
324 default: '{build-node}'
325 description: 'Name of the Jenkins node to run the job on'
326
327 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700328 name: dockerRegistry
329 default: '{dockerRegistry}'
330 description: 'Address of the docker registry to use if we are building custom images'
331
332 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700333 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700334 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700335 description: 'Log level for all the components'
336
337 - string:
338 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700339 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700340 description: 'Number of ONUs to provision'
341
342 - string:
343 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700344 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700345 description: 'Number of PONs to provision'
346
347 - string:
348 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700349 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700350 description: 'How many BBSim instances to run'
351
352 - string:
353 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700354 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700355 description: 'Which workflow are we testing (att, dt, tt)'
356
357 - bool:
358 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700359 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700360 description: 'Wheter to push flows from ONOS'
361
362 - bool:
363 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700364 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700365 description: 'Wheter to provision subscribers durint the tests'
366
367 - bool:
368 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700369 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700370 description: 'Wheter EAPOL is enabled for the test'
371
372 - bool:
373 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700374 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700375 description: 'Wheter DHCP is enabled for the test'
376
377 - bool:
378 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700379 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700380 description: 'Wheter IGMP is enabled for the test'
381
382 - bool:
383 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700384 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700385 description: 'Wheter Link Discovery is enabled for the test'
386
387 - bool:
388 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700389 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700390 description: 'Option to trigger MIB template command'
391
392 - bool:
393 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700394 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700395 description: 'Option to install Prometheus'
396
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700397 - bool:
398 name: withProfiling
399 default: '{withProfiling}'
400 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
401
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700402 - bool:
403 name: withPcap
404 default: '{withPcap}'
405 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
406
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700407 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700408 name: withRadius
409 default: '{withRadius}'
410 description: 'Value to pass to kind-voltha WITH_RADIUS'
411
412 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700413 name: extraHelmFlags
414 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700415 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 -0700416
Matteo Scandolo272aed42020-05-08 15:05:57 -0700417 - string:
418 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700419 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700420 description: 'How many OpenONU adapter instances to run'
421
422 - string:
423 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700424 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700425 description: 'How many ONOSes instances to run'
426
427 - string:
428 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700429 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700430 description: 'How many Atomix instances to run'
431
432 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700433 name: kafkaReplicas
434 default: '{kafkaReplicas}'
435 description: 'How many Kafka instances to run'
436
437 - string:
438 name: etcdReplicas
439 default: '{etcdReplicas}'
440 description: 'How many ETCD instances to run'
441
442 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700443 name: onosStatInterval
444 default: '{onosStatInterval}'
445 description: 'How often ONOS should poll for ports, flows and meters'
446
447 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700448 name: bbsimImg
449 default: '{bbsimImg}'
450 description: 'Custom image selection for BBSIM (repo:tag)'
451
452 - string:
453 name: bbsimChart
454 default: '{bbsimChart}'
455 description: 'BBSim chart name (or location on file system)'
456
457 - string:
458 name: rwCoreImg
459 default: '{rwCoreImg}'
460 description: 'Custom image selection for VOLTHA (repo:tag)'
461
462 - string:
463 name: ofAgentImg
464 default: '{ofAgentImg}'
465 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
466
467 - string:
468 name: volthaChart
469 default: '{volthaChart}'
470 description: 'VOLTHA chart name (or location on file system)'
471
472 - string:
473 name: openoltAdapterImg
474 default: '{openoltAdapterImg}'
475 description: 'Custom image selection for Openolt Adapter (repo:tag)'
476
477 - string:
478 name: openoltAdapterChart
479 default: '{openoltAdapterChart}'
480 description: 'OpenOLT chart name (or location on file system)'
481
482 - string:
483 name: openonuAdapterImg
484 default: '{openonuAdapterImg}'
485 description: 'Custom image selection for Openonu Adapter (repo:tag)'
486
487 - string:
488 name: openonuAdapterChart
489 default: '{openonuAdapterChart}'
490 description: 'OpenONU chart name (or location on file system)'
491
492 - string:
493 name: onosImg
494 default: '{onosImg}'
495 description: 'Custom image selection for Openonu Adapter (repo:tag)'
496
497 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700498 name: onosChart
499 default: '{onosChart}'
500 description: 'ONOS chart name (or location on file system)'
501
502 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700503 name: radiusChart
504 default: '{radiusChart}'
505 description: 'freeradius chart name (or location on file system)'
506
507 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700508 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700509 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700510 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
511
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700512 - string:
513 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700514 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700515 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
516
Matteo Scandoloccc06192020-06-22 10:16:17 -0700517 - bool:
518 name: inMemoryEtcdStorage
519 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700520 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700521
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200522 - string:
523 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700524 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200525 description: 'Karaf home'
526
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700527- job-template:
528 id: 'voltha-scale-measurements'
529 name: '{name}'
530 pipeline-script: 'voltha-scale-test.groovy'
531 disabled: '{disable-job}'
532
533 description: |
534 <!-- Managed by Jenkins Job Builder -->
535 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
536 Using pipeline {pipeline-script} <br/><br/>
537 Scale measurements for VOLTHA 2.x
538
539 properties:
540 - cord-infra-properties:
541 build-days-to-keep: 30
542 artifact-num-to-keep: 15
543
544 wrappers:
545 - lf-infra-wrappers:
546 build-timeout: '{build-timeout}'
547 jenkins-ssh-credential: '{jenkins-ssh-credential}'
548
549 # default values
550 release: master
551
552 bbsimImg: voltha/bbsim:master
553 rwCoreImg: voltha/voltha-rw-core:master
554 ofAgentImg: voltha/voltha-ofagent-go:master
555 openoltAdapterImg: voltha/voltha-openolt-adapter:master
556 openonuAdapterImg: voltha/voltha-openonu-adapter:master
557 onosImg: voltha/voltha-onos:master
558
559 bbsimChart: onf/bbsim
560 volthaChart: onf/voltha
561 openoltAdapterChart: onf/voltha-adapter-openolt
562 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700563 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700564 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700565
566 olts: 2
567 pons: 2
568 onus: 2
569 workflow: att
570 withFlows: false
571 provisionSubscribers: false
572 withEapol: true
573 withDhcp: true
574 withIgmp: false
575 withLLDP: false
576 withMibTemplate: true
577 withMonitoring: true
578 withProfiling: false
579 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700580 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700581 openonuAdapterReplicas: 8
582 onosReplicas: 3
583 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700584 kafkaReplicas: 3
585 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700586 extraHelmFlags: ''
587 onosStatInterval: 5
588 volthaSystemTestsChange: ''
589 kindVolthaChange: ''
590 inMemoryEtcdStorage: true
591 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700592 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700593 dockerRegistry: 10.90.0.101:30500
594 trigger-comment: vv7CBoQQYYonvaN8xcru
595 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700596
597 <<: *voltha-scale-job-parameters
598
Matteo Scandolo272aed42020-05-08 15:05:57 -0700599 project-type: pipeline
600 concurrent: false
601
602 dsl: !include-raw-escape: pipeline/{pipeline-script}
603
Matteo Scandoloabb83972020-06-25 16:08:23 -0700604 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700605 # periodic jobs will set this every 4 hours
606 # 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 -0700607 - timed: |
608 TZ=America/Los_Angeles
609 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700610 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
611 # patchset jobs will set this to a meaningful comment
612 - gerrit:
613 server-name: '{gerrit-server-name}'
614 silent-start: false
615 successful-message: "PASSED scale test"
616 failure-message: "FAILED scale test"
617 unstable-message: "UNSTABLE scale test"
618 trigger-on:
619 - comment-added-contains-event:
620 comment-contains-value: '.*{trigger-comment}.*'
621 projects:
622 - project-compare-type: REG_EXP
623 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
624 branches:
625 - branch-compare-type: REG_EXP
626 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700627
628- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700629 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800630 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700631 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800632
633 description: |
634 <!-- Managed by Jenkins Job Builder -->
635 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
636 Using pipeline {pipeline-script} <br/><br/>
637 Scale measurements for VOLTHA 2.x
638
639 properties:
640 - cord-infra-properties:
641 build-days-to-keep: '{build-days-to-keep}'
642 artifact-num-to-keep: '{artifact-num-to-keep}'
643
644 wrappers:
645 - lf-infra-wrappers:
646 build-timeout: '{build-timeout}'
647 jenkins-ssh-credential: '{jenkins-ssh-credential}'
648
Matteo Scandolo0430f672020-05-07 11:50:26 -0700649 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700650 release: master
651
Matteo Scandolo0430f672020-05-07 11:50:26 -0700652 bbsimImg: voltha/bbsim:master
653 rwCoreImg: voltha/voltha-rw-core:master
654 ofAgentImg: voltha/voltha-ofagent-go:master
655 openoltAdapterImg: voltha/voltha-openolt-adapter:master
656 openonuAdapterImg: voltha/voltha-openonu-adapter:master
657 onosImg: voltha/voltha-onos:master
658
659 bbsimChart: onf/bbsim
660 volthaChart: onf/voltha
661 openoltAdapterChart: onf/voltha-adapter-openolt
662 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700663 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700664 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700665
Matteo Scandolo68776b72020-07-21 14:06:06 -0700666 olts: 2
667 pons: 2
668 onus: 2
669 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700670 withFlows: true
671 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700672 withEapol: true
673 withDhcp: true
674 withIgmp: false
675 withLLDP: false
676 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700677 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700678 withProfiling: false
679 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700680 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700681 openonuAdapterReplicas: 1
682 onosReplicas: 1
683 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700684 kafkaReplicas: 1
685 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700686 extraHelmFlags: ''
687 onosStatInterval: 5
688 volthaSystemTestsChange: ''
689 kindVolthaChange: ''
690 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700691 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700692 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700693 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700694
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700695 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200696
Matteo Scandolo51b76302020-02-05 12:07:23 -0800697 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800698 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800699
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700700 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700701
Matteo Scandolo849db722020-10-21 10:58:41 -0700702 triggers:
703 - gerrit:
704 server-name: '{gerrit-server-name}'
705 silent-start: false
706 successful-message: "PASSED scale test"
707 failure-message: "FAILED scale test"
708 unstable-message: "UNSTABLE scale test"
709 trigger-on:
710 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700711 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700712 projects:
713 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700714 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700715 branches:
716 - branch-compare-type: REG_EXP
717 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700718- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700719 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700720 name: '{name}'
721 pipeline-script: 'voltha-scale-matrix.groovy'
722
723 description: |
724 <!-- Managed by Jenkins Job Builder -->
725 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
726 Using pipeline {pipeline-script} <br/><br/>
727 Scale measurements for VOLTHA 2.x
728
729 properties:
730 - cord-infra-properties:
731 build-days-to-keep: '{build-days-to-keep}'
732 artifact-num-to-keep: '{artifact-num-to-keep}'
733
734 wrappers:
735 - lf-infra-wrappers:
736 build-timeout: '{build-timeout}'
737 jenkins-ssh-credential: '{jenkins-ssh-credential}'
738
739 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800740 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700741 release: master
742 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700743 volthaSystemTestsChange: ''
744 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700745 onosReplicas: 1
746 atomixReplicas: 0
747 kafkaReplicas: 1
748 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800749 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800750 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700751
752 project-type: pipeline
753 concurrent: false
754
755 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700756
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700757 parameters:
758 - string:
759 name: release
760 default: '{release}'
761 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
762
763 - string:
764 name: buildNode
765 default: '{build-node}'
766 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700767
768 - string:
769 name: volthaSystemTestsChange
770 default: '{volthaSystemTestsChange}'
771 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
772
773 - string:
774 name: kindVolthaChange
775 default: '{kindVolthaChange}'
776 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 -0700777
778 - string:
779 name: onosReplicas
780 default: '{onosReplicas}'
781 description: 'How many ONOSes instances to run'
782
783 - string:
784 name: atomixReplicas
785 default: '{atomixReplicas}'
786 description: 'How many Atomix instances to run'
787
788 - string:
789 name: kafkaReplicas
790 default: '{kafkaReplicas}'
791 description: 'How many Kafka instances to run'
792
793 - string:
794 name: etcdReplicas
795 default: '{etcdReplicas}'
796 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800797
798 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800799 name: openonuAdapterReplicas
800 default: '{openonuAdapterReplicas}'
801 description: 'How many OpenONU adapter instances to run'
802
803 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800804 name: topologies
805 default: '{topologies}'
806 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
807
808 triggers:
809 - timed: |
810 TZ=America/Los_Angeles
811 {time-trigger}