From db9fce16527573a7b81978fa15d03ebf0e937e94 Mon Sep 17 00:00:00 2001 From: wuwenbin2 Date: Fri, 8 Jul 2016 15:49:06 +0800 Subject: Fix onos sfc's block. Add ping check before login. Change-Id: If93809ddf727246db453208c79a8e4ecaa288c51 Signed-off-by: wuwenbin2 --- testcases/Controllers/ONOS/Sfc/Sfc.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'testcases/Controllers/ONOS/Sfc/Sfc.py') diff --git a/testcases/Controllers/ONOS/Sfc/Sfc.py b/testcases/Controllers/ONOS/Sfc/Sfc.py index 94b24e68..dd012edb 100644 --- a/testcases/Controllers/ONOS/Sfc/Sfc.py +++ b/testcases/Controllers/ONOS/Sfc/Sfc.py @@ -94,8 +94,8 @@ class Sfc: logger.error("\t\t : Floating Ip NOT attached to VM ") print ("\n###########################################################\n") ######################################################################## - logger.info("TestCase 3 : Configure SFC [Portair,PortGroup,\ - Flow classifer") + logger.info( + "TestCase 3 : Configure SFC [Portair,PortGroup,Flow classifer]") ######################################################################### logger.info("\t3.1 Creation of Port Pair") if (Sfc_obj.createPortPair() == 201): @@ -133,8 +133,8 @@ class Sfc: logger.error("\t\t : Flow Classifier NOT successfully Created") print ("\n###########################################################\n") ######################################################################## - logger.info("TestCase 4 : Configure Port Chain and verify the flows are\ - added.") + logger.info( + "TestCase 4 : Configure Port Chain and verify flows are added") ######################################################################### logger.info("\t4.1 Creation of PortChain") if (Sfc_obj.createPortChain() == 201): @@ -185,8 +185,8 @@ class Sfc: if (Sfc_obj.deleteFlowClassifier() == 204): if (Sfc_obj.deletePortGroup() == 204): if (Sfc_obj.deletePortPair() == 204): - logger.info("\t\tSFC configuration is deleted \ - successfully") + logger.info( + "\t\tSFC configuration is deleted successfully") else: logger.error("\t\t : Port pair configuration is NOT\ deleted successfully") -- cgit 1.2.3-korg