clean: don't wait forever for ovsdb

This could happen if OVS was installed but not running.
This commit is contained in:
Rich Lane
2013-07-09 08:34:33 -07:00
parent 71ffb0028e
commit 94ff77f2f2
+1 -1
View File
@@ -49,7 +49,7 @@ def cleanup():
sh( 'dpctl deldp ' + dp )
info( "*** Removing OVS datapaths" )
dps = sh("ovs-vsctl list-br").split( '\n' )
dps = sh("ovs-vsctl --timeout=1 list-br").split( '\n' )
for dp in dps:
if dp:
sh( 'ovs-vsctl del-br ' + dp )