2 .. contents:: Table of Contents
9 This document serves as the test plan for the ITM Scalability – OF Based tunnels. This document comprises of
10 test cases pertaining to all the use case covered by the Functional Spec.
14 Name of suite and test cases should map exactly to as they appear in Robot reports.
20 Brief description of test setup.
24 Topology device software and inter node communication details -
26 #. **ODL Node** – 1 or 3 Node ODL Environment should be used
27 #. **Switch Node** - 2 or 3 Nodes with OVS 2.6
32 .. literalinclude:: topologies/default-topology.txt
38 #. 1 controller with 2 OVS for functional testing
39 #. 3 controller with 2 OVS for functional testing
45 Test Suite Requirements
46 =======================
51 In test suit bringup build the topology as described in the Test Topology. Bring all the tunnels UP.
56 Final steps after all tests in suite are done. This should include any cleanup, sanity checks,
57 configuration etc. that needs to be done once all test cases in suite are done.
62 Capture any debugging information that is captured at start of suite and end of suite.
68 Verify Tunnel Creation with enabled IFM Bypass
69 ----------------------------------------------
70 Change the config parameter to enable IFM Bypass of ITM provisioning and Verify Tunnel Creation is successful.
72 Test Steps and Pass Criteria
73 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
75 #. Create the VxLAN Tunnels between the OVS to OVS.
77 #. Verify that the tunnels are built properly between all the End Points with VxLan Encapsulation.
78 #. Change the configuration parameter as per the new way of ITM provisioning.
79 #. Verify the tunnel creation is successful.
82 Verify Tunnel Creation with disabled IFM Bypass
83 -----------------------------------------------
84 Change the config parameter to enable without IFM Bypass of ITM provisioning and Verify Tunnel Creation is successful.
86 Test Steps and Pass Criteria
87 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
89 #. Create the VxLAN Tunnels between the OVS to OVS.
91 #. Verify that the tunnels are built properly between all the End Points with VxLan Encapsulation.
92 #. Change the configuration parameter as per the old way of ITM provisioning.
93 #. Verify the tunnel creation is successful.
96 Change ITM provisioning parameter to enable IFM Bypass
97 ------------------------------------------------------
98 Clean up existing ITM config, change ITM provisioning parameter to provide IFM Bypass, Verify ITM creation succeeds.
100 Test Steps and Pass Criteria
101 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103 #. Create the VxLAN Tunnels between the OVS to OVS.
105 #. Check for any existing ITM configuration in the system.
106 #. Do a clean up of all the existing ITM configuration.
107 #. Configure the ITM as per the new way of provisioning.
108 #. Verify the tunnel creation is successful.
110 Change ITM provisioning parameter to disable IFM Bypass
111 -------------------------------------------------------
112 Clean up existing ITM config, change ITM provisioning parameter to disable IFM Bypass, Verify ITM creation succeeds.
114 Test Steps and Pass Criteria
115 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
117 #. Create the VxLAN Tunnels between the OVS to OVS.
119 #. Check for any existing ITM configuration in the system.
120 #. Do a clean up of all the existing ITM configuration.
121 #. Configure the ITM as per the old way of provisioning
122 #. Verify the tunnel creation is successful
125 Bring DOWN the datapath
126 -----------------------
127 Configure ITM tunnel Mesh, Bring DOWN the datapath and Verify Tunnel status is updated in ODL.
129 Test Steps and Pass Criteria
130 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
132 #. Create the VxLAN Tunnels between the OVS to OVS.
134 #. Verify that the tunnels are built properly between all the End Points with VxLan Encapsulation.
135 #. Configure the ITM tunnel mesh.
136 #. Verify the tunnel creation is successful.
137 #. Bring down the datapath on the system.
138 #. Verify the tunnel status is updated in ODL.
141 Bring UP the datapath
142 ------------------------
143 Configure ITM tunnel Mesh, Bring UP the datapath and Verify Tunnel status is updated in ODL.
145 Test Steps and Pass Criteria
146 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
148 #. Create the VxLAN Tunnels between the OVS to OVS.
150 #. Configure the ITM tunnel mesh.
151 #. Verify the tunnel creation is successful.
152 #. Bring UP the datapath on the system.
153 #. Verify the tunnel status is updated in ODL.
156 Enable BFD Monitoring for ITM Tunnels
157 -------------------------------------
158 Change ITM config parameters to enable IFM Bypass and Verify BFD monitoring can be enabled for ITM tunnels.
160 Test Steps and Pass Criteria
161 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
163 #. And configure the tunnel monitoring to BFD.
165 #. Bring up the ITM config as per the new way of provisioning.
166 #. Verify the tunnel creation is successful.
167 #. Verify whether the BFD monitoring is enabled.
170 Disable BFD Monitoring for ITM Tunnels
171 --------------------------------------
172 Change ITM config parameters to enable IFM Bypass and Verify BFD monitoring can be disabled for ITM tunnels
174 Test Steps and Pass Criteria
175 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
177 #. Configure the tunnel monitoring to BFD.
179 #. Bring up the ITM config as per the new way of provisioning.
180 #. Verify the tunnel creation is successful.
181 #. Disable BFD monitoring.
182 #. Verify whether the BFD monitoring is disabled
185 Enable/Disable BFD to verify tunnel status alarm
186 ------------------------------------------------
187 Enable BFD and check for the data path alarm and as well as control path alarms.
189 Test Steps and Pass Criteria
190 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
192 #. Configure the tunnel monitoring to BFD.
194 #. Bring up the ITM config as per the new way of provisioning.
195 #. Verify the tunnel creation is successful.
196 #. Verify whether the BFD monitoring is enabled.
197 #. Bring down the tunnel and check for the Alarms.
198 #. Disable alarm support and verify whether alarm is not reporting.
201 Verify Tunnel down alarm is reported
202 ------------------------------------
203 Enable Tunnel status alarm and Bring down the Tunnel port, and verify Tunnel down alarm is reported.
205 Test Steps and Pass Criteria
206 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
208 #. Configure the tunnel monitoring to BFD.
210 #. Bring up the ITM config as per the new way of provisioning.
211 #. Verify the tunnel creation is successful.
212 #. Verify whether the BFD monitoring is enabled.
213 #. Enable the alarms for the tunnel UP/DOWN notification.
214 #. Bring down the tunnel and check for the Alarms.
217 Verify Tunnel status for the Disconnected DPN
218 ---------------------------------------------
219 Disconnect DPN from ODL and verify Tunnel status is shown as UNKNOWN for the Disconnected DPN.
221 Test Steps and Pass Criteria
222 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
224 #. And configure the tunnel monitoring to BFD.
226 #. Bring up the ITM config as per the new way of provisioning.
227 #. Verify the tunnel creation is successful.
228 #. Disconnect the DPN from the ODL.
229 #. Verify tunnel status is shown as ‘UNKNOWN’ for the disconnected DPN.
232 Verify Tunnel down alarm is cleared
233 -----------------------------------
234 Enable Tunnel status alarm and Bring up the Tunnel port which is down, and verify Tunnel down alarm is cleared.
236 Test Steps and Pass Criteria
237 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
239 #. And configure the tunnel monitoring to BFD.
241 #. Bring up the ITM config as per the new way of provisioning.
242 #. Verify the tunnel creation is successful.
243 #. Enable the alarms for the tunnel UP/DOWN notification.
244 #. Bring ‘DOWN’ the tunnel and check for the alarm notification.
249 Create ITM with provisioning config parameter set to true, Perform ODL reboot and Verify dataplane is intact.
251 Test Steps and Pass Criteria
252 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
254 #. Create the VxLAN Tunnels between the OVS to OVS.
256 #. Bring up the ITM config as per the new way of provisioning.
258 #. Verify the dataplane is intact.
261 Verify Re-sync is successful once connection is up
262 --------------------------------------------------
263 Create ITM with provisioning config parameter set to true for IFM Bypass, bring down control plane
264 connection(between ODL--OVS), modify ODL config, Verify Re-sync is successful once connection is up.
266 Test Steps and Pass Criteria
267 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
269 #. Create the VxLAN Tunnels between the OVS to OVS.
271 #. Bring up the ITM config as per the new way of provisioning.
272 #. Bring down the control plane connection between ODL – OVS.
273 #. Modify ODL configuration.
274 #. Check whether the Re-sync is successful once the connection is UP.
277 Verify ITM creation with 2 DPNs
278 -------------------------------
280 Test Steps and Pass Criteria
281 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
283 #. Create the VxLAN Tunnels between the OVS to OVS.
285 #. Check for any existing ITM configuration in the system.
286 #. Do a clean up of all the existing ITM configuration.
287 #. Configure the ITM as per the old way of provisioning
288 #. Verify the tunnel creation is successful
293 Add new TEP's and verify Creation is successful
295 Test Steps and Pass Criteria
296 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
298 #. Create the VxLAN Tunnels between the OVS to OVS.
300 #. Verify that the tunnels are built properly between all the End Points with VxLan Encapsulation.
301 #. Add new TEP’s to the existing configuration.
302 #. Monitor the time taken for tunnel addition and flow programming.
303 #. Verify the tunnel creation is successful.
308 Delete few TEP's and verify Deletion is successful and no stale(flows,config) is left.
310 Test Steps and Pass Criteria
311 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
313 #. Create the VxLAN Tunnels between the OVS to OVS.
315 #. Verify that the tunnels are built properly between all the End Points with VxLan Encapsulation.
316 #. Delete the newly added TEP configuration.
317 #. Monitor the time taken for tunnel deletion and flow re-programming.
318 #. Verify the deletion is successful and no stale entries left.
321 Verify ITM creation by Re-adding TEPs
322 -------------------------------------
323 Re-add deleted TEP's and Verify ITM creation is successful
325 Test Steps and Pass Criteria
326 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
328 #. Create the VxLAN Tunnels between the OVS to OVS.
330 #. Verify that the tunnels are built properly between all the End Points with VxLan Encapsulation.
331 #. Re-add the deleted TEP entries
332 #. Monitor the time taken for tunnel re-addition and flow programming
333 #. Verify the tunnel creation is successful.
336 Verify Deletion of All TEPs
337 ---------------------------
338 Delete all TEP's and verify Deletion is successful and no stale(flows,config) is left
340 Test Steps and Pass Criteria
341 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
343 #. Create the VxLAN Tunnels between the OVS to OVS.
345 #. Verify that the tunnels are built properly between all the End Points with VxLan Encapsulation.
346 #. Delete all the TEP entries.
347 #. Monitor the time taken for tunnel deletion and flow re-programming
348 #. Verify the deletion is successful and no stale entries left.
357 Who is contributing test cases? In case of multiple authors, designate a
358 primary assignee and other contributors. Primary assignee is also expected to
359 be maintainer once test code is in.
376 * Link to implementation patche(s) in CSIT