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