Revision 5ffaa51d
b/scripts/gnt-instance | ||
---|---|---|
214 | 214 |
else: |
215 | 215 |
selected_fields = opts.output.split(",") |
216 | 216 |
|
217 |
output = GetClient().QueryInstances([], selected_fields)
|
|
217 |
output = GetClient().QueryInstances(args, selected_fields)
|
|
218 | 218 |
|
219 | 219 |
if not opts.no_headers: |
220 | 220 |
headers = { |
... | ... | |
1367 | 1367 |
help="Only show configuration data, not runtime data"), |
1368 | 1368 |
], "[-s] [<instance>...]", |
1369 | 1369 |
"Show information on the specified instance(s)"), |
1370 |
'list': (ListInstances, ARGS_NONE, |
|
1371 |
[DEBUG_OPT, NOHDR_OPT, SEP_OPT, USEUNITS_OPT, FIELDS_OPT], "", |
|
1370 |
'list': (ListInstances, ARGS_ANY, |
|
1371 |
[DEBUG_OPT, NOHDR_OPT, SEP_OPT, USEUNITS_OPT, FIELDS_OPT], |
|
1372 |
"[<instance>...]", |
|
1372 | 1373 |
"Lists the instances and their status. The available fields are" |
1373 | 1374 |
" (see the man page for details): status, oper_state, oper_ram," |
1374 | 1375 |
" name, os, pnode, snodes, admin_state, admin_ram, disk_template," |
Also available in: Unified diff