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