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