Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / tsdr / HSQLDB / 060_syslog_Collector.robot
index fbd14ec6af9aa3d77de2b4c1be3f4966ca17c7ae..d06003e9aa65afee2f906a18508bf5cb2da733c3 100644 (file)
@@ -11,18 +11,19 @@ Variables         ../../../variables/Variables.py
 *** Test Cases ***
 Verification of TSDR HSQLDB Feature Installation
     [Documentation]    Install and Verify the TSDR Cassandra Syslog Features
-    COMMENT    Install a Feature    odl-tsdr-hsqldb-all    ${CONTROLLER}    ${KARAF_SHELL_PORT}    60
-    COMMENT    Install a Feature    odl-tsdr-syslog-collector    ${CONTROLLER}    ${KARAF_SHELL_PORT}    60
+    COMMENT    Install a Feature    odl-tsdr-hsqldb-all    ${ODL_SYSTEM_IP}    ${KARAF_SHELL_PORT}    60
+    COMMENT    Install a Feature    odl-tsdr-syslog-collector    ${ODL_SYSTEM_IP}    ${KARAF_SHELL_PORT}    60
     Wait Until Keyword Succeeds    24x    10 sec    Check Karaf Log Has Messages    tsdr.syslog
     Verify Feature Is Installed    odl-tsdr-hsqldb
     Verify Feature Is Installed    odl-tsdr-syslog-collector
 
 Sending syslog to ODL Syslog collector using Logger command
     [Documentation]    Verifying if syslogs is getting generated.
-    : 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
     Wait Until Keyword Succeeds    24x    10 sec    Check HSQLDB    1    SYSLOG | grep SYSLOG | wc -l
 
 Verifying TSDR Data Store For Syslog Entries