aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functest/odl-sfc/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functest/odl-sfc/utils.py')
-rw-r--r--tests/functest/odl-sfc/utils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functest/odl-sfc/utils.py b/tests/functest/odl-sfc/utils.py
index 779e8490..f8483170 100644
--- a/tests/functest/odl-sfc/utils.py
+++ b/tests/functest/odl-sfc/utils.py
@@ -273,6 +273,11 @@ def vxlan_firewall(sf, iface="eth0", port="22", block=True):
run_cmd_remote(sf, cmd)
+def vxlan_tool_stop(sf):
+ cmd = "pkill -f vxlan_tool.py"
+ run_cmd_remote(sf, cmd)
+
+
def netcat(s_ip, c_ip, port="80", timeout=5):
"""Run netcat on a give machine, Can be VM"""
cmd = "nc -zv "