Revision 38d7239a scripts/gnt-node
b/scripts/gnt-node | ||
---|---|---|
91 | 91 |
"bootid": "BootID", |
92 | 92 |
"ctotal": "CTotal", |
93 | 93 |
"tags": "Tags", |
94 |
"serial_no": "SerialNo", |
|
94 | 95 |
} |
95 | 96 |
else: |
96 | 97 |
headers = None |
... | ... | |
103 | 104 |
numfields = ["dtotal", "dfree", |
104 | 105 |
"mtotal", "mnode", "mfree", |
105 | 106 |
"pinst_cnt", "sinst_cnt", |
106 |
"ctotal"] |
|
107 |
"ctotal", "serial_no"]
|
|
107 | 108 |
|
108 | 109 |
list_type_fields = ("pinst_list", "sinst_list", "tags") |
109 | 110 |
# change raw values to nicer strings |
... | ... | |
344 | 345 |
"", "Lists the nodes in the cluster. The available fields" |
345 | 346 |
" are (see the man page for details): name, pinst_cnt, pinst_list," |
346 | 347 |
" sinst_cnt, sinst_list, pip, sip, dtotal, dfree, mtotal, mnode," |
347 |
" mfree, bootid, cpu_count. The default field list is" |
|
348 |
" mfree, bootid, cpu_count, serial_no." |
|
349 |
" The default field list is" |
|
348 | 350 |
" (in order): %s." % ", ".join(_LIST_DEF_FIELDS), |
349 | 351 |
), |
350 | 352 |
'remove': (RemoveNode, ARGS_ONE, [DEBUG_OPT], |
Also available in: Unified diff