From 47dbca2921a52256928733c5ada6cb95ceb74ad0 Mon Sep 17 00:00:00 2001 From: Bob Lantz <rlantz@cs.stanford.edu> Date: Tue, 9 Mar 2010 21:47:32 -0800 Subject: [PATCH] Made iperf verbose and fixed node command output. --- mininet/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mininet/cli.py b/mininet/cli.py index 4fa767f0..ce2328ac 100644 --- a/mininet/cli.py +++ b/mininet/cli.py @@ -128,7 +128,7 @@ def do_pingpair( self, args ): def do_iperf( self, args ): "Simple iperf TCP test between two hosts." - self.mn.iperf() + self.mn.iperf( verbose=True ) def do_iperfudp( self, args ): "Simple iperf UDP test between two hosts." @@ -181,7 +181,7 @@ def default( self, line ): while True: try: done, data = node.monitor() - info( '%s\n' % data ) + info( '%s' % data ) if done: break except KeyboardInterrupt: -- GitLab