2 Documentation Test suite for H2 DataStore Flow Metrics Verification
7 Library ../../../libraries/Common.py
8 Resource ../../../libraries/KarafKeywords.robot
9 Resource ../../../libraries/TsdrUtils.robot
10 Variables ../../../variables/Variables.py
12 Suite Setup Start Tsdr Suite
13 Suite Teardown Stop Tsdr Suite
17 @{FLOW_METRICS} PacketCount ByteCount
18 ${TSDR_FLOWSTATS} tsdr:list FlowStats
22 Verification of TSDR FlowMetrics
23 [Documentation] Verify the TSDR FlowStats
24 Wait Until Keyword Succeeds 60s 1s Verify the Metric is Collected? ${TSDR_FLOWSTATS} PacketCount
25 ${output}= Issue Command On Karaf Console ${TSDR_FLOWSTATS} ${ODL_SYSTEM_IP} ${KARAF_SHELL_PORT} 30
26 FOR ${list} IN @{FLOW_METRICS}
27 Should Contain ${output} ${list}
30 Verify FlowStats-Attributes on H2 Datastore using JDBC Client
31 [Documentation] Verify the PortStats,attributes on H2 Datastore using JDBC Client
32 FOR ${list} IN @{FLOW_METRICS}
33 ${output}= Query Metrics on H2 Datastore FLOWSTATS ${list}
34 Should Contain ${output} ${list}