ovs-agent exception non-existent ports
Bug #1019491 Change-Id: Ica3aa3f6c81e4fd062b752867487c89515fb9446
This commit is contained in:
parent
ffac2b42e5
commit
08229158be
@ -346,7 +346,8 @@ class OVSQuantumTunnelAgent(object):
|
||||
|
||||
self.int_br.set_db_attribute("Port", port.port_name, "tag",
|
||||
str(lvm.vlan))
|
||||
self.int_br.delete_flows(in_port=port.ofport)
|
||||
if int(port.ofport) != -1:
|
||||
self.int_br.delete_flows(in_port=port.ofport)
|
||||
|
||||
def port_unbound(self, port, net_uuid):
|
||||
'''Unbind port.
|
||||
|
Loading…
x
Reference in New Issue
Block a user