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