*** Settings *** Documentation Test suite for Hbase DataStore Queue Stats Verification Suite Setup Run Keywords Start Tsdr Suite Configuration of Queue on Switch Suite Teardown Stop Tsdr Suite Library SSHLibrary Library Collections Library String Library ../../../libraries/Common.py Resource ../../../libraries/KarafKeywords.robot Resource ../../../libraries/TsdrUtils.robot Variables ../../../variables/Variables.py *** Variables *** @{QUEUE_METRICS} TransmittedPackets TransmittedBytes TransmissionErrors ${TSDR_QUEUESTATS} tsdr:list QUEUESTATS *** Test Cases *** Verify the Queue Metrics attributes exist thru Karaf console [Documentation] Verify the QueueMetrics attributes exist on Karaf Console Wait Until Keyword Succeeds 180s 1s Verify the Metric is Collected? ${TSDR_QUEUESTATS} Transmitted ${output}= Issue Command On Karaf Console ${TSDR_QUEUESTATS} ${ODL_SYSTEM_IP} ${KARAF_SHELL_PORT} 90 : FOR ${list} IN @{QUEUE_METRICS} \ Should Contain ${output} ${list} Verification of QueueMetrics-TransmittedPackets on Karaf Console [Documentation] Verify the QueueMetrics has been updated thru tsdr:list command on karaf console ${tsdr_cmd}= Concatenate the String ${TSDR_QUEUESTATS} | grep TransmittedPackets | head ${output}= Issue Command On Karaf Console ${tsdr_cmd} ${ODL_SYSTEM_IP} ${KARAF_SHELL_PORT} 90 Should Contain ${output} TransmittedPackets Verification of QueueMetrics-TransmittedPackets on HBase Client [Documentation] Verify the QueueMetrics has been updated on HBase Datastore Verify the Metrics Attributes on Hbase Client TransmittedPackets Node:openflow:2 QUEUESTATS Verification of QueueMetrics-TransmittedBytes on HBase Client [Documentation] Verify the QueueMetrics has been updated on HBase Datastore Verify the Metrics Attributes on Hbase Client TransmittedBytes Node:openflow:2 QUEUESTATS Verification of QueueMetrics-TransmissionErrors on HBase Client [Documentation] Verify the QueueMetrics has been updated on HBase Datastore Verify the Metrics Attributes on Hbase Client TransmissionErrors Node:openflow:2 QUEUESTATS *** Keyword *** Configuration of Queue on Switch [Documentation] Queue configuration on openvswitch Configure the Queue on Switch s2-eth2