Delete Designate DNS zones during teardown 07/28707/1
authorGary Wu <gary.i.wu@huawei.com>
Fri, 19 Jan 2018 23:10:37 +0000 (15:10 -0800)
committerGary Wu <gary.i.wu@huawei.com>
Fri, 19 Jan 2018 23:10:37 +0000 (15:10 -0800)
Change-Id: I2df8f72c0e83e4ad2a07b49aa6ceab5608c395c1
Issue-ID: INT-278
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
test/ete/scripts/teardown-onap.sh

index 0d007c5..60bfa63 100755 (executable)
@@ -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