Revision d0c8c01d lib/client/gnt_debug.py
b/lib/client/gnt_debug.py | ||
---|---|---|
143 | 143 |
while len(row) < 3: |
144 | 144 |
row.append(None) |
145 | 145 |
for i in range(3): |
146 |
if row[i] == '':
|
|
146 |
if row[i] == "":
|
|
147 | 147 |
row[i] = None |
148 | 148 |
nic_dict = [{ |
149 | 149 |
constants.INIC_MAC: v[0], |
... | ... | |
616 | 616 |
|
617 | 617 |
|
618 | 618 |
commands = { |
619 |
'delay': (
|
|
619 |
"delay": (
|
|
620 | 620 |
Delay, [ArgUnknown(min=1, max=1)], |
621 | 621 |
[cli_option("--no-master", dest="on_master", default=True, |
622 | 622 |
action="store_false", help="Do not sleep in the master code"), |
... | ... | |
627 | 627 |
DRY_RUN_OPT, PRIORITY_OPT, |
628 | 628 |
], |
629 | 629 |
"[opts...] <duration>", "Executes a TestDelay OpCode"), |
630 |
'submit-job': (
|
|
630 |
"submit-job": (
|
|
631 | 631 |
GenericOpCodes, [ArgFile(min=1)], |
632 | 632 |
[VERBOSE_OPT, |
633 | 633 |
cli_option("--op-repeat", type="int", default="1", dest="rep_op", |
... | ... | |
642 | 642 |
], |
643 | 643 |
"<op_list_file...>", "Submits jobs built from json files" |
644 | 644 |
" containing a list of serialized opcodes"), |
645 |
'iallocator': (
|
|
645 |
"iallocator": (
|
|
646 | 646 |
TestAllocator, [ArgUnknown(min=1)], |
647 | 647 |
[cli_option("--dir", dest="direction", default=constants.IALLOCATOR_DIR_IN, |
648 | 648 |
choices=list(constants.VALID_IALLOCATOR_DIRECTIONS), |
Also available in: Unified diff