summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author“Manuel Buil” <mbuil@suse.com>2017-02-02 18:42:53 +0100
committer“Manuel Buil” <mbuil@suse.com>2017-02-02 18:44:41 +0100
commitd408d4c67e55a5b3b253f0f20bf5e30bfe712f57 (patch)
tree751a87e86ccb68b8c2676ff9563812618bde255e
parent58c118253a081f19a8a14a0a16895b04c6b8f222 (diff)
Update delete script
It removes now the floating ips and does not shot the proble with tackerc Change-Id: Ifb4e640ed549e22a2d0c3d797fd2e4a384cc8b4d Signed-off-by: “Manuel Buil” <mbuil@suse.com>
-rw-r--r--sfc/tests/functest/setup_scripts/delete.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfc/tests/functest/setup_scripts/delete.sh b/sfc/tests/functest/setup_scripts/delete.sh
index 2c9de04b..908d81fc 100644
--- a/sfc/tests/functest/setup_scripts/delete.sh
+++ b/sfc/tests/functest/setup_scripts/delete.sh
@@ -1,4 +1,4 @@
-source ${repos_dir}/sfc/sfc/tests/functest/tackerc
+# Remember to source the env variables $creds before
tacker sfc-classifier-delete red_http
tacker sfc-classifier-delete blue_ssh
tacker sfc-classifier-delete red_ssh
@@ -14,3 +14,4 @@ openstack stack delete sfc_test1 --y
openstack stack delete sfc_test2 --y
nova delete client
nova delete server
+for line in $(neutron floatingip-list | cut -d" " -f2);do neutron floatingip-delete $line;done