Vtn Manager Pathpolicy test in csit
[integration/test.git] / csit / suites / vtn / VTN_Mgr_OF13 / 010__vtn_manager_pathpolicy.robot
index 83b841154d00d0aaa8bd7b46f372ea4ad029e0cc..addeff891d313a45a05272cb9d7b1341f2bbce72 100644 (file)
@@ -1,5 +1,5 @@
 *** Settings ***
-Documentation     Test suite for VTN Manager using OF13
+Documentation     Test suite for VTN Manager PathPolicy using OF13
 Suite Setup       Start PathSuiteVtnMaTest
 Suite Teardown    Stop PathSuiteVtnMaTest
 Resource          ../../../libraries/VtnMaKeywords.robot
@@ -11,19 +11,19 @@ ${pathpolicydata}    {"id": 1,"default": 100000,"cost": [{"location": {"node": {
 *** Test Cases ***
 Check if switch1 detected
     [Documentation]    Check if openflow:1 is detected
-    BuiltIn.Wait_Until_Keyword_Succeeds    12     3    Fetch vtn switch inventory     openflow:1
+    BuiltIn.Wait_Until_Keyword_Succeeds    12    3    Fetch vtn switch inventory    openflow:1
 
 Check if switch2 detected
     [Documentation]    Check if openflow:2 is detected
-    BuiltIn.Wait_Until_Keyword_Succeeds    3     1    Fetch vtn switch inventory     openflow:2
+    BuiltIn.Wait_Until_Keyword_Succeeds    3    1    Fetch vtn switch inventory    openflow:2
 
 Check if switch3 detected
     [Documentation]    Check if openflow:3 is detected
-    BuiltIn.Wait_Until_Keyword_Succeeds    3     1    Fetch vtn switch inventory     openflow:3
+    BuiltIn.Wait_Until_Keyword_Succeeds    3    1    Fetch vtn switch inventory    openflow:3
 
 Check if switch4 detected
     [Documentation]    Check if openflow:4 is detected
-    BuiltIn.Wait_Until_Keyword_Succeeds    3     1    Fetch vtn switch inventory     openflow:4
+    BuiltIn.Wait_Until_Keyword_Succeeds    3    1    Fetch vtn switch inventory    openflow:4
 
 Add a vtn Tenant_path
     [Documentation]    Add a vtn Tenant_path
@@ -46,7 +46,7 @@ Add a portmap for interface if1_path
 
 Add a interface If2_path
     [Documentation]    Add a interface if2_path into vBrdige vBridge1
-    Add a interface    Tenant_path    vBridge1    if2_path   {}
+    Add a interface    Tenant_path    vBridge1    if2_path    {}
 
 Add a portmap for interface if2_path
     [Documentation]    Create a portmap on Interface if2_path of vBridge1
@@ -61,8 +61,8 @@ Ping h1 to h2 before path policy
 
 Verify flowEntryBeforePathPolicy
     [Documentation]    Checking Flows on switch s1 and s3
-    [Tags]    Switch
-    Verify flowEntryBeforePathPolicy
+    [Tags]    exclude
+    Verify flowEntryPathPolicy    OF13    ${in_port}    ${out_before_pathpolicy}
 
 Add a flowcondition flowcond_path
     [Documentation]    Create a flowcondition flowcond_path
@@ -72,7 +72,7 @@ Add a flowcondition flowcond_path
     ${matchElement}=    Create Dictionary    index=1    ethernet=${ethernet}    inetMatch=${inetMatch}
     @{matchlist}    Create List    ${matchElement}
     ${flowcond_data}=    Create Dictionary    name=flowcond_path    match=${matchlist}
-    Add a flowcondition  flowcond_path    ${flowcond_data}
+    Add a flowcondition    flowcond_path    ${flowcond_data}
 
 Add a pathmap
     [Documentation]    Create a pathmap in the vtn
@@ -96,8 +96,8 @@ Ping h1 to h2 after path policy
 
 Verify flowEntryAfterPathPolicy
     [Documentation]    Checking Flows on switch s1 and s3
-    [Tags]    Switch
-    Verify flowEntryAfterPathPolicy
+    [Tags]    exclude
+    Verify flowEntryPathPolicy    OF13    ${in_port}    ${out_after_pathpolicy}
 
 Delete a pathmap
     [Documentation]    Delete a pathmap
@@ -122,7 +122,3 @@ Delete a flowcondition
 Delete a vtn Tenant_path
     [Documentation]    Delete a vtn Tenant_path
     Delete a vtn    Tenant_path
-
-
-
-