blob: 5cb9a0f691256fa77a72ce709a3158d5feb88bb5 [file] [log] [blame]
Matteo Scandolo51b76302020-02-05 12:07:23 -08001---
2# VOLTHA 2.x scale measurements
3
4- project:
5 name: voltha-scale
6
7 project-name: '{name}'
8
9 jobs:
Matteo Scandolo272aed42020-05-08 15:05:57 -070010 # name format is <job-template>-<olts>-<pon>-<onus>-<setup>
Matteo Scandolo3136cca2020-05-15 14:14:27 -070011
Matteo Scandoloca097652020-08-14 09:49:23 -070012 # OpenONU GO Scale
Matteo Scandolob46bc402020-06-11 13:59:44 -070013 - 'voltha-scale-measurements':
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020014 name: 'voltha-openonu-go-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo87b042e2020-10-27 09:07:45 -070015 'disable-job': true
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020016 build-node: 'onf-pod1-head-node'
17 time-trigger: "H H/4 * * *"
18 olts: 2
19 pons: 16
20 onus: 32
21 withFlows: true
22 provisionSubscribers: true
23 workflow: dt
24 withEapol: false
25 withDhcp: false
26 withIgmp: false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020027 openonuAdapterReplicas: 1
28 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
29 extraHelmFlags: '--set use_openonu_adapter_go=true'
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070030
Andrea Campanellabdb199e2020-10-27 10:47:16 +010031 - 'voltha-scale-measurements':
32 name: 'voltha-openonu-go-scale-measurements-master-1-16-32-att-subscribers'
Matteo 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
46 extraHelmFlags: '--set use_openonu_adapter_go=true'
47
Matteo Scandolo8df57162020-10-06 14:43:53 -070048 # this job will be used to test custom images without disrupting tests on master
49 - 'voltha-scale-measurements':
50 name: 'voltha-scale-measurements-master-experimental'
51 build-node: 'onf-pod1-head-node'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080052 'disable-job': true
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 Scandolo4c4fbdd2020-11-04 13:49:42 -080071 'disable-job': true
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 Scandolo4c4fbdd2020-11-04 13:49:42 -080086 'disable-job': true
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 Scandolo4c4fbdd2020-11-04 13:49:42 -0800102 'disable-job': true
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 Scandolo4c4fbdd2020-11-04 13:49:42 -0800119 'disable-job': true
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700120 build-node: 'onf-pod1-head-node'
121 time-trigger: "H H/4 * * *"
122 olts: 2
123 pons: 16
124 onus: 32
125 withFlows: true
126 provisionSubscribers: true
127 withEapol: true
128 withDhcp: true
129 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700130 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo9607a2b2020-10-30 12:20:12 -0700131 onosImg: matteoscandolo/voltha-onos:olt-log
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700132
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700133 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700134 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -0800135 'disable-job': true
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700136 build-node: 'onf-pod1-head-node'
137 time-trigger: "H H/4 * * *"
138 olts: 2
139 pons: 16
140 onus: 32
141 withFlows: true
142 provisionSubscribers: true
143 workflow: dt
144 withEapol: false
145 withDhcp: false
146 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700147 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700148
149 - 'voltha-scale-measurements':
150 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -0800151 'disable-job': true
Matteo Scandolo86939302020-10-30 13:32:08 -0700152 build-node: 'onf-pod1-head-node'
153 time-trigger: "H H/4 * * *"
154 olts: 2
155 pons: 16
156 onus: 32
157 withFlows: true
158 provisionSubscribers: true
159 workflow: tt
160 withEapol: false
161 withDhcp: true
162 withIgmp: true
163 openonuAdapterReplicas: 8
164 onosReplicas: 3
165 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700166 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700167
Matteo Scandolo031bd982020-09-16 10:03:47 -0700168 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700169 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700170 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -0800171 'disable-job': true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700172 build-node: 'onf-pod1-head-node'
173 time-trigger: "H H/4 * * *"
174 olts: 1
175 pons: 16
176 onus: 32
177 withFlows: true
178 provisionSubscribers: true
179 withEapol: true
180 withDhcp: true
181 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700182 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700183 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700184 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700185 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700186 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700187 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700188 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200189 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700190
191 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700192 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -0800193 'disable-job': true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700194 build-node: 'onf-pod1-head-node'
195 time-trigger: "H H/4 * * *"
196 olts: 2
197 pons: 16
198 onus: 32
199 withFlows: true
200 provisionSubscribers: true
201 workflow: dt
202 withEapol: false
203 withDhcp: false
204 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700205 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700206 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700207 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700208 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700209 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700210 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700211 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200212 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700213
Matteo Scandolo031bd982020-09-16 10:03:47 -0700214 - 'voltha-scale-measurements':
215 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -0800216 'disable-job': true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700217 build-node: 'onf-pod1-head-node'
218 time-trigger: "H H/4 * * *"
219 olts: 1
220 pons: 16
221 onus: 32
222 withFlows: true
223 provisionSubscribers: true
224 workflow: tt
225 withEapol: false
226 withDhcp: true
227 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700228 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
229 release: voltha-2.5
230 bbsimImg: ''
231 rwCoreImg: ''
232 ofAgentImg: ''
233 openoltAdapterImg: ''
234 openonuAdapterImg: ''
235 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700236
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700237 # per patchset job
238 - 'voltha-scale-measurements':
239 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
240 build-node: 'onf-pod1-head-node'
241 olts: 1
242 pons: 16
243 onus: 32
244 withFlows: true
245 provisionSubscribers: true
246 withEapol: true
247 withDhcp: true
248 withIgmp: false
249 withMonitoring: false
250 trigger-comment: "voltha scale test ATT"
251
252 - 'voltha-scale-measurements':
253 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
254 build-node: 'onf-pod1-head-node'
255 olts: 1
256 pons: 16
257 onus: 32
258 withFlows: true
259 provisionSubscribers: true
260 workflow: tt
261 withEapol: false
262 withDhcp: true
263 withIgmp: true
264 withMonitoring: false
265 trigger-comment: "voltha scale test TT"
266
267 - 'voltha-scale-measurements':
268 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
269 build-node: 'onf-pod1-head-node'
270 olts: 1
271 pons: 16
272 onus: 32
273 withFlows: true
274 provisionSubscribers: true
275 workflow: dt
276 withEapol: false
277 withDhcp: false
278 withIgmp: false
279 withMonitoring: false
280 trigger-comment: "voltha scale test DT"
281
Matteo Scandolo272aed42020-05-08 15:05:57 -0700282 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700283 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700284 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700285 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700286 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700287
Matteo Scandolodc930192020-08-27 15:56:16 -0700288 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700289 - 'voltha-scale-matrix':
290 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700291 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800292
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700293 # development matrix
294 - 'voltha-scale-matrix':
295 name: 'voltha-scale-matrix-voltha-master'
296 build-node: 'onf-pod1-head-node'
297 onosReplicas: 3
298 atomixReplicas: 3
299 kafkaReplicas: 3
300 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800301 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800302 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800303 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700304
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700305# list of parameters for the VOLTHA Jobs,
306# used as anchor so that can be shared across multiple jobs
307# to use in a job: `parameters: *voltha-build-job-parameters`
308- voltha-scale-job-parameters: &voltha-scale-job-parameters
309 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700310 parameters:
311 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700312 name: release
313 default: '{release}'
314 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
315
316 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700317 name: buildNode
318 default: '{build-node}'
319 description: 'Name of the Jenkins node to run the job on'
320
321 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700322 name: dockerRegistry
323 default: '{dockerRegistry}'
324 description: 'Address of the docker registry to use if we are building custom images'
325
326 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700327 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700328 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700329 description: 'Log level for all the components'
330
331 - string:
332 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700333 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700334 description: 'Number of ONUs to provision'
335
336 - string:
337 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700338 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700339 description: 'Number of PONs to provision'
340
341 - string:
342 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700343 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700344 description: 'How many BBSim instances to run'
345
346 - string:
347 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700348 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700349 description: 'Which workflow are we testing (att, dt, tt)'
350
351 - bool:
352 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700353 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700354 description: 'Wheter to push flows from ONOS'
355
356 - bool:
357 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700358 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700359 description: 'Wheter to provision subscribers durint the tests'
360
361 - bool:
362 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700363 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700364 description: 'Wheter EAPOL is enabled for the test'
365
366 - bool:
367 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700368 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700369 description: 'Wheter DHCP is enabled for the test'
370
371 - bool:
372 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700373 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700374 description: 'Wheter IGMP is enabled for the test'
375
376 - bool:
377 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700378 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700379 description: 'Wheter Link Discovery is enabled for the test'
380
381 - bool:
382 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700383 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700384 description: 'Option to trigger MIB template command'
385
386 - bool:
387 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700388 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700389 description: 'Option to install Prometheus'
390
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700391 - bool:
392 name: withProfiling
393 default: '{withProfiling}'
394 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
395
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700396 - bool:
397 name: withPcap
398 default: '{withPcap}'
399 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
400
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700401 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700402 name: withRadius
403 default: '{withRadius}'
404 description: 'Value to pass to kind-voltha WITH_RADIUS'
405
406 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700407 name: extraHelmFlags
408 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700409 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 -0700410
Matteo Scandolo272aed42020-05-08 15:05:57 -0700411 - string:
412 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700413 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700414 description: 'How many OpenONU adapter instances to run'
415
416 - string:
417 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700418 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700419 description: 'How many ONOSes instances to run'
420
421 - string:
422 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700423 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700424 description: 'How many Atomix instances to run'
425
426 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700427 name: kafkaReplicas
428 default: '{kafkaReplicas}'
429 description: 'How many Kafka instances to run'
430
431 - string:
432 name: etcdReplicas
433 default: '{etcdReplicas}'
434 description: 'How many ETCD instances to run'
435
436 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700437 name: onosStatInterval
438 default: '{onosStatInterval}'
439 description: 'How often ONOS should poll for ports, flows and meters'
440
441 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700442 name: bbsimImg
443 default: '{bbsimImg}'
444 description: 'Custom image selection for BBSIM (repo:tag)'
445
446 - string:
447 name: bbsimChart
448 default: '{bbsimChart}'
449 description: 'BBSim chart name (or location on file system)'
450
451 - string:
452 name: rwCoreImg
453 default: '{rwCoreImg}'
454 description: 'Custom image selection for VOLTHA (repo:tag)'
455
456 - string:
457 name: ofAgentImg
458 default: '{ofAgentImg}'
459 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
460
461 - string:
462 name: volthaChart
463 default: '{volthaChart}'
464 description: 'VOLTHA chart name (or location on file system)'
465
466 - string:
467 name: openoltAdapterImg
468 default: '{openoltAdapterImg}'
469 description: 'Custom image selection for Openolt Adapter (repo:tag)'
470
471 - string:
472 name: openoltAdapterChart
473 default: '{openoltAdapterChart}'
474 description: 'OpenOLT chart name (or location on file system)'
475
476 - string:
477 name: openonuAdapterImg
478 default: '{openonuAdapterImg}'
479 description: 'Custom image selection for Openonu Adapter (repo:tag)'
480
481 - string:
482 name: openonuAdapterChart
483 default: '{openonuAdapterChart}'
484 description: 'OpenONU chart name (or location on file system)'
485
486 - string:
487 name: onosImg
488 default: '{onosImg}'
489 description: 'Custom image selection for Openonu Adapter (repo:tag)'
490
491 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700492 name: onosChart
493 default: '{onosChart}'
494 description: 'ONOS chart name (or location on file system)'
495
496 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700497 name: radiusChart
498 default: '{radiusChart}'
499 description: 'freeradius chart name (or location on file system)'
500
501 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700502 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700503 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700504 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
505
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700506 - string:
507 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700508 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700509 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
510
Matteo Scandoloccc06192020-06-22 10:16:17 -0700511 - bool:
512 name: inMemoryEtcdStorage
513 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700514 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700515
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200516 - string:
517 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700518 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200519 description: 'Karaf home'
520
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700521- job-template:
522 id: 'voltha-scale-measurements'
523 name: '{name}'
524 pipeline-script: 'voltha-scale-test.groovy'
525 disabled: '{disable-job}'
526
527 description: |
528 <!-- Managed by Jenkins Job Builder -->
529 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
530 Using pipeline {pipeline-script} <br/><br/>
531 Scale measurements for VOLTHA 2.x
532
533 properties:
534 - cord-infra-properties:
535 build-days-to-keep: 30
536 artifact-num-to-keep: 15
537
538 wrappers:
539 - lf-infra-wrappers:
540 build-timeout: '{build-timeout}'
541 jenkins-ssh-credential: '{jenkins-ssh-credential}'
542
543 # default values
544 release: master
545
546 bbsimImg: voltha/bbsim:master
547 rwCoreImg: voltha/voltha-rw-core:master
548 ofAgentImg: voltha/voltha-ofagent-go:master
549 openoltAdapterImg: voltha/voltha-openolt-adapter:master
550 openonuAdapterImg: voltha/voltha-openonu-adapter:master
551 onosImg: voltha/voltha-onos:master
552
553 bbsimChart: onf/bbsim
554 volthaChart: onf/voltha
555 openoltAdapterChart: onf/voltha-adapter-openolt
556 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700557 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700558 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700559
560 olts: 2
561 pons: 2
562 onus: 2
563 workflow: att
564 withFlows: false
565 provisionSubscribers: false
566 withEapol: true
567 withDhcp: true
568 withIgmp: false
569 withLLDP: false
570 withMibTemplate: true
571 withMonitoring: true
572 withProfiling: false
573 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700574 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700575 openonuAdapterReplicas: 8
576 onosReplicas: 3
577 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700578 kafkaReplicas: 3
579 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700580 extraHelmFlags: ''
581 onosStatInterval: 5
582 volthaSystemTestsChange: ''
583 kindVolthaChange: ''
584 inMemoryEtcdStorage: true
585 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700586 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700587 dockerRegistry: 10.90.0.101:30500
588 trigger-comment: vv7CBoQQYYonvaN8xcru
589 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700590
591 <<: *voltha-scale-job-parameters
592
Matteo Scandolo272aed42020-05-08 15:05:57 -0700593 project-type: pipeline
594 concurrent: false
595
596 dsl: !include-raw-escape: pipeline/{pipeline-script}
597
Matteo Scandoloabb83972020-06-25 16:08:23 -0700598 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700599 # periodic jobs will set this every 4 hours
600 # 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 -0700601 - timed: |
602 TZ=America/Los_Angeles
603 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700604 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
605 # patchset jobs will set this to a meaningful comment
606 - gerrit:
607 server-name: '{gerrit-server-name}'
608 silent-start: false
609 successful-message: "PASSED scale test"
610 failure-message: "FAILED scale test"
611 unstable-message: "UNSTABLE scale test"
612 trigger-on:
613 - comment-added-contains-event:
614 comment-contains-value: '.*{trigger-comment}.*'
615 projects:
616 - project-compare-type: REG_EXP
617 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
618 branches:
619 - branch-compare-type: REG_EXP
620 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700621
622- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700623 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800624 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700625 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800626
627 description: |
628 <!-- Managed by Jenkins Job Builder -->
629 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
630 Using pipeline {pipeline-script} <br/><br/>
631 Scale measurements for VOLTHA 2.x
632
633 properties:
634 - cord-infra-properties:
635 build-days-to-keep: '{build-days-to-keep}'
636 artifact-num-to-keep: '{artifact-num-to-keep}'
637
638 wrappers:
639 - lf-infra-wrappers:
640 build-timeout: '{build-timeout}'
641 jenkins-ssh-credential: '{jenkins-ssh-credential}'
642
Matteo Scandolo0430f672020-05-07 11:50:26 -0700643 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700644 release: master
645
Matteo Scandolo0430f672020-05-07 11:50:26 -0700646 bbsimImg: voltha/bbsim:master
647 rwCoreImg: voltha/voltha-rw-core:master
648 ofAgentImg: voltha/voltha-ofagent-go:master
649 openoltAdapterImg: voltha/voltha-openolt-adapter:master
650 openonuAdapterImg: voltha/voltha-openonu-adapter:master
651 onosImg: voltha/voltha-onos:master
652
653 bbsimChart: onf/bbsim
654 volthaChart: onf/voltha
655 openoltAdapterChart: onf/voltha-adapter-openolt
656 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700657 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700658 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700659
Matteo Scandolo68776b72020-07-21 14:06:06 -0700660 olts: 2
661 pons: 2
662 onus: 2
663 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700664 withFlows: true
665 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700666 withEapol: true
667 withDhcp: true
668 withIgmp: false
669 withLLDP: false
670 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700671 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700672 withProfiling: false
673 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700674 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700675 openonuAdapterReplicas: 1
676 onosReplicas: 1
677 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700678 kafkaReplicas: 1
679 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700680 extraHelmFlags: ''
681 onosStatInterval: 5
682 volthaSystemTestsChange: ''
683 kindVolthaChange: ''
684 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700685 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700686 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700687 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700688
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700689 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200690
Matteo Scandolo51b76302020-02-05 12:07:23 -0800691 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800692 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800693
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700694 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700695
Matteo Scandolo849db722020-10-21 10:58:41 -0700696 triggers:
697 - gerrit:
698 server-name: '{gerrit-server-name}'
699 silent-start: false
700 successful-message: "PASSED scale test"
701 failure-message: "FAILED scale test"
702 unstable-message: "UNSTABLE scale test"
703 trigger-on:
704 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700705 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700706 projects:
707 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700708 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700709 branches:
710 - branch-compare-type: REG_EXP
711 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700712- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700713 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700714 name: '{name}'
715 pipeline-script: 'voltha-scale-matrix.groovy'
716
717 description: |
718 <!-- Managed by Jenkins Job Builder -->
719 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
720 Using pipeline {pipeline-script} <br/><br/>
721 Scale measurements for VOLTHA 2.x
722
723 properties:
724 - cord-infra-properties:
725 build-days-to-keep: '{build-days-to-keep}'
726 artifact-num-to-keep: '{artifact-num-to-keep}'
727
728 wrappers:
729 - lf-infra-wrappers:
730 build-timeout: '{build-timeout}'
731 jenkins-ssh-credential: '{jenkins-ssh-credential}'
732
733 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800734 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700735 release: master
736 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700737 volthaSystemTestsChange: ''
738 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700739 onosReplicas: 1
740 atomixReplicas: 0
741 kafkaReplicas: 1
742 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800743 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800744 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700745
746 project-type: pipeline
747 concurrent: false
748
749 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700750
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700751 parameters:
752 - string:
753 name: release
754 default: '{release}'
755 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
756
757 - string:
758 name: buildNode
759 default: '{build-node}'
760 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700761
762 - string:
763 name: volthaSystemTestsChange
764 default: '{volthaSystemTestsChange}'
765 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
766
767 - string:
768 name: kindVolthaChange
769 default: '{kindVolthaChange}'
770 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 -0700771
772 - string:
773 name: onosReplicas
774 default: '{onosReplicas}'
775 description: 'How many ONOSes instances to run'
776
777 - string:
778 name: atomixReplicas
779 default: '{atomixReplicas}'
780 description: 'How many Atomix instances to run'
781
782 - string:
783 name: kafkaReplicas
784 default: '{kafkaReplicas}'
785 description: 'How many Kafka instances to run'
786
787 - string:
788 name: etcdReplicas
789 default: '{etcdReplicas}'
790 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800791
792 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800793 name: openonuAdapterReplicas
794 default: '{openonuAdapterReplicas}'
795 description: 'How many OpenONU adapter instances to run'
796
797 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800798 name: topologies
799 default: '{topologies}'
800 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
801
802 triggers:
803 - timed: |
804 TZ=America/Los_Angeles
805 {time-trigger}