Commit 7686c2c0 by Bach Dániel

netdriver: call del_port_from_bridge() in port_create

parent 9d54db9e
......@@ -213,6 +213,10 @@ def port_create(network):
add_tuntap_interface(network.name)
if not native_ovs:
try:
del_port_from_bridge(network.name)
except:
pass
# Create the port for virtual network
add_port_to_bridge(network.name, network.bridge)
# Set VLAN parameter for tap interface
......
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