Minor comment change and text change.

This commit is contained in:
Bob Lantz
2013-06-25 19:39:53 -07:00
parent bdd43beaf3
commit 877e7efb5f
+1 -1
View File
@@ -975,7 +975,7 @@ class OVSSwitch( Switch ):
if self.listenPort: if self.listenPort:
clist += ' ptcp:%s' % self.listenPort clist += ' ptcp:%s' % self.listenPort
self.cmd( 'ovs-vsctl set-controller', self, clist ) self.cmd( 'ovs-vsctl set-controller', self, clist )
# Set controllers to reconnect quickly # Reconnect quickly to controllers (1s vs. 15s max_backoff)
controllers = self.cmd( 'ovs-vsctl -- get Bridge', self, controllers = self.cmd( 'ovs-vsctl -- get Bridge', self,
'Controller' ).strip() 'Controller' ).strip()
if controllers.startswith( '[' ) and controllers.endswith( ']' ): if controllers.startswith( '[' ) and controllers.endswith( ']' ):