blob: 16246f029debefffabb201e438063e825383af5e [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 Scandolo8df57162020-10-06 14:43:53 -070067
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070068 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070069 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070070 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080071 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070072 build-node: 'onf-pod1-head-node'
73 time-trigger: "H H/4 * * *"
74 olts: 1
75 pons: 16
76 onus: 32
77 withFlows: true
78 provisionSubscribers: true
79 withEapol: true
80 withDhcp: true
81 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -070082 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -070083
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070084 - 'voltha-scale-measurements':
85 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080086 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070087 build-node: 'onf-pod1-head-node'
88 time-trigger: "H H/4 * * *"
89 olts: 1
90 pons: 16
91 onus: 32
92 withFlows: true
93 provisionSubscribers: true
94 workflow: tt
95 withEapol: false
96 withDhcp: true
97 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -070098 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070099
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700100 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700101 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800102 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700103 build-node: 'onf-pod1-head-node'
104 time-trigger: "H H/4 * * *"
105 olts: 1
106 pons: 16
107 onus: 32
108 withFlows: true
109 provisionSubscribers: true
110 workflow: dt
111 withEapol: false
112 withDhcp: false
113 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700114 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200115
Matteo Scandolo272aed42020-05-08 15:05:57 -0700116 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700117 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700118 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800119 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700120 build-node: 'onf-pod1-head-node'
121 time-trigger: "H H/4 * * *"
122 olts: 2
123 pons: 16
124 onus: 32
125 withFlows: true
126 provisionSubscribers: true
127 withEapol: true
128 withDhcp: true
129 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700130 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700131
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700132 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700133 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800134 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700135 build-node: 'onf-pod1-head-node'
136 time-trigger: "H H/4 * * *"
137 olts: 2
138 pons: 16
139 onus: 32
140 withFlows: true
141 provisionSubscribers: true
142 workflow: dt
143 withEapol: false
144 withDhcp: false
145 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700146 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700147
148 - 'voltha-scale-measurements':
149 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800150 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700151 build-node: 'onf-pod1-head-node'
152 time-trigger: "H H/4 * * *"
153 olts: 2
154 pons: 16
155 onus: 32
156 withFlows: true
157 provisionSubscribers: true
158 workflow: tt
159 withEapol: false
160 withDhcp: true
161 withIgmp: true
162 openonuAdapterReplicas: 8
163 onosReplicas: 3
164 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700165 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700166
Matteo Scandolo031bd982020-09-16 10:03:47 -0700167 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700168 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700169 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800170 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700171 build-node: 'onf-pod1-head-node'
172 time-trigger: "H H/4 * * *"
173 olts: 1
174 pons: 16
175 onus: 32
176 withFlows: true
177 provisionSubscribers: true
178 withEapol: true
179 withDhcp: true
180 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700181 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700182 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700183 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700184 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700185 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700186 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700187 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200188 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700189
190 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700191 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-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: 2
196 pons: 16
197 onus: 32
198 withFlows: true
199 provisionSubscribers: true
200 workflow: dt
201 withEapol: false
202 withDhcp: false
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 Scandolob2f814a2020-07-15 10:01:11 -0700212
Matteo Scandolo031bd982020-09-16 10:03:47 -0700213 - 'voltha-scale-measurements':
214 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800215 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700216 build-node: 'onf-pod1-head-node'
217 time-trigger: "H H/4 * * *"
218 olts: 1
219 pons: 16
220 onus: 32
221 withFlows: true
222 provisionSubscribers: true
223 workflow: tt
224 withEapol: false
225 withDhcp: true
226 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700227 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
228 release: voltha-2.5
229 bbsimImg: ''
230 rwCoreImg: ''
231 ofAgentImg: ''
232 openoltAdapterImg: ''
233 openonuAdapterImg: ''
234 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700235
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700236 # per patchset job
237 - 'voltha-scale-measurements':
238 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
239 build-node: 'onf-pod1-head-node'
240 olts: 1
241 pons: 16
242 onus: 32
243 withFlows: true
244 provisionSubscribers: true
245 withEapol: true
246 withDhcp: true
247 withIgmp: false
248 withMonitoring: false
249 trigger-comment: "voltha scale test ATT"
250
251 - 'voltha-scale-measurements':
252 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
253 build-node: 'onf-pod1-head-node'
254 olts: 1
255 pons: 16
256 onus: 32
257 withFlows: true
258 provisionSubscribers: true
259 workflow: tt
260 withEapol: false
261 withDhcp: true
262 withIgmp: true
263 withMonitoring: false
264 trigger-comment: "voltha scale test TT"
265
266 - 'voltha-scale-measurements':
267 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
268 build-node: 'onf-pod1-head-node'
269 olts: 1
270 pons: 16
271 onus: 32
272 withFlows: true
273 provisionSubscribers: true
274 workflow: dt
275 withEapol: false
276 withDhcp: false
277 withIgmp: false
278 withMonitoring: false
279 trigger-comment: "voltha scale test DT"
280
Matteo Scandolo272aed42020-05-08 15:05:57 -0700281 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700282 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700283 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700284 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700285 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700286
Matteo Scandolodc930192020-08-27 15:56:16 -0700287 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700288 - 'voltha-scale-matrix':
289 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700290 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800291
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700292 # development matrix
293 - 'voltha-scale-matrix':
294 name: 'voltha-scale-matrix-voltha-master'
295 build-node: 'onf-pod1-head-node'
296 onosReplicas: 3
297 atomixReplicas: 3
298 kafkaReplicas: 3
299 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800300 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800301 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800302 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700303
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700304# list of parameters for the VOLTHA Jobs,
305# used as anchor so that can be shared across multiple jobs
306# to use in a job: `parameters: *voltha-build-job-parameters`
307- voltha-scale-job-parameters: &voltha-scale-job-parameters
308 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700309 parameters:
310 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700311 name: release
312 default: '{release}'
313 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
314
315 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700316 name: buildNode
317 default: '{build-node}'
318 description: 'Name of the Jenkins node to run the job on'
319
320 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700321 name: dockerRegistry
322 default: '{dockerRegistry}'
323 description: 'Address of the docker registry to use if we are building custom images'
324
325 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700326 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700327 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700328 description: 'Log level for all the components'
329
330 - string:
331 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700332 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700333 description: 'Number of ONUs to provision'
334
335 - string:
336 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700337 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700338 description: 'Number of PONs to provision'
339
340 - string:
341 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700342 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700343 description: 'How many BBSim instances to run'
344
345 - string:
346 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700347 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700348 description: 'Which workflow are we testing (att, dt, tt)'
349
350 - bool:
351 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700352 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700353 description: 'Wheter to push flows from ONOS'
354
355 - bool:
356 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700357 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700358 description: 'Wheter to provision subscribers durint the tests'
359
360 - bool:
361 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700362 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 description: 'Wheter EAPOL is enabled for the test'
364
365 - bool:
366 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 description: 'Wheter DHCP is enabled for the test'
369
370 - bool:
371 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'Wheter IGMP is enabled for the test'
374
375 - bool:
376 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'Wheter Link Discovery is enabled for the test'
379
380 - bool:
381 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'Option to trigger MIB template command'
384
385 - bool:
386 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Option to install Prometheus'
389
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700390 - bool:
391 name: withProfiling
392 default: '{withProfiling}'
393 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
394
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700395 - bool:
396 name: withPcap
397 default: '{withPcap}'
398 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
399
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700400 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700401 name: withRadius
402 default: '{withRadius}'
403 description: 'Value to pass to kind-voltha WITH_RADIUS'
404
405 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700406 name: extraHelmFlags
407 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700408 description: 'Any extra helm parameters you want (passed to every helm install command, not available if release != master)'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700409
Matteo Scandolo272aed42020-05-08 15:05:57 -0700410 - string:
411 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700412 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700413 description: 'How many OpenONU adapter instances to run'
414
415 - string:
416 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700417 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700418 description: 'How many ONOSes instances to run'
419
420 - string:
421 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700422 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700423 description: 'How many Atomix instances to run'
424
425 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700426 name: kafkaReplicas
427 default: '{kafkaReplicas}'
428 description: 'How many Kafka instances to run'
429
430 - string:
431 name: etcdReplicas
432 default: '{etcdReplicas}'
433 description: 'How many ETCD instances to run'
434
435 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700436 name: onosStatInterval
437 default: '{onosStatInterval}'
438 description: 'How often ONOS should poll for ports, flows and meters'
439
440 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700441 name: bbsimImg
442 default: '{bbsimImg}'
443 description: 'Custom image selection for BBSIM (repo:tag)'
444
445 - string:
446 name: bbsimChart
447 default: '{bbsimChart}'
448 description: 'BBSim chart name (or location on file system)'
449
450 - string:
451 name: rwCoreImg
452 default: '{rwCoreImg}'
453 description: 'Custom image selection for VOLTHA (repo:tag)'
454
455 - string:
456 name: ofAgentImg
457 default: '{ofAgentImg}'
458 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
459
460 - string:
461 name: volthaChart
462 default: '{volthaChart}'
463 description: 'VOLTHA chart name (or location on file system)'
464
465 - string:
466 name: openoltAdapterImg
467 default: '{openoltAdapterImg}'
468 description: 'Custom image selection for Openolt Adapter (repo:tag)'
469
470 - string:
471 name: openoltAdapterChart
472 default: '{openoltAdapterChart}'
473 description: 'OpenOLT chart name (or location on file system)'
474
475 - string:
476 name: openonuAdapterImg
477 default: '{openonuAdapterImg}'
478 description: 'Custom image selection for Openonu Adapter (repo:tag)'
479
480 - string:
481 name: openonuAdapterChart
482 default: '{openonuAdapterChart}'
483 description: 'OpenONU chart name (or location on file system)'
484
485 - string:
486 name: onosImg
487 default: '{onosImg}'
488 description: 'Custom image selection for Openonu Adapter (repo:tag)'
489
490 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700491 name: onosChart
492 default: '{onosChart}'
493 description: 'ONOS chart name (or location on file system)'
494
495 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700496 name: radiusChart
497 default: '{radiusChart}'
498 description: 'freeradius chart name (or location on file system)'
499
500 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700501 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700502 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700503 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
504
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700505 - string:
506 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700507 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700508 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
509
Matteo Scandoloccc06192020-06-22 10:16:17 -0700510 - bool:
511 name: inMemoryEtcdStorage
512 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700513 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700514
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200515 - string:
516 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700517 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200518 description: 'Karaf home'
519
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700520- job-template:
521 id: 'voltha-scale-measurements'
522 name: '{name}'
523 pipeline-script: 'voltha-scale-test.groovy'
524 disabled: '{disable-job}'
525
526 description: |
527 <!-- Managed by Jenkins Job Builder -->
528 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
529 Using pipeline {pipeline-script} <br/><br/>
530 Scale measurements for VOLTHA 2.x
531
532 properties:
533 - cord-infra-properties:
534 build-days-to-keep: 30
535 artifact-num-to-keep: 15
536
537 wrappers:
538 - lf-infra-wrappers:
539 build-timeout: '{build-timeout}'
540 jenkins-ssh-credential: '{jenkins-ssh-credential}'
541
542 # default values
543 release: master
544
545 bbsimImg: voltha/bbsim:master
546 rwCoreImg: voltha/voltha-rw-core:master
547 ofAgentImg: voltha/voltha-ofagent-go:master
548 openoltAdapterImg: voltha/voltha-openolt-adapter:master
549 openonuAdapterImg: voltha/voltha-openonu-adapter:master
550 onosImg: voltha/voltha-onos:master
551
552 bbsimChart: onf/bbsim
553 volthaChart: onf/voltha
554 openoltAdapterChart: onf/voltha-adapter-openolt
555 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700556 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700557 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700558
559 olts: 2
560 pons: 2
561 onus: 2
562 workflow: att
563 withFlows: false
564 provisionSubscribers: false
565 withEapol: true
566 withDhcp: true
567 withIgmp: false
568 withLLDP: false
569 withMibTemplate: true
570 withMonitoring: true
571 withProfiling: false
572 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700573 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700574 openonuAdapterReplicas: 8
575 onosReplicas: 3
576 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700577 kafkaReplicas: 3
578 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700579 extraHelmFlags: ''
580 onosStatInterval: 5
581 volthaSystemTestsChange: ''
582 kindVolthaChange: ''
583 inMemoryEtcdStorage: true
584 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700585 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700586 dockerRegistry: 10.90.0.101:30500
587 trigger-comment: vv7CBoQQYYonvaN8xcru
588 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700589
590 <<: *voltha-scale-job-parameters
591
Matteo Scandolo272aed42020-05-08 15:05:57 -0700592 project-type: pipeline
593 concurrent: false
594
595 dsl: !include-raw-escape: pipeline/{pipeline-script}
596
Matteo Scandoloabb83972020-06-25 16:08:23 -0700597 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700598 # periodic jobs will set this every 4 hours
599 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
Matteo Scandoloabb83972020-06-25 16:08:23 -0700600 - timed: |
601 TZ=America/Los_Angeles
602 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700603 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
604 # patchset jobs will set this to a meaningful comment
605 - gerrit:
606 server-name: '{gerrit-server-name}'
607 silent-start: false
608 successful-message: "PASSED scale test"
609 failure-message: "FAILED scale test"
610 unstable-message: "UNSTABLE scale test"
611 trigger-on:
612 - comment-added-contains-event:
613 comment-contains-value: '.*{trigger-comment}.*'
614 projects:
615 - project-compare-type: REG_EXP
616 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
617 branches:
618 - branch-compare-type: REG_EXP
619 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700620
621- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700622 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800623 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700624 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800625
626 description: |
627 <!-- Managed by Jenkins Job Builder -->
628 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
629 Using pipeline {pipeline-script} <br/><br/>
630 Scale measurements for VOLTHA 2.x
631
632 properties:
633 - cord-infra-properties:
634 build-days-to-keep: '{build-days-to-keep}'
635 artifact-num-to-keep: '{artifact-num-to-keep}'
636
637 wrappers:
638 - lf-infra-wrappers:
639 build-timeout: '{build-timeout}'
640 jenkins-ssh-credential: '{jenkins-ssh-credential}'
641
Matteo Scandolo0430f672020-05-07 11:50:26 -0700642 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700643 release: master
644
Matteo Scandolo0430f672020-05-07 11:50:26 -0700645 bbsimImg: voltha/bbsim:master
646 rwCoreImg: voltha/voltha-rw-core:master
647 ofAgentImg: voltha/voltha-ofagent-go:master
648 openoltAdapterImg: voltha/voltha-openolt-adapter:master
649 openonuAdapterImg: voltha/voltha-openonu-adapter:master
650 onosImg: voltha/voltha-onos:master
651
652 bbsimChart: onf/bbsim
653 volthaChart: onf/voltha
654 openoltAdapterChart: onf/voltha-adapter-openolt
655 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700656 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700657 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700658
Matteo Scandolo68776b72020-07-21 14:06:06 -0700659 olts: 2
660 pons: 2
661 onus: 2
662 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700663 withFlows: true
664 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700665 withEapol: true
666 withDhcp: true
667 withIgmp: false
668 withLLDP: false
669 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700670 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700671 withProfiling: false
672 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700673 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700674 openonuAdapterReplicas: 1
675 onosReplicas: 1
676 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700677 kafkaReplicas: 1
678 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700679 extraHelmFlags: ''
680 onosStatInterval: 5
681 volthaSystemTestsChange: ''
682 kindVolthaChange: ''
683 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700684 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700685 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700686 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700687
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700688 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200689
Matteo Scandolo51b76302020-02-05 12:07:23 -0800690 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800691 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800692
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700693 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700694
Matteo Scandolo849db722020-10-21 10:58:41 -0700695 triggers:
696 - gerrit:
697 server-name: '{gerrit-server-name}'
698 silent-start: false
699 successful-message: "PASSED scale test"
700 failure-message: "FAILED scale test"
701 unstable-message: "UNSTABLE scale test"
702 trigger-on:
703 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700704 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700705 projects:
706 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700707 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700708 branches:
709 - branch-compare-type: REG_EXP
710 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700711- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700712 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700713 name: '{name}'
714 pipeline-script: 'voltha-scale-matrix.groovy'
715
716 description: |
717 <!-- Managed by Jenkins Job Builder -->
718 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
719 Using pipeline {pipeline-script} <br/><br/>
720 Scale measurements for VOLTHA 2.x
721
722 properties:
723 - cord-infra-properties:
724 build-days-to-keep: '{build-days-to-keep}'
725 artifact-num-to-keep: '{artifact-num-to-keep}'
726
727 wrappers:
728 - lf-infra-wrappers:
729 build-timeout: '{build-timeout}'
730 jenkins-ssh-credential: '{jenkins-ssh-credential}'
731
732 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800733 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700734 release: master
735 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700736 volthaSystemTestsChange: ''
737 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700738 onosReplicas: 1
739 atomixReplicas: 0
740 kafkaReplicas: 1
741 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800742 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800743 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700744
745 project-type: pipeline
746 concurrent: false
747
748 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700749
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700750 parameters:
751 - string:
752 name: release
753 default: '{release}'
754 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
755
756 - string:
757 name: buildNode
758 default: '{build-node}'
759 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700760
761 - string:
762 name: volthaSystemTestsChange
763 default: '{volthaSystemTestsChange}'
764 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
765
766 - string:
767 name: kindVolthaChange
768 default: '{kindVolthaChange}'
769 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 -0700770
771 - string:
772 name: onosReplicas
773 default: '{onosReplicas}'
774 description: 'How many ONOSes instances to run'
775
776 - string:
777 name: atomixReplicas
778 default: '{atomixReplicas}'
779 description: 'How many Atomix instances to run'
780
781 - string:
782 name: kafkaReplicas
783 default: '{kafkaReplicas}'
784 description: 'How many Kafka instances to run'
785
786 - string:
787 name: etcdReplicas
788 default: '{etcdReplicas}'
789 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800790
791 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800792 name: openonuAdapterReplicas
793 default: '{openonuAdapterReplicas}'
794 description: 'How many OpenONU adapter instances to run'
795
796 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800797 name: topologies
798 default: '{topologies}'
799 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
800
801 triggers:
802 - timed: |
803 TZ=America/Los_Angeles
804 {time-trigger}