node: Use space, rather than comma, to separate controllers

for OVS

Otherwise, OVS thinks the second controller is a parameter of the first, and
only creates one controller entry as seen in 'ovs-vsctl show'.
This commit is contained in:
Brandon Heller
2012-11-15 00:50:25 -08:00
parent bd964adb57
commit 915c6d4a60
+1 -1
View File
@@ -962,7 +962,7 @@ class OVSSwitch( Switch ):
if not intf.IP():
self.attach( intf )
# Add controllers
clist = ','.join( [ 'tcp:%s:%d' % ( c.IP(), c.port )
clist = ' '.join( [ 'tcp:%s:%d' % ( c.IP(), c.port )
for c in controllers ] )
self.cmd( 'ovs-vsctl set-controller', self, clist )