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
13 Verification of TSDR HSQLDB Feature Installation
14 [Documentation] Install and Verify the TSDR Cassandra Syslog Features
15 COMMENT Install a Feature odl-tsdr-hsqldb-all ${CONTROLLER} ${KARAF_SHELL_PORT} 60
16 COMMENT Install a Feature odl-tsdr-syslog-collector ${CONTROLLER} ${KARAF_SHELL_PORT} 60
17 Wait Until Keyword Succeeds 24x 10 sec Check Karaf Log Has Messages tsdr.syslog
18 Verify Feature Is Installed odl-tsdr-hsqldb
19 Verify Feature Is Installed odl-tsdr-syslog-collector
22 Sending syslog to ODL Syslog collector using Logger command
23 [Documentation] Verifying if syslogs is getting generated.
24 :FOR ${key} IN ZIP &{syslog_facility}
25 \ ${value}= Get From Dictionary ${syslog_facility} ${key}
26 \ ${f_value}= Evaluate ${value} * 8
27 \ Generate Syslog ${f_value}
28 Wait Until Keyword Succeeds 24x 10 sec Check HSQLDB 1 SYSLOG | grep SYSLOG | wc -l
30 Verifying TSDR Data Store For Syslog Entries
31 [Documentation] Verifying if syslogs is getting stored.
32 ${output}= Issue Command On Karaf Console tsdr:list SYSLOG
33 Should Contain X Times ${output} SYSLOG 1
34 Should Contain ${output} ${MESSAGE_PATTERN}