Enable IP_ROUTING for netperf UDP_STREAM test 09/42509/1
authorTrevor Tao <trevor.tao@arm.com>
Wed, 20 Sep 2017 10:29:36 +0000 (18:29 +0800)
committerTrevor Tao <trevor.tao@arm.com>
Wed, 20 Sep 2017 10:32:05 +0000 (18:32 +0800)
commit82f647ae66dc82520c573f7e02999236730e012a
tree256ddd8b1a871b4f831ae33cc70c92ce8242e7ca
parent15c9412c5a260a6bff2c015ed61af7042b905a20
Enable IP_ROUTING for netperf UDP_STREAM test

To avoid the following ERROR when netperf test between
2 different subnets:
ERROR netperf: send_omni: send_data failed: Network is unreachable

For detail, please see:
https://serverfault.com/questions/802320/netperf-iptables-\
masquerade-network-unreachable
Or:
https://stackoverflow.com/questions/11981480/error-in-running-\
netperf-udp-stream-over-openvpn

Change-Id: I62b202844861440deaf3bf0f65b41561bd87ae87
Signed-off-by: Trevor Tao <trevor.tao@arm.com>
yardstick/benchmark/scenarios/networking/netperf.py