blob: 2624032167d530e5f33786b44cc5dc46d66d964a [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 Scandolo8df57162020-10-06 14:43:53 -070071
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070072 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070073 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070074 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080075 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070076 build-node: 'onf-pod1-head-node'
77 time-trigger: "H H/4 * * *"
78 olts: 1
79 pons: 16
80 onus: 32
81 withFlows: true
82 provisionSubscribers: true
83 withEapol: true
84 withDhcp: true
85 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -070086 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -070087
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070088 - 'voltha-scale-measurements':
89 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080090 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070091 build-node: 'onf-pod1-head-node'
92 time-trigger: "H H/4 * * *"
93 olts: 1
94 pons: 16
95 onus: 32
96 withFlows: true
97 provisionSubscribers: true
98 workflow: tt
99 withEapol: false
100 withDhcp: true
101 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700102 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700103
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700104 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700105 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800106 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700107 build-node: 'onf-pod1-head-node'
108 time-trigger: "H H/4 * * *"
109 olts: 1
110 pons: 16
111 onus: 32
112 withFlows: true
113 provisionSubscribers: true
114 workflow: dt
115 withEapol: false
116 withDhcp: false
117 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700118 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200119
Matteo Scandolo272aed42020-05-08 15:05:57 -0700120 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700121 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700122 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800123 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700124 build-node: 'onf-pod1-head-node'
125 time-trigger: "H H/4 * * *"
126 olts: 2
127 pons: 16
128 onus: 32
129 withFlows: true
130 provisionSubscribers: true
131 withEapol: true
132 withDhcp: true
133 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700134 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700135
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700136 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700137 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800138 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700139 build-node: 'onf-pod1-head-node'
140 time-trigger: "H H/4 * * *"
141 olts: 2
142 pons: 16
143 onus: 32
144 withFlows: true
145 provisionSubscribers: true
146 workflow: dt
147 withEapol: false
148 withDhcp: false
149 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700150 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700151
152 - 'voltha-scale-measurements':
153 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800154 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700155 build-node: 'onf-pod1-head-node'
156 time-trigger: "H H/4 * * *"
157 olts: 2
158 pons: 16
159 onus: 32
160 withFlows: true
161 provisionSubscribers: true
162 workflow: tt
163 withEapol: false
164 withDhcp: true
165 withIgmp: true
166 openonuAdapterReplicas: 8
167 onosReplicas: 3
168 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700169 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700170
Matteo Scandolo031bd982020-09-16 10:03:47 -0700171 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700172 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700173 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800174 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700175 build-node: 'onf-pod1-head-node'
176 time-trigger: "H H/4 * * *"
177 olts: 1
178 pons: 16
179 onus: 32
180 withFlows: true
181 provisionSubscribers: true
182 withEapol: true
183 withDhcp: true
184 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700185 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700186 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700187 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700188 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700189 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700190 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700191 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200192 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700193
194 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700195 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-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: 2
200 pons: 16
201 onus: 32
202 withFlows: true
203 provisionSubscribers: true
204 workflow: dt
205 withEapol: false
206 withDhcp: false
207 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700208 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700209 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700210 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700211 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700212 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700213 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700214 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200215 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700216
Matteo Scandolo031bd982020-09-16 10:03:47 -0700217 - 'voltha-scale-measurements':
218 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800219 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700220 build-node: 'onf-pod1-head-node'
221 time-trigger: "H H/4 * * *"
222 olts: 1
223 pons: 16
224 onus: 32
225 withFlows: true
226 provisionSubscribers: true
227 workflow: tt
228 withEapol: false
229 withDhcp: true
230 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700231 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
232 release: voltha-2.5
233 bbsimImg: ''
234 rwCoreImg: ''
235 ofAgentImg: ''
236 openoltAdapterImg: ''
237 openonuAdapterImg: ''
238 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700239
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700240 # per patchset job
241 - 'voltha-scale-measurements':
242 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
243 build-node: 'onf-pod1-head-node'
244 olts: 1
245 pons: 16
246 onus: 32
247 withFlows: true
248 provisionSubscribers: true
249 withEapol: true
250 withDhcp: true
251 withIgmp: false
252 withMonitoring: false
253 trigger-comment: "voltha scale test ATT"
254
255 - 'voltha-scale-measurements':
256 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
257 build-node: 'onf-pod1-head-node'
258 olts: 1
259 pons: 16
260 onus: 32
261 withFlows: true
262 provisionSubscribers: true
263 workflow: tt
264 withEapol: false
265 withDhcp: true
266 withIgmp: true
267 withMonitoring: false
268 trigger-comment: "voltha scale test TT"
269
270 - 'voltha-scale-measurements':
271 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
272 build-node: 'onf-pod1-head-node'
273 olts: 1
274 pons: 16
275 onus: 32
276 withFlows: true
277 provisionSubscribers: true
278 workflow: dt
279 withEapol: false
280 withDhcp: false
281 withIgmp: false
282 withMonitoring: false
283 trigger-comment: "voltha scale test DT"
284
Matteo Scandolo272aed42020-05-08 15:05:57 -0700285 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700286 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700287 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700288 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700289 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700290
Matteo Scandolodc930192020-08-27 15:56:16 -0700291 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700292 - 'voltha-scale-matrix':
293 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700294 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800295
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700296 # development matrix
297 - 'voltha-scale-matrix':
298 name: 'voltha-scale-matrix-voltha-master'
299 build-node: 'onf-pod1-head-node'
300 onosReplicas: 3
301 atomixReplicas: 3
302 kafkaReplicas: 3
303 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800304 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800305 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800306 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700307
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700308# list of parameters for the VOLTHA Jobs,
309# used as anchor so that can be shared across multiple jobs
310# to use in a job: `parameters: *voltha-build-job-parameters`
311- voltha-scale-job-parameters: &voltha-scale-job-parameters
312 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700313 parameters:
314 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700315 name: release
316 default: '{release}'
317 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
318
319 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700320 name: buildNode
321 default: '{build-node}'
322 description: 'Name of the Jenkins node to run the job on'
323
324 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700325 name: dockerRegistry
326 default: '{dockerRegistry}'
327 description: 'Address of the docker registry to use if we are building custom images'
328
329 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700330 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700331 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700332 description: 'Log level for all the components'
333
334 - string:
335 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700336 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700337 description: 'Number of ONUs to provision'
338
339 - string:
340 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700341 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700342 description: 'Number of PONs to provision'
343
344 - string:
345 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700346 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700347 description: 'How many BBSim instances to run'
348
349 - string:
350 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700351 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700352 description: 'Which workflow are we testing (att, dt, tt)'
353
354 - bool:
355 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700356 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700357 description: 'Wheter to push flows from ONOS'
358
359 - bool:
360 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700361 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700362 description: 'Wheter to provision subscribers durint the tests'
363
364 - bool:
365 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700366 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700367 description: 'Wheter EAPOL is enabled for the test'
368
369 - bool:
370 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700371 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700372 description: 'Wheter DHCP is enabled for the test'
373
374 - bool:
375 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700376 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700377 description: 'Wheter IGMP is enabled for the test'
378
379 - bool:
380 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700381 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700382 description: 'Wheter Link Discovery is enabled for the test'
383
384 - bool:
385 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700386 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700387 description: 'Option to trigger MIB template command'
388
389 - bool:
390 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700391 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700392 description: 'Option to install Prometheus'
393
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700394 - bool:
395 name: withProfiling
396 default: '{withProfiling}'
397 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
398
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700399 - bool:
400 name: withPcap
401 default: '{withPcap}'
402 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
403
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700404 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700405 name: withRadius
406 default: '{withRadius}'
407 description: 'Value to pass to kind-voltha WITH_RADIUS'
408
409 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700410 name: extraHelmFlags
411 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700412 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 -0700413
Matteo Scandolo272aed42020-05-08 15:05:57 -0700414 - string:
415 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700416 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700417 description: 'How many OpenONU adapter instances to run'
418
419 - string:
420 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700421 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700422 description: 'How many ONOSes instances to run'
423
424 - string:
425 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700426 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700427 description: 'How many Atomix instances to run'
428
429 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700430 name: kafkaReplicas
431 default: '{kafkaReplicas}'
432 description: 'How many Kafka instances to run'
433
434 - string:
435 name: etcdReplicas
436 default: '{etcdReplicas}'
437 description: 'How many ETCD instances to run'
438
439 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700440 name: onosStatInterval
441 default: '{onosStatInterval}'
442 description: 'How often ONOS should poll for ports, flows and meters'
443
444 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700445 name: bbsimImg
446 default: '{bbsimImg}'
447 description: 'Custom image selection for BBSIM (repo:tag)'
448
449 - string:
450 name: bbsimChart
451 default: '{bbsimChart}'
452 description: 'BBSim chart name (or location on file system)'
453
454 - string:
455 name: rwCoreImg
456 default: '{rwCoreImg}'
457 description: 'Custom image selection for VOLTHA (repo:tag)'
458
459 - string:
460 name: ofAgentImg
461 default: '{ofAgentImg}'
462 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
463
464 - string:
465 name: volthaChart
466 default: '{volthaChart}'
467 description: 'VOLTHA chart name (or location on file system)'
468
469 - string:
470 name: openoltAdapterImg
471 default: '{openoltAdapterImg}'
472 description: 'Custom image selection for Openolt Adapter (repo:tag)'
473
474 - string:
475 name: openoltAdapterChart
476 default: '{openoltAdapterChart}'
477 description: 'OpenOLT chart name (or location on file system)'
478
479 - string:
480 name: openonuAdapterImg
481 default: '{openonuAdapterImg}'
482 description: 'Custom image selection for Openonu Adapter (repo:tag)'
483
484 - string:
485 name: openonuAdapterChart
486 default: '{openonuAdapterChart}'
487 description: 'OpenONU chart name (or location on file system)'
488
489 - string:
490 name: onosImg
491 default: '{onosImg}'
492 description: 'Custom image selection for Openonu Adapter (repo:tag)'
493
494 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700495 name: onosChart
496 default: '{onosChart}'
497 description: 'ONOS chart name (or location on file system)'
498
499 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700500 name: radiusChart
501 default: '{radiusChart}'
502 description: 'freeradius chart name (or location on file system)'
503
504 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700505 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700506 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700507 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
508
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700509 - string:
510 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700511 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700512 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
513
Matteo Scandoloccc06192020-06-22 10:16:17 -0700514 - bool:
515 name: inMemoryEtcdStorage
516 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700517 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700518
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200519 - string:
520 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700521 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200522 description: 'Karaf home'
523
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700524- job-template:
525 id: 'voltha-scale-measurements'
526 name: '{name}'
527 pipeline-script: 'voltha-scale-test.groovy'
528 disabled: '{disable-job}'
529
530 description: |
531 <!-- Managed by Jenkins Job Builder -->
532 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
533 Using pipeline {pipeline-script} <br/><br/>
534 Scale measurements for VOLTHA 2.x
535
536 properties:
537 - cord-infra-properties:
538 build-days-to-keep: 30
539 artifact-num-to-keep: 15
540
541 wrappers:
542 - lf-infra-wrappers:
543 build-timeout: '{build-timeout}'
544 jenkins-ssh-credential: '{jenkins-ssh-credential}'
545
546 # default values
547 release: master
548
549 bbsimImg: voltha/bbsim:master
550 rwCoreImg: voltha/voltha-rw-core:master
551 ofAgentImg: voltha/voltha-ofagent-go:master
552 openoltAdapterImg: voltha/voltha-openolt-adapter:master
553 openonuAdapterImg: voltha/voltha-openonu-adapter:master
554 onosImg: voltha/voltha-onos:master
555
556 bbsimChart: onf/bbsim
557 volthaChart: onf/voltha
558 openoltAdapterChart: onf/voltha-adapter-openolt
559 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700560 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700561 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700562
563 olts: 2
564 pons: 2
565 onus: 2
566 workflow: att
567 withFlows: false
568 provisionSubscribers: false
569 withEapol: true
570 withDhcp: true
571 withIgmp: false
572 withLLDP: false
573 withMibTemplate: true
574 withMonitoring: true
575 withProfiling: false
576 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700577 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700578 openonuAdapterReplicas: 8
579 onosReplicas: 3
580 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700581 kafkaReplicas: 3
582 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700583 extraHelmFlags: ''
584 onosStatInterval: 5
585 volthaSystemTestsChange: ''
586 kindVolthaChange: ''
587 inMemoryEtcdStorage: true
588 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700589 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700590 dockerRegistry: 10.90.0.101:30500
591 trigger-comment: vv7CBoQQYYonvaN8xcru
592 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700593
594 <<: *voltha-scale-job-parameters
595
Matteo Scandolo272aed42020-05-08 15:05:57 -0700596 project-type: pipeline
597 concurrent: false
598
599 dsl: !include-raw-escape: pipeline/{pipeline-script}
600
Matteo Scandoloabb83972020-06-25 16:08:23 -0700601 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700602 # periodic jobs will set this every 4 hours
603 # 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 -0700604 - timed: |
605 TZ=America/Los_Angeles
606 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700607 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
608 # patchset jobs will set this to a meaningful comment
609 - gerrit:
610 server-name: '{gerrit-server-name}'
611 silent-start: false
612 successful-message: "PASSED scale test"
613 failure-message: "FAILED scale test"
614 unstable-message: "UNSTABLE scale test"
615 trigger-on:
616 - comment-added-contains-event:
617 comment-contains-value: '.*{trigger-comment}.*'
618 projects:
619 - project-compare-type: REG_EXP
620 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
621 branches:
622 - branch-compare-type: REG_EXP
623 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700624
625- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700626 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800627 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700628 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800629
630 description: |
631 <!-- Managed by Jenkins Job Builder -->
632 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
633 Using pipeline {pipeline-script} <br/><br/>
634 Scale measurements for VOLTHA 2.x
635
636 properties:
637 - cord-infra-properties:
638 build-days-to-keep: '{build-days-to-keep}'
639 artifact-num-to-keep: '{artifact-num-to-keep}'
640
641 wrappers:
642 - lf-infra-wrappers:
643 build-timeout: '{build-timeout}'
644 jenkins-ssh-credential: '{jenkins-ssh-credential}'
645
Matteo Scandolo0430f672020-05-07 11:50:26 -0700646 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700647 release: master
648
Matteo Scandolo0430f672020-05-07 11:50:26 -0700649 bbsimImg: voltha/bbsim:master
650 rwCoreImg: voltha/voltha-rw-core:master
651 ofAgentImg: voltha/voltha-ofagent-go:master
652 openoltAdapterImg: voltha/voltha-openolt-adapter:master
653 openonuAdapterImg: voltha/voltha-openonu-adapter:master
654 onosImg: voltha/voltha-onos:master
655
656 bbsimChart: onf/bbsim
657 volthaChart: onf/voltha
658 openoltAdapterChart: onf/voltha-adapter-openolt
659 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700660 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700661 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700662
Matteo Scandolo68776b72020-07-21 14:06:06 -0700663 olts: 2
664 pons: 2
665 onus: 2
666 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700667 withFlows: true
668 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700669 withEapol: true
670 withDhcp: true
671 withIgmp: false
672 withLLDP: false
673 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700674 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700675 withProfiling: false
676 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700677 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700678 openonuAdapterReplicas: 1
679 onosReplicas: 1
680 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700681 kafkaReplicas: 1
682 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700683 extraHelmFlags: ''
684 onosStatInterval: 5
685 volthaSystemTestsChange: ''
686 kindVolthaChange: ''
687 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700688 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700689 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700690 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700691
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700692 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200693
Matteo Scandolo51b76302020-02-05 12:07:23 -0800694 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800695 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800696
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700697 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700698
Matteo Scandolo849db722020-10-21 10:58:41 -0700699 triggers:
700 - gerrit:
701 server-name: '{gerrit-server-name}'
702 silent-start: false
703 successful-message: "PASSED scale test"
704 failure-message: "FAILED scale test"
705 unstable-message: "UNSTABLE scale test"
706 trigger-on:
707 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700708 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700709 projects:
710 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700711 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700712 branches:
713 - branch-compare-type: REG_EXP
714 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700715- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700716 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700717 name: '{name}'
718 pipeline-script: 'voltha-scale-matrix.groovy'
719
720 description: |
721 <!-- Managed by Jenkins Job Builder -->
722 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
723 Using pipeline {pipeline-script} <br/><br/>
724 Scale measurements for VOLTHA 2.x
725
726 properties:
727 - cord-infra-properties:
728 build-days-to-keep: '{build-days-to-keep}'
729 artifact-num-to-keep: '{artifact-num-to-keep}'
730
731 wrappers:
732 - lf-infra-wrappers:
733 build-timeout: '{build-timeout}'
734 jenkins-ssh-credential: '{jenkins-ssh-credential}'
735
736 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800737 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700738 release: master
739 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700740 volthaSystemTestsChange: ''
741 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700742 onosReplicas: 1
743 atomixReplicas: 0
744 kafkaReplicas: 1
745 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800746 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800747 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700748
749 project-type: pipeline
750 concurrent: false
751
752 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700753
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700754 parameters:
755 - string:
756 name: release
757 default: '{release}'
758 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
759
760 - string:
761 name: buildNode
762 default: '{build-node}'
763 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700764
765 - string:
766 name: volthaSystemTestsChange
767 default: '{volthaSystemTestsChange}'
768 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
769
770 - string:
771 name: kindVolthaChange
772 default: '{kindVolthaChange}'
773 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 -0700774
775 - string:
776 name: onosReplicas
777 default: '{onosReplicas}'
778 description: 'How many ONOSes instances to run'
779
780 - string:
781 name: atomixReplicas
782 default: '{atomixReplicas}'
783 description: 'How many Atomix instances to run'
784
785 - string:
786 name: kafkaReplicas
787 default: '{kafkaReplicas}'
788 description: 'How many Kafka instances to run'
789
790 - string:
791 name: etcdReplicas
792 default: '{etcdReplicas}'
793 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800794
795 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800796 name: openonuAdapterReplicas
797 default: '{openonuAdapterReplicas}'
798 description: 'How many OpenONU adapter instances to run'
799
800 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800801 name: topologies
802 default: '{topologies}'
803 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
804
805 triggers:
806 - timed: |
807 TZ=America/Los_Angeles
808 {time-trigger}