]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DVR: Notify specific agent when update floatingip
authorchangzhi <changzhi@unitedstack.com>
Thu, 20 Aug 2015 13:40:42 +0000 (21:40 +0800)
committerOleg Bondarev <obondarev@mirantis.com>
Tue, 20 Oct 2015 09:13:26 +0000 (12:13 +0300)
commit8a51ddf3be6445a49c53b7a9ef80123cf0e7c033
tree41ab7e6ddf95e09b4ef174afbe7a298cf48d9e97
parent1f7d246f467607e0b065848b324d1ed6b3b47614
DVR: Notify specific agent when update floatingip

The L3 agent was determined when update floatingip.
So notify the specific agent rather than notify all agents.
This will save some RPC resources. This is only for DVR routers.
Legacy and HA routers notify only the relevant agents.

This reproposes commit 52e91f48f2327b47f126893f9cb12f153380a9a6
which was reverted by commit a2f7e0343a147a30a637af4e1cb9a866f557e87d
because of Ironic gate failures.
Now the patch preserves original behavior for legacy routers and
should not break Ironic tests.

Partial-Bug: #1486828
Related-Bug: #1507602
Change-Id: I4ef7a69ad033b979ea0e29620a4febfe5e0c30dd
neutron/db/l3_dvr_db.py
neutron/tests/functional/services/l3_router/test_l3_dvr_router_plugin.py