neutron/neutron/services
Slawek Kaplonski 68d9a97773 Fix update of trunk subports during live migration
During the live migration trunk subports where updated only based
on the "host_id" field. But when rpc message to update subports
is send trunk's port is still bound to the old host and has
"migrating_to" field in binding:profile set to the new host.
Because of that binding:host_id for the subport's port wasn't updated
proberly and port was set to DOWN on the new host.
That could even cause connectivity break if L2population is used in the
cloud.

This patch fixes that by updating subport's binding:host_id field based
on the migrating_to field if that is available and not empty.

Closes-Bug: #1914747
Change-Id: I98e55242d381ada642ca0729e9aefdea7628c945
(cherry picked from commit e05101c8ac)
2021-02-11 09:00:50 +00:00
..
auto_allocate use callback payloads for PRECOMMIT_UPDATE events 2018-07-20 08:30:29 +00:00
externaldns use dns api def from neutron-lib 2017-10-20 16:38:33 -06:00
flavors use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
l3_router Fix attribute mismatch in router provider update 2019-04-18 20:57:20 +08:00
logapi Merge "Fix no packet log data when debug is set False in configuration" into stable/queens 2018-09-07 22:39:57 +00:00
loki Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
metering Merge "Update metering driver to load interface driver" into stable/queens 2018-08-29 22:07:14 +00:00
network_ip_availability Fix file permissions 2017-05-31 20:49:01 +00:00
qos Fix QoS rule update 2019-03-29 09:10:09 +00:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions Run revision bump operations en masse 2019-11-22 09:32:27 -05:00
segments Use dict .get() to avoid a KeyError in the segment plugin 2020-09-04 15:14:40 +02:00
tag use neutron-lib's OVO exceptions 2017-08-28 09:31:19 -06:00
timestamp Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
trunk Fix update of trunk subports during live migration 2021-02-11 09:00:50 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
provider_configuration.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
service_base.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00