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