kolla-ansible/contrib/demos/tacker/cleanup-tacker
Eduardo Gonzalez 4fae4bbd78 Add tacker contrib demo
Add tacker deployment demo.
Generate sample config, register vim and vnfd.
Deploy demo vnf service.
Cleanup deployment demo.

Change-Id: If707a89bd675e3298357360125cd6487588a2fb2
2017-04-03 14:49:19 +01:00

14 lines
331 B
Bash

#!/bin/bash
echo "Deleting sample VNF"
tacker vnf-delete kolla-sample-vnf
while tacker vnf-list | grep -q kolla-sample-vnf; do
sleep 1
done
echo "Deleting sample VNFD"
tacker vnfd-delete kolla-sample-vnfd
echo "Deleting sample VIM"
tacker vim-delete kolla-sample-vim
echo "Removing sample config"
rm -rf ./kolla-sample-*.yaml