Freeze upstream versions
[netvirt.git] / docs / specs / oxygen / service-recovery-elan.rst
1
2 .. contents:: Table of Contents
3    :depth: 3
4
5 ===============================
6 ELAN Service Recovery Test Plan
7 ===============================
8
9 Test plan for testing service recovery manager functionalities.
10
11 Test Setup
12 ==========
13 Test setup consists of ODL with `odl-netvirt-openstack` feature installed and
14 minimum two DPNs connected to ODL over OVSDB and OpenflowPlugin.
15
16 Hardware Requirements
17 ---------------------
18 N.A
19
20 Software Requirements
21 --------------------------
22 Openstack queens + OVS 2.8
23
24 Test Suite Requirements
25 =======================
26
27 Test Suite Bringup
28 ------------------
29 Following steps are followed at the beginning of test suite:
30
31 * Bring up controller with `odl-netvirt-openstack` feature installed
32 * Bring up minimum two DPNs with tunnel between them
33 * Create network
34 * Create subnet
35 * Create at least two VMs in each DPN
36 * Verify table 50/51 flows in both DPNs
37
38 Test Suite Cleanup
39 ------------------
40 Following steps are followed at the end of test suite:
41
42 * Delete VMs
43 * Delete subnet
44 * Delete network
45
46 Debugging
47 ---------
48 Capture any debugging information that is captured at start of suite and end of suite.
49
50 Test Cases
51 ==========
52
53 ELAN Service Recovery
54 ---------------------
55 Verify SRM by recovering ELAN Service.
56
57 Test Steps and Pass Criteria
58 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
59
60 #. Delete table 50/51 flow(s) corresponding to MAC address(es) of VM(s) (try deleting multiple flows)
61    in any of the DPNs manually or via REST
62 #. Verify if table 50/51 flow(s) is/are deleted in both controller and OVS.
63 #. Login to karaf and use elan service recovery CLI
64 #. Verify if corresponding table flow(s) is/are recovered in on both controller and ovs
65
66 ELAN Interface Recovery
67 -----------------------
68 Verify SRM by recovering ELAN Interface.
69
70 Test Steps and Pass Criteria
71 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72
73 #. Delete table 50/51 flow corresponding to MAC address of any of the VMs.
74 #. Verify if table 50/51 flow is deleted in both controller and OVS.
75 #. Login to karaf and use elan interface recovery CLI
76 #. Verify if corresponding table flow is recovered in both controller and OVS.
77
78 Implementation
79 ==============
80
81 Assignee(s)
82 -----------
83
84 Primary assignee:
85   Swati Niture (swati.udhavrao.niture@ericsson.com)
86
87
88 Other contributors:
89   N.A.
90
91 Work Items
92 ----------
93 N.A.
94
95 References
96 ==========
97
98 http://docs.opendaylight.org/en/latest/submodules/genius/docs/specs/service-recovery.html#srm-operations
99
100
101