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