fixed typo in bridge name for ovs

This commit is contained in:
Blake J. Harnden 2017-10-03 11:38:58 -07:00
parent 41c7a6896c
commit 2c154bb255

View file

@ -312,7 +312,7 @@ class OvsNet(PyCoreNet):
if network.up:
# this is similar to net.attach() but uses netif.name instead
# 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"])
# TODO: is there a native method for this? see if this causes issues