Variables ../../../variables/Variables.py
*** Test Cases ***
-
Verification of TSDR Cassandra Feature Installation
[Documentation] Install and Verify the TSDR Cassandra Syslog Features
Initialize Cassandra Tables Metricval val_table=metriclog
Sending syslog to ODL Syslog collector using Logger command
[Documentation] Sending Syslogs to collector.
- :FOR ${key} IN ZIP &{syslog_facility}
+ : FOR ${key} IN ZIP &{syslog_facility}
\ ${value}= Get From Dictionary ${syslog_facility} ${key}
\ ${f_value}= Evaluate ${value} * 8
\ Generate Syslog ${f_value}
Verifying TSDR Data Store For Syslog Entries
[Documentation] Verifying if syslogs is getting stored.
- Copy TSDR tables val_table=metriclog
+ Copy TSDR tables val_table=metriclog
${metric_log}= Verify the Metrics Syslog on Cassandra Client grep DC=SYSLOG
@{Syslogs}= Split to lines ${metric_log}
${iterator}= Set Variable 0
- :FOR ${key} IN ZIP &{syslog_facility}
+ : FOR ${key} IN ZIP &{syslog_facility}
\ ${value}= Get From Dictionary ${syslog_facility} ${key}
\ ${f_value}= Evaluate ${value} * 8
\ Should Contain @{syslogs}[${iterator}] ${MESSAGE}
\ Should Contain @{syslogs}[${iterator}] <${f_value}>
\ ${iterator}= Evaluate ${iterator} + 1
-