]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
If router is HA, get current_cidrs from keepalived object
authorSachi King <sachi.king@anchor.com.au>
Mon, 8 Dec 2014 06:42:48 +0000 (17:42 +1100)
committerSachi King <sachi.king@anchor.com.au>
Fri, 23 Jan 2015 03:10:07 +0000 (14:10 +1100)
commitccd5fe83884cf72c7e69091f318628884665f971
treed3e72347da1989c3086371a540214d51c3da75a9
parent051af204d9cbc61d012402a228b6b13f7c0878a2
If router is HA, get current_cidrs from keepalived object

When using L3 HA and keepalived neutron is no longer directly managing
the floating IP addresses itself. Neutron should not check against
which addresses are currently configured on the system, but the
addresses the keepalived object has configured.

Co-Authored-By: Benoit Page-Guitard <benoit.page@gmail.com>
Change-Id: I56045ede3a3dc1a7044a22913ee38ed382a81052
Closes-Bug: #1400217
neutron/agent/l3/agent.py
neutron/agent/l3/ha.py
neutron/agent/linux/keepalived.py
neutron/tests/unit/agent/linux/test_keepalived.py
neutron/tests/unit/test_l3_agent.py