2 Documentation Test suite for HSQLDB DataStore Syslog Stats Verification
6 Library ../../../libraries/Common.py
7 Resource ../../../libraries/KarafKeywords.robot
8 Resource ../../../libraries/TsdrUtils.robot
9 Variables ../../../variables/Variables.py
12 Verification of TSDR HSQLDB Feature Installation
13 [Documentation] Install and Verify the TSDR Cassandra Syslog Features
14 COMMENT Install a Feature odl-tsdr-hsqldb-all ${ODL_SYSTEM_IP} ${KARAF_SHELL_PORT} 60
15 COMMENT Install a Feature odl-tsdr-syslog-collector ${ODL_SYSTEM_IP} ${KARAF_SHELL_PORT} 60
16 Wait Until Keyword Succeeds 24x 10 sec Check Karaf Log Has Messages tsdr.syslog
17 Verify Feature Is Installed odl-tsdr-hsqldb
18 Verify Feature Is Installed odl-tsdr-syslog-collector
20 Sending syslog to ODL Syslog collector using Logger command
21 [Documentation] Verifying if syslogs is getting generated.
22 : FOR ${key} IN ZIP &{syslog_facility}
23 \ ${value}= Get From Dictionary ${syslog_facility} ${key}
24 \ ${f_value}= Evaluate ${value} * 8
25 \ Generate Syslog ${f_value}
26 Wait Until Keyword Succeeds 24x 10 sec Check HSQLDB 1 SYSLOG | grep SYSLOG | wc -l
28 Verifying TSDR Data Store For Syslog Entries
29 [Documentation] Verifying if syslogs is getting stored.
30 ${output}= Issue Command On Karaf Console tsdr:list SYSLOG
31 Should Contain X Times ${output} SYSLOG 1
32 Should Contain ${output} ${MESSAGE_PATTERN}