]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Do not use auto_schedule_routers to add router to agent
authorarmando-migliaccio <armamig@gmail.com>
Thu, 21 Aug 2014 01:04:33 +0000 (18:04 -0700)
committerarmando-migliaccio <armamig@gmail.com>
Wed, 27 Aug 2014 15:58:38 +0000 (08:58 -0700)
commit76f4d7db9f44022667d347dfe0474a3abb3b1bb7
tree080e69da6306087c7dd32e1eab6337e6f6bd2e0f
parentdaa619c02f3da25a2dfedebf3031b6af9a51931c
Do not use auto_schedule_routers to add router to agent

auto_schedule_routers makes a number of DB calls that are
unnecessary as they are already made during the validation
phase of add_router_to_l3_agent. Once the validation is
done, the only business left is to create the binding: this
is what this patch does.

Partial-bug: #1356121

Change-Id: Ia9be998c2b94416bc46ef78415099f0099b08c2a
neutron/db/l3_agentschedulers_db.py