[OVN] Match LSP_TYPE_VIRTUAL in PortBindingUpdateVirtualPortsEvent
With newer versions of OVN, port bindings are removed and added
for both virtual ports and container ports (aka trunk ports in
Neutron world)[1][2].
With this, Neutron recently landed a change in order to handle
virtual ports for the update/delete steps[3], however, this has
resulted in unexpected behaviour where the binding information
is wiped for trunk ports, then subsequently removed on the
next maintenance run.
We should make sure that we only have row deletes for
virtual ports specifically rather than all ports.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/896590 /opendev. org/openstack/ neutron/ commit/ 1160aaa4716904f dba06a8dcfbc1d5 a2ce419e72
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1160aaa4716904f dba06a8dcfbc1d5 a2ce419e72
Author: Mohammed Naser <email address hidden>
Date: Tue Sep 26 20:02:55 2023 +0000
[OVN] Match LSP_TYPE_VIRTUAL in PortBindingUpda teVirtualPortsE vent
With newer versions of OVN, port bindings are removed and added
for both virtual ports and container ports (aka trunk ports in
Neutron world)[1][2].
With this, Neutron recently landed a change in order to handle
virtual ports for the update/delete steps[3], however, this has
resulted in unexpected behaviour where the binding information
is wiped for trunk ports, then subsequently removed on the
next maintenance run.
We should make sure that we only have row deletes for
virtual ports specifically rather than all ports.
[1]: https:/ /github. com/ovn- org/ovn/ commit/ ec933537f9b04b3 5ef4b79fb2b4743 f9095da209 /github. com/ovn- org/ovn/ commit/ 28d40c0a024227c 9c845117087b759 4723ff0ec7 /review. opendev. org/c/openstack /neutron/ +/883681
[2]: https:/
[3]: https:/
Related-Bug: #2024160 ab9731310c2e2bd 8bd8c9a53ff
Change-Id: Ide3204748274cb