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 | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 10 | - 'voltha-scale-measurements-periodic': |
Matteo Scandolo | 330f752 | 2020-03-17 17:15:53 -0700 | [diff] [blame] | 11 | name: 'voltha-scale-measurements-periodic-8-16-200ms' |
| 12 | build-node: 'onf-pod1-head-node' |
| 13 | time-trigger: "H H/4 * * *" |
| 14 | onuPerPon: 16 |
| 15 | ponPorts: 8 |
| 16 | expectedOnus: 128 |
| 17 | BBSIMdelay: 200 |
| 18 | - 'voltha-scale-measurements-periodic': |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 19 | name: 'voltha-scale-measurements-periodic-8-32-200ms' |
Shrey Baid | b044718 | 2020-02-27 16:39:35 -0800 | [diff] [blame] | 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 | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 22 | onuPerPon: 32 |
| 23 | ponPorts: 8 |
| 24 | expectedOnus: 256 |
Matteo Scandolo | 54d9880 | 2020-02-28 11:14:23 -0800 | [diff] [blame] | 25 | BBSIMdelay: 200 |
Matteo Scandolo | 55c379e | 2020-03-02 11:57:05 -0800 | [diff] [blame] | 26 | - 'voltha-scale-measurements-periodic': |
Matteo Scandolo | 2e2901f | 2020-03-12 10:51:01 -0700 | [diff] [blame] | 27 | name: 'voltha-scale-measurements-periodic-10-20-200ms' |
Matteo Scandolo | 380af27 | 2020-03-05 14:26:47 -0800 | [diff] [blame] | 28 | build-node: 'onf-pod1-head-node' |
| 29 | time-trigger: "H H/4 * * *" |
Matteo Scandolo | 2e2901f | 2020-03-12 10:51:01 -0700 | [diff] [blame] | 30 | onuPerPon: 20 |
| 31 | ponPorts: 10 |
| 32 | expectedOnus: 200 |
Matteo Scandolo | 380af27 | 2020-03-05 14:26:47 -0800 | [diff] [blame] | 33 | BBSIMdelay: 200 |
| 34 | - 'voltha-scale-measurements-periodic': |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 35 | name: 'voltha-scale-measurements-periodic-4-32-200ms' |
Matteo Scandolo | 55c379e | 2020-03-02 11:57:05 -0800 | [diff] [blame] | 36 | build-node: 'onf-pod1-head-node' |
Matteo Scandolo | 380af27 | 2020-03-05 14:26:47 -0800 | [diff] [blame] | 37 | time-trigger: "H H/4 * * *" |
Matteo Scandolo | 55c379e | 2020-03-02 11:57:05 -0800 | [diff] [blame] | 38 | onuPerPon: 32 |
| 39 | ponPorts: 4 |
| 40 | expectedOnus: 128 |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 41 | BBSIMdelay: 200 |
| 42 | - 'voltha-scale-measurements-periodic': |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 43 | name: 'voltha-scale-measurements-periodic-16-32-200ms' |
| 44 | build-node: 'onf-pod1-head-node' |
Matteo Scandolo | 380af27 | 2020-03-05 14:26:47 -0800 | [diff] [blame] | 45 | time-trigger: "H H/4 * * *" |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 46 | onuPerPon: 32 |
| 47 | ponPorts: 16 |
Matteo Scandolo | 132f555 | 2020-03-03 18:56:35 -0800 | [diff] [blame] | 48 | expectedOnus: 512 |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 49 | BBSIMdelay: 200 |
Matteo Scandolo | 24044fc | 2020-04-14 10:07:14 -0700 | [diff] [blame] | 50 | # multi-adapter |
Matteo Scandolo | 89f1cea | 2020-04-10 10:20:20 -0700 | [diff] [blame] | 51 | extraHelmFlags: "--set replicas.adapter_open_onu=8" |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 52 | - 'voltha-scale-measurements-periodic': |
Matteo Scandolo | 731d4d2 | 2020-03-20 10:06:00 -0700 | [diff] [blame] | 53 | name: 'voltha-scale-measurements-periodic-16-64-200ms' |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 54 | build-node: 'onf-pod1-head-node' |
Matteo Scandolo | 380af27 | 2020-03-05 14:26:47 -0800 | [diff] [blame] | 55 | time-trigger: "H H/4 * * *" |
Matteo Scandolo | 731d4d2 | 2020-03-20 10:06:00 -0700 | [diff] [blame] | 56 | onuPerPon: 64 |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 57 | ponPorts: 16 |
Matteo Scandolo | 731d4d2 | 2020-03-20 10:06:00 -0700 | [diff] [blame] | 58 | expectedOnus: 1024 |
| 59 | BBSIMdelay: 200 |
Matteo Scandolo | 24044fc | 2020-04-14 10:07:14 -0700 | [diff] [blame] | 60 | # multi-adapter |
Matteo Scandolo | 89f1cea | 2020-04-10 10:20:20 -0700 | [diff] [blame] | 61 | extraHelmFlags: "--set replicas.adapter_open_onu=8" |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 62 | - 'voltha-scale-measurements-periodic': |
| 63 | name: 'voltha-scale-measurements-periodic-4-64-200ms' |
| 64 | build-node: 'onf-pod1-head-node' |
Matteo Scandolo | 380af27 | 2020-03-05 14:26:47 -0800 | [diff] [blame] | 65 | time-trigger: "H H/4 * * *" |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 66 | onuPerPon: 64 |
| 67 | ponPorts: 4 |
| 68 | expectedOnus: 256 |
| 69 | BBSIMdelay: 200 |
| 70 | - 'voltha-scale-measurements-periodic': |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 71 | name: 'voltha-scale-measurements-periodic-1-128-200ms' |
| 72 | build-node: 'onf-pod1-head-node' |
Matteo Scandolo | 380af27 | 2020-03-05 14:26:47 -0800 | [diff] [blame] | 73 | time-trigger: "H H/4 * * *" |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 74 | onuPerPon: 128 |
| 75 | ponPorts: 1 |
Matteo Scandolo | 132f555 | 2020-03-03 18:56:35 -0800 | [diff] [blame] | 76 | expectedOnus: 128 |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 77 | BBSIMdelay: 200 |
| 78 | - 'voltha-scale-measurements-periodic': |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 79 | name: 'voltha-scale-measurements-periodic-1-64-200ms' |
| 80 | build-node: 'onf-pod1-head-node' |
Matteo Scandolo | 380af27 | 2020-03-05 14:26:47 -0800 | [diff] [blame] | 81 | time-trigger: "H H/4 * * *" |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 82 | onuPerPon: 64 |
| 83 | ponPorts: 1 |
Matteo Scandolo | 132f555 | 2020-03-03 18:56:35 -0800 | [diff] [blame] | 84 | expectedOnus: 64 |
Matteo Scandolo | da2834f | 2020-03-03 13:12:32 -0800 | [diff] [blame] | 85 | BBSIMdelay: 200 |
| 86 | - 'voltha-scale-measurements-periodic': |
Matteo Scandolo | 3e0e040 | 2020-04-27 16:07:05 -0700 | [diff] [blame] | 87 | name: 'voltha-scale-measurements-periodic-1-1-200ms-complete' |
Matteo Scandolo | 380af27 | 2020-03-05 14:26:47 -0800 | [diff] [blame] | 88 | build-node: 'onf-pod1-head-node' |
| 89 | time-trigger: "H H/4 * * *" |
| 90 | onuPerPon: 1 |
| 91 | ponPorts: 1 |
| 92 | expectedOnus: 1 |
| 93 | BBSIMdelay: 200 |
Matteo Scandolo | 3e0e040 | 2020-04-27 16:07:05 -0700 | [diff] [blame] | 94 | withOnosApps: true |
| 95 | flowStatInterval: 5 |
| 96 | portsStatInterval: 5 |
| 97 | expectedFlows: 2 |
Matteo Scandolo | 380af27 | 2020-03-05 14:26:47 -0800 | [diff] [blame] | 98 | - 'voltha-scale-measurements-periodic': |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 99 | name: 'voltha-scale-measurements-periodic-2-OLTs-10-10-200ms' |
Matteo Scandolo | 380af27 | 2020-03-05 14:26:47 -0800 | [diff] [blame] | 100 | build-node: 'onf-pod1-head-node' |
| 101 | time-trigger: "H H/4 * * *" |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 102 | onuPerPon: 10 |
| 103 | ponPorts: 10 |
| 104 | numOfBbsim: 2 |
| 105 | expectedOnus: 200 |
| 106 | BBSIMdelay: 200 |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 107 | - 'voltha-scale-measurements-periodic': |
| 108 | name: 'voltha-scale-measurements-periodic-10-20-200ms-with-flows' |
| 109 | build-node: 'onf-pod1-head-node' |
| 110 | time-trigger: "H H/4 * * *" |
| 111 | onuPerPon: 20 |
| 112 | ponPorts: 10 |
| 113 | expectedOnus: 200 |
| 114 | BBSIMdelay: 200 |
| 115 | withOnosApps: true |
| 116 | flowStatInterval: 5 |
| 117 | portsStatInterval: 5 |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 118 | expectedFlows: 201 |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 119 | bbsimAuth: false |
| 120 | bbsimDhcp: false |
| 121 | - 'voltha-scale-measurements-periodic': |
Matteo Scandolo | 3e0e040 | 2020-04-27 16:07:05 -0700 | [diff] [blame] | 122 | name: 'voltha-scale-measurements-periodic-4-16-200ms-complete' |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 123 | build-node: 'onf-pod1-head-node' |
| 124 | time-trigger: "H H/4 * * *" |
| 125 | onuPerPon: 16 |
| 126 | ponPorts: 4 |
| 127 | expectedOnus: 64 |
| 128 | BBSIMdelay: 200 |
| 129 | withOnosApps: true |
| 130 | flowStatInterval: 5 |
| 131 | portsStatInterval: 5 |
| 132 | expectedFlows: 65 |
Matteo Scandolo | 3e0e040 | 2020-04-27 16:07:05 -0700 | [diff] [blame] | 133 | - 'voltha-scale-measurements-periodic': |
| 134 | name: 'voltha-scale-measurements-periodic-10-20-200ms-complete' |
| 135 | build-node: 'onf-pod1-head-node' |
| 136 | time-trigger: "H H/4 * * *" |
| 137 | onuPerPon: 20 |
| 138 | ponPorts: 10 |
| 139 | expectedOnus: 64 |
| 140 | BBSIMdelay: 200 |
| 141 | withOnosApps: true |
| 142 | flowStatInterval: 5 |
| 143 | portsStatInterval: 5 |
| 144 | expectedFlows: 201 |
Matteo Scandolo | 22b5d91 | 2020-02-25 15:21:19 -0800 | [diff] [blame] | 145 | - 'voltha-scale-measurements': |
| 146 | name: 'voltha-scale-measurements-dev' |
Shrey Baid | 4c108ad | 2020-03-10 15:21:13 -0700 | [diff] [blame] | 147 | build-node: 'voltha-scale' |
Matteo Scandolo | 54d9880 | 2020-02-28 11:14:23 -0800 | [diff] [blame] | 148 | onuPerPon: 16 |
| 149 | ponPorts: 1 |
| 150 | expectedOnus: 16 |
| 151 | BBSIMdelay: 200 |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 152 | |
| 153 | - job-template: |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 154 | id: 'voltha-scale-measurements-periodic' |
| 155 | name: '{name}' |
| 156 | pipeline-script: 'voltha-scale-measurements.groovy' |
| 157 | |
| 158 | description: | |
| 159 | <!-- Managed by Jenkins Job Builder --> |
| 160 | Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br /> |
| 161 | Using pipeline {pipeline-script} <br/><br/> |
| 162 | Scale measurements for VOLTHA 2.x |
| 163 | |
| 164 | properties: |
| 165 | - cord-infra-properties: |
| 166 | build-days-to-keep: '{build-days-to-keep}' |
| 167 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 168 | |
| 169 | wrappers: |
| 170 | - lf-infra-wrappers: |
| 171 | build-timeout: '{build-timeout}' |
| 172 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 173 | |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 174 | # default parameters |
| 175 | bbsimImg: voltha/bbsim:master |
| 176 | bbsimChart: onf/bbsim |
| 177 | volthaImg: voltha/voltha-rw-core:master |
Matteo Scandolo | e1c200f | 2020-03-24 10:33:58 -0700 | [diff] [blame] | 178 | ofAgentImg: voltha/voltha-ofagent-go:master |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 179 | volthaChart: onf/voltha |
| 180 | openoltAdapterImg: voltha/voltha-openolt-adapter:master |
| 181 | openoltAdapterChart: onf/voltha-adapter-openolt |
| 182 | openonuAdapterImg: voltha/voltha-openonu-adapter:master |
| 183 | openonuAdapterChart: onf/voltha-adapter-openonu |
Shrey Baid | 70c849a | 2020-04-03 21:52:00 +0530 | [diff] [blame] | 184 | onosImg: voltha/voltha-onos:master |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 185 | extraHelmFlags: '' |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 186 | withMibTemplate: true |
| 187 | numOfBbsim: 1 |
| 188 | numOfKafka: 3 |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 189 | withOnosApps: false |
| 190 | setLinkDiscovery: false |
| 191 | flowStatInterval: 600 |
| 192 | portsStatInterval: 600 |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 193 | expectedFlows: 0 # by defualt ONOS apps are deactivated |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 194 | bbsimAuth: true |
| 195 | bbsimDhcp: true |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 196 | |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 197 | parameters: |
| 198 | - string: |
| 199 | name: buildNode |
| 200 | default: '{build-node}' |
| 201 | description: 'Name of the Jenkins node to run the job on' |
| 202 | |
| 203 | - string: |
Matteo Scandolo | 330f752 | 2020-03-17 17:15:53 -0700 | [diff] [blame] | 204 | name: logLevel |
| 205 | default: 'WARN' |
| 206 | description: 'Log level for all the components' |
| 207 | |
| 208 | - string: |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 209 | name: onuPerPon |
Matteo Scandolo | 3d2a04f | 2020-02-28 14:43:29 -0800 | [diff] [blame] | 210 | default: '{onuPerPon}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 211 | description: 'Number of ONUs to provision' |
| 212 | |
| 213 | - string: |
| 214 | name: ponPorts |
Matteo Scandolo | 3d2a04f | 2020-02-28 14:43:29 -0800 | [diff] [blame] | 215 | default: '{ponPorts}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 216 | description: 'Number of PONs to provision' |
| 217 | |
| 218 | - string: |
| 219 | name: expectedOnus |
Matteo Scandolo | 3d2a04f | 2020-02-28 14:43:29 -0800 | [diff] [blame] | 220 | default: '{expectedOnus}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 221 | description: 'Expected number of activated ONUs' |
| 222 | |
| 223 | - string: |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 224 | name: expectedFlows |
| 225 | default: '{expectedFlows}' |
| 226 | description: 'Expected number of flows in ONOS' |
| 227 | |
| 228 | - string: |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 229 | name: pollInterval |
| 230 | default: 5 |
| 231 | description: 'Sleep time between ONU activation checks' |
| 232 | |
| 233 | - bool: |
| 234 | name: withOnosApps |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 235 | default: '{withOnosApps}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 236 | description: 'Option to deactivate certain ONOS apps' |
| 237 | |
| 238 | - bool: |
| 239 | name: withMibTemplate |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 240 | default: '{withMibTemplate}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 241 | description: 'Option to trigger MIB template command' |
| 242 | |
| 243 | - bool: |
| 244 | name: setLinkDiscovery |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 245 | default: '{setLinkDiscovery}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 246 | description: 'Option to toggle Link Discovery' |
| 247 | |
| 248 | - string: |
| 249 | name: BBSIMdelay |
Matteo Scandolo | 3d2a04f | 2020-02-28 14:43:29 -0800 | [diff] [blame] | 250 | default: '{BBSIMdelay}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 251 | description: 'BBSIM Delay, milliseconds' |
| 252 | |
| 253 | - string: |
| 254 | name: flowStatInterval |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 255 | default: '{flowStatInterval}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 256 | description: 'Flow Stats Collection Interval, milliseconds' |
| 257 | |
| 258 | - string: |
| 259 | name: portsStatInterval |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 260 | default: {portsStatInterval} |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 261 | description: 'Ports Stats Collection Interval, milliseconds' |
| 262 | |
| 263 | - bool: |
| 264 | name: bbsimAuth |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 265 | default: '{bbsimAuth}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 266 | description: 'Option to toggle BBSIM EAPOL true/false' |
| 267 | |
| 268 | - bool: |
| 269 | name: bbsimDhcp |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 270 | default: '{bbsimDhcp}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 271 | description: 'Option to toggle BBSIM DHCP true/false' |
| 272 | |
| 273 | - string: |
| 274 | name: bbsimImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 275 | default: '{bbsimImg}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 276 | description: 'Custom image selection for BBSIM (repo:tag)' |
| 277 | |
| 278 | - string: |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 279 | name: bbsimChart |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 280 | default: '{bbsimChart}' |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 281 | description: 'BBSim chart name (or location on file system)' |
| 282 | |
| 283 | - string: |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 284 | name: volthaImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 285 | default: '{volthaImg}' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 286 | description: 'Custom image selection for VOLTHA (repo:tag)' |
| 287 | |
Matteo Scandolo | d4b5d67 | 2020-03-05 15:18:47 -0800 | [diff] [blame] | 288 | - string: |
Matteo Scandolo | e69614f | 2020-03-10 11:35:35 -0700 | [diff] [blame] | 289 | name: ofAgentImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 290 | default: '{ofAgentImg}' |
Matteo Scandolo | fddcb00 | 2020-03-24 09:14:57 -0700 | [diff] [blame] | 291 | 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] | 292 | |
| 293 | - string: |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 294 | name: volthaChart |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 295 | default: '{volthaChart}' |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 296 | description: 'VOLTHA chart name (or location on file system)' |
| 297 | |
| 298 | - string: |
Matteo Scandolo | d4b5d67 | 2020-03-05 15:18:47 -0800 | [diff] [blame] | 299 | name: openoltAdapterImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 300 | default: '{openoltAdapterImg}' |
Matteo Scandolo | d4b5d67 | 2020-03-05 15:18:47 -0800 | [diff] [blame] | 301 | description: 'Custom image selection for Openolt Adapter (repo:tag)' |
| 302 | |
| 303 | - string: |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 304 | name: openoltAdapterChart |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 305 | default: '{openoltAdapterChart}' |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 306 | description: 'OpenOLT chart name (or location on file system)' |
| 307 | |
| 308 | - string: |
Matteo Scandolo | d4b5d67 | 2020-03-05 15:18:47 -0800 | [diff] [blame] | 309 | name: openonuAdapterImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 310 | default: '{openonuAdapterImg}' |
Matteo Scandolo | d4b5d67 | 2020-03-05 15:18:47 -0800 | [diff] [blame] | 311 | description: 'Custom image selection for Openonu Adapter (repo:tag)' |
| 312 | |
Matteo Scandolo | e69614f | 2020-03-10 11:35:35 -0700 | [diff] [blame] | 313 | - string: |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 314 | name: openonuAdapterChart |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 315 | default: '{openonuAdapterChart}' |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 316 | description: 'OpenONU chart name (or location on file system)' |
| 317 | |
| 318 | - string: |
Matteo Scandolo | e69614f | 2020-03-10 11:35:35 -0700 | [diff] [blame] | 319 | name: onosImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 320 | default: '{onosImg}' |
Matteo Scandolo | e69614f | 2020-03-10 11:35:35 -0700 | [diff] [blame] | 321 | description: 'Custom image selection for Openonu Adapter (repo:tag)' |
| 322 | |
| 323 | - string: |
| 324 | name: extraHelmFlags |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 325 | default: '{extraHelmFlags}' |
Matteo Scandolo | e69614f | 2020-03-10 11:35:35 -0700 | [diff] [blame] | 326 | description: 'Any extra helm parameters you want (passed to every helm install command)' |
| 327 | |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 328 | - string: |
| 329 | name: numOfBbsim |
| 330 | default: '{numOfBbsim}' |
| 331 | description: 'How many BBSim instances to run' |
| 332 | |
| 333 | - string: |
| 334 | name: numOfKafka |
| 335 | default: '{numOfKafka}' |
| 336 | description: 'How many Kafka instances to run' |
| 337 | |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 338 | project-type: pipeline |
| 339 | concurrent: false |
| 340 | |
| 341 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 342 | |
| 343 | triggers: |
| 344 | - timed: | |
| 345 | TZ=America/Los_Angeles |
| 346 | {time-trigger} |
| 347 | |
| 348 | - job-template: |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 349 | id: 'voltha-scale-measurements' |
| 350 | name: '{name}' |
| 351 | pipeline-script: 'voltha-scale-measurements.groovy' |
| 352 | |
| 353 | description: | |
| 354 | <!-- Managed by Jenkins Job Builder --> |
| 355 | Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br /> |
| 356 | Using pipeline {pipeline-script} <br/><br/> |
| 357 | Scale measurements for VOLTHA 2.x |
| 358 | |
| 359 | properties: |
| 360 | - cord-infra-properties: |
| 361 | build-days-to-keep: '{build-days-to-keep}' |
| 362 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 363 | |
| 364 | wrappers: |
| 365 | - lf-infra-wrappers: |
| 366 | build-timeout: '{build-timeout}' |
| 367 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 368 | |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 369 | # default parameters |
Matteo Scandolo | 45159ab | 2020-03-23 08:55:40 -0700 | [diff] [blame] | 370 | bbsimImg: "voltha/bbsim:master" |
| 371 | bbsimChart: "onf/bbsim" |
| 372 | volthaImg: "voltha/voltha-rw-core:master" |
Matteo Scandolo | 9a9bb89 | 2020-03-19 10:09:18 -0700 | [diff] [blame] | 373 | ofAgentImg: "voltha/voltha-ofagent-go:master" |
Matteo Scandolo | 45159ab | 2020-03-23 08:55:40 -0700 | [diff] [blame] | 374 | volthaChart: "onf/voltha" |
| 375 | openoltAdapterImg: "voltha/voltha-openolt-adapter:master" |
| 376 | openoltAdapterChart: "onf/voltha-adapter-openolt" |
| 377 | openonuAdapterImg: "voltha/voltha-openonu-adapter:master" |
| 378 | openonuAdapterChart: "onf/voltha-adapter-openonu" |
Shrey Baid | 70c849a | 2020-04-03 21:52:00 +0530 | [diff] [blame] | 379 | onosImg: "voltha/voltha-onos:master" |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 380 | extraHelmFlags: '' |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 381 | withMibTemplate: true |
| 382 | numOfBbsim: 1 |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 383 | numOfKafka: 3 |
| 384 | withOnosApps: true |
| 385 | setLinkDiscovery: false |
| 386 | flowStatInterval: 600 |
| 387 | portsStatInterval: 600 |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 388 | expectedFlows: 17 # one EAPOL per ONU + 1 LLDP on the NNI |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 389 | bbsimAuth: true |
| 390 | bbsimDhcp: true |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 391 | |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 392 | parameters: |
| 393 | - string: |
| 394 | name: buildNode |
| 395 | default: '{build-node}' |
| 396 | description: 'Name of the Jenkins node to run the job on' |
| 397 | |
| 398 | - string: |
Matteo Scandolo | 330f752 | 2020-03-17 17:15:53 -0700 | [diff] [blame] | 399 | name: logLevel |
| 400 | default: 'WARN' |
| 401 | description: 'Log level for all the components' |
| 402 | |
| 403 | - string: |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 404 | name: onuPerPon |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 405 | default: 1 |
| 406 | description: 'Number of ONUs to provision' |
| 407 | |
| 408 | - string: |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 409 | name: ponPorts |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 410 | default: 1 |
| 411 | description: 'Number of PONs to provision' |
| 412 | |
Shrey Baid | 80d9fff | 2020-02-10 10:26:02 -0800 | [diff] [blame] | 413 | - string: |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 414 | name: expectedOnus |
Shrey Baid | 80d9fff | 2020-02-10 10:26:02 -0800 | [diff] [blame] | 415 | default: 1 |
| 416 | description: 'Expected number of activated ONUs' |
| 417 | |
Shrey Baid | 6777d2c | 2020-02-10 11:36:55 -0800 | [diff] [blame] | 418 | - string: |
Matteo Scandolo | c981223 | 2020-04-22 14:18:07 -0700 | [diff] [blame] | 419 | name: expectedFlows |
| 420 | default: '{expectedFlows}' |
| 421 | description: 'Expected number of flows in ONOS' |
| 422 | |
| 423 | - string: |
Shrey Baid | 6777d2c | 2020-02-10 11:36:55 -0800 | [diff] [blame] | 424 | name: pollInterval |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 425 | default: 5 |
Shrey Baid | 6777d2c | 2020-02-10 11:36:55 -0800 | [diff] [blame] | 426 | description: 'Sleep time between ONU activation checks' |
Matteo Scandolo | 22b5d91 | 2020-02-25 15:21:19 -0800 | [diff] [blame] | 427 | |
Shrey Baid | 0d4e31d | 2020-02-11 13:28:47 -0800 | [diff] [blame] | 428 | - bool: |
| 429 | name: withOnosApps |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 430 | default: '{withOnosApps}' |
Shrey Baid | 0d4e31d | 2020-02-11 13:28:47 -0800 | [diff] [blame] | 431 | description: 'Option to deactivate certain ONOS apps' |
| 432 | |
| 433 | - bool: |
| 434 | name: withMibTemplate |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 435 | default: '{withMibTemplate}' |
Shrey Baid | 0d4e31d | 2020-02-11 13:28:47 -0800 | [diff] [blame] | 436 | description: 'Option to trigger MIB template command' |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 437 | |
| 438 | - bool: |
| 439 | name: setLinkDiscovery |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 440 | default: '{setLinkDiscovery}' |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 441 | description: 'Option to toggle Link Discovery' |
| 442 | |
| 443 | - string: |
| 444 | name: BBSIMdelay |
| 445 | default: 200 |
| 446 | description: 'BBSIM Delay, milliseconds' |
| 447 | |
| 448 | - string: |
| 449 | name: flowStatInterval |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 450 | default: '{flowStatInterval}' |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 451 | description: 'Flow Stats Collection Interval, milliseconds' |
| 452 | |
| 453 | - string: |
| 454 | name: portsStatInterval |
Matteo Scandolo | d1a1508 | 2020-04-22 10:57:49 -0700 | [diff] [blame] | 455 | default: {portsStatInterval} |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 456 | description: 'Ports Stats Collection Interval, milliseconds' |
Shrey Baid | 6777d2c | 2020-02-10 11:36:55 -0800 | [diff] [blame] | 457 | |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 458 | - bool: |
| 459 | name: bbsimAuth |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 460 | default: '{bbsimAuth}' |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 461 | description: 'Option to toggle BBSIM EAPOL true/false' |
| 462 | |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 463 | - bool: |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 464 | name: bbsimDhcp |
Matteo Scandolo | 268f322 | 2020-04-24 15:19:25 -0700 | [diff] [blame] | 465 | default: '{bbsimDhcp}' |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 466 | description: 'Option to toggle BBSIM DHCP true/false' |
| 467 | |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 468 | - string: |
| 469 | name: bbsimImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 470 | default: '{bbsimImg}' |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 471 | description: 'Custom image selection for BBSIM (repo:tag)' |
| 472 | |
| 473 | - string: |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 474 | name: bbsimChart |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 475 | default: '{bbsimChart}' |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 476 | description: 'BBSim chart name (or location on file system)' |
| 477 | |
| 478 | - string: |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 479 | name: volthaImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 480 | default: '{volthaImg}' |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 481 | description: 'Custom image selection for VOLTHA (repo:tag)' |
| 482 | |
Matteo Scandolo | a2928e7 | 2020-03-02 16:38:22 -0800 | [diff] [blame] | 483 | - string: |
Matteo Scandolo | fe241be | 2020-03-12 10:00:17 -0700 | [diff] [blame] | 484 | name: ofAgentImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 485 | default: '{ofAgentImg}' |
Matteo Scandolo | fddcb00 | 2020-03-24 09:14:57 -0700 | [diff] [blame] | 486 | description: 'Custom image selection for OfAgent (repo:tag), only supports the go version' |
Matteo Scandolo | fe241be | 2020-03-12 10:00:17 -0700 | [diff] [blame] | 487 | |
| 488 | - string: |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 489 | name: volthaChart |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 490 | default: '{volthaChart}' |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 491 | description: 'VOLTHA chart name (or location on file system)' |
| 492 | |
| 493 | - string: |
Matteo Scandolo | a2928e7 | 2020-03-02 16:38:22 -0800 | [diff] [blame] | 494 | name: openoltAdapterImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 495 | default: '{openoltAdapterImg}' |
Matteo Scandolo | a2928e7 | 2020-03-02 16:38:22 -0800 | [diff] [blame] | 496 | description: 'Custom image selection for Openolt Adapter (repo:tag)' |
| 497 | |
| 498 | - string: |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 499 | name: openoltAdapterChart |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 500 | default: '{openoltAdapterChart}' |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 501 | description: 'OpenOLT chart name (or location on file system)' |
| 502 | |
| 503 | - string: |
Matteo Scandolo | a2928e7 | 2020-03-02 16:38:22 -0800 | [diff] [blame] | 504 | name: openonuAdapterImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 505 | default: '{openonuAdapterImg}' |
Matteo Scandolo | a2928e7 | 2020-03-02 16:38:22 -0800 | [diff] [blame] | 506 | description: 'Custom image selection for Openonu Adapter (repo:tag)' |
| 507 | |
Matteo Scandolo | fe241be | 2020-03-12 10:00:17 -0700 | [diff] [blame] | 508 | - string: |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 509 | name: openonuAdapterChart |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 510 | default: '{openonuAdapterChart}' |
Matteo Scandolo | 7059b08 | 2020-03-17 09:05:03 -0700 | [diff] [blame] | 511 | description: 'OpenONU chart name (or location on file system)' |
| 512 | |
| 513 | - string: |
Matteo Scandolo | fe241be | 2020-03-12 10:00:17 -0700 | [diff] [blame] | 514 | name: onosImg |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 515 | default: '{onosImg}' |
Matteo Scandolo | fe241be | 2020-03-12 10:00:17 -0700 | [diff] [blame] | 516 | description: 'Custom image selection for Openonu Adapter (repo:tag)' |
| 517 | |
| 518 | - string: |
| 519 | name: extraHelmFlags |
Matteo Scandolo | 4942197 | 2020-03-20 10:55:11 -0700 | [diff] [blame] | 520 | default: '{extraHelmFlags}' |
Matteo Scandolo | fe241be | 2020-03-12 10:00:17 -0700 | [diff] [blame] | 521 | description: 'Any extra helm parameters you want (passed to every helm install command)' |
| 522 | |
Matteo Scandolo | f87e1da | 2020-04-16 16:13:31 -0700 | [diff] [blame] | 523 | - string: |
| 524 | name: numOfBbsim |
| 525 | default: '{numOfBbsim}' |
| 526 | description: 'How many BBSim instances to run' |
| 527 | |
| 528 | - string: |
| 529 | name: numOfKafka |
| 530 | default: '{numOfKafka}' |
| 531 | description: 'How many Kafka instances to run' |
| 532 | |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 533 | project-type: pipeline |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame] | 534 | concurrent: false |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 535 | |
Matteo Scandolo | e69614f | 2020-03-10 11:35:35 -0700 | [diff] [blame] | 536 | dsl: !include-raw-escape: pipeline/{pipeline-script} |