]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Do not delete fip namespace during l3 dvr agent resync
authorOleg Bondarev <obondarev@mirantis.com>
Fri, 7 Aug 2015 16:56:13 +0000 (19:56 +0300)
committerOleg Bondarev <obondarev@mirantis.com>
Fri, 7 Aug 2015 17:10:25 +0000 (20:10 +0300)
commitb220d10125c859367069eeb43ea45e3650a782f9
treec79a08c4e387568dd4cf10a4441091730c827198
parente0999554a49408b0fc435308c1cf071cbd9ff310
Do not delete fip namespace during l3 dvr agent resync

This was introduced by commit 46608806aa7a9c60214e28429ca5a8b87b2a15de
which didn't take into account that fip namespace name is composed
from external network id rather than router id.
The fix is to ensure fip namespaces for the known routers are kept
by namespace manager on agent resync.

Closes-Bug: #1482521
Change-Id: I0ffd0a3f6d83f7356638827a1cfe4dabef24b891
neutron/agent/l3/agent.py
neutron/agent/l3/namespace_manager.py
neutron/tests/unit/agent/l3/test_namespace_manager.py