Revision 85a87e21 scripts/gnt-debug
b/scripts/gnt-debug | ||
---|---|---|
50 | 50 |
delay = float(args[0]) |
51 | 51 |
op = opcodes.OpTestDelay(duration=delay, |
52 | 52 |
on_master=opts.on_master, |
53 |
on_nodes=opts.on_nodes) |
|
53 |
on_nodes=opts.on_nodes, |
|
54 |
repeat=opts.repeat) |
|
54 | 55 |
SubmitOpCode(op, opts=opts) |
55 | 56 |
|
56 | 57 |
return 0 |
... | ... | |
161 | 162 |
action="store_false", help="Do not sleep in the master code"), |
162 | 163 |
cli_option("-n", dest="on_nodes", default=[], |
163 | 164 |
action="append", help="Select nodes to sleep on"), |
165 |
cli_option("-r", "--repeat", type="int", default="0", dest="repeat", |
|
166 |
help="Number of times to repeat the sleep"), |
|
164 | 167 |
], |
165 | 168 |
"[opts...] <duration>", "Executes a TestDelay OpCode"), |
166 | 169 |
'submit-job': ( |
Also available in: Unified diff