]> 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>
Tue, 8 Oct 2013 03:34:47 +0000 (03:34 +0000)
commitf4b78c7f17e29448ed54b136eeb4ac700b324120
tree5e95be22da0620d577b127040fa0113e7aa82f16
parent8640b3e4329281c58c3afa6380716adfefa181a0
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
neutron/plugins/midonet/plugin.py
neutron/tests/unit/midonet/mock_lib.py
neutron/tests/unit/midonet/test_midonet_plugin.py