X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fopenflowplugin%2FPerformance_Flow_Config%2F040_Stats_Collection_One.robot;h=c7a040bf7678fd578522a382ba4cf536d04b9de5;hb=e6f155d7494588cede1382d4c075b2b0658a9a2f;hp=bb8557b14d462203985d9c0bb02efa13c22dc4ba;hpb=15e81a45bb00c891db242a2728c71a8201ee99c8;p=integration%2Ftest.git diff --git a/csit/suites/openflowplugin/Performance_Flow_Config/040_Stats_Collection_One.robot b/csit/suites/openflowplugin/Performance_Flow_Config/040_Stats_Collection_One.robot index bb8557b14d..c7a040bf76 100644 --- a/csit/suites/openflowplugin/Performance_Flow_Config/040_Stats_Collection_One.robot +++ b/csit/suites/openflowplugin/Performance_Flow_Config/040_Stats_Collection_One.robot @@ -18,7 +18,7 @@ ${swspread} first ${tabspread} first ${topourl} /restconf/operational/network-topology:network-topology/topology/flow:1 ${invurl} /restconf/operational/opendaylight-inventory:nodes -@{cntls} ${CONTROLLER} +@{cntls} ${ODL_SYSTEM_IP} *** Test Cases *** Configure Flows @@ -29,7 +29,7 @@ Configure Flows Set Suite Variable ${flows} Check Configured Are Operational - Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${flows} ${CONTROLLER} + Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${flows} ${ODL_SYSTEM_IP} Deconfigure Flows ${res}= Deconfigure Flows flow_details=${flows} controllers=@{cntls} nrthreads=5 @@ -37,7 +37,7 @@ Deconfigure Flows Check No Flows In Operational ${noflows}= Create List - Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${noflows} ${CONTROLLER} + Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${noflows} ${ODL_SYSTEM_IP} *** Keywords *** Connect Switches @@ -48,9 +48,9 @@ Connect Switches Write sudo ovs-vsctl set-manager ptcp:6644 Write sudo mn -c Read Until ${DEFAULT_LINUX_PROMPT} - Write sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13 + Write sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13 Read Until mininet> - Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} + Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo Stop Switches