]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Introduce new query to return all hosts for DVR router
authorOleg Bondarev <obondarev@mirantis.com>
Thu, 17 Dec 2015 11:57:21 +0000 (14:57 +0300)
committerOleg Bondarev <obondarev@mirantis.com>
Fri, 15 Jan 2016 09:05:56 +0000 (12:05 +0300)
commitea6ed6ab3a250e55a2a3aeb511302d6693f8eeef
tree6c311b428dfba42f2a67ac24565039f1aa320daf
parent2c599814fbf7f13504218000c07de81eb6f25f5a
Introduce new query to return all hosts for DVR router

When we remove explicit binding of dvr routers to compute nodes
we'll need a way to know all hosts where a dvr router should be
hosted in order to send notifications.
This patch adds such a query and updates l3 rpc notifier to use it.

Partially implements blueprint improve-dvr-l3-agent-binding
Change-Id: Ic6680bb42455189f14c4c913b1d4adeebda83180
neutron/api/rpc/agentnotifiers/l3_rpc_agent_api.py
neutron/db/l3_agentschedulers_db.py
neutron/db/l3_dvrscheduler_db.py
neutron/tests/functional/services/l3_router/test_l3_dvr_router_plugin.py