[OVN] update_port should not remove values from external_ids
Prior to this patch, the OVNClient implementation for neutron's
update_port was setting the external_ids of the affected logical
switch port to a hard-coded dictionary. This meant that any key
value pairs that were not listed there would simply get removed.
This would make it impossible for any other users of the
external_id to have a reliable way of storing its data. One of
such users could be the ovn-octavia-provider.
Closes-Bug: #1896827
Change-Id: Ie580534e4d91f1ca2e1dc8331632d49d4720e7ba
(cherry picked from commit be3669258cb6f8a6c43b2f016a344185075fa544)
Reviewed: https:/ /review. opendev. org/755081 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=f25f05959a4 3b09a02adef45f8 bfe654941a0a27
Committed: https:/
Submitter: Zuul
Branch: stable/victoria
commit f25f05959a43b09 a02adef45f8bfe6 54941a0a27
Author: Flavio Fernandes <email address hidden>
Date: Wed Sep 23 15:28:55 2020 -0400
[OVN] update_port should not remove values from external_ids
Prior to this patch, the OVNClient implementation for neutron's provider.
update_port was setting the external_ids of the affected logical
switch port to a hard-coded dictionary. This meant that any key
value pairs that were not listed there would simply get removed.
This would make it impossible for any other users of the
external_id to have a reliable way of storing its data. One of
such users could be the ovn-octavia-
Closes-Bug: #1896827 ca2e1dc8331632d 49d4720e7ba 6c43b2f016a3441 85075fa544)
Change-Id: Ie580534e4d91f1
(cherry picked from commit be3669258cb6f8a