2 Documentation Test suite for HSQLDB DataStore Flow Table Metrics Verification
3 Suite Setup Start Tsdr Suite
4 Suite Teardown Stop Tsdr Suite
8 Library ../../../libraries/Common.py
9 Resource ../../../libraries/CompareStream.robot
10 Resource ../../../libraries/KarafKeywords.robot
11 Resource ../../../libraries/TsdrUtils.robot
12 Variables ../../../variables/Variables.py
15 @{FLOWTABLE_METRICS} ActiveFlows PacketLookup PacketMatch
19 [Documentation] Initialize ODL version specific variables
21 CompareStream.Run_Keyword_If_Less_Than_Beryllium Init Variables Lithium
24 Verification of TSDR FLOWTABLESTATS
25 [Documentation] Verify the TSDR FlowiTableStats
26 Wait Until Keyword Succeeds 60s 1s Verify the Metric is Collected? ${TSDR_FLOWTABLE_STATS}| grep ActiveFlow | grep openflow:1 FLOWTABLESTATS
27 ${output}= Issue Command On Karaf Console ${TSDR_FLOWTABLE_STATS}| grep openflow:1 | head ${ODL_SYSTEM_IP} ${KARAF_SHELL_PORT} 180
28 : FOR ${list} IN @{FLOWTABLE_METRICS}
29 \ Should Contain ${output} ${list}
33 [Documentation] Sets variables specific to latest(master) version
34 Set Suite Variable ${TSDR_FLOWTABLE_STATS} tsdr:list FLOWTABLESTATS
36 Init Variables Lithium
37 [Documentation] Sets variables specific to Lithium version
38 Set Suite Variable ${TSDR_FLOWTABLE_STATS} tsdr:list FlowTableStats