Delete non tag related device metadata during detach
When the blueprint virt-device-tagged-attach-detach [1] was
implemented the metadata cleanup during interface detach made an
assumption that metadata only exists if the detached vif has tags.
However metadata exists for vif with vlan information as well. In such
case the metadata is leaked during interface detach. This patch removes
this assumption from the detach code path.
Reviewed: https:/ /review. opendev. org/741436 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=16429c6b901 ae918f75f7b81f9 9b7e914e86d253
Committed: https:/
Submitter: Zuul
Branch: master
commit 16429c6b901ae91 8f75f7b81f99b7e 914e86d253
Author: Balazs Gibizer <email address hidden>
Date: Wed Jul 22 16:23:07 2020 +0200
Delete non tag related device metadata during detach
When the blueprint virt-device- tagged- attach- detach [1] was
implemented the metadata cleanup during interface detach made an
assumption that metadata only exists if the detached vif has tags.
However metadata exists for vif with vlan information as well. In such
case the metadata is leaked during interface detach. This patch removes
this assumption from the detach code path.
[1] https:/ /review. opendev. org/#/c/ 415520
Closes-Bug: #1887799 4867bd5f8794863 f0cd65de807
Change-Id: Iefdf9c8b024db0