Minor format tweaks.

This commit is contained in:
Bob Lantz
2010-04-09 01:46:51 -07:00
parent 15b482e375
commit ce67093a62
+3 -1
View File
@@ -23,6 +23,7 @@ def sh( cmd ):
def cleanup(): def cleanup():
"""Clean up junk which might be left over from old runs; """Clean up junk which might be left over from old runs;
do fast stuff before slow dp and link removal!""" do fast stuff before slow dp and link removal!"""
info("*** Removing excess controllers/ofprotocols/ofdatapaths/pings/noxes" info("*** Removing excess controllers/ofprotocols/ofdatapaths/pings/noxes"
"\n") "\n")
zombies = 'controller ofprotocol ofdatapath ping nox_core lt-nox_core ' zombies = 'controller ofprotocol ofdatapath ping nox_core lt-nox_core '
@@ -35,7 +36,7 @@ def cleanup():
info( "*** Removing junk from /tmp\n" ) info( "*** Removing junk from /tmp\n" )
sh( 'rm -f /tmp/vconn* /tmp/vlogs* /tmp/*.out /tmp/*.log' ) sh( 'rm -f /tmp/vconn* /tmp/vlogs* /tmp/*.out /tmp/*.log' )
info("*** Removing old screen sessions") info( "*** Removing old screen sessions\n" )
cleanUpScreens() cleanUpScreens()
info( "*** Removing excess kernel datapaths\n" ) info( "*** Removing excess kernel datapaths\n" )
@@ -51,3 +52,4 @@ def cleanup():
sh( "ip link del " + link ) sh( "ip link del " + link )
info( "*** Cleanup complete.\n" ) info( "*** Cleanup complete.\n" )