Merge "Skip DVR binding for ports with invalid OFPORT"
This commit is contained in:
commit
d77cecd6c6
@ -646,6 +646,7 @@ class OVSDVRNeutronAgent(object):
|
|||||||
"%(ofport)s, rebinding.",
|
"%(ofport)s, rebinding.",
|
||||||
{'vif': port.vif_id, 'ofport': port.ofport})
|
{'vif': port.vif_id, 'ofport': port.ofport})
|
||||||
self.unbind_port_from_dvr(port, local_vlan_map)
|
self.unbind_port_from_dvr(port, local_vlan_map)
|
||||||
|
|
||||||
if port.ofport in (ovs_lib.INVALID_OFPORT,
|
if port.ofport in (ovs_lib.INVALID_OFPORT,
|
||||||
ovs_lib.UNASSIGNED_OFPORT):
|
ovs_lib.UNASSIGNED_OFPORT):
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user