Skip use of multi-vim APIs for DNS cleanup 89/30589/1
authorGary Wu <gary.i.wu@huawei.com>
Wed, 7 Feb 2018 05:39:05 +0000 (21:39 -0800)
committerGary Wu <gary.i.wu@huawei.com>
Wed, 7 Feb 2018 05:39:05 +0000 (21:39 -0800)
Change-Id: I643c88c9f587d3c7689019c63f6cd88443f21b20
Issue-ID: INT-278
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
test/ete/scripts/teardown-onap.sh

index 37f72c0..9b742e8 100755 (executable)
@@ -6,9 +6,10 @@ fi
 
 source $WORKSPACE/test/ete/scripts/install_openstack_cli.sh
 
+# skip use of multi-vim APIs for now
 # 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
+$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 "id" -f value)
@@ -39,7 +40,7 @@ openstack port delete $(openstack port list -f value -c ID)
 openstack volume delete $(openstack volume list -f value -c ID)
 
 # delete all except "default" security group
-SECURITY_GROUPS=$(openstack security group list -c Name -f ID | grep -v default)
+SECURITY_GROUPS=$(openstack security group list -c ID -f value | grep -v default)
 openstack security group delete $SECURITY_GROUPS
 sleep 1