Correct the comments of do_pingallfull() and do_iperfudp()

This commit is contained in:
Baohua Yang
2013-12-21 21:36:24 +08:00
committed by Baohua Yang
parent 3780d9cda8
commit 24fe68d925
+2 -2
View File
@@ -160,7 +160,7 @@ class CLI( Cmd ):
self.mn.pingPair() self.mn.pingPair()
def do_pingallfull( self, _line ): def do_pingallfull( self, _line ):
"Ping between first two hosts, returns all ping results." "Ping between all hosts, returns all ping results."
self.mn.pingAllFull() self.mn.pingAllFull()
def do_pingpairfull( self, _line ): def do_pingpairfull( self, _line ):
@@ -187,7 +187,7 @@ class CLI( Cmd ):
error( 'invalid number of args: iperf src dst\n' ) error( 'invalid number of args: iperf src dst\n' )
def do_iperfudp( self, line ): def do_iperfudp( self, line ):
"Simple iperf TCP test between two (optionally specified) hosts." "Simple iperf UDP test between two (optionally specified) hosts."
args = line.split() args = line.split()
if not args: if not args:
self.mn.iperf( l4Type='UDP' ) self.mn.iperf( l4Type='UDP' )