Merge "Remove floating IPs in tempest config script"

This commit is contained in:
Jenkins 2017-01-24 22:19:02 +00:00 committed by Gerrit Code Review
commit 5c25c362df
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ rm -rf {{ working_dir }}/tempest
## * Clean up network if it exists from previous run
## ::
for i in $(neutron floatingip-list -c id -f value)
do
neutron floatingip-disassociate $i
neutron floatingip-delete $i
done
for i in $(neutron router-list -c id -f value); do neutron router-gateway-clear $i; done
for r in $(neutron router-list -c id -f value); do
for p in $(neutron router-port-list $r -c id -f value); do