Revision 064c21f8 scripts/gnt-debug
b/scripts/gnt-debug | ||
---|---|---|
156 | 156 |
commands = { |
157 | 157 |
'delay': ( |
158 | 158 |
Delay, [ArgUnknown(min=1, max=1)], |
159 |
[DEBUG_OPT, |
|
160 |
cli_option("--no-master", dest="on_master", default=True, |
|
159 |
[cli_option("--no-master", dest="on_master", default=True, |
|
161 | 160 |
action="store_false", help="Do not sleep in the master code"), |
162 | 161 |
cli_option("-n", dest="on_nodes", default=[], |
163 | 162 |
action="append", help="Select nodes to sleep on"), |
... | ... | |
165 | 164 |
"[opts...] <duration>", "Executes a TestDelay OpCode"), |
166 | 165 |
'submit-job': ( |
167 | 166 |
GenericOpCodes, [ArgFile(min=1)], |
168 |
[DEBUG_OPT, VERBOSE_OPT,
|
|
167 |
[VERBOSE_OPT, |
|
169 | 168 |
cli_option("--op-repeat", type="int", default="1", dest="rep_op", |
170 | 169 |
help="Repeat the opcode sequence this number of times"), |
171 | 170 |
cli_option("--job-repeat", type="int", default="1", dest="rep_job", |
... | ... | |
177 | 176 |
" containing a list of serialized opcodes"), |
178 | 177 |
'allocator': ( |
179 | 178 |
TestAllocator, ARGS_ONE_INSTANCE, |
180 |
[DEBUG_OPT, |
|
181 |
cli_option("--dir", dest="direction", |
|
179 |
[cli_option("--dir", dest="direction", |
|
182 | 180 |
default="in", choices=["in", "out"], |
183 | 181 |
help="Show allocator input (in) or allocator" |
184 | 182 |
" results (out)"), |
Also available in: Unified diff