cleaning up system variables
[integration/test.git] / csit / suites / tsdr / H2 / 060_FlowMeterMetrics.robot
index d55e8b50455f68e552fdc64bd99bd3f6b44d6234..c89afa391d028974a7da6f313ccc6884b2522fa1 100644 (file)
@@ -19,14 +19,14 @@ ${TSDR_FLOWMETERSTATS}    tsdr:list FlowMeterStats
 Verify the FlowMeter Stats attributes exist thru Karaf console
     [Documentation]    Verify the FlowMeterStats attributes exist on Karaf Console
     Wait Until Keyword Succeeds    120s    1s    Verify the Metric is Collected?    ${TSDR_FLOWMETERSTATS}    ByteInCount
-    ${output}=    Issue Command On Karaf Console    ${TSDR_FLOWMETERSTATS}    ${CONTROLLER}    ${KARAF_SHELL_PORT}    30
+    ${output}=    Issue Command On Karaf Console    ${TSDR_FLOWMETERSTATS}    ${ODL_SYSTEM_IP}    ${KARAF_SHELL_PORT}    30
     : FOR    ${list}    IN    @{FLOWMETER_METRICS}
     \    Should Contain    ${output}    ${list}
 
 Verification of FlowMeterStats-ByteInCount on Karaf Console
     [Documentation]    Verify the FlowMeterStats has been updated thru tsdr:list command on karaf console
     ${tsdr_cmd}=    Concatenate the String    ${TSDR_FLOWMETERSTATS}    | grep ByteInCount | head
-    ${output}=    Issue Command On Karaf Console    ${tsdr_cmd}    ${CONTROLLER}    ${KARAF_SHELL_PORT}    90
+    ${output}=    Issue Command On Karaf Console    ${tsdr_cmd}    ${ODL_SYSTEM_IP}    ${KARAF_SHELL_PORT}    90
     Should Contain    ${output}    ByteInCount
     Should Contain    ${output}    FLOWMETERSTATS
     Should not Contain    ${output}    null
@@ -48,7 +48,7 @@ Uninstall all TSDR H2 Feature
 
 Verification TSDR Command shouldnot exist in help
     [Documentation]    Verify the TSDR List command on help
-    ${output}=    Issue Command On Karaf Console    tsdr\t    ${CONTROLLER}    ${KARAF_SHELL_PORT}
+    ${output}=    Issue Command On Karaf Console    tsdr\t    ${ODL_SYSTEM_IP}    ${KARAF_SHELL_PORT}
     Should not Contain    ${output}    tsdr:list
 
 *** Keyword ***
@@ -57,7 +57,7 @@ Start TSDR suite with CPqD Switch
 
 Configuration of FlowMeter on Switch
     [Documentation]    FlowMeter configuration on CPqD
-    Run Command On Remote System    ${MININET}    sudo dpctl unix:/tmp/s1 meter-mod cmd=add,flags=1,meter=1 drop:rate=100
-    Run Command On Remote System    ${MININET}    sudo dpctl unix:/tmp/s1 flow-mod table=0,cmd=add in_port=1 meter:1 apply:output=2
-    Run Command On Remote System    ${MININET}    sudo dpctl unix:/tmp/s1 ping 10
-    Run Command On Remote System    ${MININET}    sudo dpctl unix:/tmp/s2 ping 10
+    Run Command On Remote System    ${TOOLS_SYSTEM_IP}    sudo dpctl unix:/tmp/s1 meter-mod cmd=add,flags=1,meter=1 drop:rate=100
+    Run Command On Remote System    ${TOOLS_SYSTEM_IP}    sudo dpctl unix:/tmp/s1 flow-mod table=0,cmd=add in_port=1 meter:1 apply:output=2
+    Run Command On Remote System    ${TOOLS_SYSTEM_IP}    sudo dpctl unix:/tmp/s1 ping 10
+    Run Command On Remote System    ${TOOLS_SYSTEM_IP}    sudo dpctl unix:/tmp/s2 ping 10