Commit c54d5eef by Guba Sándor

workaround for missing nic-s

parent b1585348
...@@ -245,7 +245,10 @@ def port_create(network): ...@@ -245,7 +245,10 @@ def port_create(network):
def port_delete(network): def port_delete(network):
""" Remove port from bridge and remove rules from flow database. """ """ Remove port from bridge and remove rules from flow database. """
# Clear all port rules # Clear all port rules
clear_port_rules(network) try:
clear_port_rules(network)
except:
pass # Missing port (deleted already)
if not native_ovs: if not native_ovs:
# Delete port # Delete port
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment