]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Do not autoreschedule routers if l3 agent is back online
authorOleg Bondarev <obondarev@mirantis.com>
Thu, 3 Dec 2015 14:39:20 +0000 (17:39 +0300)
committerOleg Bondarev <obondarev@mirantis.com>
Thu, 3 Dec 2015 16:33:29 +0000 (19:33 +0300)
commit9ec466cd42de94c2fad091edfd7583a5f47eb87a
tree1536bf7ec5488f84f00bde5df64f79afba2bcd5d
parent770624b13bf57fdab549bfb66ee9cc6781ae8d65
Do not autoreschedule routers if l3 agent is back online

If there are a lot of routers scheduled to l3 agent,
rescheduling all of them one by one might take quite a long
period of time - during that time some agents might get back
online. In this case we should skip rescheduling.

Closes-Bug: #1522436
Change-Id: If6df1f2878ea3379e8d2dba431de3e358e40189d
neutron/db/l3_agentschedulers_db.py
neutron/tests/unit/db/test_agentschedulers_db.py