2a10f319a7
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
18 lines
449 B
Bash
Executable File
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
|
|
|