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 | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 11 | name: 'voltha-scale-measurements-manual' |
Shrey Baid | b044718 | 2020-02-27 16:39:35 -0800 | [diff] [blame] | 12 | build-node: 'onf-pod1-head-node' |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame^] | 13 | time-trigger: "H * * * *" |
| 14 | onuPerPon: 32 |
| 15 | ponPorts: 8 |
| 16 | expectedOnus: 256 |
Matteo Scandolo | 22b5d91 | 2020-02-25 15:21:19 -0800 | [diff] [blame] | 17 | - 'voltha-scale-measurements': |
| 18 | name: 'voltha-scale-measurements-dev' |
| 19 | build-node: 'voltha-scale-dev' |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 20 | |
| 21 | - job-template: |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame^] | 22 | id: 'voltha-scale-measurements-periodic' |
| 23 | name: '{name}' |
| 24 | pipeline-script: 'voltha-scale-measurements.groovy' |
| 25 | |
| 26 | description: | |
| 27 | <!-- Managed by Jenkins Job Builder --> |
| 28 | Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br /> |
| 29 | Using pipeline {pipeline-script} <br/><br/> |
| 30 | Scale measurements for VOLTHA 2.x |
| 31 | |
| 32 | properties: |
| 33 | - cord-infra-properties: |
| 34 | build-days-to-keep: '{build-days-to-keep}' |
| 35 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 36 | |
| 37 | wrappers: |
| 38 | - lf-infra-wrappers: |
| 39 | build-timeout: '{build-timeout}' |
| 40 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 41 | |
| 42 | parameters: |
| 43 | - string: |
| 44 | name: buildNode |
| 45 | default: '{build-node}' |
| 46 | description: 'Name of the Jenkins node to run the job on' |
| 47 | |
| 48 | - string: |
| 49 | name: onuPerPon |
| 50 | default: 1 |
| 51 | description: 'Number of ONUs to provision' |
| 52 | |
| 53 | - string: |
| 54 | name: ponPorts |
| 55 | default: 1 |
| 56 | description: 'Number of PONs to provision' |
| 57 | |
| 58 | - string: |
| 59 | name: expectedOnus |
| 60 | default: 1 |
| 61 | description: 'Expected number of activated ONUs' |
| 62 | |
| 63 | - string: |
| 64 | name: pollInterval |
| 65 | default: 5 |
| 66 | description: 'Sleep time between ONU activation checks' |
| 67 | |
| 68 | - bool: |
| 69 | name: withOnosApps |
| 70 | default: false |
| 71 | description: 'Option to deactivate certain ONOS apps' |
| 72 | |
| 73 | - bool: |
| 74 | name: withMibTemplate |
| 75 | default: true |
| 76 | description: 'Option to trigger MIB template command' |
| 77 | |
| 78 | - bool: |
| 79 | name: setLinkDiscovery |
| 80 | default: false |
| 81 | description: 'Option to toggle Link Discovery' |
| 82 | |
| 83 | - string: |
| 84 | name: BBSIMdelay |
| 85 | default: 200 |
| 86 | description: 'BBSIM Delay, milliseconds' |
| 87 | |
| 88 | - string: |
| 89 | name: flowStatInterval |
| 90 | default: 600 |
| 91 | description: 'Flow Stats Collection Interval, milliseconds' |
| 92 | |
| 93 | - string: |
| 94 | name: portsStatInterval |
| 95 | default: 600 |
| 96 | description: 'Ports Stats Collection Interval, milliseconds' |
| 97 | |
| 98 | - bool: |
| 99 | name: bbsimAuth |
| 100 | default: true |
| 101 | description: 'Option to toggle BBSIM EAPOL true/false' |
| 102 | |
| 103 | - bool: |
| 104 | name: bbsimDhcp |
| 105 | default: true |
| 106 | description: 'Option to toggle BBSIM DHCP true/false' |
| 107 | |
| 108 | - string: |
| 109 | name: bbsimImg |
| 110 | default: |
| 111 | description: 'Custom image selection for BBSIM (repo:tag)' |
| 112 | |
| 113 | - string: |
| 114 | name: volthaImg |
| 115 | default: |
| 116 | description: 'Custom image selection for VOLTHA (repo:tag)' |
| 117 | |
| 118 | project-type: pipeline |
| 119 | concurrent: false |
| 120 | |
| 121 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 122 | |
| 123 | triggers: |
| 124 | - timed: | |
| 125 | TZ=America/Los_Angeles |
| 126 | {time-trigger} |
| 127 | |
| 128 | - job-template: |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 129 | id: 'voltha-scale-measurements' |
| 130 | name: '{name}' |
| 131 | pipeline-script: 'voltha-scale-measurements.groovy' |
| 132 | |
| 133 | description: | |
| 134 | <!-- Managed by Jenkins Job Builder --> |
| 135 | Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br /> |
| 136 | Using pipeline {pipeline-script} <br/><br/> |
| 137 | Scale measurements for VOLTHA 2.x |
| 138 | |
| 139 | properties: |
| 140 | - cord-infra-properties: |
| 141 | build-days-to-keep: '{build-days-to-keep}' |
| 142 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 143 | |
| 144 | wrappers: |
| 145 | - lf-infra-wrappers: |
| 146 | build-timeout: '{build-timeout}' |
| 147 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 148 | |
| 149 | parameters: |
| 150 | - string: |
| 151 | name: buildNode |
| 152 | default: '{build-node}' |
| 153 | description: 'Name of the Jenkins node to run the job on' |
| 154 | |
| 155 | - string: |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 156 | name: onuPerPon |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 157 | default: 1 |
| 158 | description: 'Number of ONUs to provision' |
| 159 | |
| 160 | - string: |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 161 | name: ponPorts |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 162 | default: 1 |
| 163 | description: 'Number of PONs to provision' |
| 164 | |
Shrey Baid | 80d9fff | 2020-02-10 10:26:02 -0800 | [diff] [blame] | 165 | - string: |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 166 | name: expectedOnus |
Shrey Baid | 80d9fff | 2020-02-10 10:26:02 -0800 | [diff] [blame] | 167 | default: 1 |
| 168 | description: 'Expected number of activated ONUs' |
| 169 | |
Shrey Baid | 6777d2c | 2020-02-10 11:36:55 -0800 | [diff] [blame] | 170 | - string: |
| 171 | name: pollInterval |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 172 | default: 5 |
Shrey Baid | 6777d2c | 2020-02-10 11:36:55 -0800 | [diff] [blame] | 173 | description: 'Sleep time between ONU activation checks' |
Matteo Scandolo | 22b5d91 | 2020-02-25 15:21:19 -0800 | [diff] [blame] | 174 | |
Shrey Baid | 0d4e31d | 2020-02-11 13:28:47 -0800 | [diff] [blame] | 175 | - bool: |
| 176 | name: withOnosApps |
| 177 | default: false |
| 178 | description: 'Option to deactivate certain ONOS apps' |
| 179 | |
| 180 | - bool: |
| 181 | name: withMibTemplate |
Shrey Baid | f220393 | 2020-02-12 15:40:09 -0800 | [diff] [blame] | 182 | default: true |
Shrey Baid | 0d4e31d | 2020-02-11 13:28:47 -0800 | [diff] [blame] | 183 | description: 'Option to trigger MIB template command' |
Shrey Baid | 7cbb06e | 2020-02-11 17:45:07 -0800 | [diff] [blame] | 184 | |
| 185 | - bool: |
| 186 | name: setLinkDiscovery |
| 187 | default: false |
| 188 | description: 'Option to toggle Link Discovery' |
| 189 | |
| 190 | - string: |
| 191 | name: BBSIMdelay |
| 192 | default: 200 |
| 193 | description: 'BBSIM Delay, milliseconds' |
| 194 | |
| 195 | - string: |
| 196 | name: flowStatInterval |
| 197 | default: 600 |
| 198 | description: 'Flow Stats Collection Interval, milliseconds' |
| 199 | |
| 200 | - string: |
| 201 | name: portsStatInterval |
| 202 | default: 600 |
| 203 | description: 'Ports Stats Collection Interval, milliseconds' |
Shrey Baid | 6777d2c | 2020-02-10 11:36:55 -0800 | [diff] [blame] | 204 | |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 205 | - bool: |
| 206 | name: bbsimAuth |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 207 | default: true |
| 208 | description: 'Option to toggle BBSIM EAPOL true/false' |
| 209 | |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 210 | - bool: |
Shrey Baid | a3b8aa6 | 2020-02-13 11:22:51 -0800 | [diff] [blame] | 211 | name: bbsimDhcp |
| 212 | default: true |
| 213 | description: 'Option to toggle BBSIM DHCP true/false' |
| 214 | |
Shrey Baid | e7614d0 | 2020-02-25 10:26:42 -0800 | [diff] [blame] | 215 | - string: |
| 216 | name: bbsimImg |
| 217 | default: |
| 218 | description: 'Custom image selection for BBSIM (repo:tag)' |
| 219 | |
| 220 | - string: |
| 221 | name: volthaImg |
| 222 | default: |
| 223 | description: 'Custom image selection for VOLTHA (repo:tag)' |
| 224 | |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 225 | project-type: pipeline |
Matteo Scandolo | d48d95e | 2020-02-27 17:04:55 -0800 | [diff] [blame^] | 226 | concurrent: false |
Matteo Scandolo | 51b7630 | 2020-02-05 12:07:23 -0800 | [diff] [blame] | 227 | |
| 228 | dsl: !include-raw-escape: pipeline/{pipeline-script} |