neutron/neutron/services
Slawek Kaplonski 961575beae 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 08:55:30 +00:00
..
auto_allocate Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
conntrack_helper Bump pylint version to support python 3.8 2020-08-06 16:00:30 +02:00
externaldns Merge "Optionally use admin powers when deleting DNS records" 2020-07-12 12:16:21 +00:00
flavors use api def ALIAS in supported_extension_aliases 2019-04-08 08:30:20 -06:00
l3_router Implement extension: extraroute-atomic 2019-09-11 13:58:47 +02:00
logapi Update requirements for recent pip failures 2020-12-14 11:35:53 +01:00
loki use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
metering Update requirements for recent pip failures 2020-12-14 11:35:53 +01:00
network_ip_availability use api def ALIAS in supported_extension_aliases 2019-04-08 08:30:20 -06:00
network_segment_range Remove "six" library 2020-07-28 16:55:52 +00:00
ovn_l3 Disable dns-integration API extension if it's not enabled in ML2 2021-01-13 15:30:05 +00:00
placement_report Locate RP-tree parent by hypervisor name 2019-12-10 10:21:53 +01:00
portforwarding Fix incorrect exception catch when update floating ip port forwarding 2021-02-09 04:52:41 +00:00
qos Optimize get_ports with QoS extension 2021-02-03 09:26:05 +00:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions use api def ALIAS in supported_extension_aliases 2019-04-08 08:30:20 -06:00
segments Delete segment RPs when network is deleted 2020-05-25 09:10:41 +00:00
tag Implement tagging during bulk port creation 2020-01-28 18:23:37 -06:00
timestamp remove the neutron.db._model_query module 2019-01-25 08:55:25 -07:00
trunk Fix update of trunk subports during live migration 2021-02-11 08:55:30 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
provider_configuration.py Merge "Select service_provider on the basis of service_module" 2018-11-15 12:47:09 +00:00
service_base.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00