add onos config param of adaptiveFlowSampling
Change-Id: I7edfc3a532c99ef943bf64646dffd68c07d403e3
diff --git a/TestON/tests/COMPflow/COMPflow.py b/TestON/tests/COMPflow/COMPflow.py
index 077ce9c..697a7e6 100644
--- a/TestON/tests/COMPflow/COMPflow.py
+++ b/TestON/tests/COMPflow/COMPflow.py
@@ -205,7 +205,7 @@
stepResult = main.ONOSbench.onosCli( ONOSIp = main.ONOSip[0], cmdstr = "app activate org.onosproject.openflow-base" )
time.sleep(10)
print stepResult
- time.sleep(5)
+ time.sleep(5
main.step( "Setup Mininet Linear Topology with " + str(main.numSw) + " switches" )
stepResult = main.Mininet1.startNet( args = main.params['CASE10']['mnArgs'] )
@@ -316,6 +316,12 @@
q = Queue()
tAllAdded = 0
+
+ main.step( "Disable AdaptiveFlowSampling ")
+ main.ONOSbench.onosCfgSet( main.ONOSip[0], "org.onosproject.provider.of.flow.impl.OpenFlowRuleProvider",
+ "adaptiveFlowSampling " + main.params['CASE2100']['adaptiveFlowenabled'])
+
+
def postWorker(id):
while True:
item = q.get()