]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DVR: do not reschedule router for down agents on compute nodes
authorOleg Bondarev <obondarev@mirantis.com>
Thu, 2 Jul 2015 12:47:34 +0000 (15:47 +0300)
committerOleg Bondarev <obondarev@mirantis.com>
Fri, 14 Aug 2015 13:36:15 +0000 (16:36 +0300)
commit419ce6281dd1e44597617d44fe5496580536b0e5
treebbe924dcff4fb46d6e993a3852db0791b1e99ad1
parentd6742d48b09951cee6ff582a983e1841852e407f
DVR: do not reschedule router for down agents on compute nodes

Scheduling/unscheduling of DVR routers with l3 agents in 'dvr' mode
running on a compute nodes is done according to DVR serviced ports
created/deleted on that compute nodes. It doesn't make sense to reschedule
router from l3 agent on compute node even if it's down - no other l3 agent
can handle VMs running on that compute node.

Closes-Bug: #1470889
Change-Id: Ib998b9e459dd1a9ab740fafa5d84dc3211ca0097
neutron/db/l3_agentschedulers_db.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_agent_scheduler.py