diff options
author | Manuel Buil <manuelbuil87@gmail.com> | 2016-12-06 16:20:24 +0100 |
---|---|---|
committer | Manuel Buil <manuelbuil87@gmail.com> | 2016-12-09 15:12:06 +0100 |
commit | 4cf88806b7342d6e9674664799a906d18520a06b (patch) | |
tree | f7e5dfea65e99a98a7c9c29e4fc85ae71a4f5cbe /tests/functest/odl-sfc/utils.py | |
parent | d3de20395d79daf9aa6b3c6fd4f9eea80791398e (diff) |
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 <manuelbuil87@gmail.com>
Diffstat (limited to 'tests/functest/odl-sfc/utils.py')
-rw-r--r-- | tests/functest/odl-sfc/utils.py | 5 |
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 " |