blob: ce9308ad68644c88837f888195df61516c240982 [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 Scandolo22b5d912020-02-25 15:21:19 -080017 - 'voltha-scale-measurements':
18 name: 'voltha-scale-measurements-dev'
19 build-node: 'voltha-scale-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -080020
21- job-template:
Matteo Scandolod48d95e2020-02-27 17:04:55 -080022 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 Scandolo51b76302020-02-05 12:07:23 -0800129 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 Baid7cbb06e2020-02-11 17:45:07 -0800156 name: onuPerPon
Matteo Scandolo51b76302020-02-05 12:07:23 -0800157 default: 1
158 description: 'Number of ONUs to provision'
159
160 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800161 name: ponPorts
Matteo Scandolo51b76302020-02-05 12:07:23 -0800162 default: 1
163 description: 'Number of PONs to provision'
164
Shrey Baid80d9fff2020-02-10 10:26:02 -0800165 - string:
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800166 name: expectedOnus
Shrey Baid80d9fff2020-02-10 10:26:02 -0800167 default: 1
168 description: 'Expected number of activated ONUs'
169
Shrey Baid6777d2c2020-02-10 11:36:55 -0800170 - string:
171 name: pollInterval
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800172 default: 5
Shrey Baid6777d2c2020-02-10 11:36:55 -0800173 description: 'Sleep time between ONU activation checks'
Matteo Scandolo22b5d912020-02-25 15:21:19 -0800174
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800175 - bool:
176 name: withOnosApps
177 default: false
178 description: 'Option to deactivate certain ONOS apps'
179
180 - bool:
181 name: withMibTemplate
Shrey Baidf2203932020-02-12 15:40:09 -0800182 default: true
Shrey Baid0d4e31d2020-02-11 13:28:47 -0800183 description: 'Option to trigger MIB template command'
Shrey Baid7cbb06e2020-02-11 17:45:07 -0800184
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 Baid6777d2c2020-02-10 11:36:55 -0800204
Shrey Baide7614d02020-02-25 10:26:42 -0800205 - bool:
206 name: bbsimAuth
Shrey Baida3b8aa62020-02-13 11:22:51 -0800207 default: true
208 description: 'Option to toggle BBSIM EAPOL true/false'
209
Shrey Baide7614d02020-02-25 10:26:42 -0800210 - bool:
Shrey Baida3b8aa62020-02-13 11:22:51 -0800211 name: bbsimDhcp
212 default: true
213 description: 'Option to toggle BBSIM DHCP true/false'
214
Shrey Baide7614d02020-02-25 10:26:42 -0800215 - 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 Scandolo51b76302020-02-05 12:07:23 -0800225 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800226 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800227
228 dsl: !include-raw-escape: pipeline/{pipeline-script}