]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Delete duplicate internal devices in router namespace
authorStephen Ma <stephen.ma@hp.com>
Wed, 20 Nov 2013 22:52:23 +0000 (14:52 -0800)
committerStephen Ma <stephen.ma@hp.com>
Mon, 17 Feb 2014 04:36:45 +0000 (04:36 +0000)
commitb0306a93645ea6475a2bc045d8fc8bc4bd6f00a5
treea68abc3a2984d0becead643634e8ed30c205759c
parentcffaf7468ba93e6ee7377ae17ba5dd2016484c8a
Delete duplicate internal devices in router namespace

When neutron router-interface-delete <router> <subnet> is ran
during L3-agent restart, the agent may fail to delete the old
internal device. After the restart, when the command "neutron
router-interface-add <router> <subnet>" is ran again, the
router ends up having two internal devices configured with the
same IP address.

Closes-Bug: #1244853
Change-Id: I0d7e2db6aa7dae26d0fc3fe1b1527762cb1e3b23
neutron/agent/l3_agent.py
neutron/tests/unit/test_l3_agent.py