]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DVR:don't reschedule the l3 agent running on compute node
authorOleg Bondarev <obondarev@mirantis.com>
Wed, 25 Nov 2015 12:14:18 +0000 (15:14 +0300)
committerOleg Bondarev <obondarev@mirantis.com>
Tue, 1 Dec 2015 09:48:28 +0000 (12:48 +0300)
commit13ce7c85552ee6af9856bf701b55d2293ba5610d
treeb6290547fa078d1d947110b38bb6511f2ab3c605
parent5b804251aceb9db2d226f11c03b8b1ebc2fe7fa7
DVR:don't reschedule the l3 agent running on compute node

For a DVR router, when it updates router gateway_ip, it should not
reschedule the l3 agents running on compute nodes whose mode is dvr,
it just need to reschedule the l3 agents running on network nodes
whose mode is dvr_snat.

Change-Id: Ib8ea6797c88cefb473eff9a8a7b2517a6aa90ca4
Closes-bug: #1496204
Co-Authored-By: Oleg Bondarev <obondarev@mirantis.com>
neutron/db/l3_agentschedulers_db.py
neutron/db/l3_dvrscheduler_db.py
neutron/tests/unit/db/test_agentschedulers_db.py