Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / sxp / cluster-routing / 020_Sxp_Node_Switching.robot
index 1ec947f55a82db6daac8227848e82c8697d6e554..2fb0069909be7e3915ad7e728b9ed801590cb2f2 100644 (file)
@@ -113,8 +113,9 @@ Clean Custom SXP Cluster
 Add Bindings To Node
     [Arguments]    ${node}    ${session}
     [Documentation]    Setup initial bindings to SXP device/controller ${node} with ${session}
-    : FOR    ${i}    IN RANGE    1    ${BINDINGS}
-    \    SxpLib.Add Bindings    ${i}0    ${i}.${i}.${i}.${i}/32    node=${node}    session=${session}
+    FOR    ${i}    IN RANGE    1    ${BINDINGS}
+        SxpLib.Add Bindings    ${i}0    ${i}.${i}.${i}.${i}/32    node=${node}    session=${session}
+    END
 
 Isolate SXP Controller
     [Arguments]    ${controller_index}
@@ -145,5 +146,6 @@ Check Bindings
     [Arguments]    ${node}    ${session}
     [Documentation]    Check that bindings were propagated to the peer ${node}
     ${resp} =    SxpLib.Get Bindings    node=${node}    session=${session}
-    : FOR    ${i}    IN RANGE    1    ${BINDINGS}
-    \    SxpLib.Should Contain Binding    ${resp}    ${i}0    ${i}.${i}.${i}.${i}/32
+    FOR    ${i}    IN RANGE    1    ${BINDINGS}
+        SxpLib.Should Contain Binding    ${resp}    ${i}0    ${i}.${i}.${i}.${i}/32
+    END