Add robot test files for VTN Coordinator features
[integration/test.git] / test / csit / suites / vtn / VTN_C_OF10 / 020__vtn_vbrif_portmap.robot
similarity index 80%
rename from test/csit/suites/vtn/VTN_C_OF13/020__vtn_coordinator.robot
rename to test/csit/suites/vtn/VTN_C_OF10/020__vtn_vbrif_portmap.robot
index 78e3ca6608b028c473928f11d29d506112c27758..73ca2453a6f37241d9c9c9b041037ef330c27946 100644 (file)
@@ -9,49 +9,45 @@ Add a ODL Controller
     [Documentation]    Add a Controller
     Add a Controller    odc_test    ${CONTROLLER}
 
-Verify the Controller Status is up
+Verify the Controller Status is waiting_audit
     [Documentation]    Check Controller status
-    [Tags]    exclude
-    Wait Until Keyword Succeeds    32s    2s    Check Controller Status    odc_test    up
+    # Ping starts after 12sec of completing audit and controller status become "UP"
+    Wait Until Keyword Succeeds    12s    2s   Check Controller Status    odc_test   waiting_audit
+
+Audit a controller
+    [Documentation]    Trigger update audit
+    Audit Controller    odc_test
 
 Add a Vtn Tenant1
     [Documentation]    Create Vtn Tenant1
-    [Tags]    exclude
     Add a VTN    Tenant1    VTN_TEST
 
 Create VBR in VTN Tenant1
     [Documentation]    Create a VBR in Tenant1 as Vbridge1
-    [Tags]    exclude
     Create VBR in VTN    Tenant1    Vbridge1    odc_test
 
 Create VBRIF in VBRIDGE Vbridge1 Interface1
     [Documentation]    Create an interface to Vbridge1
-    [Tags]    exclude
     Create VBRIF in VBR    Tenant1    Vbridge1    Interface1    Interface1    201
 
 Create VBRIF in VBRIDGE Vbridge1 Interface2
     [Documentation]    Create an interface to Vbridge1
-    [Tags]    exclude
     Create VBRIF in VBR    Tenant1    Vbridge1    Interface2    Interface2    201
 
 Define Portmap for Interface1
     [Documentation]    Map Interface1 to a logical port
-    [Tags]    exclude
     Define Portmap for VBRIF    Tenant1    Vbridge1    Interface1    PP-OF:openflow:3-s3-eth1
 
 Define Portmap for Interface2
     [Documentation]    Map Interface2 to a logical port
-    [Tags]    exclude
     Define Portmap for VBRIF    Tenant1    Vbridge1    Interface2    PP-OF:openflow:2-s2-eth1
 
 Test Ping for Configuration1
     [Documentation]    ping between hosts in mininet
-    [Tags]    exclude
-    Wait Until Keyword Succeeds    30s    10s    Test Ping    h1    h3
+    Wait Until Keyword Succeeds   10s    2s    Test Ping    h1    h3
 
 Delete a VTN Tenant1
     [Documentation]    Delete Vtn Tenant1
-    [Tags]    exclude
     Delete a VTN    Tenant1
 
 Delete a Controller odc1