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:
+1
-1
@@ -962,7 +962,7 @@ class OVSSwitch( Switch ):
|
|||||||
if not intf.IP():
|
if not intf.IP():
|
||||||
self.attach( intf )
|
self.attach( intf )
|
||||||
# Add controllers
|
# Add controllers
|
||||||
clist = ','.join( [ 'tcp:%s:%d' % ( c.IP(), c.port )
|
clist = ' '.join( [ 'tcp:%s:%d' % ( c.IP(), c.port )
|
||||||
for c in controllers ] )
|
for c in controllers ] )
|
||||||
self.cmd( 'ovs-vsctl set-controller', self, clist )
|
self.cmd( 'ovs-vsctl set-controller', self, clist )
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user