summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYI-JIE,SYU <tw0927041027@gmail.com>2019-01-16 21:04:42 +0800
committerYI-JIE,SYU <tw0927041027@gmail.com>2019-01-16 21:12:48 +0800
commitd39ba689acd40a5c52bb2e104b96c37099cce644 (patch)
tree5c71b9fe7d50a1f49731422687cdea5e03a5d6d8
parent20c58a9c53a1d674ea5207fc9ffd2802447abea3 (diff)
Update tacker CLI to openstack CLI in cleanup-tacker
Change to openstack CLI Change-Id: I75db9548b94800b6a451a658931d11a333a8e054
Notes
Notes (review): Code-Review+2: Eduardo Gonzalez <dabarren@gmail.com> Code-Review+1: Cong Phuoc Hoang <hoangphuocbk2.07@gmail.com> Code-Review+2: Surya Prakash (spsurya) <singh.surya64mnnit@gmail.com> Workflow+1: Surya Prakash (spsurya) <singh.surya64mnnit@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 17 Jan 2019 07:51:21 +0000 Reviewed-on: https://review.openstack.org/631217 Project: openstack/kolla-ansible Branch: refs/heads/master
-rw-r--r--contrib/demos/tacker/cleanup-tacker12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/demos/tacker/cleanup-tacker b/contrib/demos/tacker/cleanup-tacker
index 63a65e6..a21dc1b 100644
--- a/contrib/demos/tacker/cleanup-tacker
+++ b/contrib/demos/tacker/cleanup-tacker
@@ -1,20 +1,20 @@
1#!/bin/bash 1#!/bin/bash
2if [[ -f kolla-sample-vnffgd.yaml ]]; then 2if [[ -f kolla-sample-vnffgd.yaml ]]; then
3 echo "Deleting VNFFG" 3 echo "Deleting VNFFG"
4 tacker vnffg-delete kolla-sample-vnffg 4 openstack vnf graph delete kolla-sample-vnffg
5 echo "Deleting VNFFGD" 5 echo "Deleting VNFFGD"
6 tacker vnffgd-delete kolla-sample-vnffgd 6 openstack vnf graph descriptor delete kolla-sample-vnffgd
7 echo "Deleting sample sfc instances" 7 echo "Deleting sample sfc instances"
8 openstack server delete kolla_sfc_server kolla_sfc_client 8 openstack server delete kolla_sfc_server kolla_sfc_client
9fi 9fi
10echo "Deleting sample VNF" 10echo "Deleting sample VNF"
11tacker vnf-delete kolla-sample-vnf 11openstack vnf delete kolla-sample-vnf
12while tacker vnf-list | grep -q kolla-sample-vnf; do 12while openstack vnf list | grep -q kolla-sample-vnf; do
13 sleep 1 13 sleep 1
14done 14done
15echo "Deleting sample VNFD" 15echo "Deleting sample VNFD"
16tacker vnfd-delete kolla-sample-vnfd 16openstack vnf descriptor delete kolla-sample-vnfd
17echo "Deleting sample VIM" 17echo "Deleting sample VIM"
18tacker vim-delete kolla-sample-vim 18openstack vim delete kolla-sample-vim
19echo "Removing sample config" 19echo "Removing sample config"
20rm -rf ./kolla-sample-* 20rm -rf ./kolla-sample-*