]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fixes an issue with FIP re-association
authorMichael Smith <michael.smith6@hp.com>
Wed, 6 Aug 2014 22:02:35 +0000 (15:02 -0700)
committerMichael Smith <michael.smith6@hp.com>
Tue, 12 Aug 2014 02:12:14 +0000 (19:12 -0700)
commit7205ea5858d5b23662e546885412832536688d51
treebf9ab136ece43da360eefb4eddc02a8bfa12f7a6
parentbdf47d10b6511b87c8e1b0959db1b0d5a01b5731
Fixes an issue with FIP re-association

When the last FIP is disassociated, the namespace and
interfaces should be removed. The internal interface
wasn't removed before without problems, but now the
namespace cannot be removed with that interface present.
The fix is to remove the internal FIP interface before
removing the namespace.

Change-Id: I021c658ecde584821f67b7a8de0205e8e938bb2d
Closes-bug: 1353287
neutron/agent/l3_agent.py
neutron/agent/linux/ip_lib.py
neutron/tests/unit/test_l3_agent.py
neutron/tests/unit/test_linux_ip_lib.py