Slightly reduce cliinfo verbosity

This commit is contained in:
Brandon Heller
2010-03-04 21:34:01 -08:00
parent bb941950d5
commit 4e69ae83dd
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ import os.path
import sys
import time
from mininet.log import lg, LEVELS
from mininet.log import lg, LEVELS, info
from mininet.net import Mininet, init
from mininet.node import KernelSwitch, Host, Controller, ControllerParams, NOX
from mininet.node import RemoteController, UserSwitch, OVSKernelSwitch
@@ -221,7 +221,7 @@ class MininetRunner( object ):
mn.run( test )
elapsed = float( time.time() - start )
print ( 'completed in %0.3f seconds' % elapsed )
info( 'completed in %0.3f seconds\n' % elapsed )
if __name__ == "__main__":
+1 -1
View File
@@ -52,7 +52,7 @@ class CLI( Cmd ):
for node in self.nodelist:
self.nodemap[ node.name ] = node
Cmd.__init__( self )
warn( '*** Starting CLI:\n' )
info( '*** Starting CLI:\n' )
self.cmdloop()
# Disable pylint "Unused argument: 'arg's'" messages.