2 Documentation Test suite for Hbase DataStore Queue Stats Verification
3 Suite Setup Run Keywords Start Tsdr Suite Configuration of Queue on Switch
4 Suite Teardown Stop Tsdr Suite
8 Library ../../../libraries/Common.py
9 Resource ../../../libraries/KarafKeywords.robot
10 Resource ../../../libraries/TsdrUtils.robot
11 Variables ../../../variables/Variables.py
14 @{QUEUE_METRICS} TransmittedPackets TransmittedBytes TransmissionErrors
15 ${TSDR_QUEUESTATS} tsdr:list QUEUESTATS
18 Verify the Queue Metrics attributes exist thru Karaf console
19 [Documentation] Verify the QueueMetrics attributes exist on Karaf Console
20 Wait Until Keyword Succeeds 180s 1s Verify the Metric is Collected? ${TSDR_QUEUESTATS} Transmitted
21 ${output}= Issue Command On Karaf Console ${TSDR_QUEUESTATS} ${ODL_SYSTEM_IP} ${KARAF_SHELL_PORT} 90
22 : FOR ${list} IN @{QUEUE_METRICS}
23 \ Should Contain ${output} ${list}
25 Verification of QueueMetrics-TransmittedPackets on Karaf Console
26 [Documentation] Verify the QueueMetrics has been updated thru tsdr:list command on karaf console
27 ${tsdr_cmd}= Concatenate the String ${TSDR_QUEUESTATS} | grep TransmittedPackets | head
28 ${output}= Issue Command On Karaf Console ${tsdr_cmd} ${ODL_SYSTEM_IP} ${KARAF_SHELL_PORT} 90
29 Should Contain ${output} TransmittedPackets
31 Verification of QueueMetrics-TransmittedPackets on HBase Client
32 [Documentation] Verify the QueueMetrics has been updated on HBase Datastore
33 Verify the Metrics Attributes on Hbase Client TransmittedPackets Node:openflow:2 QUEUESTATS
35 Verification of QueueMetrics-TransmittedBytes on HBase Client
36 [Documentation] Verify the QueueMetrics has been updated on HBase Datastore
37 Verify the Metrics Attributes on Hbase Client TransmittedBytes Node:openflow:2 QUEUESTATS
39 Verification of QueueMetrics-TransmissionErrors on HBase Client
40 [Documentation] Verify the QueueMetrics has been updated on HBase Datastore
41 Verify the Metrics Attributes on Hbase Client TransmissionErrors Node:openflow:2 QUEUESTATS
44 Configuration of Queue on Switch
45 [Documentation] Queue configuration on openvswitch
46 Configure the Queue on Switch s2-eth2