Made iperf verbose and fixed node command output.
This commit is contained in:
+2
-2
@@ -128,7 +128,7 @@ class CLI( Cmd ):
|
|||||||
|
|
||||||
def do_iperf( self, args ):
|
def do_iperf( self, args ):
|
||||||
"Simple iperf TCP test between two hosts."
|
"Simple iperf TCP test between two hosts."
|
||||||
self.mn.iperf()
|
self.mn.iperf( verbose=True )
|
||||||
|
|
||||||
def do_iperfudp( self, args ):
|
def do_iperfudp( self, args ):
|
||||||
"Simple iperf UDP test between two hosts."
|
"Simple iperf UDP test between two hosts."
|
||||||
@@ -181,7 +181,7 @@ class CLI( Cmd ):
|
|||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
done, data = node.monitor()
|
done, data = node.monitor()
|
||||||
info( '%s\n' % data )
|
info( '%s' % data )
|
||||||
if done:
|
if done:
|
||||||
break
|
break
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|||||||
Reference in New Issue
Block a user