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