ml2: fix update_device_up to send lm events with linux bridge
In case of a live migration and with linux bridge the events are not
sent to Nova, because the port UUID returned by _device_to_port_id may
be a truncated UUID and the current plugin._get_port() can't find it.
Reviewed: https:/ /review. openstack. org/561160 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=d9c6610cb60 f2da152f567aaa1 b0cdb9edef2957
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit d9c6610cb60f2da 152f567aaa1b0cd b9edef2957
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Thu Sep 21 15:42:54 2017 +0200
ml2: fix update_device_up to send lm events with linux bridge
In case of a live migration and with linux bridge the events are not
sent to Nova, because the port UUID returned by _device_to_port_id may
be a truncated UUID and the current plugin._get_port() can't find it.
Conflicts:
neutron/ tests/unit/ plugins/ ml2/test_ rpc.py
NOTE(lyarwood): Test conflict introducing an additional mock for ml2_db, 791da3b65546e59 f6929c8c685.
required prior to Pike and Ia15c63f94d2c67
Related-Bug: #1414559 822ab07ae4f9bc4 05c1362afba 7f64f264c68ef9b 88d66e0324) 4dd481aff5515a8 1878c8e067)
Change-Id: Icb039ae2d465e3
Signed-off-by: Sahid Orentino Ferdjaoui <email address hidden>
(cherry picked from commit 38b3d4e16ac76d9
(cherry picked from commit 50988f3f3665adb