Commit 9104a3d9 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

burnin: Delete ports attached to floating IPs

This patch fixes a problem with burnin where burnin couldn't delete a
floating IP if it was attached to a port, by destroying the port first.
parent e4cdd35d
......@@ -568,6 +568,12 @@ class CycladesTests(BurninTests):
def _delete_floating_ips(self, fips):
"""Delete floating ips"""
for fip in fips:
port_id = fip['port_id']
if port_id:"Destroying port with id %s", port_id)
self._insist_on_port_deletion(port_id)"Destroying floating IP %s with id %s",
fip['floating_ip_address'], fip['id'])['id'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment