Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / openstack / clustering / ha_l3_block_port.robot
index 9c981ea1cdc033ebb8668fad0353c2e2e64003db..07c6a8fc64c6458de3ad1a1beed22744ba85d269 100644 (file)
@@ -34,8 +34,9 @@ Create All Controller Sessions
 
 Create Networks
     [Documentation]    Create Network with neutron request.
-    : FOR    ${network}    IN    @{NETWORKS}
-    \    OpenStackOperations.Create Network    ${network}
+    FOR    ${network}    IN    @{NETWORKS}
+        OpenStackOperations.Create Network    ${network}
+    END
 
 Create Subnets For net_1
     [Documentation]    Create Sub Nets for the Networks with neutron request.
@@ -104,8 +105,9 @@ Create Router router_3
 
 Add Interfaces To Router
     [Documentation]    Add Interfaces
-    : FOR    ${interface}    IN    @{SUBNETS}
-    \    OpenStackOperations.Add Router Interface    @{ROUTERS}[2]    ${interface}
+    FOR    ${interface}    IN    @{SUBNETS}
+        OpenStackOperations.Add Router Interface    @{ROUTERS}[2]    ${interface}
+    END
 
 Verify Created Routers
     [Documentation]    Check created routers using northbound rest calls
@@ -144,30 +146,30 @@ Ping Vm Instance3 In net_1 From net_2
 Block Port On ODL1 Again
     [Documentation]    Block connection on first controller the second time
     ClusterManagement.Isolate_Member_From_List_Or_All    ${1}    protocol=tcp    port=${ODL_AKKA_PORT}
-    [Teardown]    OpenStackOperations.Get OvsDebugInfo
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
 Block Port On ODL2 Again
     [Documentation]    Block connection on second controller the second time
     ClusterManagement.Isolate_Member_From_List_Or_All    ${2}    protocol=tcp    port=${ODL_AKKA_PORT}
-    [Teardown]    OpenStackOperations.Get OvsDebugInfo
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
 Connectivity Tests From Vm Instance1 In net_1
     [Documentation]    ssh to the VM instance and test operations.
     ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[0]    @{NET_1_L3_VM_IPS}[0]    ${dst_list}
-    [Teardown]    OpenStackOperations.Get OvsDebugInfo
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
 Connectivity Tests From Vm Instance2 In net_1
     [Documentation]    ssh to the VM instance and test operations.
     ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[0]    @{NET_1_L3_VM_IPS}[1]    ${dst_list}
-    [Teardown]    OpenStackOperations.Get OvsDebugInfo
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
 Connectivity Tests From Vm Instance3 In net_1
     [Documentation]    ssh to the VM instance and test operations.
     ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[0]    @{NET_1_L3_VM_IPS}[2]    ${dst_list}
-    [Teardown]    OpenStackOperations.Get OvsDebugInfo
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
 Allow Port On ODL1 Again
     [Documentation]    Allow connection on first controller the second time
@@ -180,30 +182,30 @@ Allow Port On ODL2 Again
 Block Port On ODL2 Finally
     [Documentation]    Block connection on second controller for the last time
     ClusterManagement.Isolate_Member_From_List_Or_All    ${2}    protocol=tcp    port=${ODL_AKKA_PORT}
-    [Teardown]    OpenStackOperations.Get OvsDebugInfo
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
 Block Port On ODL3 Again
     [Documentation]    Block connection on the third controller for the second time
     ClusterManagement.Isolate_Member_From_List_Or_All    ${3}    protocol=tcp    port=${ODL_AKKA_PORT}
-    [Teardown]    OpenStackOperations.Get OvsDebugInfo
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
 Connectivity Tests From Vm Instance1 In net_2
     [Documentation]    ssh to the VM instance and test operations.
     ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[1]    @{NET_2_L3_VM_IPS}[0]    ${dst_list}
-    [Teardown]    OpenStackOperations.Get OvsDebugInfo
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
 Connectivity Tests From Vm Instance2 In net_2
     [Documentation]    ssh to the VM instance and test operations.
     ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[1]    @{NET_2_L3_VM_IPS}[1]    ${dst_list}
-    [Teardown]    OpenStackOperations.Get OvsDebugInfo
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
 Connectivity Tests From Vm Instance3 In net_2
     [Documentation]    ssh to the VM instance and test operations.
     ${dst_list} =    BuiltIn.Create List    @{NET_2_L3_VM_IPS}    @{NET_1_L3_VM_IPS}
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[1]    @{NET_2_L3_VM_IPS}[2]    ${dst_list}
-    [Teardown]    OpenStackOperations.Get OvsDebugInfo
+    [Teardown]    OpenStackOperations.Get Test Teardown Debugs    fail=False
 
 Allow Port On ODL2 Finally
     [Documentation]    Allow connection on second controller for the last time
@@ -215,18 +217,21 @@ Allow Port On ODL3 Again
 
 Delete Vm Instances In net_1
     [Documentation]    Delete Vm instances using instance names in net_1.
-    : FOR    ${vm}    IN    @{NET_1_VMS}
-    \    OpenStackOperations.Delete Vm Instance    ${vm}
+    FOR    ${vm}    IN    @{NET_1_VMS}
+        OpenStackOperations.Delete Vm Instance    ${vm}
+    END
 
 Delete Vm Instances In net_2
     [Documentation]    Delete Vm instances using instance names in net_2.
-    : FOR    ${vm}    IN    @{NET_2_VMS}
-    \    OpenStackOperations.Delete Vm Instance    ${vm}
+    FOR    ${vm}    IN    @{NET_2_VMS}
+        OpenStackOperations.Delete Vm Instance    ${vm}
+    END
 
 Delete Router Interfaces
     [Documentation]    Remove Interface to the subnets.
-    : FOR    ${interface}    IN    @{SUBNETS}
-    \    OpenStackOperations.Remove Interface    @{ROUTERS}[2]    ${interface}
+    FOR    ${interface}    IN    @{SUBNETS}
+        OpenStackOperations.Remove Interface    @{ROUTERS}[2]    ${interface}
+    END
 
 Delete Routers
     [Documentation]    Delete Router and Interface to the subnets.
@@ -249,8 +254,9 @@ Delete Sub Network In net_2
 
 Delete Networks
     [Documentation]    Delete Networks with neutron request.
-    : FOR    ${network}    IN    @{NETWORKS}
-    \    OpenStackOperations.Delete Network    ${network}
+    FOR    ${network}    IN    @{NETWORKS}
+        OpenStackOperations.Delete Network    ${network}
+    END
 
 Delete Security Group
     [Documentation]    Delete security groups with neutron request