aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-09-26 15:25:09 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-26 15:25:09 +0000
commitc84187fc404d44082826f98b47c28d3d8f6690e5 (patch)
tree339e60d9052e1fa804d64a61bfec2ffde013e85e
parentcb63cb9ed232dc40ce118e1b8c001841552ff808 (diff)
parent82f647ae66dc82520c573f7e02999236730e012a (diff)
Merge "Enable IP_ROUTING for netperf UDP_STREAM test"
-rwxr-xr-xyardstick/benchmark/scenarios/networking/netperf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/networking/netperf.py b/yardstick/benchmark/scenarios/networking/netperf.py
index 08d5dd166..a8d9010ed 100755
--- a/yardstick/benchmark/scenarios/networking/netperf.py
+++ b/yardstick/benchmark/scenarios/networking/netperf.py
@@ -114,6 +114,10 @@ class Netperf(base.Scenario):
cmd_args += " %s %s" % (option_pair[1],
options[option_pair[0]])
+ # Enable IP routing for UDP_STREAM test
+ if testname == "UDP_STREAM":
+ cmd_args += " -R 1"
+
cmd = "sudo bash netperf.sh %s" % (cmd_args)
LOG.debug("Executing command: %s", cmd)
status, stdout, stderr = self.client.execute(cmd)