Browse Source

Update tacker CLI to openstack CLI in cleanup-tacker

Change to openstack CLI

Change-Id: I75db9548b94800b6a451a658931d11a333a8e054
YI-JIE,SYU 4 months ago
parent
commit
d39ba689ac
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      contrib/demos/tacker/cleanup-tacker

+ 6
- 6
contrib/demos/tacker/cleanup-tacker View File

@@ -1,20 +1,20 @@
1 1
 #!/bin/bash
2 2
 if [[ -f kolla-sample-vnffgd.yaml ]]; then
3 3
     echo "Deleting VNFFG"
4
-    tacker vnffg-delete kolla-sample-vnffg
4
+    openstack vnf graph delete kolla-sample-vnffg
5 5
     echo "Deleting VNFFGD"
6
-    tacker vnffgd-delete kolla-sample-vnffgd
6
+    openstack vnf graph descriptor delete kolla-sample-vnffgd
7 7
     echo "Deleting sample sfc instances"
8 8
     openstack server delete kolla_sfc_server kolla_sfc_client
9 9
 fi
10 10
 echo "Deleting sample VNF"
11
-tacker vnf-delete kolla-sample-vnf
12
-while tacker vnf-list | grep -q kolla-sample-vnf; do
11
+openstack vnf delete kolla-sample-vnf
12
+while openstack vnf list | grep -q kolla-sample-vnf; do
13 13
     sleep 1
14 14
 done
15 15
 echo "Deleting sample VNFD"
16
-tacker vnfd-delete kolla-sample-vnfd
16
+openstack vnf descriptor delete kolla-sample-vnfd
17 17
 echo "Deleting sample VIM"
18
-tacker vim-delete kolla-sample-vim
18
+openstack vim delete kolla-sample-vim
19 19
 echo "Removing sample config"
20 20
 rm -rf ./kolla-sample-*

Loading…
Cancel
Save