[CORD-2481] Test plan for Multicast (1.12.1-RC2)
Change-Id: I899752196c8c7539867b1dc66a9f662656dc149e
diff --git a/TestON/tests/USECASE/SegmentRouting/SRMulticast/SRMulticast.py b/TestON/tests/USECASE/SegmentRouting/SRMulticast/SRMulticast.py
index ae42d61..616ba4c 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRMulticast/SRMulticast.py
+++ b/TestON/tests/USECASE/SegmentRouting/SRMulticast/SRMulticast.py
@@ -4,8 +4,8 @@
def CASE1( self, main ):
"""
- Sets up 3 ONOS instance
- Start 2x2 topology
+ Sets up 3 ONOS instances
+ Start 2x2 topology of hardware switches
"""
try:
from tests.USECASE.SegmentRouting.SRMulticast.dependencies.SRMulticastTest import SRMulticastTest
@@ -21,3 +21,178 @@
topology='2x2',
onosNodes=1,
description="TBD" )
+
+ def CASE01( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Create a Multicast flow between a source and sink on the same dual-tor leaf
+ Verify flows and groups
+ Verify traffic
+ Remove sink
+ Verify flows and groups
+ """
+ pass
+
+ def CASE02( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Create a Multicast flow between a source and sink on different dual-tor leaves
+ Verify flows and groups
+ Verify traffic
+ Remove sink
+ Verify flows and groups
+ """
+ pass
+
+ def CASE03( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Create a Multicast flow between a source and sink on different leaves (sink on single-tor)
+ Verify flows and groups
+ Verify traffic
+ Remove sink
+ Verify flows and groups
+ """
+ pass
+
+ def CASE04( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE01 and CASE02
+ Verify flows and groups
+ Verify traffic
+ Remove sinks
+ Verify flows and groups
+ """
+ pass
+
+ def CASE05( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE02 and CASE03
+ Verify flows and groups
+ Verify traffic
+ Remove sinks
+ Verify flows and groups
+ """
+ pass
+
+ def CASE06( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE01 and CASE03
+ Verify flows and groups
+ Verify traffic
+ Remove sinks
+ Verify flows and groups
+ """
+ pass
+
+ def CASE07( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE01, CASE02 and CASE03
+ Verify flows and groups
+ Verify traffic
+ Remove sinks
+ Verify flows and groups
+ """
+ pass
+
+ def CASE08( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE07 with route removal
+ Verify flows and groups
+ """
+ pass
+
+ def CASE101( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE07 with a link failure (link ingress-spine)
+ Verify flows and groups
+ Verify traffic
+ """
+ pass
+
+ def CASE102( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE07 with a link failure (link spine-egress-dt-leaf)
+ Verify flows and groups
+ Verify traffic
+ """
+ pass
+
+ def CASE103( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE07 with a link failure (link spine-egress-st-leaf)
+ Verify flows and groups
+ Verify traffic
+ """
+ pass
+
+ def CASE201( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE07 with spine failure
+ Verify flows and groups
+ Verify traffic
+ """
+ pass
+
+ def CASE202( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE07 with ingress failure and recovery
+ Verify flows and groups are removed (failure)
+ Verify flows and groups (recovery)
+ Verify traffic (recovery)
+ """
+ pass
+
+ def CASE203( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE07 with egress-dt-leaf failure and recovery
+ Verify flows and groups are removed for the failing sink (failure)
+ Verify traffic on remaining sinks (failure)
+ Verify flows and groups (recovery)
+ Verify traffic (recovery)
+ """
+ pass
+
+ def CASE204( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE07 with egress-st-leaf failure and recovery
+ Verify flows and groups are removed for the failing sink (failure)
+ Verify traffic on remaining sinks (failure)
+ Verify flows and groups (recovery)
+ Verify traffic (recovery)
+ """
+ pass
+
+ def CASE205( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE07 with egress leaves failure and recovery
+ Verify flows and groups are removed for the failing sinks (failure)
+ Verify traffic on remaining sink (failure)
+ Verify flows and groups (recovery)
+ Verify traffic (recovery)
+ """
+ pass
+
+ def CASE301( self, main ):
+ """
+ Sets up 3 ONOS instances, start 2x5 topology
+ Combines CASE07 with ONOS failure and recovery
+ Verify flows and groups (failure)
+ Verify traffic (failure)
+ Verify flows and groups (recovery)
+ Verify traffic (recovery)
+ """
+ pass