]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
centralized router is incorrectly scheduled
authorMichael Smith <michael.smith6@hp.com>
Thu, 31 Jul 2014 06:17:47 +0000 (23:17 -0700)
committerMichael Smith <michael.smith6@hp.com>
Fri, 1 Aug 2014 01:10:35 +0000 (18:10 -0700)
commitb844085d21622c11fd0735ae6944dd14cae5c5c3
treeb04c818ede4d40023f704ed48d8ecf5aa2d1ea99
parentf32c0ebe68f0ad27ac7a9717ef3f6e3406f953a1
centralized router is incorrectly scheduled

When agent_mode=dvr only distributed routers should be
scheduled to that agent.  This change fixes this problem
by not allowing centralized routers to be scheduled
to an agent configured with agent_mode=dvr

Closes-bug: 1350667
Change-Id: I34e118535094520f2cee853f39d582a625acde20
neutron/db/l3_agentschedulers_db.py
neutron/tests/unit/test_l3_schedulers.py