]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Disassociate floating IPs from port on terminate
authorDave Cahill <dcahill@midokura.com>
Fri, 27 Sep 2013 10:44:00 +0000 (10:44 +0000)
committerDave Cahill <dcahill@midokura.com>
Thu, 10 Oct 2013 01:37:17 +0000 (01:37 +0000)
commitcd8c8b367f7df75337438b10e1a1c0f6d5031810
treee722f73fd0ae96bc7f7f37fff9affdafc36cce63
parent774fd17e4b2be8dacfaa13dedaaaa0703c40c73a
Disassociate floating IPs from port on terminate

Bugfix - floating IPs were left associated after VM
was terminated. Now call disassociate_floatingips
within delete_port as in other networking plugins.

Add L3NatDBIntTestCase suite to cover the
floating IP disassociation case, and fix all failing
tests from that suite.

Change-Id: I856c46631e495d513065fc9e987898408441a21e
Closes-Bug: #1231913
(cherry picked from commit f4b78c7f17e29448ed54b136eeb4ac700b324120)
neutron/plugins/midonet/plugin.py
neutron/tests/unit/midonet/mock_lib.py
neutron/tests/unit/midonet/test_midonet_plugin.py