]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DVR: only notify needed agents on new VM port creation
authorOleg Bondarev <obondarev@mirantis.com>
Tue, 6 Oct 2015 15:14:33 +0000 (18:14 +0300)
committerOleg Bondarev <obondarev@mirantis.com>
Fri, 23 Oct 2015 09:34:08 +0000 (12:34 +0300)
commitd3b191984cfe2b24f16bd57c1b4bb8c555ee10e0
tree00c4c70fdd3e82aa949675a1769edbb21365d0e6
parent7a9e8175c9bd868369403fe8ecabdd791465d5bb
DVR: only notify needed agents on new VM port creation

When a new VM which should be serviced by a DVR router appears
on compute host, this router is scheduled to that host and
notification is sent. Before the patch it was a broad notification
while really we only need to notify agent on target host.
This should decrease the load on neutron server at scale.

Closes-Bug: #1486795
Change-Id: Id48b6f6a71530c4f6092d2a07b2db1a5cd300c05
neutron/db/l3_agentschedulers_db.py
neutron/db/l3_dvrscheduler_db.py
neutron/tests/functional/services/l3_router/test_l3_dvr_router_plugin.py
neutron/tests/unit/scheduler/test_l3_agent_scheduler.py