]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure router exists when auto_schedule_routers
authorZhiQiang Fan <aji.zqfan@gmail.com>
Wed, 18 Sep 2013 17:53:44 +0000 (01:53 +0800)
committerZhiQiang Fan <aji.zqfan@gmail.com>
Thu, 26 Sep 2013 14:48:46 +0000 (22:48 +0800)
commit3e1116eb0f1d94530707cd6ef4b37f17e9a13918
tree8c96b5115dbd712bb0c51bd39474bf3009390d1b
parentae56b4e11e1871b912bdbd1a47ae1684dce8a578
Ensure router exists when auto_schedule_routers

Currently, the auto_schedule_routers() accepts parameter router_ids,
which may contain invalid router ids, since we've already filtered
them via plugin.get_routers(), we can directly use that safe object.

Closes-Bug: #1217998
Closes-Bug: #1210877

Change-Id: I6196f16cca65fee4e848173d0a0a10fde967195d
neutron/scheduler/l3_agent_scheduler.py
neutron/tests/unit/openvswitch/test_agent_scheduler.py