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