Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / sxp / cluster-binding / 010_Bindings_consistency.robot
index e57fba282658231dda67760a0c150ab0db8cdc58..f565c7823f71626322e80317d4e62d8cdc442fa2 100644 (file)
@@ -59,9 +59,11 @@ Isolation of SXP noservice follower Test Listener Part
 Setup Custom SXP Cluster
     [Arguments]    ${mode}    ${node}=${DEVICE_NODE_ID}    ${session}=${DEVICE_SESSION}
     [Documentation]    Setup custom SXP cluster topology with ${NUM_ODL_SYSTEM} nodes and one device
+    SxpClusterLib.Check Shards Status
     SxpClusterLib.Setup SXP Cluster    ${mode}
-    : FOR    ${i}    IN RANGE    1    25
-    \    SxpLib.Add Bindings    ${i}0    ${i}.${i}.${i}.${i}/32    node=${node}    session=${session}
+    FOR    ${i}    IN RANGE    1    25
+        SxpLib.Add Bindings    ${i}0    ${i}.${i}.${i}.${i}/32    node=${node}    session=${session}
+    END
 
 Isolate SXP Controller
     [Arguments]    ${controller_index}    ${node}    ${session}=ClusterManagement__session_${controller_index}
@@ -86,5 +88,6 @@ Check Bindings
     [Arguments]    ${node}    ${session}
     [Documentation]    Checks that bindings were propagated to Peer
     ${resp} =    SxpLib.Get Bindings    node=${node}    session=${session}
-    : FOR    ${i}    IN RANGE    1    25
-    \    SxpLib.Should Contain Binding    ${resp}    ${i}0    ${i}.${i}.${i}.${i}/32
+    FOR    ${i}    IN RANGE    1    25
+        SxpLib.Should Contain Binding    ${resp}    ${i}0    ${i}.${i}.${i}.${i}/32
+    END