2 Documentation Test suite for HBase Syslog Verification
7 Library ../../../libraries/Common.py
8 Resource ../../../libraries/KarafKeywords.robot
9 Resource ../../../libraries/TsdrUtils.robot
10 Variables ../../../variables/Variables.py
14 Verification of TSDR HBase Feature Installation
15 [Documentation] Install and Verify the TSDR Cassandra Syslog Features
16 Wait Until Keyword Succeeds 24x 10 sec Check Karaf Log Has Messages tsdr.syslog
17 Verify Feature Is Installed odl-tsdr-hbase
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 collected and getting stored.
22 Query the Data from HBaseClient truncate 'SYSLOG'
23 FOR ${key} IN ZIP &{syslog_facility}
24 ${value}= Get From Dictionary ${syslog_facility} ${key}
25 ${f_value}= Evaluate ${value} * 8
26 Generate Syslog ${f_value}
28 ${output}= Query the Data from HBaseClient scan 'SYSLOG'
29 Should Contain X Times ${output} ${MESSAGE_PATTERN} 1
30 FOR ${key} IN ZIP &{syslog_facility}
31 ${value}= Get From Dictionary ${syslog_facility} ${key}
32 ${f_value}= Evaluate ${value} * 8
33 Should Match ${output} *${f_value}>*