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