Test-plan for ELAN Recovery: 09/72409/13
authoreswanit <swati.udhavrao.niture@ericsson.com>
Tue, 29 May 2018 12:22:06 +0000 (17:52 +0530)
committerSam Hague <shague@redhat.com>
Fri, 8 Jun 2018 17:12:42 +0000 (17:12 +0000)
TC1 : ELAN Service Recovery
TC2 : ELAN Interface Recovery

Change-Id: I38b1a4f859369ce11916c9e68649dbbd434f3e1b
Signed-off-by: eswanit <swati.udhavrao.niture@ericsson.com>
docs/specs/oxygen/index.rst
docs/specs/oxygen/service-recovery-elan.rst [new file with mode: 0644]

index ca4ecde28dce2685d28883f1a33b1883a13204cc..dad445077e74dbaea38920c41039c88fbdf22cd4 100644 (file)
@@ -16,6 +16,7 @@ Contents:
    DHCP Server with Dynamic Allocation Pool <dhcp-dynamic-allocation-pool>
    Discovery of directly connected PNFs in Flat/VLAN provider networks <discovery_of_directly_connected_pnfs>
    ECMP Support for BGP based L3VPN <ecmp-bgp-l3vpn>
+   ELAN Service Recovery Test Plan <service-recovery-elan>
    Element Counters <element-counters>
    Faster DC-GW Failure Detection <faster-dcgw-failure-detection>
    Hairpinning of floating IPs in flat/VLAN provider networks <hairpinning-flat-vlan>
diff --git a/docs/specs/oxygen/service-recovery-elan.rst b/docs/specs/oxygen/service-recovery-elan.rst
new file mode 100644 (file)
index 0000000..30029db
--- /dev/null
@@ -0,0 +1,101 @@
+
+.. contents:: Table of Contents
+   :depth: 3
+
+===============================
+ELAN Service Recovery Test Plan
+===============================
+
+Test plan for testing service recovery manager functionalities.
+
+Test Setup
+==========
+Test setup consists of ODL with `odl-netvirt-openstack` feature installed and
+minimum two DPNs connected to ODL over OVSDB and OpenflowPlugin.
+
+Hardware Requirements
+---------------------
+N.A
+
+Software Requirements
+--------------------------
+Openstack queens + OVS 2.8
+
+Test Suite Requirements
+=======================
+
+Test Suite Bringup
+------------------
+Following steps are followed at the beginning of test suite:
+
+* Bring up controller with `odl-netvirt-openstack` feature installed
+* Bring up minimum two DPNs with tunnel between them
+* Create network
+* Create subnet
+* Create at least two VMs in each DPN
+* Verify table 50/51 flows in both DPNs
+
+Test Suite Cleanup
+------------------
+Following steps are followed at the end of test suite:
+
+* Delete VMs
+* Delete subnet
+* Delete network
+
+Debugging
+---------
+Capture any debugging information that is captured at start of suite and end of suite.
+
+Test Cases
+==========
+
+ELAN Service Recovery
+---------------------
+Verify SRM by recovering ELAN Service.
+
+Test Steps and Pass Criteria
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+#. Delete table 50/51 flow(s) corresponding to MAC address(es) of VM(s) (try deleting multiple flows)
+   in any of the DPNs manually or via REST
+#. Verify if table 50/51 flow(s) is/are deleted in both controller and OVS.
+#. Login to karaf and use elan service recovery CLI
+#. Verify if corresponding table flow(s) is/are recovered in on both controller and ovs
+
+ELAN Interface Recovery
+-----------------------
+Verify SRM by recovering ELAN Interface.
+
+Test Steps and Pass Criteria
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+#. Delete table 50/51 flow corresponding to MAC address of any of the VMs.
+#. Verify if table 50/51 flow is deleted in both controller and OVS.
+#. Login to karaf and use elan interface recovery CLI
+#. Verify if corresponding table flow is recovered in both controller and OVS.
+
+Implementation
+==============
+
+Assignee(s)
+-----------
+
+Primary assignee:
+  Swati Niture (swati.udhavrao.niture@ericsson.com)
+
+
+Other contributors:
+  N.A.
+
+Work Items
+----------
+N.A.
+
+References
+==========
+
+http://docs.opendaylight.org/en/latest/submodules/genius/docs/specs/service-recovery.html#srm-operations
+
+
+