From 4cf88806b7342d6e9674664799a906d18520a06b Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Tue, 6 Dec 2016 16:20:24 +0100 Subject: Refactoring test-2 with latest changes JIRA : SFC-55 Adapting SFC-HA odl-sfc test-2 to the latest changes in SFC-52 Change-Id: I0252b97d99bce75a5cadf4d700bdee91913c6429 Signed-off-by: Manuel Buil --- tests/functest/odl-sfc/utils.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/functest/odl-sfc/utils.py') 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 " -- cgit 1.2.3-korg