Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / libraries / ToolsSystem.robot
index 3842fb9a78d7a97b3d3f1f8751eb88c31f79a47d..f7c5f0fa7fd32be2b7a8cfab6a06394c28756fa3 100644 (file)
@@ -11,14 +11,16 @@ Resource          ../variables/Variables.robot
 
 *** Keywords ***
 Get Tools System Nodes Data
-    : FOR    ${i}    IN RANGE    1    ${NUM_TOOLS_SYSTEM} + 1
-    \    ${ip} =    BuiltIn.Set Variable    ${TOOLS_SYSTEM_${i}_IP}
-    \    Collections.Append To List    ${TOOLS_SYSTEM_ALL_IPS}    ${ip}
-    \    ${conn_id} =    SSHLibrary.Open Connection    ${ip}    prompt=${DEFAULT_LINUX_PROMPT}    timeout=30s
-    \    Collections.Append To List    ${TOOLS_SYSTEM_ALL_CONN_IDS}    ${conn_id}
+    FOR    ${i}    IN RANGE    1    ${NUM_TOOLS_SYSTEM} + 1
+        ${ip} =    BuiltIn.Set Variable    ${TOOLS_SYSTEM_${i}_IP}
+        Collections.Append To List    ${TOOLS_SYSTEM_ALL_IPS}    ${ip}
+        ${conn_id} =    SSHLibrary.Open Connection    ${ip}    prompt=${DEFAULT_LINUX_PROMPT}    timeout=30s
+        Collections.Append To List    ${TOOLS_SYSTEM_ALL_CONN_IDS}    ${conn_id}
+    END
 
 Run Command On All Tools Systems
     [Arguments]    ${cmd}
     [Documentation]    Run command on all tools systems
-    : FOR    ${ip}    IN    @{TOOLS_SYSTEM_ALL_IPS}
-    \    Utils.Run Command On Remote System    ${ip}    ${cmd}
+    FOR    ${ip}    IN    @{TOOLS_SYSTEM_ALL_IPS}
+        Utils.Run Command On Remote System    ${ip}    ${cmd}
+    END