[ovn] Add PortBinding delete event for external ports
The ports are unbound from chassis before they get deleted after VM with
normal VIF ports is deleted. In case of SRIOV, we do not unbound the
external SRIOV port but we delete it right away with chassis column set.
This patch adds DELETE event type support to the event that tears down
the metadata datapath. Also a warning is added if bound port that is not
external is being removed.
Change-Id: I17b71933b8c3a7609fcc5027c246f5b03d493ee2
Closes-Bug: #1875865
Signed-off-by: Jakub Libosvar <email address hidden>
Reviewed: https:/ /review. opendev. org/724287 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=76a2f8b33e3 f673b96feeb2724 ae55567a3b6520
Committed: https:/
Submitter: Zuul
Branch: master
commit 76a2f8b33e3f673 b96feeb2724ae55 567a3b6520
Author: Jakub Libosvar <email address hidden>
Date: Wed Apr 29 11:15:36 2020 +0000
[ovn] Add PortBinding delete event for external ports
The ports are unbound from chassis before they get deleted after VM with
normal VIF ports is deleted. In case of SRIOV, we do not unbound the
external SRIOV port but we delete it right away with chassis column set.
This patch adds DELETE event type support to the event that tears down
the metadata datapath. Also a warning is added if bound port that is not
external is being removed.
Change-Id: I17b71933b8c3a7 609fcc5027c246f 5b03d493ee2
Closes-Bug: #1875865
Signed-off-by: Jakub Libosvar <email address hidden>