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
Change-Id: I7077577cca54329fbcb77fbde730389835ab6497
(cherry picked from commit 512d8abb4b063bbfcdb0711b18e0157b668617f6)
Reviewed: https:/ /review. opendev. org/717149 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c09f191419b 71cd1f414ea70dd 47358b49d3c390
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit c09f191419b71cd 1f414ea70dd4735 8b49d3c390
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 fcdb0711b18e015 7b668617f6)
Change-Id: I7077577cca5432
(cherry picked from commit 512d8abb4b063bb