diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-09-26 15:25:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-26 15:25:09 +0000 |
commit | c84187fc404d44082826f98b47c28d3d8f6690e5 (patch) | |
tree | 339e60d9052e1fa804d64a61bfec2ffde013e85e | |
parent | cb63cb9ed232dc40ce118e1b8c001841552ff808 (diff) | |
parent | 82f647ae66dc82520c573f7e02999236730e012a (diff) |
Merge "Enable IP_ROUTING for netperf UDP_STREAM test"
-rwxr-xr-x | yardstick/benchmark/scenarios/networking/netperf.py | 4 |
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) |