kolla-ansible/contrib/demos/magnum/stop
Bertrand Lallau 4286a50113 Fix Magnum Kolla demo in contrib
Magnum demo scripts doesn't work cause compose/openstack.env
doesn't exist anymore.
* NETWORK_MANAGER check has been removed
* script has been updated to use Openstack client instead of
deprecated clients (neutron-client, glance-client).
* Magnum client calls have been adapted too.
* some enhancements (logs, variable) have been performed too.

Change-Id: I294b1876c9c7090785c0ebdd09b43843f88fb00b
Closes-Bug: #1670618
2017-03-07 10:51:02 +01:00

10 lines
224 B
Bash
Executable File

#!/bin/bash
echo "Deleting cluster"
magnum cluster-delete testcluster
while magnum cluster-list | grep -q testcluster; do
sleep 1
done
echo "Deleting cluster-template"
magnum cluster-template-delete testclustertemplate