Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (31 sloc) 847 Bytes
import sys
def printhelp():
print """Usage (as root): python %s [opts]
-n number
Number of hosts, default 10
-t time
Amount of time to run, default 10
-r rate
Shape links to constant rate, default 100mbit
-o file
Output from tests get written to file
default: results-$n-$t.html
Start the hosts, configure the network and exit
Just print the commands
Which test to run;
Default: none
Available: iperf
Stop the containers and bring down the network
Print this help
Run tcpdump on all hosts (not available now)
--cpulimit x%%
Limit each host to x%% of the CPU
Default: no limit, just that all hosts have equal priority
""" % (sys.argv[0])