]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DVR: fix router scheduling
authorOleg Bondarev <obondarev@mirantis.com>
Tue, 7 Jul 2015 09:02:58 +0000 (12:02 +0300)
committerRyan Moats <rmoats@us.ibm.com>
Mon, 10 Aug 2015 16:27:51 +0000 (11:27 -0500)
commit236e408272bcb9b8e957524864e571b5afdc4623
tree1692ac0aa12e654106718ce72e33a2966838ff61
parent985f6ed968e8483b1c5af7c672168cc9a9fc53ed
DVR: fix router scheduling

Fix scheduling of DVR routers to not stop scheduling once
csnat portion was scheduled. See bug report for failing
scenario.

This partially reverts
commit 3794b4a83e68041e24b715135f0ccf09a5631178
and fixes bug 1374473 by moving csnat scheduling
after general dvr router scheduling, so double binding does
not happen.

Closes-Bug: #1472163
Related-Bug: #1374473
Change-Id: I57c06e2be732e47b6cce7c724f6b255ea2d8fa32
neutron/scheduler/l3_agent_scheduler.py
neutron/tests/unit/extensions/test_agent.py
neutron/tests/unit/extensions/test_l3.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_agent_scheduler.py
neutron/tests/unit/scheduler/test_l3_agent_scheduler.py