Neutron ovs agent: Removing SmartNIC OVS representor port on instance tear down and resync
The current flow where a port is unbound from an agent running on
smartnic was not implemented causing representor ports to remain
connected to the integration bridge.
This change solves this issue in two cases:
* When deleting the instance and so deleting SmartNic port,
it will remove the unbound ports from integration bridge
* When resync SmartNic ports on Neutron OVS agent restart,
it will remove the port from integration bridge not mapped to
neutron SmartNic ports.
Reviewed: https:/ /review. opendev. org/702806 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=512d8abb4b0 63bbfcdb0711b18 e0157b668617f6
Committed: https:/
Submitter: Zuul
Branch: master
commit 512d8abb4b063bb fcdb0711b18e015 7b668617f6
Author: waleed mousa <email address hidden>
Date: Mon Feb 24 08:52:29 2020 +0000
Neutron ovs agent: Removing SmartNIC OVS representor port on instance tear down and resync
The current flow where a port is unbound from an agent running on
smartnic was not implemented causing representor ports to remain
connected to the integration bridge.
This change solves this issue in two cases:
* When deleting the instance and so deleting SmartNic port,
it will remove the unbound ports from integration bridge
* When resync SmartNic ports on Neutron OVS agent restart,
it will remove the port from integration bridge not mapped to
neutron SmartNic ports.
Closes-Bug: #1855260 9fbcb77fbde7303 89835ab6497
Change-Id: I7077577cca5432