Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 1 | --- |
| 2 | # VOLTHA 2.x scale measurements |
| 3 | |
| 4 | - project: |
| 5 | name: voltha-scale |
| 6 | |
| 7 | project-name: '{name}' |
| 8 | |
| 9 | jobs: |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 10 | # name format is <job-template>-<olts>-<pon>-<onus>-<setup> |
| 11 | # needed for comparison with the openonu-go adapter |
Matteo Scandolo | 679ced2 | 2020-05-19 15:15:58 -0700 | [diff] [blame] | 12 | # - 'voltha-scale-measurements': |
| 13 | # name: 'voltha-scale-measurements-1-2-32-activation-no-mib' |
| 14 | # build-node: 'onf-pod1-head-node' |
| 15 | # time-trigger: "H H/4 * * *" |
| 16 | # olts: 1 |
| 17 | # pons: 2 |
| 18 | # onus: 32 |
| 19 | # withFlows: false |
| 20 | # provisionSubscribers: false |
| 21 | # withEapol: false |
| 22 | # withDhcp: false |
| 23 | # withIgmp: false |
| 24 | # withMibTemplate: false |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 25 | |
| 26 | # jobs for 200 ONUs with a single openonu-adapter |
Matteo Scandolo | 679ced2 | 2020-05-19 15:15:58 -0700 | [diff] [blame] | 27 | # - 'voltha-scale-measurements': |
| 28 | # name: 'voltha-scale-measurements-1-10-20-activation' |
| 29 | # build-node: 'onf-pod1-head-node' |
| 30 | # time-trigger: "H H/4 * * *" |
| 31 | # olts: 1 |
| 32 | # pons: 10 |
| 33 | # onus: 20 |
| 34 | # withFlows: false |
| 35 | # provisionSubscribers: false |
| 36 | # withEapol: false |
| 37 | # withDhcp: false |
| 38 | # withIgmp: false |
| 39 | # - 'voltha-scale-measurements': |
| 40 | # name: 'voltha-scale-measurements-1-10-20-att-flows' |
| 41 | # build-node: 'onf-pod1-head-node' |
| 42 | # time-trigger: "H H/4 * * *" |
| 43 | # olts: 1 |
| 44 | # pons: 10 |
| 45 | # onus: 20 |
| 46 | # withFlows: true |
| 47 | # provisionSubscribers: false |
| 48 | # withEapol: true |
| 49 | # withDhcp: true |
| 50 | # withIgmp: false |
| 51 | # extraHelmFlags: '--set auth=false ' |
| 52 | # - 'voltha-scale-measurements': |
| 53 | # name: 'voltha-scale-measurements-1-10-20-att-subscribers' |
| 54 | # build-node: 'onf-pod1-head-node' |
| 55 | # time-trigger: "H H/4 * * *" |
| 56 | # olts: 1 |
| 57 | # pons: 10 |
| 58 | # onus: 20 |
| 59 | # withFlows: true |
| 60 | # provisionSubscribers: true |
| 61 | # withEapol: true |
| 62 | # withDhcp: true |
| 63 | # withIgmp: false |
| 64 | # - 'voltha-scale-measurements': |
| 65 | # name: 'voltha-scale-measurements-1-10-20-att-subscribers-profiled' |
| 66 | # build-node: 'onf-pod1-head-node' |
| 67 | # time-trigger: "H H/4 * * *" |
| 68 | # olts: 1 |
| 69 | # pons: 10 |
| 70 | # onus: 20 |
| 71 | # withFlows: true |
| 72 | # provisionSubscribers: true |
| 73 | # withEapol: true |
| 74 | # withDhcp: true |
| 75 | # withIgmp: false |
| 76 | # withProfiling: true |
| 77 | # extraHelmFlags: '--set profiler.enabled=true ' |
| 78 | # rwCoreImg: voltha/voltha-rw-core:master-profile |
| 79 | # openoltAdapterImg: voltha/voltha-openolt-adapter:master-profile |
| 80 | # ofAgentImg: voltha/voltha-ofagent-go:master-profile |
| 81 | # |
| 82 | # # jobs for DT with 200 ONUs with a single openonu-adapter |
| 83 | # - 'voltha-scale-measurements': |
| 84 | # name: 'voltha-scale-measurements-1-10-20-dt-subscribers' |
| 85 | # build-node: 'onf-pod1-head-node' |
| 86 | # time-trigger: "H H/4 * * *" |
| 87 | # olts: 1 |
| 88 | # pons: 10 |
| 89 | # onus: 20 |
| 90 | # withFlows: true |
| 91 | # provisionSubscribers: true |
| 92 | # workflow: dt |
| 93 | # withEapol: false |
| 94 | # withDhcp: false |
| 95 | # withIgmp: false |
Matteo Scandolo | 3136cca | 2020-05-15 14:14:27 -0700 | [diff] [blame] | 96 | |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 97 | # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS |
Matteo Scandolo | b46bc40 | 2020-06-11 13:59:44 -0700 | [diff] [blame] | 98 | - 'voltha-scale-measurements': |
| 99 | name: 'voltha-scale-measurements-1-16-32-activation' |
| 100 | build-node: 'onf-pod1-head-node' |
| 101 | time-trigger: "H H/4 * * *" |
| 102 | olts: 1 |
| 103 | pons: 16 |
| 104 | onus: 32 |
| 105 | withFlows: false |
| 106 | provisionSubscribers: false |
| 107 | withEapol: false |
| 108 | withDhcp: false |
| 109 | withIgmp: false |
| 110 | openonuAdapterReplicas: 8 |
| 111 | onosReplicas: 3 |
| 112 | atomixReplicas: 3 |
| 113 | extraHelmFlags: '--set limits.memory=8192Mi ' |
| 114 | |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 115 | - 'voltha-scale-measurements': |
Matteo Scandolo | 3136cca | 2020-05-15 14:14:27 -0700 | [diff] [blame] | 116 | name: 'voltha-scale-measurements-1-16-32-att-flows' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 117 | build-node: 'onf-pod1-head-node' |
| 118 | time-trigger: "H H/4 * * *" |
| 119 | olts: 1 |
| 120 | pons: 16 |
| 121 | onus: 32 |
| 122 | withFlows: true |
| 123 | provisionSubscribers: false |
| 124 | withEapol: true |
| 125 | withDhcp: true |
| 126 | withIgmp: false |
| 127 | openonuAdapterReplicas: 8 |
| 128 | onosReplicas: 3 |
| 129 | atomixReplicas: 3 |
Matteo Scandolo | b46bc40 | 2020-06-11 13:59:44 -0700 | [diff] [blame] | 130 | extraHelmFlags: '--set auth=false --set limits.memory=8192Mi ' |
Matteo Scandolo | e4b0434 | 2020-05-28 07:35:45 -0700 | [diff] [blame] | 131 | |
| 132 | - 'voltha-scale-measurements': |
| 133 | name: 'voltha-scale-measurements-1-16-32-att-subscribers' |
| 134 | build-node: 'onf-pod1-head-node' |
| 135 | time-trigger: "H H/4 * * *" |
| 136 | olts: 1 |
| 137 | pons: 16 |
| 138 | onus: 32 |
| 139 | withFlows: true |
| 140 | provisionSubscribers: true |
| 141 | withEapol: true |
| 142 | withDhcp: true |
| 143 | withIgmp: false |
| 144 | openonuAdapterReplicas: 8 |
| 145 | onosReplicas: 3 |
| 146 | atomixReplicas: 3 |
Matteo Scandolo | b46bc40 | 2020-06-11 13:59:44 -0700 | [diff] [blame] | 147 | extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s' |
Matteo Scandolo | c9dd44f | 2020-06-18 15:06:04 -0700 | [diff] [blame] | 148 | withPcap: true |
Matteo Scandolo | 505ae14 | 2020-06-23 15:50:55 -0700 | [diff] [blame] | 149 | openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:vol-3269 |
Matteo Scandolo | e4b0434 | 2020-05-28 07:35:45 -0700 | [diff] [blame] | 150 | |
| 151 | # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS. |
| 152 | - 'voltha-scale-measurements': |
| 153 | name: 'voltha-scale-measurements-1-16-32-dt-subscribers' |
| 154 | build-node: 'onf-pod1-head-node' |
| 155 | time-trigger: "H H/4 * * *" |
| 156 | olts: 1 |
| 157 | pons: 16 |
| 158 | onus: 32 |
| 159 | withFlows: true |
| 160 | provisionSubscribers: true |
| 161 | workflow: dt |
| 162 | withEapol: false |
| 163 | withDhcp: false |
| 164 | withIgmp: false |
| 165 | openonuAdapterReplicas: 8 |
| 166 | onosReplicas: 3 |
| 167 | atomixReplicas: 3 |
Matteo Scandolo | b46bc40 | 2020-06-11 13:59:44 -0700 | [diff] [blame] | 168 | extraHelmFlags: '--set limits.memory=8192Mi ' |
Andrea Campanella | fc7c949 | 2020-05-12 12:56:38 +0200 | [diff] [blame] | 169 | |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 170 | # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs) |
Matteo Scandolo | cb72643 | 2020-06-01 08:49:14 -0700 | [diff] [blame] | 171 | - 'voltha-scale-measurements': |
| 172 | disabled: true |
| 173 | name: 'voltha-scale-measurements-2-16-32-activation' |
| 174 | build-node: 'onf-pod1-head-node' |
| 175 | time-trigger: "H H/4 * * *" |
| 176 | olts: 2 |
| 177 | pons: 16 |
| 178 | onus: 32 |
| 179 | withFlows: false |
| 180 | provisionSubscribers: false |
| 181 | withEapol: false |
| 182 | withDhcp: false |
| 183 | withIgmp: false |
| 184 | openonuAdapterReplicas: 8 |
| 185 | onosReplicas: 3 |
| 186 | atomixReplicas: 3 |
Matteo Scandolo | b46bc40 | 2020-06-11 13:59:44 -0700 | [diff] [blame] | 187 | extraHelmFlags: '--set limits.memory=8192Mi ' |
Matteo Scandolo | c3dea53 | 2020-06-04 10:46:49 -0700 | [diff] [blame] | 188 | |
Matteo Scandolo | cb72643 | 2020-06-01 08:49:14 -0700 | [diff] [blame] | 189 | - 'voltha-scale-measurements': |
| 190 | disabled: true |
| 191 | name: 'voltha-scale-measurements-2-16-32-att-flows' |
| 192 | build-node: 'onf-pod1-head-node' |
| 193 | time-trigger: "H H/4 * * *" |
| 194 | olts: 2 |
| 195 | pons: 16 |
| 196 | onus: 32 |
| 197 | withFlows: true |
| 198 | provisionSubscribers: false |
| 199 | withEapol: true |
| 200 | withDhcp: true |
| 201 | withIgmp: false |
| 202 | openonuAdapterReplicas: 8 |
| 203 | onosReplicas: 3 |
| 204 | atomixReplicas: 3 |
Matteo Scandolo | b46bc40 | 2020-06-11 13:59:44 -0700 | [diff] [blame] | 205 | extraHelmFlags: '--set limits.memory=8192Mi --set auth=false ' |
Matteo Scandolo | c3dea53 | 2020-06-04 10:46:49 -0700 | [diff] [blame] | 206 | |
Matteo Scandolo | a6dc5a1 | 2020-06-04 16:51:29 -0700 | [diff] [blame] | 207 | - 'voltha-scale-measurements': |
| 208 | disabled: true |
| 209 | name: 'voltha-scale-measurements-2-16-32-att-subscribers' |
| 210 | build-node: 'onf-pod1-head-node' |
| 211 | time-trigger: "H H/4 * * *" |
| 212 | olts: 2 |
| 213 | pons: 16 |
| 214 | onus: 32 |
| 215 | withFlows: true |
| 216 | provisionSubscribers: true |
| 217 | withEapol: true |
| 218 | withDhcp: true |
| 219 | withIgmp: false |
| 220 | openonuAdapterReplicas: 8 |
| 221 | onosReplicas: 3 |
| 222 | atomixReplicas: 3 |
Matteo Scandolo | b46bc40 | 2020-06-11 13:59:44 -0700 | [diff] [blame] | 223 | extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s' |
Matteo Scandolo | 505ae14 | 2020-06-23 15:50:55 -0700 | [diff] [blame] | 224 | openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:vol-3269 |
Matteo Scandolo | a6dc5a1 | 2020-06-04 16:51:29 -0700 | [diff] [blame] | 225 | |
| 226 | # jobs for DT with 512 ONUs with a 8 openonu-adapters and clustered ONOS. |
| 227 | - 'voltha-scale-measurements': |
| 228 | name: 'voltha-scale-measurements-2-16-32-dt-subscribers' |
| 229 | build-node: 'onf-pod1-head-node' |
| 230 | time-trigger: "H H/4 * * *" |
| 231 | olts: 2 |
| 232 | pons: 16 |
| 233 | onus: 32 |
| 234 | withFlows: true |
| 235 | provisionSubscribers: true |
| 236 | workflow: dt |
| 237 | withEapol: false |
| 238 | withDhcp: false |
| 239 | withIgmp: false |
| 240 | openonuAdapterReplicas: 8 |
| 241 | onosReplicas: 3 |
| 242 | atomixReplicas: 3 |
Matteo Scandolo | b46bc40 | 2020-06-11 13:59:44 -0700 | [diff] [blame] | 243 | extraHelmFlags: '--set limits.memory=8192Mi --set defaults.rw_core.timeout=30s' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 244 | |
| 245 | # development pipeline |
Matteo Scandolo | 64e56c6 | 2020-06-08 10:04:31 -0700 | [diff] [blame] | 246 | - 'voltha-scale-measurements-dev': |
| 247 | name: 'voltha-scale-measurements-dev' |
| 248 | build-node: 'voltha-scale' |
Matteo Scandolo | c3dea53 | 2020-06-04 10:46:49 -0700 | [diff] [blame] | 249 | |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 250 | |
| 251 | - job-template: |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 252 | id: 'voltha-scale-measurements' |
| 253 | name: '{name}' |
| 254 | pipeline-script: 'voltha-scale-test.groovy' |
| 255 | |
| 256 | description: | |
| 257 | <!-- Managed by Jenkins Job Builder --> |
| 258 | Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br /> |
| 259 | Using pipeline {pipeline-script} <br/><br/> |
| 260 | Scale measurements for VOLTHA 2.x |
| 261 | |
| 262 | properties: |
| 263 | - cord-infra-properties: |
| 264 | build-days-to-keep: '{build-days-to-keep}' |
| 265 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 266 | |
| 267 | wrappers: |
| 268 | - lf-infra-wrappers: |
| 269 | build-timeout: '{build-timeout}' |
| 270 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 271 | |
| 272 | # default values |
| 273 | bbsimImg: voltha/bbsim:master |
| 274 | rwCoreImg: voltha/voltha-rw-core:master |
| 275 | ofAgentImg: voltha/voltha-ofagent-go:master |
| 276 | openoltAdapterImg: voltha/voltha-openolt-adapter:master |
| 277 | openonuAdapterImg: voltha/voltha-openonu-adapter:master |
| 278 | onosImg: voltha/voltha-onos:master |
| 279 | |
| 280 | bbsimChart: onf/bbsim |
| 281 | volthaChart: onf/voltha |
| 282 | openoltAdapterChart: onf/voltha-adapter-openolt |
| 283 | openonuAdapterChart: onf/voltha-adapter-openonu |
| 284 | |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 285 | olts: 2 |
| 286 | pons: 2 |
| 287 | onus: 2 |
| 288 | workflow: att |
| 289 | withFlows: false |
| 290 | provisionSubscribers: false |
| 291 | withEapol: true |
| 292 | withDhcp: true |
| 293 | withIgmp: false |
| 294 | withLLDP: false |
| 295 | withMibTemplate: true |
| 296 | withMonitoring: true |
Matteo Scandolo | a731f8f | 2020-05-11 10:27:26 -0700 | [diff] [blame] | 297 | withProfiling: false |
Matteo Scandolo | c9dd44f | 2020-06-18 15:06:04 -0700 | [diff] [blame] | 298 | withPcap: false |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 299 | openonuAdapterReplicas: 1 |
| 300 | onosReplicas: 1 |
| 301 | atomixReplicas: 0 |
Matteo Scandolo | a731f8f | 2020-05-11 10:27:26 -0700 | [diff] [blame] | 302 | extraHelmFlags: '' |
Matteo Scandolo | 3136cca | 2020-05-15 14:14:27 -0700 | [diff] [blame] | 303 | onosStatInterval: 5 |
Matteo Scandolo | fae2281 | 2020-06-03 15:02:27 -0700 | [diff] [blame] | 304 | volthaSystemTestsChange: '' |
| 305 | kindVolthaChange: '' |
Matteo Scandolo | ccc0619 | 2020-06-22 10:16:17 -0700 | [diff] [blame] | 306 | inMemoryEtcdStorage: true |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 307 | |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 308 | parameters: |
| 309 | - string: |
| 310 | name: buildNode |
| 311 | default: '{build-node}' |
| 312 | description: 'Name of the Jenkins node to run the job on' |
| 313 | |
| 314 | - string: |
| 315 | name: logLevel |
| 316 | default: 'WARN' |
| 317 | description: 'Log level for all the components' |
| 318 | |
| 319 | - string: |
| 320 | name: onus |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 321 | default: '{onus}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 322 | description: 'Number of ONUs to provision' |
| 323 | |
| 324 | - string: |
| 325 | name: pons |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 326 | default: '{pons}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 327 | description: 'Number of PONs to provision' |
| 328 | |
| 329 | - string: |
| 330 | name: olts |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 331 | default: '{olts}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 332 | description: 'How many BBSim instances to run' |
| 333 | |
| 334 | - string: |
| 335 | name: workflow |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 336 | default: '{workflow}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 337 | description: 'Which workflow are we testing (att, dt, tt)' |
| 338 | |
| 339 | - bool: |
| 340 | name: withFlows |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 341 | default: '{withFlows}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 342 | description: 'Wheter to push flows from ONOS' |
| 343 | |
| 344 | - bool: |
| 345 | name: provisionSubscribers |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 346 | default: '{provisionSubscribers}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 347 | description: 'Wheter to provision subscribers durint the tests' |
| 348 | |
| 349 | - bool: |
| 350 | name: withEapol |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 351 | default: '{withEapol}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 352 | description: 'Wheter EAPOL is enabled for the test' |
| 353 | |
| 354 | - bool: |
| 355 | name: withDhcp |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 356 | default: '{withDhcp}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 357 | description: 'Wheter DHCP is enabled for the test' |
| 358 | |
| 359 | - bool: |
| 360 | name: withIgmp |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 361 | default: '{withIgmp}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 362 | description: 'Wheter IGMP is enabled for the test' |
| 363 | |
| 364 | - bool: |
| 365 | name: withLLDP |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 366 | default: '{withLLDP}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 367 | description: 'Wheter Link Discovery is enabled for the test' |
| 368 | |
| 369 | - bool: |
| 370 | name: withMibTemplate |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 371 | default: '{withMibTemplate}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 372 | description: 'Option to trigger MIB template command' |
| 373 | |
| 374 | - bool: |
| 375 | name: withMonitoring |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 376 | default: '{withMonitoring}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 377 | description: 'Option to install Prometheus' |
| 378 | |
Matteo Scandolo | a731f8f | 2020-05-11 10:27:26 -0700 | [diff] [blame] | 379 | - bool: |
| 380 | name: withProfiling |
| 381 | default: '{withProfiling}' |
| 382 | description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)' |
| 383 | |
Matteo Scandolo | c9dd44f | 2020-06-18 15:06:04 -0700 | [diff] [blame] | 384 | - bool: |
| 385 | name: withPcap |
| 386 | default: '{withPcap}' |
| 387 | description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side' |
| 388 | |
Matteo Scandolo | a731f8f | 2020-05-11 10:27:26 -0700 | [diff] [blame] | 389 | - string: |
| 390 | name: extraHelmFlags |
| 391 | default: '{extraHelmFlags}' |
| 392 | description: 'Any extra helm parameters you want (passed to every helm install command)' |
| 393 | |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 394 | - string: |
| 395 | name: openonuAdapterReplicas |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 396 | default: '{openonuAdapterReplicas}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 397 | description: 'How many OpenONU adapter instances to run' |
| 398 | |
| 399 | - string: |
| 400 | name: onosReplicas |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 401 | default: '{onosReplicas}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 402 | description: 'How many ONOSes instances to run' |
| 403 | |
| 404 | - string: |
| 405 | name: atomixReplicas |
Matteo Scandolo | 393add1 | 2020-05-08 18:03:17 -0700 | [diff] [blame] | 406 | default: '{atomixReplicas}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 407 | description: 'How many Atomix instances to run' |
| 408 | |
| 409 | - string: |
Matteo Scandolo | 3136cca | 2020-05-15 14:14:27 -0700 | [diff] [blame] | 410 | name: onosStatInterval |
| 411 | default: '{onosStatInterval}' |
| 412 | description: 'How often ONOS should poll for ports, flows and meters' |
| 413 | |
| 414 | - string: |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 415 | name: bbsimImg |
| 416 | default: '{bbsimImg}' |
| 417 | description: 'Custom image selection for BBSIM (repo:tag)' |
| 418 | |
| 419 | - string: |
| 420 | name: bbsimChart |
| 421 | default: '{bbsimChart}' |
| 422 | description: 'BBSim chart name (or location on file system)' |
| 423 | |
| 424 | - string: |
| 425 | name: rwCoreImg |
| 426 | default: '{rwCoreImg}' |
| 427 | description: 'Custom image selection for VOLTHA (repo:tag)' |
| 428 | |
| 429 | - string: |
| 430 | name: ofAgentImg |
| 431 | default: '{ofAgentImg}' |
| 432 | description: 'Custom image selection for OfAgent (repo:tag), only supports the go version' |
| 433 | |
| 434 | - string: |
| 435 | name: volthaChart |
| 436 | default: '{volthaChart}' |
| 437 | description: 'VOLTHA chart name (or location on file system)' |
| 438 | |
| 439 | - string: |
| 440 | name: openoltAdapterImg |
| 441 | default: '{openoltAdapterImg}' |
| 442 | description: 'Custom image selection for Openolt Adapter (repo:tag)' |
| 443 | |
| 444 | - string: |
| 445 | name: openoltAdapterChart |
| 446 | default: '{openoltAdapterChart}' |
| 447 | description: 'OpenOLT chart name (or location on file system)' |
| 448 | |
| 449 | - string: |
| 450 | name: openonuAdapterImg |
| 451 | default: '{openonuAdapterImg}' |
| 452 | description: 'Custom image selection for Openonu Adapter (repo:tag)' |
| 453 | |
| 454 | - string: |
| 455 | name: openonuAdapterChart |
| 456 | default: '{openonuAdapterChart}' |
| 457 | description: 'OpenONU chart name (or location on file system)' |
| 458 | |
| 459 | - string: |
| 460 | name: onosImg |
| 461 | default: '{onosImg}' |
| 462 | description: 'Custom image selection for Openonu Adapter (repo:tag)' |
| 463 | |
| 464 | - string: |
| 465 | name: volthaSystemTestsChange |
Matteo Scandolo | fae2281 | 2020-06-03 15:02:27 -0700 | [diff] [blame] | 466 | default: '{volthaSystemTestsChange}' |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 467 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 468 | |
Matteo Scandolo | 5708e2f | 2020-06-03 14:11:32 -0700 | [diff] [blame] | 469 | - string: |
| 470 | name: kindVolthaChange |
Matteo Scandolo | fae2281 | 2020-06-03 15:02:27 -0700 | [diff] [blame] | 471 | default: '{kindVolthaChange}' |
Matteo Scandolo | 5708e2f | 2020-06-03 14:11:32 -0700 | [diff] [blame] | 472 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 473 | |
Matteo Scandolo | ccc0619 | 2020-06-22 10:16:17 -0700 | [diff] [blame] | 474 | - bool: |
| 475 | name: inMemoryEtcdStorage |
| 476 | default: '{inMemoryEtcdStorage}' |
Matteo Scandolo | 2699c43 | 2020-06-22 15:47:05 -0700 | [diff] [blame] | 477 | description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)' |
Matteo Scandolo | ccc0619 | 2020-06-22 10:16:17 -0700 | [diff] [blame] | 478 | |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 479 | project-type: pipeline |
| 480 | concurrent: false |
| 481 | |
| 482 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 483 | |
Matteo Scandolo | 4e24acf | 2020-06-24 08:36:56 -0700 | [diff] [blame^] | 484 | # triggers: |
| 485 | # - timed: | |
| 486 | # TZ=America/Los_Angeles |
| 487 | # {time-trigger} |
Matteo Scandolo | 272aed4 | 2020-05-08 15:05:57 -0700 | [diff] [blame] | 488 | |
| 489 | - job-template: |
Matteo Scandolo | fbcbdb8 | 2020-05-06 15:41:32 -0700 | [diff] [blame] | 490 | id: 'voltha-scale-measurements-dev' |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 491 | name: '{name}' |
Matteo Scandolo | fbcbdb8 | 2020-05-06 15:41:32 -0700 | [diff] [blame] | 492 | pipeline-script: 'voltha-scale-test.groovy' |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 493 | |
| 494 | description: | |
| 495 | <!-- Managed by Jenkins Job Builder --> |
| 496 | Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br /> |
| 497 | Using pipeline {pipeline-script} <br/><br/> |
| 498 | Scale measurements for VOLTHA 2.x |
| 499 | |
| 500 | properties: |
| 501 | - cord-infra-properties: |
| 502 | build-days-to-keep: '{build-days-to-keep}' |
| 503 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 504 | |
| 505 | wrappers: |
| 506 | - lf-infra-wrappers: |
| 507 | build-timeout: '{build-timeout}' |
| 508 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 509 | |
Matteo Scandolo | 0430f67 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 510 | # default values |
| 511 | bbsimImg: voltha/bbsim:master |
| 512 | rwCoreImg: voltha/voltha-rw-core:master |
| 513 | ofAgentImg: voltha/voltha-ofagent-go:master |
| 514 | openoltAdapterImg: voltha/voltha-openolt-adapter:master |
| 515 | openonuAdapterImg: voltha/voltha-openonu-adapter:master |
| 516 | onosImg: voltha/voltha-onos:master |
| 517 | |
| 518 | bbsimChart: onf/bbsim |
| 519 | volthaChart: onf/voltha |
| 520 | openoltAdapterChart: onf/voltha-adapter-openolt |
| 521 | openonuAdapterChart: onf/voltha-adapter-openonu |
| 522 | |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 523 | parameters: |
| 524 | - string: |
| 525 | name: buildNode |
| 526 | default: '{build-node}' |
| 527 | description: 'Name of the Jenkins node to run the job on' |
| 528 | |
| 529 | - string: |
Matteo Scandolo | 330f752 | 2020-03-17 17:15:53 -0700 | [diff] [blame] | 530 | name: logLevel |
| 531 | default: 'WARN' |
| 532 | description: 'Log level for all the components' |
| 533 | |
| 534 | - string: |
Matteo Scandolo | fbcbdb8 | 2020-05-06 15:41:32 -0700 | [diff] [blame] | 535 | name: onus |
| 536 | default: 2 |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 537 | description: 'Number of ONUs to provision' |
| 538 | |
| 539 | - string: |
Matteo Scandolo | fbcbdb8 | 2020-05-06 15:41:32 -0700 | [diff] [blame] | 540 | name: pons |
Matteo Scandolo | b70b3e0 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 541 | default: 2 |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 542 | description: 'Number of PONs to provision' |
| 543 | |
Matteo Scandolo | 0430f67 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 544 | - string: |
| 545 | name: olts |
| 546 | default: 2 |
| 547 | description: 'How many BBSim instances to run' |
| 548 | |
| 549 | - string: |
| 550 | name: workflow |
| 551 | default: att |
| 552 | description: 'Which workflow are we testing (att, dt, tt)' |
| 553 | |
| 554 | - bool: |
| 555 | name: withFlows |
| 556 | default: false |
| 557 | description: 'Wheter to push flows from ONOS' |
| 558 | |
| 559 | - bool: |
| 560 | name: provisionSubscribers |
| 561 | default: false |
| 562 | description: 'Wheter to provision subscribers durint the tests' |
| 563 | |
| 564 | - bool: |
| 565 | name: withEapol |
| 566 | default: true |
| 567 | description: 'Wheter EAPOL is enabled for the test' |
| 568 | |
| 569 | - bool: |
| 570 | name: withDhcp |
| 571 | default: true |
| 572 | description: 'Wheter DHCP is enabled for the test' |
| 573 | |
| 574 | - bool: |
| 575 | name: withIgmp |
Matteo Scandolo | b70b3e0 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 576 | default: false |
Matteo Scandolo | 0430f67 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 577 | description: 'Wheter IGMP is enabled for the test' |
| 578 | |
| 579 | - bool: |
| 580 | name: withLLDP |
| 581 | default: false |
| 582 | description: 'Wheter Link Discovery is enabled for the test' |
| 583 | |
Shrey Baid | 0d4e31d | 2020-02-11 13:28:47 -0800 | [diff] [blame] | 584 | - bool: |
| 585 | name: withMibTemplate |
Matteo Scandolo | fbcbdb8 | 2020-05-06 15:41:32 -0700 | [diff] [blame] | 586 | default: true |
Shrey Baid | 0d4e31d | 2020-02-11 13:28:47 -0800 | [diff] [blame] | 587 | description: 'Option to trigger MIB template command' |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 588 | |
Matteo Scandolo | 0430f67 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 589 | - bool: |
| 590 | name: withMonitoring |
| 591 | default: true |
| 592 | description: 'Option to install Prometheus' |
| 593 | |
Matteo Scandolo | a731f8f | 2020-05-11 10:27:26 -0700 | [diff] [blame] | 594 | - bool: |
| 595 | name: withProfiling |
| 596 | default: false |
| 597 | description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)' |
| 598 | |
| 599 | - string: |
| 600 | name: extraHelmFlags |
| 601 | default: ' ' |
| 602 | description: 'Any extra helm parameters you want (passed to every helm install command)' |
| 603 | |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 604 | - string: |
Matteo Scandolo | 0430f67 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 605 | name: openonuAdapterReplicas |
| 606 | default: 1 |
| 607 | description: 'How many OpenONU adapter instances to run' |
| 608 | |
Matteo Scandolo | b70b3e0 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 609 | # the dev node is single node cluster, we can't install a clustered ONOS because of the contraints |
Matteo Scandolo | 0430f67 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 610 | - string: |
| 611 | name: onosReplicas |
Matteo Scandolo | b70b3e0 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 612 | default: 1 |
Matteo Scandolo | 0430f67 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 613 | description: 'How many ONOSes instances to run' |
| 614 | |
| 615 | - string: |
| 616 | name: atomixReplicas |
Matteo Scandolo | b70b3e0 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 617 | default: 0 |
Matteo Scandolo | 0430f67 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 618 | description: 'How many Atomix instances to run' |
| 619 | |
| 620 | - string: |
Matteo Scandolo | 3136cca | 2020-05-15 14:14:27 -0700 | [diff] [blame] | 621 | name: onosStatInterval |
| 622 | default: 5 |
| 623 | description: 'How often ONOS should poll for ports, flows and meters' |
| 624 | |
| 625 | - string: |
Matteo Scandolo | 0430f67 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 626 | name: bbsimImg |
| 627 | default: '{bbsimImg}' |
| 628 | description: 'Custom image selection for BBSIM (repo:tag)' |
| 629 | |
| 630 | - string: |
| 631 | name: bbsimChart |
| 632 | default: '{bbsimChart}' |
| 633 | description: 'BBSim chart name (or location on file system)' |
| 634 | |
| 635 | - string: |
| 636 | name: rwCoreImg |
| 637 | default: '{rwCoreImg}' |
| 638 | description: 'Custom image selection for VOLTHA (repo:tag)' |
| 639 | |
| 640 | - string: |
| 641 | name: ofAgentImg |
| 642 | default: '{ofAgentImg}' |
| 643 | description: 'Custom image selection for OfAgent (repo:tag), only supports the go version' |
| 644 | |
| 645 | - string: |
| 646 | name: volthaChart |
| 647 | default: '{volthaChart}' |
| 648 | description: 'VOLTHA chart name (or location on file system)' |
| 649 | |
| 650 | - string: |
| 651 | name: openoltAdapterImg |
| 652 | default: '{openoltAdapterImg}' |
| 653 | description: 'Custom image selection for Openolt Adapter (repo:tag)' |
| 654 | |
| 655 | - string: |
| 656 | name: openoltAdapterChart |
| 657 | default: '{openoltAdapterChart}' |
| 658 | description: 'OpenOLT chart name (or location on file system)' |
| 659 | |
| 660 | - string: |
| 661 | name: openonuAdapterImg |
| 662 | default: '{openonuAdapterImg}' |
| 663 | description: 'Custom image selection for Openonu Adapter (repo:tag)' |
| 664 | |
| 665 | - string: |
| 666 | name: openonuAdapterChart |
| 667 | default: '{openonuAdapterChart}' |
| 668 | description: 'OpenONU chart name (or location on file system)' |
| 669 | |
| 670 | - string: |
| 671 | name: onosImg |
| 672 | default: '{onosImg}' |
| 673 | description: 'Custom image selection for Openonu Adapter (repo:tag)' |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 674 | |
Matteo Scandolo | b70b3e0 | 2020-05-07 11:50:26 -0700 | [diff] [blame] | 675 | - string: |
| 676 | name: volthaSystemTestsChange |
| 677 | default: '' |
| 678 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 679 | |
Matteo Scandolo | 5708e2f | 2020-06-03 14:11:32 -0700 | [diff] [blame] | 680 | - string: |
| 681 | name: kindVolthaChange |
| 682 | default: '' |
| 683 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 684 | |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 685 | project-type: pipeline |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 686 | concurrent: false |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 687 | |
Matteo Scandolo | e69614f | 2020-03-10 11:35:35 -0700 | [diff] [blame] | 688 | dsl: !include-raw-escape: pipeline/{pipeline-script} |