]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DVR: handle dvr serviceable port's host change
authorOleg Bondarev <obondarev@mirantis.com>
Thu, 22 Oct 2015 10:23:21 +0000 (13:23 +0300)
committerArmando Migliaccio <armamig@gmail.com>
Mon, 14 Dec 2015 17:33:36 +0000 (17:33 +0000)
commit189a6f1bc3295b719304f44e5b731ef671fe7f50
treef8d1389700c38e4bd64522d224e97a982050ad39
parente5e868ca4c8ff4dfbbc599d5bc6aebbb161e58d3
DVR: handle dvr serviceable port's host change

When a VM port's host is changed we need to check if a router
should be unscheduled from old host and send corresponding
notifications.
commit d5a8074ec3c67ed68e64a96827da990f1c34e10f added such
a check when port is unbound. This patch adds similar check
in case of host change (instance live migration)

Closes-Bug: #1508869

Change-Id: I57fa8253b2c88f7b7380a79b841fc424e9e52f19
neutron/db/l3_dvrscheduler_db.py
neutron/tests/functional/services/l3_router/test_l3_dvr_router_plugin.py