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