Merge "Skip DVR binding for ports with invalid OFPORT" into stable/victoria

This commit is contained in:
Zuul 2021-09-24 01:39:18 +00:00 committed by Gerrit Code Review
commit 81e9aeb7a9
1 changed files with 4 additions and 3 deletions

View File

@ -638,6 +638,7 @@ class OVSDVRNeutronAgent(object):
"%(ofport)s, rebinding.",
{'vif': port.vif_id, 'ofport': port.ofport})
self.unbind_port_from_dvr(port, local_vlan_map)
if port.ofport in (ovs_lib.INVALID_OFPORT,
ovs_lib.UNASSIGNED_OFPORT):
return