Update Robot Framework format - step 15
[integration/test.git] / csit / suites / tsdr / HSQLDB / 030_FlowTableMetrics.robot
index f78bdcbbea24eecbc20682dfb5975e7060c1da3d..935c06f3c65df40e297eda23b92a74d9fafa2fb2 100644 (file)
@@ -1,19 +1,23 @@
 *** Settings ***
-Documentation     Test suite for HSQLDB DataStore Flow Table Metrics Verification
-Suite Setup       Start Tsdr Suite
-Suite Teardown    Stop Tsdr Suite
-Library           SSHLibrary
-Library           Collections
-Library           String
-Library           ../../../libraries/Common.py
-Resource          ../../../libraries/CompareStream.robot
-Resource          ../../../libraries/KarafKeywords.robot
-Resource          ../../../libraries/TsdrUtils.robot
-Variables         ../../../variables/Variables.py
+Documentation       Test suite for HSQLDB DataStore Flow Table Metrics Verification
+
+Library             SSHLibrary
+Library             Collections
+Library             String
+Library             ../../../libraries/Common.py
+Resource            ../../../libraries/CompareStream.robot
+Resource            ../../../libraries/KarafKeywords.robot
+Resource            ../../../libraries/TsdrUtils.robot
+Variables           ../../../variables/Variables.py
+
+Suite Setup         Start Tsdr Suite
+Suite Teardown      Stop Tsdr Suite
+
 
 *** Variables ***
 @{FLOWTABLE_METRICS}    ActiveFlows    PacketLookup    PacketMatch
 
+
 *** Test Cases ***
 Init Variables
     [Documentation]    Initialize ODL version specific variables
@@ -21,12 +25,22 @@ Init Variables
 
 Verification of TSDR FLOWTABLESTATS
     [Documentation]    Verify the TSDR FlowiTableStats
-    Wait Until Keyword Succeeds    60s    1s    Verify the Metric is Collected?    ${TSDR_FLOWTABLE_STATS}| grep ActiveFlow | grep openflow:1    FLOWTABLESTATS
-    ${output}=    Issue Command On Karaf Console    ${TSDR_FLOWTABLE_STATS}| grep openflow:1 | head    ${ODL_SYSTEM_IP}    ${KARAF_SHELL_PORT}    180
+    Wait Until Keyword Succeeds
+    ...    60s
+    ...    1s
+    ...    Verify the Metric is Collected?
+    ...    ${TSDR_FLOWTABLE_STATS}| grep ActiveFlow | grep openflow:1
+    ...    FLOWTABLESTATS
+    ${output}=    Issue Command On Karaf Console
+    ...    ${TSDR_FLOWTABLE_STATS}| grep openflow:1 | head
+    ...    ${ODL_SYSTEM_IP}
+    ...    ${KARAF_SHELL_PORT}
+    ...    180
     FOR    ${list}    IN    @{FLOWTABLE_METRICS}
         Should Contain    ${output}    ${list}
     END
 
+
 *** Keywords ***
 Init Variables Master
     [Documentation]    Sets variables specific to latest(master) version