]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Notify about port create/update unconditionally
authorOleg Bondarev <obondarev@mirantis.com>
Tue, 1 Dec 2015 08:47:05 +0000 (11:47 +0300)
committerSwaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Wed, 2 Dec 2015 19:51:50 +0000 (11:51 -0800)
commit87ce73141dddb840ffc523f253fdf87aef11d1c7
treea327ddf028f1edaf1c174c317d87d5029d04f056
parentf308869372458462b18a8753589fae44df8afd1d
Notify about port create/update unconditionally

The notification about port create/update should be done no matter
if host (or any other field) was changed or not - it should be up to
handler to decide how to handle it.

This also fixes the bug when there was actually no notification to l3
dvr agent on compute node on new port creation:
_get_host_port_if_changed() always returned None - this is a regression
from commit 2ee08c3464c53abaf9bc5493132ad7958611e3b8

Closes-Bug: #1521524
Change-Id: I5bb416d2aaab632526f06a5620c0a4ea96340d21
neutron/plugins/ml2/plugin.py
neutron/tests/unit/plugins/ml2/test_plugin.py