fixed typo in bridge name for ovs
This commit is contained in:
parent
41c7a6896c
commit
2c154bb255
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ class OvsNet(PyCoreNet):
|
||||||
if network.up:
|
if network.up:
|
||||||
# this is similar to net.attach() but uses netif.name instead
|
# this is similar to net.attach() but uses netif.name instead
|
||||||
# of localname
|
# of localname
|
||||||
subprocess.check_call([constants.OVS_BIN, "add-port", network.brname, interface.name])
|
subprocess.check_call([constants.OVS_BIN, "add-port", network.bridge_name, interface.name])
|
||||||
subprocess.check_call([constants.IP_BIN, "link", "set", interface.name, "up"])
|
subprocess.check_call([constants.IP_BIN, "link", "set", interface.name, "up"])
|
||||||
|
|
||||||
# TODO: is there a native method for this? see if this causes issues
|
# TODO: is there a native method for this? see if this causes issues
|
||||||
|
|
Loading…
Reference in a new issue