node: add OVS passive listening support

This commit is contained in:
Brandon Heller
2012-11-15 00:50:25 -08:00
parent 915c6d4a60
commit 3744638e5c
+2
View File
@@ -964,6 +964,8 @@ class OVSSwitch( Switch ):
# Add controllers
clist = ' '.join( [ 'tcp:%s:%d' % ( c.IP(), c.port )
for c in controllers ] )
if self.listenPort:
clist += ' ptcp:%s' % self.listenPort
self.cmd( 'ovs-vsctl set-controller', self, clist )
def stop( self ):