neutron/neutron/tests/unit/services
Slawek Kaplonski 366fae2d53 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:58:44 +00:00
..
auto_allocate remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
conntrack_helper Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
l3_router Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
logapi Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
metering Retry creating iptables managers and adding metering rules 2019-07-13 16:10:19 +03:00
network_segment_range Fix error 500 during segment range creation 2019-04-05 10:26:36 +02:00
placement_report Locate RP-tree parent by hypervisor name 2019-12-20 13:25:13 +01:00
portforwarding port_forwarding: validate args before invoking db update 2020-08-06 14:31:31 -04:00
qos [QoS] Get only min bw rules when extending port dict 2021-01-26 09:43:50 +00:00
revisions Use created subnet in port generator in "test_port_ip_update_revises" 2019-05-14 10:05:17 +00:00
trunk Fix update of trunk subports during live migration 2021-02-11 08:58:44 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_provider_configuration.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00