]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Reschedule router if new external gateway is on other network
authorOleg Bondarev <obondarev@mirantis.com>
Wed, 16 Oct 2013 13:51:04 +0000 (17:51 +0400)
committerOleg Bondarev <obondarev@mirantis.com>
Thu, 10 Apr 2014 11:24:14 +0000 (15:24 +0400)
commit5f749768676e6739db1e01a03ddb7f3cb43d48f8
tree2d8790868669040addbfb05bb372f9db24d516e0
parent7cbe7ce27cf31a2a464727bc7a818f919aba95d7
Reschedule router if new external gateway is on other network

An L3 agent may be associated with just one external network.
If router's new external gateway is on other network then the router
needs to be rescheduled to the proper l3 agent

Change-Id: Ia0ed924403137ac4578ca562b57988292c41c1fe
Closes-Bug: #1234750
neutron/agent/l3_agent.py
neutron/db/l3_agentschedulers_db.py
neutron/db/l3_db.py
neutron/extensions/l3agentscheduler.py
neutron/scheduler/l3_agent_scheduler.py
neutron/tests/unit/test_agent_ext_plugin.py
neutron/tests/unit/test_l3_plugin.py