blob: 88835ee7184518f25144df7209d3fe350c67e18f [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 Scandolo55c379e2020-03-02 11:57:05 -080011 name: 'voltha-scale-measurements-periodic-256-200ms'
Shrey Baidb0447182020-02-27 16:39:35 -080012 build-node: 'onf-pod1-head-node'
Matteo Scandolo55c379e2020-03-02 11:57:05 -080013 time-trigger: "0 * * * *"
Matteo Scandolod48d95e2020-02-27 17:04:55 -080014 onuPerPon: 32
15 ponPorts: 8
16 expectedOnus: 256
Matteo Scandolo54d98802020-02-28 11:14:23 -080017 BBSIMdelay: 200
Matteo Scandolo55c379e2020-03-02 11:57:05 -080018 - 'voltha-scale-measurements-periodic':
19 name: 'voltha-scale-measurements-periodic-128-200ms'
20 build-node: 'onf-pod1-head-node'
21 time-trigger: "15 * * * *"
22 onuPerPon: 32
23 ponPorts: 4
24 expectedOnus: 128s
25 BBSIMdelay: 200
26 - 'voltha-scale-measurements-periodic':
27 name: 'voltha-scale-measurements-periodic-256-1000ms'
28 build-node: 'onf-pod1-head-node'
29 time-trigger: "30 * * * *"
30 onuPerPon: 32
31 ponPorts: 8
32 expectedOnus: 256
33 BBSIMdelay: 1000
34 - 'voltha-scale-measurements-periodic':
35 name: 'voltha-scale-measurements-periodic-128-1000ms'
36 build-node: 'onf-pod1-head-node'
37 time-trigger: "45 * * * *"
38 onuPerPon: 32
39 ponPorts: 4
40 expectedOnus: 128
41 BBSIMdelay: 1000
Matteo Scandolo22b5d912020-02-25 15:21:19 -080042 - 'voltha-scale-measurements':
43 name: 'voltha-scale-measurements-dev'
44 build-node: 'voltha-scale-dev'
Matteo Scandolo54d98802020-02-28 11:14:23 -080045 onuPerPon: 16
46 ponPorts: 1
47 expectedOnus: 16
48 BBSIMdelay: 200
Matteo Scandolo51b76302020-02-05 12:07:23 -080049
50- job-template:
Matteo Scandolod48d95e2020-02-27 17:04:55 -080051 id: 'voltha-scale-measurements-periodic'
52 name: '{name}'
53 pipeline-script: 'voltha-scale-measurements.groovy'
54
55 description: |
56 <!-- Managed by Jenkins Job Builder -->
57 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
58 Using pipeline {pipeline-script} <br/><br/>
59 Scale measurements for VOLTHA 2.x
60
61 properties:
62 - cord-infra-properties:
63 build-days-to-keep: '{build-days-to-keep}'
64 artifact-num-to-keep: '{artifact-num-to-keep}'
65
66 wrappers:
67 - lf-infra-wrappers:
68 build-timeout: '{build-timeout}'
69 jenkins-ssh-credential: '{jenkins-ssh-credential}'
70
71 parameters:
72 - string:
73 name: buildNode
74 default: '{build-node}'
75 description: 'Name of the Jenkins node to run the job on'
76
77 - string:
78 name: onuPerPon
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -080079 default: '{onuPerPon}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -080080 description: 'Number of ONUs to provision'
81
82 - string:
83 name: ponPorts
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -080084 default: '{ponPorts}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -080085 description: 'Number of PONs to provision'
86
87 - string:
88 name: expectedOnus
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -080089 default: '{expectedOnus}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -080090 description: 'Expected number of activated ONUs'
91
92 - string:
93 name: pollInterval
94 default: 5
95 description: 'Sleep time between ONU activation checks'
96
97 - bool:
98 name: withOnosApps
99 default: false
100 description: 'Option to deactivate certain ONOS apps'
101
102 - bool:
103 name: withMibTemplate
104 default: true
105 description: 'Option to trigger MIB template command'
106
107 - bool:
108 name: setLinkDiscovery
109 default: false
110 description: 'Option to toggle Link Discovery'
111
112 - string:
113 name: BBSIMdelay
Matteo Scandolo3d2a04f2020-02-28 14:43:29 -0800114 default: '{BBSIMdelay}'
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800115 description: 'BBSIM Delay, milliseconds'
116
117 - string:
118 name: flowStatInterval
119 default: 600
120 description: 'Flow Stats Collection Interval, milliseconds'
121
122 - string:
123 name: portsStatInterval
124 default: 600
125 description: 'Ports Stats Collection Interval, milliseconds'
126
127 - bool:
128 name: bbsimAuth
129 default: true
130 description: 'Option to toggle BBSIM EAPOL true/false'
131
132 - bool:
133 name: bbsimDhcp
134 default: true
135 description: 'Option to toggle BBSIM DHCP true/false'
136
137 - string:
138 name: bbsimImg
139 default:
140 description: 'Custom image selection for BBSIM (repo:tag)'
141
142 - string:
143 name: volthaImg
144 default:
145 description: 'Custom image selection for VOLTHA (repo:tag)'
146
147 project-type: pipeline
148 concurrent: false
149
150 dsl: !include-raw-escape: pipeline/{pipeline-script}
151
152 triggers:
153 - timed: |
154 TZ=America/Los_Angeles
155 {time-trigger}
156
157- job-template:
Matteo Scandolo51b76302020-02-05 12:07:23 -0800158 id: 'voltha-scale-measurements'
159 name: '{name}'
160 pipeline-script: 'voltha-scale-measurements.groovy'
161
162 description: |
163 <!-- Managed by Jenkins Job Builder -->
164 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
165 Using pipeline {pipeline-script} <br/><br/>
166 Scale measurements for VOLTHA 2.x
167
168 properties:
169 - cord-infra-properties:
170 build-days-to-keep: '{build-days-to-keep}'
171 artifact-num-to-keep: '{artifact-num-to-keep}'
172
173 wrappers:
174 - lf-infra-wrappers:
175 build-timeout: '{build-timeout}'
176 jenkins-ssh-credential: '{jenkins-ssh-credential}'
177
178 parameters:
179 - string:
180 name: buildNode
181 default: '{build-node}'
182 description: 'Name of the Jenkins node to run the job on'
183
184 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800185 name: onuPerPon
Matteo Scandolo51b76302020-02-05 12:07:23 -0800186 default: 1
187 description: 'Number of ONUs to provision'
188
189 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800190 name: ponPorts
Matteo Scandolo51b76302020-02-05 12:07:23 -0800191 default: 1
192 description: 'Number of PONs to provision'
193
Shrey Baid80d9fff2020-02-10 10:26:02 -0800194 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800195 name: expectedOnus
Shrey Baid80d9fff2020-02-10 10:26:02 -0800196 default: 1
197 description: 'Expected number of activated ONUs'
198
Shrey Baid6777d2c2020-02-10 11:36:55 -0800199 - string:
200 name: pollInterval
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800201 default: 5
Shrey Baid6777d2c2020-02-10 11:36:55 -0800202 description: 'Sleep time between ONU activation checks'
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800203
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800204 - bool:
205 name: withOnosApps
206 default: false
207 description: 'Option to deactivate certain ONOS apps'
208
209 - bool:
210 name: withMibTemplate
Shrey Baidf2203932020-02-12 15:40:09 -0800211 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800212 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800213
214 - bool:
215 name: setLinkDiscovery
216 default: false
217 description: 'Option to toggle Link Discovery'
218
219 - string:
220 name: BBSIMdelay
221 default: 200
222 description: 'BBSIM Delay, milliseconds'
223
224 - string:
225 name: flowStatInterval
226 default: 600
227 description: 'Flow Stats Collection Interval, milliseconds'
228
229 - string:
230 name: portsStatInterval
231 default: 600
232 description: 'Ports Stats Collection Interval, milliseconds'
Shrey Baid6777d2c2020-02-10 11:36:55 -0800233
Shrey Baide7614d02020-02-25 10:26:42 -0800234 - bool:
235 name: bbsimAuth
Shrey Baida3b8aa62020-02-13 11:22:51 -0800236 default: true
237 description: 'Option to toggle BBSIM EAPOL true/false'
238
Shrey Baide7614d02020-02-25 10:26:42 -0800239 - bool:
Shrey Baida3b8aa62020-02-13 11:22:51 -0800240 name: bbsimDhcp
241 default: true
242 description: 'Option to toggle BBSIM DHCP true/false'
243
Shrey Baide7614d02020-02-25 10:26:42 -0800244 - string:
245 name: bbsimImg
246 default:
247 description: 'Custom image selection for BBSIM (repo:tag)'
248
249 - string:
250 name: volthaImg
251 default:
252 description: 'Custom image selection for VOLTHA (repo:tag)'
253
Matteo Scandolo51b76302020-02-05 12:07:23 -0800254 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800255 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800256
257 dsl: !include-raw-escape: pipeline/{pipeline-script}