Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / tsdr / Cassandra / 050_SyslogTable.robot
index f9fa59d88e9dd193d22b1e7b636cb9ab50b790b1..4fcd17f8d65caae93e1b53859a617d9facd9a6e2 100644 (file)
@@ -18,10 +18,11 @@ Verification of TSDR Cassandra Feature Installation
 
 Sending syslog to ODL Syslog collector using Logger command
     [Documentation]    Sending Syslogs to collector.
-    : FOR    ${key}    IN ZIP    &{syslog_facility}
-    \    ${value}=    Get From Dictionary    ${syslog_facility}    ${key}
-    \    ${f_value}=    Evaluate    ${value} * 8
-    \    Generate Syslog    ${f_value}
+    FOR    ${key}    IN ZIP    &{syslog_facility}
+        ${value}=    Get From Dictionary    ${syslog_facility}    ${key}
+        ${f_value}=    Evaluate    ${value} * 8
+        Generate Syslog    ${f_value}
+    END
 
 Verifying TSDR Data Store For Syslog Entries
     [Documentation]    Verifying if syslogs is getting stored.
@@ -29,9 +30,10 @@ Verifying TSDR Data Store For Syslog Entries
     ${metric_log}=    Verify the Metrics Syslog on Cassandra Client    grep DC=SYSLOG
     @{Syslogs}=    Split to lines    ${metric_log}
     ${iterator}=    Set Variable    0
-    : FOR    ${key}    IN ZIP    &{syslog_facility}
-    \    ${value}=    Get From Dictionary    ${syslog_facility}    ${key}
-    \    ${f_value}=    Evaluate    ${value} * 8
-    \    Should Contain    ${syslogs}[${iterator}]    ${MESSAGE}
-    \    Should Contain    ${syslogs}[${iterator}]    <${f_value}>
-    \    ${iterator}=    Evaluate    ${iterator} + 1
+    FOR    ${key}    IN ZIP    &{syslog_facility}
+        ${value}=    Get From Dictionary    ${syslog_facility}    ${key}
+        ${f_value}=    Evaluate    ${value} * 8
+        Should Contain    ${syslogs}[${iterator}]    ${MESSAGE}
+        Should Contain    ${syslogs}[${iterator}]    <${f_value}>
+        ${iterator}=    Evaluate    ${iterator} + 1
+    END