Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / tsdr / H2 / 010_InterfaceMetrics.robot
index ed1c4a52d5c808f0f3ed9c200b7ef459f22a30c0..a81ca1d98e9bcb7a759e83e2e93e6f56e52b63c1 100644 (file)
@@ -33,19 +33,22 @@ Verification TSDR Command is exist in Help
     Should Contain    ${output}    tsdr:list
     Should Contain    ${output}    tsdr:purgeall
     ${output}=    Issue Command On Karaf Console    tsdr:list\t\t
-    : FOR    ${list}    IN    @{CATEGORY}
-    \    Should Contain    ${output}    ${list}
+    FOR    ${list}    IN    @{CATEGORY}
+        Should Contain    ${output}    ${list}
+    END
     Wait Until Keyword Succeeds    60s    1s    Verify the Metric is Collected?    ${TSDR_PORTSTATS}    openflow
 
 Verify PortStats On Karaf console
     [Documentation]    Verify the InterfaceMetrics(PortStats),attributes using ${TSDR_PORTSTATS}
-    : FOR    ${list}    IN    @{INTERFACE_METRICS}
-    \    ${tsdr_cmd}=    Concatenate the String    ${TSDR_PORTSTATS}    | grep ${list} | head
-    \    ${output}=    Issue Command On Karaf Console    ${tsdr_cmd}    ${ODL_SYSTEM_IP}    ${KARAF_SHELL_PORT}    30
-    \    Should Contain    ${output}    ${list}
+    FOR    ${list}    IN    @{INTERFACE_METRICS}
+        ${tsdr_cmd}=    Concatenate the String    ${TSDR_PORTSTATS}    | grep ${list} | head
+        ${output}=    Issue Command On Karaf Console    ${tsdr_cmd}    ${ODL_SYSTEM_IP}    ${KARAF_SHELL_PORT}    30
+        Should Contain    ${output}    ${list}
+    END
 
 Verify PortStats-Attributes on H2 Datastore using JDBC Client
     [Documentation]    Verify the PortStats,attributes on H2 Datastore using JDBC Client
-    : FOR    ${list}    IN    @{INTERFACE_METRICS}
-    \    ${output}=    Query Metrics on H2 Datastore    PORTSTATS    ${list}
-    \    Should Contain    ${output}    ${list}
+    FOR    ${list}    IN    @{INTERFACE_METRICS}
+        ${output}=    Query Metrics on H2 Datastore    PORTSTATS    ${list}
+        Should Contain    ${output}    ${list}
+    END