2 Documentation Test suite for Hbase DataStore Flow Table Stats Verification
3 Suite Setup Start Tsdr Suite
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 ${TSDR_FLOWTABLE_STATS} tsdr:list FLOWTABLESTATS
17 Verification of TSDR FlowTableMetrics
18 [Documentation] Verify the TSDR FlowTableMetrics
19 Wait Until Keyword Succeeds 120s 1s Verify the Metric is Collected? ${TSDR_FLOWTABLE_STATS} MN
20 ${output}= Issue Command On Karaf Console ${TSDR_FLOWTABLE_STATS} ${ODL_SYSTEM_IP} ${KARAF_SHELL_PORT} 30
21 Should Contain ${output} MN
23 Verification of FlowTableMetrics on Karaf Console
24 [Documentation] Verify the FlowTableMetrics has been updated thru tsdr:list command on karaf console
25 ${tsdr_cmd}= Concatenate the String ${TSDR_FLOWTABLE_STATS} | grep ActiveFlows | head
26 ${output}= Issue Command On Karaf Console ${tsdr_cmd} ${ODL_SYSTEM_IP} ${KARAF_SHELL_PORT} 90
27 Should Contain ${output} ActiveFlows
29 Verification of FlowTableMetrics-ActiveFlows on HBase Client
30 [Documentation] Verify the FlowTableMetrics has been updated on HBase Datastore
31 Verify the Metrics Attributes on Hbase Client ActiveFlows Node:openflow:1,Table:0 FLOWTABLESTATS
33 Verification of FlowTableMetrics-PacketMatch on HBase Client
34 [Documentation] Verify the FlowTableMetrics has been updated on HBase Datastore
35 Verify the Metrics Attributes on Hbase Client PacketMatch Node:openflow:1,Table:0 FLOWTABLESTATS
37 Verification of FlowTableMetrics-PacketLookup on HBase Client
38 [Documentation] Verify the FlowTableMetrics has been updated on HBase Datastore
39 Verify the Metrics Attributes on Hbase Client PacketLookup Node:openflow:1,Table:0 FLOWTABLESTATS