Skip to content

Commit 2c154bb

Browse files
committed
fixed typo in bridge name for ovs
1 parent 41c7a68 commit 2c154bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/core/netns/openvswitch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def linknet(self, network):
312312
if network.up:
313313
# this is similar to net.attach() but uses netif.name instead
314314
# of localname
315-
subprocess.check_call([constants.OVS_BIN, "add-port", network.brname, interface.name])
315+
subprocess.check_call([constants.OVS_BIN, "add-port", network.bridge_name, interface.name])
316316
subprocess.check_call([constants.IP_BIN, "link", "set", interface.name, "up"])
317317

318318
# TODO: is there a native method for this? see if this causes issues

0 commit comments

Comments
 (0)