tripleo-ci/scripts/delete-ovb-cloud.sh
Derek Higgins 2a10f319a7 Add infrstucture scripts to prepare rh2
Add scripts to prepare rh2, (an OVB based cloud) for CI.
This patch only includes whats needed to prepare the cloud
for CI, the changes to the CI scripts themselves will be
part of another patch.

Change-Id: Ie2d1c607f283e6babb00ea19d32bebae5383867a
2016-06-20 10:57:45 +01:00

18 lines
449 B
Bash
Executable File

#!/bin/bash
set -x
nova delete $(nova list --all-tenants | grep -e te-broker -e mirror-server -e proxy-server| awk '{print $2}')
sleep 5
keystone user-delete openstack-nodepool
keystone tenant-delete openstack-nodepool
neutron router-interface-delete private_router private_subnet
neutron router-delete private_router
neutron subnet-delete private_subnet
neutron net-delete private
neutron subnet-delete public_subnet
neutron net-delete public