Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 45 lines (31 sloc) 0.847 kb
2e1b118 help module setup.
jvimal authored
1 import sys
2
3 def printhelp():
4 print """Usage (as root): python %s [opts]
5 opts:
6
12738b2 added cpulimit feature
jvimal authored
7 -n number
8 Number of hosts, default 10
9
10 -t time
11 Amount of time to run, default 10
12
13 -r rate
14 Shape links to constant rate, default 100mbit
15
16 -o file
17 Output from tests get written to file
18 default: results-$n-$t.html
19
20 -d
21 Start the hosts, configure the network and exit
22
23 --dryrun
24 Just print the commands
25
26 --test
27 Which test to run;
28 Default: none
29 Available: iperf
30
31 --stop
32 Stop the containers and bring down the network
33
34 -h,--help
35 Print this help
36
37 --tcpdump
38 Run tcpdump on all hosts (not available now)
39
40 --cpulimit x%%
41 Limit each host to x%% of the CPU
42 Default: no limit, just that all hosts have equal priority
5ffa818 nits
jvimal authored
43 """ % (sys.argv[0])
2e1b118 help module setup.
jvimal authored
44
Something went wrong with that request. Please try again.