aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS/Sfc/Sfc.py
diff options
context:
space:
mode:
authorwuwenbin2 <wuwenbin2@huawei.com>2016-07-08 15:49:06 +0800
committerJose Lausuch <jose.lausuch@ericsson.com>2016-07-08 10:27:23 +0000
commitdb9fce16527573a7b81978fa15d03ebf0e937e94 (patch)
tree2500e71cb751f2308f3ec9aed1bd621d99a5f3e0 /testcases/Controllers/ONOS/Sfc/Sfc.py
parent037679cb6390c69c309d441e574715a26577b674 (diff)
Fix onos sfc's block.
Add ping check before login. Change-Id: If93809ddf727246db453208c79a8e4ecaa288c51 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
Diffstat (limited to 'testcases/Controllers/ONOS/Sfc/Sfc.py')
-rw-r--r--testcases/Controllers/ONOS/Sfc/Sfc.py12
1 files changed, 6 insertions, 6 deletions
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")