Performance adjustments for OpenFlow
[integration/test.git] / csit / suites / openflowplugin / Performance_Flow_Config / 070_Stats_Collection_100k_WithMininetRestart.robot
index 1a2b7f51806a4e881711fac6e215d44402ef7774..a6f8bd65d0f2a24dea3dca0811faaf0031e77ab2 100644 (file)
@@ -24,7 +24,7 @@ ${start_cmd}      sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo linear,
 ${getf_cmd}       sh ./get-total-found.sh
 ${getr_cmd}       sh ./get-total-reported.sh
 ${iperiod}        1s
 ${getf_cmd}       sh ./get-total-found.sh
 ${getr_cmd}       sh ./get-total-reported.sh
 ${iperiod}        1s
-${imonitor}       600s
+${imonitor}       60s
 ${ichange}        450s
 ${ratefile}       stats_rate.csv
 ${timefile}       stats_time.csv
 ${ichange}        450s
 ${ratefile}       stats_rate.csv
 ${timefile}       stats_time.csv
@@ -99,6 +99,9 @@ Connect Switches
     Execute Command    sudo mn -c
     Write    ${start_cmd}
     Read Until    mininet>
     Execute Command    sudo mn -c
     Write    ${start_cmd}
     Read Until    mininet>
+    Comment    Below line disables switch echos
+    Write    sh x=`sudo ovs-vsctl --columns=_uuid list Controller | awk '{print $NF}'`; for i in $x; do sudo ovs-vsctl set Controller $i inactivity_probe=0; done
+    Read Until    mininet>
     Wait Until Keyword Succeeds    10s    1s    Are Switches Connected Topo
 
 Create Http Session And Upload Files
     Wait Until Keyword Succeeds    10s    1s    Are Switches Connected Topo
 
 Create Http Session And Upload Files