2 Documentation Test suite for HSQLDB DataStore Flow Table Metrics Verification
7 Library ../../../libraries/Common.py
8 Resource ../../../libraries/CompareStream.robot
9 Resource ../../../libraries/KarafKeywords.robot
10 Resource ../../../libraries/TsdrUtils.robot
11 Variables ../../../variables/Variables.py
13 Suite Setup Start Tsdr Suite
14 Suite Teardown Stop Tsdr Suite
18 @{FLOWTABLE_METRICS} ActiveFlows PacketLookup PacketMatch
23 [Documentation] Initialize ODL version specific variables
26 Verification of TSDR FLOWTABLESTATS
27 [Documentation] Verify the TSDR FlowiTableStats
28 Wait Until Keyword Succeeds
31 ... Verify the Metric is Collected?
32 ... ${TSDR_FLOWTABLE_STATS}| grep ActiveFlow | grep openflow:1
34 ${output}= Issue Command On Karaf Console
35 ... ${TSDR_FLOWTABLE_STATS}| grep openflow:1 | head
37 ... ${KARAF_SHELL_PORT}
39 FOR ${list} IN @{FLOWTABLE_METRICS}
40 Should Contain ${output} ${list}
46 [Documentation] Sets variables specific to latest(master) version
47 Set Suite Variable ${TSDR_FLOWTABLE_STATS} tsdr:list FLOWTABLESTATS