blob: 1da9a2404e8a35cb5a47f71fd532a025396d90a1 [file] [log] [blame]
Matteo Scandolo51b76302020-02-05 12:07:23 -08001---
2# VOLTHA 2.x scale measurements
3
4- project:
5 name: voltha-scale
6
7 project-name: '{name}'
8
9 jobs:
Matteo Scandolod48d95e2020-02-27 17:04:55 -080010 - 'voltha-scale-measurements-periodic':
Matteo Scandolo51b76302020-02-05 12:07:23 -080011 name: 'voltha-scale-measurements-manual'
Shrey Baidb0447182020-02-27 16:39:35 -080012 build-node: 'onf-pod1-head-node'
Matteo Scandolod48d95e2020-02-27 17:04:55 -080013 time-trigger: "H * * * *"
14 onuPerPon: 32
15 ponPorts: 8
16 expectedOnus: 256
Matteo Scandolo54d98802020-02-28 11:14:23 -080017 BBSIMdelay: 200
Matteo Scandolo22b5d912020-02-25 15:21:19 -080018 - 'voltha-scale-measurements':
19 name: 'voltha-scale-measurements-dev'
20 build-node: 'voltha-scale-dev'
Matteo Scandolo54d98802020-02-28 11:14:23 -080021 onuPerPon: 16
22 ponPorts: 1
23 expectedOnus: 16
24 BBSIMdelay: 200
Matteo Scandolo51b76302020-02-05 12:07:23 -080025
26- job-template:
Matteo Scandolod48d95e2020-02-27 17:04:55 -080027 id: 'voltha-scale-measurements-periodic'
28 name: '{name}'
29 pipeline-script: 'voltha-scale-measurements.groovy'
30
31 description: |
32 <!-- Managed by Jenkins Job Builder -->
33 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
34 Using pipeline {pipeline-script} <br/><br/>
35 Scale measurements for VOLTHA 2.x
36
37 properties:
38 - cord-infra-properties:
39 build-days-to-keep: '{build-days-to-keep}'
40 artifact-num-to-keep: '{artifact-num-to-keep}'
41
42 wrappers:
43 - lf-infra-wrappers:
44 build-timeout: '{build-timeout}'
45 jenkins-ssh-credential: '{jenkins-ssh-credential}'
46
47 parameters:
48 - string:
49 name: buildNode
50 default: '{build-node}'
51 description: 'Name of the Jenkins node to run the job on'
52
53 - string:
54 name: onuPerPon
Matteo Scandolo54d98802020-02-28 11:14:23 -080055 default: {onuPerPon}
Matteo Scandolod48d95e2020-02-27 17:04:55 -080056 description: 'Number of ONUs to provision'
57
58 - string:
59 name: ponPorts
Matteo Scandolo54d98802020-02-28 11:14:23 -080060 default: {ponPorts}
Matteo Scandolod48d95e2020-02-27 17:04:55 -080061 description: 'Number of PONs to provision'
62
63 - string:
64 name: expectedOnus
Matteo Scandolo54d98802020-02-28 11:14:23 -080065 default: {expectedOnus}
Matteo Scandolod48d95e2020-02-27 17:04:55 -080066 description: 'Expected number of activated ONUs'
67
68 - string:
69 name: pollInterval
70 default: 5
71 description: 'Sleep time between ONU activation checks'
72
73 - bool:
74 name: withOnosApps
75 default: false
76 description: 'Option to deactivate certain ONOS apps'
77
78 - bool:
79 name: withMibTemplate
80 default: true
81 description: 'Option to trigger MIB template command'
82
83 - bool:
84 name: setLinkDiscovery
85 default: false
86 description: 'Option to toggle Link Discovery'
87
88 - string:
89 name: BBSIMdelay
Matteo Scandolo54d98802020-02-28 11:14:23 -080090 default: {BBSIMdelay}
Matteo Scandolod48d95e2020-02-27 17:04:55 -080091 description: 'BBSIM Delay, milliseconds'
92
93 - string:
94 name: flowStatInterval
95 default: 600
96 description: 'Flow Stats Collection Interval, milliseconds'
97
98 - string:
99 name: portsStatInterval
100 default: 600
101 description: 'Ports Stats Collection Interval, milliseconds'
102
103 - bool:
104 name: bbsimAuth
105 default: true
106 description: 'Option to toggle BBSIM EAPOL true/false'
107
108 - bool:
109 name: bbsimDhcp
110 default: true
111 description: 'Option to toggle BBSIM DHCP true/false'
112
113 - string:
114 name: bbsimImg
115 default:
116 description: 'Custom image selection for BBSIM (repo:tag)'
117
118 - string:
119 name: volthaImg
120 default:
121 description: 'Custom image selection for VOLTHA (repo:tag)'
122
123 project-type: pipeline
124 concurrent: false
125
126 dsl: !include-raw-escape: pipeline/{pipeline-script}
127
128 triggers:
129 - timed: |
130 TZ=America/Los_Angeles
131 {time-trigger}
132
133- job-template:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800134 id: 'voltha-scale-measurements'
135 name: '{name}'
136 pipeline-script: 'voltha-scale-measurements.groovy'
137
138 description: |
139 <!-- Managed by Jenkins Job Builder -->
140 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
141 Using pipeline {pipeline-script} <br/><br/>
142 Scale measurements for VOLTHA 2.x
143
144 properties:
145 - cord-infra-properties:
146 build-days-to-keep: '{build-days-to-keep}'
147 artifact-num-to-keep: '{artifact-num-to-keep}'
148
149 wrappers:
150 - lf-infra-wrappers:
151 build-timeout: '{build-timeout}'
152 jenkins-ssh-credential: '{jenkins-ssh-credential}'
153
154 parameters:
155 - string:
156 name: buildNode
157 default: '{build-node}'
158 description: 'Name of the Jenkins node to run the job on'
159
160 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800161 name: onuPerPon
Matteo Scandolo51b76302020-02-05 12:07:23 -0800162 default: 1
163 description: 'Number of ONUs to provision'
164
165 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800166 name: ponPorts
Matteo Scandolo51b76302020-02-05 12:07:23 -0800167 default: 1
168 description: 'Number of PONs to provision'
169
Shrey Baid80d9fff2020-02-10 10:26:02 -0800170 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800171 name: expectedOnus
Shrey Baid80d9fff2020-02-10 10:26:02 -0800172 default: 1
173 description: 'Expected number of activated ONUs'
174
Shrey Baid6777d2c2020-02-10 11:36:55 -0800175 - string:
176 name: pollInterval
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800177 default: 5
Shrey Baid6777d2c2020-02-10 11:36:55 -0800178 description: 'Sleep time between ONU activation checks'
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800179
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800180 - bool:
181 name: withOnosApps
182 default: false
183 description: 'Option to deactivate certain ONOS apps'
184
185 - bool:
186 name: withMibTemplate
Shrey Baidf2203932020-02-12 15:40:09 -0800187 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800188 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800189
190 - bool:
191 name: setLinkDiscovery
192 default: false
193 description: 'Option to toggle Link Discovery'
194
195 - string:
196 name: BBSIMdelay
197 default: 200
198 description: 'BBSIM Delay, milliseconds'
199
200 - string:
201 name: flowStatInterval
202 default: 600
203 description: 'Flow Stats Collection Interval, milliseconds'
204
205 - string:
206 name: portsStatInterval
207 default: 600
208 description: 'Ports Stats Collection Interval, milliseconds'
Shrey Baid6777d2c2020-02-10 11:36:55 -0800209
Shrey Baide7614d02020-02-25 10:26:42 -0800210 - bool:
211 name: bbsimAuth
Shrey Baida3b8aa62020-02-13 11:22:51 -0800212 default: true
213 description: 'Option to toggle BBSIM EAPOL true/false'
214
Shrey Baide7614d02020-02-25 10:26:42 -0800215 - bool:
Shrey Baida3b8aa62020-02-13 11:22:51 -0800216 name: bbsimDhcp
217 default: true
218 description: 'Option to toggle BBSIM DHCP true/false'
219
Shrey Baide7614d02020-02-25 10:26:42 -0800220 - string:
221 name: bbsimImg
222 default:
223 description: 'Custom image selection for BBSIM (repo:tag)'
224
225 - string:
226 name: volthaImg
227 default:
228 description: 'Custom image selection for VOLTHA (repo:tag)'
229
Matteo Scandolo51b76302020-02-05 12:07:23 -0800230 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800231 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800232
233 dsl: !include-raw-escape: pipeline/{pipeline-script}