neutron/neutron/tests
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
..
common "ping"/"ping6" command support in rootwrap filters 2020-09-29 10:26:50 +00:00
contrib Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Limit usage of resources in the fullstack tests job 2021-01-18 14:53:46 +01:00
functional Merge "Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue"" into stable/train 2021-01-21 02:48:55 +00:00
unit Fix update of trunk subports during live migration 2021-02-11 08:58:44 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Reset timeout exception in DietTestCase when retrying 2020-02-04 16:51:12 +00:00
post_mortem_debug.py
tools.py consume WarningsFixture from neutron-lib 2019-07-09 08:32:33 -06:00