Skip to content
Snippets Groups Projects
Commit e123afea authored by Bob Lantz's avatar Bob Lantz
Browse files

Changed to let iperf run indefinitely. Simplifies things.

parent 7ad48292
No related branches found
No related tags found
No related merge requests found
......@@ -180,12 +180,12 @@ def iperf( self ):
consoles = self.consoles
count = len( consoles )
for console in consoles:
console.node.cmd( 'iperf -sD &' )
console.node.cmd( 'iperf -sD' )
i = 0
for console in consoles:
i = ( i + 1 ) % count
ip = consoles[ i ].node.IP()
console.sendCmd( 'iperf -i 1 -c ' + ip )
console.sendCmd( 'iperf -t 99999 -i 1 -c ' + ip )
def stop( self ):
"Interrupt all consoles."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment