2 Documentation Test suite for HBase Syslog 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 HBase Feature Installation
13 [Documentation] Install and Verify the TSDR Cassandra Syslog Features
14 Wait Until Keyword Succeeds 24x 10 sec Check Karaf Log Has Messages tsdr.syslog
15 Verify Feature Is Installed odl-tsdr-hbase
16 Verify Feature Is Installed odl-tsdr-syslog-collector
18 Sending syslog to ODL Syslog collector using Logger command
19 [Documentation] Verifying if syslogs is collected and getting stored.
20 Query the Data from HBaseClient truncate 'SYSLOG'
21 FOR ${key} IN ZIP &{syslog_facility}
22 ${value}= Get From Dictionary ${syslog_facility} ${key}
23 ${f_value}= Evaluate ${value} * 8
24 Generate Syslog ${f_value}
26 ${output}= Query the Data from HBaseClient scan 'SYSLOG'
27 Should Contain X Times ${output} ${MESSAGE_PATTERN} 1
28 FOR ${key} IN ZIP &{syslog_facility}
29 ${value}= Get From Dictionary ${syslog_facility} ${key}
30 ${f_value}= Evaluate ${value} * 8
31 Should Match ${output} *${f_value}>*