def CASE4(self, main):
     """
     1 ) Sets up 3-nodes Onos-cluster
     2 ) Start 4x4 Leaf-Spine topology
     3 ) Pingall
     4 ) Cause random ONOS failure
     5 ) Pingall
     6 ) Repeat 3 ), 4 ), 5 ) 'failures' times
     """
     try:
         from tests.USECASE.SegmentRouting.SRHighAvailability.dependencies.SRHAFuncs import SRHAFuncs
     except ImportError:
         main.log.error("SRHAFuncs not found. Exiting the test")
         main.cleanAndExit()
     try:
         main.funcs
     except (NameError, AttributeError):
         main.funcs = SRHAFuncs()
     main.funcs.runTest(main, 4, 3, '4x4', 350, True, False)
 def CASE5(self, main):
     """
     1 ) Sets up 3-nodes Onos-cluster
     2 ) Start 2x2 Leaf-Spine topology
     3 ) Pingall
     4 ) Cause sequential ONOS failure
     5 ) Pingall
     6 ) Cause sequential Spine failure
     7 ) Pingall
     8 ) Repeat 3 ), 4 ), 5 ), 6 ), 7 ), 'failures' times
     """
     try:
         from tests.USECASE.SegmentRouting.SRHighAvailability.dependencies.SRHAFuncs import SRHAFuncs
     except ImportError:
         main.log.error("SRHAFuncs not found. Exiting the test")
         main.cleanAndExit()
     try:
         main.funcs
     except (NameError, AttributeError):
         main.funcs = SRHAFuncs()
     main.funcs.runTest(main, 5, 3, '2x2', 116, False, True)