2 Documentation Test suite for H2 DataStore Flow Table Metrics Verification
\r
3 Suite Setup Start Tsdr Suite
\r
4 Suite Teardown Stop Tsdr Suite
\r
8 Library ../../../libraries/Common.py
\r
9 Resource ../../../libraries/KarafKeywords.txt
\r
10 Resource ../../../libraries/TsdrUtils.txt
\r
11 Variables ../../../variables/Variables.py
\r
14 @{FLOWTABLE_METRICS} ActiveFlows PacketLookup PacketMatch
\r
15 ${TSDR_FLOWTABLE_STATS} tsdr:list FlowTableStats
\r
18 Verification of TSDR FlowTableStats
\r
19 [Documentation] Verify the TSDR FlowiTableStats
\r
20 Wait Until Keyword Succeeds 60s 1s Verify the Metric is Collected? ${TSDR_FLOWTABLE_STATS}| grep ActiveFlow FLOWTABLESTATS
\r
21 ${output}= Issue Command On Karaf Console ${TSDR_FLOWTABLE_STATS}| grep openflow:1 | head ${CONTROLLER} ${KARAF_SHELL_PORT} 180
\r
22 : FOR ${list} IN @{FLOWTABLE_METRICS}
\r
23 \ Should Contain ${output} ${list}
\r
25 Verify FlowTableStats-Attributes on H2 Datastore using JDBC Client
\r
26 [Documentation] Verify the PortStats,attributes on H2 Datastore using JDBC Client
\r
27 : FOR ${list} IN @{FLOWTABLE_METRICS}
\r
28 \ ${output}= Query Metrics on H2 Datastore FLOWTABLESTATS ${list}
\r
29 \ Should Contain ${output} ${list}
\r