summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-01-19 15:10:37 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-01-19 15:10:37 -0800
commit3c18c54006bc7e869b2eb1196a655fad85d47078 (patch)
tree6113a3ecbd63ef9c37f8f88ead64cc561d410f93
parent14ee41dd36ee23df8c66eca68fc5c9abf5141b93 (diff)
Delete Designate DNS zones during teardown
Change-Id: I2df8f72c0e83e4ad2a07b49aa6ceab5608c395c1 Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rwxr-xr-xtest/ete/scripts/teardown-onap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ete/scripts/teardown-onap.sh b/test/ete/scripts/teardown-onap.sh
index 0d007c5d6..60bfa638f 100755
--- a/test/ete/scripts/teardown-onap.sh
+++ b/test/ete/scripts/teardown-onap.sh
@@ -11,7 +11,7 @@ $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)
+ZONES=$(openstack zone list -c "id" -f value)
for ZONE in ${ZONES}; do
openstack zone delete $ZONE
done