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