aboutsummaryrefslogtreecommitdiffstats
path: root/test/ete
diff options
context:
space:
mode:
Diffstat (limited to 'test/ete')
-rwxr-xr-xtest/ete/scripts/teardown-onap.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/ete/scripts/teardown-onap.sh b/test/ete/scripts/teardown-onap.sh
index eecef876b..0d007c5d6 100755
--- a/test/ete/scripts/teardown-onap.sh
+++ b/test/ete/scripts/teardown-onap.sh
@@ -6,10 +6,16 @@ fi
source $WORKSPACE/test/ete/scripts/install_openstack_cli.sh
-# delete all Designate DNS records; do this first since we rely on multi-vim for this
+# delete all Proxy Designate DNS records; do this first since we rely on multi-vim for this
$WORKSPACE/test/ete/scripts/dns-zones/delete-dns-zones.sh $OS_PROJECT_NAME
sleep 1
+# delete all Desigate DNS zones
+ZONES=$(openstack zone list -c "Stack Name" -f value)
+for ZONE in ${ZONES}; do
+ openstack zone delete $ZONE
+done
+
# delete all instances
openstack server delete $(openstack server list -c ID -f value)
sleep 1
@@ -42,7 +48,6 @@ sleep 1
STACKS=$(openstack stack list -c "Stack Name" -f value)
if [ ! -z "${STACKS}" ]; then
- echo "Deleting Stacks ${STACKS}"
openstack stack delete -y $STACKS
for STACK in ${STACKS}; do
until [ "DELETE_IN_PROGRESS" != "$(openstack stack show -c stack_status -f value $STACK)" ]; do