blob: f271b34442bf484337fb1cb62e9b4d599af0328b [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 Campanella68883592020-11-06 15:03:02 +010046 onosImg: andreacampanella/voltha-onos:olt-meter-removal-master
47 ofAgentImg: andreacampanella/voltha-ofagent-go:meter-log
48 rwCoreImg: andreacampanella/voltha-rw-core:meter-log
49 withPcap: true
Andrea Campanella04ca93a2020-11-07 14:57:50 +010050 extraHelmFlags: '--set use_openonu_adapter_go=true,authRetry=true,dhcpRetry=true'
Andrea Campanellabdb199e2020-10-27 10:47:16 +010051
Matteo Scandolo8df57162020-10-06 14:43:53 -070052 # this job will be used to test custom images without disrupting tests on master
53 - 'voltha-scale-measurements':
54 name: 'voltha-scale-measurements-master-experimental'
55 build-node: 'onf-pod1-head-node'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080056 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080057 # trigger on Feb 29th (a.k.a only trigger it manually)
58 time-trigger: "H 0 29 2 *"
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -070059 withMonitoring: false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080060 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070061 pons: 16
62 onus: 32
63 withFlows: true
64 provisionSubscribers: true
65 withEapol: true
66 withDhcp: true
67 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070068 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo8df57162020-10-06 14:43:53 -070069 withPcap: true
Matteo Scandolo9665d592020-10-23 19:08:14 +000070
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080071 - 'voltha-scale-measurements':
72 name: 'voltha-scale-measurements-master-experimental-multi-stack'
73 build-node: 'onf-pod1-head-node'
74 pipeline-script: 'voltha-scale-multi-stack.groovy'
75 'disable-job': false
76 # trigger on Feb 29th (a.k.a only trigger it manually)
77 time-trigger: "H 0 29 2 *"
78 withMonitoring: false
79 volthaStacks: 2
80 olts: 2
81 pons: 16
82 onus: 32
83 withFlows: true
84 provisionSubscribers: true
85 withEapol: true
86 withDhcp: true
87 withIgmp: false
88 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
89 withPcap: true
90 volthaSystemTestsChange: refs/changes/27/21627/2
91 kindVolthaChange: refs/changes/85/21485/8
92
Matteo Scandolo8df57162020-10-06 14:43:53 -070093
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070094 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070095 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070096 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080097 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070098 build-node: 'onf-pod1-head-node'
99 time-trigger: "H H/4 * * *"
100 olts: 1
101 pons: 16
102 onus: 32
103 withFlows: true
104 provisionSubscribers: true
105 withEapol: true
106 withDhcp: true
107 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700108 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700109
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700110 - 'voltha-scale-measurements':
111 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800112 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700113 build-node: 'onf-pod1-head-node'
114 time-trigger: "H H/4 * * *"
115 olts: 1
116 pons: 16
117 onus: 32
118 withFlows: true
119 provisionSubscribers: true
120 workflow: tt
121 withEapol: false
122 withDhcp: true
123 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700124 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700125
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700126 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700127 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800128 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700129 build-node: 'onf-pod1-head-node'
130 time-trigger: "H H/4 * * *"
131 olts: 1
132 pons: 16
133 onus: 32
134 withFlows: true
135 provisionSubscribers: true
136 workflow: dt
137 withEapol: false
138 withDhcp: false
139 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700140 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200141
Matteo Scandolo272aed42020-05-08 15:05:57 -0700142 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700143 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700144 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800145 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700146 build-node: 'onf-pod1-head-node'
147 time-trigger: "H H/4 * * *"
148 olts: 2
149 pons: 16
150 onus: 32
151 withFlows: true
152 provisionSubscribers: true
153 withEapol: true
154 withDhcp: true
155 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700156 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700157
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700158 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700159 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800160 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700161 build-node: 'onf-pod1-head-node'
162 time-trigger: "H H/4 * * *"
163 olts: 2
164 pons: 16
165 onus: 32
166 withFlows: true
167 provisionSubscribers: true
168 workflow: dt
169 withEapol: false
170 withDhcp: false
171 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700172 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700173
174 - 'voltha-scale-measurements':
175 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800176 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700177 build-node: 'onf-pod1-head-node'
178 time-trigger: "H H/4 * * *"
179 olts: 2
180 pons: 16
181 onus: 32
182 withFlows: true
183 provisionSubscribers: true
184 workflow: tt
185 withEapol: false
186 withDhcp: true
187 withIgmp: true
188 openonuAdapterReplicas: 8
189 onosReplicas: 3
190 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700191 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700192
Matteo Scandolo031bd982020-09-16 10:03:47 -0700193 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700194 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700195 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800196 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700197 build-node: 'onf-pod1-head-node'
198 time-trigger: "H H/4 * * *"
199 olts: 1
200 pons: 16
201 onus: 32
202 withFlows: true
203 provisionSubscribers: true
204 withEapol: true
205 withDhcp: true
206 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700207 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700208 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700209 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700210 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700211 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700212 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700213 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200214 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700215
216 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700217 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800218 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700219 build-node: 'onf-pod1-head-node'
220 time-trigger: "H H/4 * * *"
221 olts: 2
222 pons: 16
223 onus: 32
224 withFlows: true
225 provisionSubscribers: true
226 workflow: dt
227 withEapol: false
228 withDhcp: false
229 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700230 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700231 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700232 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700233 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700234 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700235 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700236 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200237 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700238
Matteo Scandolo031bd982020-09-16 10:03:47 -0700239 - 'voltha-scale-measurements':
240 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800241 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700242 build-node: 'onf-pod1-head-node'
243 time-trigger: "H H/4 * * *"
244 olts: 1
245 pons: 16
246 onus: 32
247 withFlows: true
248 provisionSubscribers: true
249 workflow: tt
250 withEapol: false
251 withDhcp: true
252 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700253 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
254 release: voltha-2.5
255 bbsimImg: ''
256 rwCoreImg: ''
257 ofAgentImg: ''
258 openoltAdapterImg: ''
259 openonuAdapterImg: ''
260 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700261
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700262 # per patchset job
263 - 'voltha-scale-measurements':
264 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
265 build-node: 'onf-pod1-head-node'
266 olts: 1
267 pons: 16
268 onus: 32
269 withFlows: true
270 provisionSubscribers: true
271 withEapol: true
272 withDhcp: true
273 withIgmp: false
274 withMonitoring: false
275 trigger-comment: "voltha scale test ATT"
276
277 - 'voltha-scale-measurements':
278 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
279 build-node: 'onf-pod1-head-node'
280 olts: 1
281 pons: 16
282 onus: 32
283 withFlows: true
284 provisionSubscribers: true
285 workflow: tt
286 withEapol: false
287 withDhcp: true
288 withIgmp: true
289 withMonitoring: false
290 trigger-comment: "voltha scale test TT"
291
292 - 'voltha-scale-measurements':
293 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
294 build-node: 'onf-pod1-head-node'
295 olts: 1
296 pons: 16
297 onus: 32
298 withFlows: true
299 provisionSubscribers: true
300 workflow: dt
301 withEapol: false
302 withDhcp: false
303 withIgmp: false
304 withMonitoring: false
305 trigger-comment: "voltha scale test DT"
306
Matteo Scandolo272aed42020-05-08 15:05:57 -0700307 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700308 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700309 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700310 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700311 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700312
Matteo Scandolodc930192020-08-27 15:56:16 -0700313 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700314 - 'voltha-scale-matrix':
315 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700316 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800317
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700318 # development matrix
319 - 'voltha-scale-matrix':
320 name: 'voltha-scale-matrix-voltha-master'
321 build-node: 'onf-pod1-head-node'
322 onosReplicas: 3
323 atomixReplicas: 3
324 kafkaReplicas: 3
325 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800326 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800327 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800328 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700329
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700330# list of parameters for the VOLTHA Jobs,
331# used as anchor so that can be shared across multiple jobs
332# to use in a job: `parameters: *voltha-build-job-parameters`
333- voltha-scale-job-parameters: &voltha-scale-job-parameters
334 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700335 parameters:
336 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800337 name: pipeline-script
338 default: '{pipeline-script}'
339 description: 'The pipeline script to use'
340
341 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700342 name: release
343 default: '{release}'
344 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
345
346 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700347 name: buildNode
348 default: '{build-node}'
349 description: 'Name of the Jenkins node to run the job on'
350
351 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700352 name: dockerRegistry
353 default: '{dockerRegistry}'
354 description: 'Address of the docker registry to use if we are building custom images'
355
356 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700357 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700358 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700359 description: 'Log level for all the components'
360
361 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800362 name: volthaStacks
363 default: '{volthaStacks}'
364 description: 'Number of VOLTHA Stacks to deploy'
365
366 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700367 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700368 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700369 description: 'Number of ONUs to provision'
370
371 - string:
372 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700373 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700374 description: 'Number of PONs to provision'
375
376 - string:
377 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700378 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700379 description: 'How many BBSim instances to run'
380
381 - string:
382 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700383 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700384 description: 'Which workflow are we testing (att, dt, tt)'
385
386 - bool:
387 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700388 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700389 description: 'Wheter to push flows from ONOS'
390
391 - bool:
392 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700393 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700394 description: 'Wheter to provision subscribers durint the tests'
395
396 - bool:
397 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700398 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700399 description: 'Wheter EAPOL is enabled for the test'
400
401 - bool:
402 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700403 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700404 description: 'Wheter DHCP is enabled for the test'
405
406 - bool:
407 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700408 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700409 description: 'Wheter IGMP is enabled for the test'
410
411 - bool:
412 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700413 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700414 description: 'Wheter Link Discovery is enabled for the test'
415
416 - bool:
417 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700418 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700419 description: 'Option to trigger MIB template command'
420
421 - bool:
422 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700423 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700424 description: 'Option to install Prometheus'
425
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700426 - bool:
427 name: withProfiling
428 default: '{withProfiling}'
429 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
430
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700431 - bool:
432 name: withPcap
433 default: '{withPcap}'
434 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
435
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700436 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700437 name: withRadius
438 default: '{withRadius}'
439 description: 'Value to pass to kind-voltha WITH_RADIUS'
440
441 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700442 name: extraHelmFlags
443 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700444 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 -0700445
Matteo Scandolo272aed42020-05-08 15:05:57 -0700446 - string:
447 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700448 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700449 description: 'How many OpenONU adapter instances to run'
450
451 - string:
452 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700453 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700454 description: 'How many ONOSes instances to run'
455
456 - string:
457 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700458 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700459 description: 'How many Atomix instances to run'
460
461 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700462 name: kafkaReplicas
463 default: '{kafkaReplicas}'
464 description: 'How many Kafka instances to run'
465
466 - string:
467 name: etcdReplicas
468 default: '{etcdReplicas}'
469 description: 'How many ETCD instances to run'
470
471 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700472 name: onosStatInterval
473 default: '{onosStatInterval}'
474 description: 'How often ONOS should poll for ports, flows and meters'
475
476 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700477 name: bbsimImg
478 default: '{bbsimImg}'
479 description: 'Custom image selection for BBSIM (repo:tag)'
480
481 - string:
482 name: bbsimChart
483 default: '{bbsimChart}'
484 description: 'BBSim chart name (or location on file system)'
485
486 - string:
487 name: rwCoreImg
488 default: '{rwCoreImg}'
489 description: 'Custom image selection for VOLTHA (repo:tag)'
490
491 - string:
492 name: ofAgentImg
493 default: '{ofAgentImg}'
494 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
495
496 - string:
497 name: volthaChart
498 default: '{volthaChart}'
499 description: 'VOLTHA chart name (or location on file system)'
500
501 - string:
502 name: openoltAdapterImg
503 default: '{openoltAdapterImg}'
504 description: 'Custom image selection for Openolt Adapter (repo:tag)'
505
506 - string:
507 name: openoltAdapterChart
508 default: '{openoltAdapterChart}'
509 description: 'OpenOLT chart name (or location on file system)'
510
511 - string:
512 name: openonuAdapterImg
513 default: '{openonuAdapterImg}'
514 description: 'Custom image selection for Openonu Adapter (repo:tag)'
515
516 - string:
517 name: openonuAdapterChart
518 default: '{openonuAdapterChart}'
519 description: 'OpenONU chart name (or location on file system)'
520
521 - string:
522 name: onosImg
523 default: '{onosImg}'
524 description: 'Custom image selection for Openonu Adapter (repo:tag)'
525
526 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700527 name: onosChart
528 default: '{onosChart}'
529 description: 'ONOS chart name (or location on file system)'
530
531 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700532 name: radiusChart
533 default: '{radiusChart}'
534 description: 'freeradius chart name (or location on file system)'
535
536 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700537 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700538 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700539 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
540
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700541 - string:
542 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700543 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700544 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
545
Matteo Scandoloccc06192020-06-22 10:16:17 -0700546 - bool:
547 name: inMemoryEtcdStorage
548 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700549 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700550
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200551 - string:
552 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700553 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200554 description: 'Karaf home'
555
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700556- job-template:
557 id: 'voltha-scale-measurements'
558 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700559 disabled: '{disable-job}'
560
561 description: |
562 <!-- Managed by Jenkins Job Builder -->
563 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
564 Using pipeline {pipeline-script} <br/><br/>
565 Scale measurements for VOLTHA 2.x
566
567 properties:
568 - cord-infra-properties:
569 build-days-to-keep: 30
570 artifact-num-to-keep: 15
571
572 wrappers:
573 - lf-infra-wrappers:
574 build-timeout: '{build-timeout}'
575 jenkins-ssh-credential: '{jenkins-ssh-credential}'
576
577 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800578 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700579 release: master
580
581 bbsimImg: voltha/bbsim:master
582 rwCoreImg: voltha/voltha-rw-core:master
583 ofAgentImg: voltha/voltha-ofagent-go:master
584 openoltAdapterImg: voltha/voltha-openolt-adapter:master
585 openonuAdapterImg: voltha/voltha-openonu-adapter:master
586 onosImg: voltha/voltha-onos:master
587
588 bbsimChart: onf/bbsim
589 volthaChart: onf/voltha
590 openoltAdapterChart: onf/voltha-adapter-openolt
591 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700592 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700593 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700594
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800595 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700596 olts: 2
597 pons: 2
598 onus: 2
599 workflow: att
600 withFlows: false
601 provisionSubscribers: false
602 withEapol: true
603 withDhcp: true
604 withIgmp: false
605 withLLDP: false
606 withMibTemplate: true
607 withMonitoring: true
608 withProfiling: false
609 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700610 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700611 openonuAdapterReplicas: 8
612 onosReplicas: 3
613 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700614 kafkaReplicas: 3
615 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700616 extraHelmFlags: ''
617 onosStatInterval: 5
618 volthaSystemTestsChange: ''
619 kindVolthaChange: ''
620 inMemoryEtcdStorage: true
621 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700622 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700623 dockerRegistry: 10.90.0.101:30500
624 trigger-comment: vv7CBoQQYYonvaN8xcru
625 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700626
627 <<: *voltha-scale-job-parameters
628
Matteo Scandolo272aed42020-05-08 15:05:57 -0700629 project-type: pipeline
630 concurrent: false
631
632 dsl: !include-raw-escape: pipeline/{pipeline-script}
633
Matteo Scandoloabb83972020-06-25 16:08:23 -0700634 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700635 # periodic jobs will set this every 4 hours
636 # 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 -0700637 - timed: |
638 TZ=America/Los_Angeles
639 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700640 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
641 # patchset jobs will set this to a meaningful comment
642 - gerrit:
643 server-name: '{gerrit-server-name}'
644 silent-start: false
645 successful-message: "PASSED scale test"
646 failure-message: "FAILED scale test"
647 unstable-message: "UNSTABLE scale test"
648 trigger-on:
649 - comment-added-contains-event:
650 comment-contains-value: '.*{trigger-comment}.*'
651 projects:
652 - project-compare-type: REG_EXP
653 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
654 branches:
655 - branch-compare-type: REG_EXP
656 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700657
658- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700659 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800660 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800661
662 description: |
663 <!-- Managed by Jenkins Job Builder -->
664 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
665 Using pipeline {pipeline-script} <br/><br/>
666 Scale measurements for VOLTHA 2.x
667
668 properties:
669 - cord-infra-properties:
670 build-days-to-keep: '{build-days-to-keep}'
671 artifact-num-to-keep: '{artifact-num-to-keep}'
672
673 wrappers:
674 - lf-infra-wrappers:
675 build-timeout: '{build-timeout}'
676 jenkins-ssh-credential: '{jenkins-ssh-credential}'
677
Matteo Scandolo0430f672020-05-07 11:50:26 -0700678 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800679 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700680 release: master
681
Matteo Scandolo0430f672020-05-07 11:50:26 -0700682 bbsimImg: voltha/bbsim:master
683 rwCoreImg: voltha/voltha-rw-core:master
684 ofAgentImg: voltha/voltha-ofagent-go:master
685 openoltAdapterImg: voltha/voltha-openolt-adapter:master
686 openonuAdapterImg: voltha/voltha-openonu-adapter:master
687 onosImg: voltha/voltha-onos:master
688
689 bbsimChart: onf/bbsim
690 volthaChart: onf/voltha
691 openoltAdapterChart: onf/voltha-adapter-openolt
692 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700693 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700694 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700695
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800696 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700697 olts: 2
698 pons: 2
699 onus: 2
700 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700701 withFlows: true
702 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700703 withEapol: true
704 withDhcp: true
705 withIgmp: false
706 withLLDP: false
707 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700708 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700709 withProfiling: false
710 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700711 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700712 openonuAdapterReplicas: 1
713 onosReplicas: 1
714 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700715 kafkaReplicas: 1
716 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700717 extraHelmFlags: ''
718 onosStatInterval: 5
719 volthaSystemTestsChange: ''
720 kindVolthaChange: ''
721 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700722 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700723 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700724 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700725
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700726 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200727
Matteo Scandolo51b76302020-02-05 12:07:23 -0800728 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800729 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800730
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700731 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700732
Matteo Scandolo849db722020-10-21 10:58:41 -0700733 triggers:
734 - gerrit:
735 server-name: '{gerrit-server-name}'
736 silent-start: false
737 successful-message: "PASSED scale test"
738 failure-message: "FAILED scale test"
739 unstable-message: "UNSTABLE scale test"
740 trigger-on:
741 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700742 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700743 projects:
744 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700745 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700746 branches:
747 - branch-compare-type: REG_EXP
748 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700749- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700750 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700751 name: '{name}'
752 pipeline-script: 'voltha-scale-matrix.groovy'
753
754 description: |
755 <!-- Managed by Jenkins Job Builder -->
756 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
757 Using pipeline {pipeline-script} <br/><br/>
758 Scale measurements for VOLTHA 2.x
759
760 properties:
761 - cord-infra-properties:
762 build-days-to-keep: '{build-days-to-keep}'
763 artifact-num-to-keep: '{artifact-num-to-keep}'
764
765 wrappers:
766 - lf-infra-wrappers:
767 build-timeout: '{build-timeout}'
768 jenkins-ssh-credential: '{jenkins-ssh-credential}'
769
770 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800771 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700772 release: master
773 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700774 volthaSystemTestsChange: ''
775 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700776 onosReplicas: 1
777 atomixReplicas: 0
778 kafkaReplicas: 1
779 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800780 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800781 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700782
783 project-type: pipeline
784 concurrent: false
785
786 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700787
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700788 parameters:
789 - string:
790 name: release
791 default: '{release}'
792 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
793
794 - string:
795 name: buildNode
796 default: '{build-node}'
797 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700798
799 - string:
800 name: volthaSystemTestsChange
801 default: '{volthaSystemTestsChange}'
802 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
803
804 - string:
805 name: kindVolthaChange
806 default: '{kindVolthaChange}'
807 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 -0700808
809 - string:
810 name: onosReplicas
811 default: '{onosReplicas}'
812 description: 'How many ONOSes instances to run'
813
814 - string:
815 name: atomixReplicas
816 default: '{atomixReplicas}'
817 description: 'How many Atomix instances to run'
818
819 - string:
820 name: kafkaReplicas
821 default: '{kafkaReplicas}'
822 description: 'How many Kafka instances to run'
823
824 - string:
825 name: etcdReplicas
826 default: '{etcdReplicas}'
827 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800828
829 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800830 name: openonuAdapterReplicas
831 default: '{openonuAdapterReplicas}'
832 description: 'How many OpenONU adapter instances to run'
833
834 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800835 name: topologies
836 default: '{topologies}'
837 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
838
839 triggers:
840 - timed: |
841 TZ=America/Los_Angeles
842 {time-trigger}