neutron/neutron/services/trunk
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
..
drivers Wait before deleting trunk bridges for DPDK vhu 2020-04-03 21:12:10 +00:00
rpc Fix update of trunk subports during live migration 2021-02-11 09:00:50 +00:00
seg_types Revisit support for trunk segmentation types 2016-09-02 15:37:09 +00:00
__init__.py Revisit support for trunk segmentation types 2016-09-02 15:37:09 +00:00
callbacks.py use callback payloads for PRECOMMIT_UPDATE events 2018-07-20 08:30:29 +00:00
constants.py Inherit segmentation details for trunk subports if requested 2017-04-03 21:22:38 -07:00
exceptions.py Merge "Check MTU sanity of trunk port subports" 2016-09-05 16:36:27 +00:00
models.py Tag mechanism supports resources with standard attribute 2017-07-25 08:14:04 +09:00
plugin.py Ensure driver error preventing trunk port deletion is logged 2020-02-04 12:03:36 -05:00
rules.py Speed up trunk MTU enforcement check 2018-01-10 14:20:57 -08:00
utils.py Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00