Revision e1711f35 mininet/net.py

View differences:

mininet/net.py
689 689
        """Run iperf between two hosts.
690 690
           hosts: list of hosts; if None, uses opposite hosts
691 691
           l4Type: string, one of [ TCP, UDP ]
692
           returns: results two-element array of server and client speeds"""
692
           returns: results two-element array of [ server, client ] speeds
693
           note: send() is buffered, so client rate can be much higher than
694
           the actual transmission rate; on an unloaded system, server
695
           rate should be much closer to the actual receive rate"""
693 696
        if not quietRun( 'which telnet' ):
694 697
            error( 'Cannot find telnet in $PATH - required for iperf test' )
695 698
            return

Also available in: Unified diff