Revision 38d7239a scripts/gnt-instance
b/scripts/gnt-instance | ||
---|---|---|
197 | 197 |
"hvm_nic_type": "HVM_NIC_type", |
198 | 198 |
"hvm_disk_type": "HVM_disk_type", |
199 | 199 |
"vnc_bind_address": "VNC_bind_address", |
200 |
"serial_no": "SerialNo", |
|
200 | 201 |
} |
201 | 202 |
else: |
202 | 203 |
headers = None |
... | ... | |
206 | 207 |
else: |
207 | 208 |
unitfields = None |
208 | 209 |
|
209 |
numfields = ["admin_ram", "oper_ram", "sda_size", "sdb_size", "vcpus"] |
|
210 |
numfields = ["admin_ram", "oper_ram", "sda_size", "sdb_size", "vcpus", |
|
211 |
"serial_no"] |
|
210 | 212 |
|
211 | 213 |
list_type_fields = ("tags",) |
212 | 214 |
# change raw values to nicer strings |
... | ... | |
972 | 974 |
"Lists the instances and their status. The available fields are" |
973 | 975 |
" (see the man page for details): status, oper_state, oper_ram," |
974 | 976 |
" name, os, pnode, snodes, admin_state, admin_ram, disk_template," |
975 |
" ip, mac, bridge, sda_size, sdb_size, vcpus. The default field" |
|
977 |
" ip, mac, bridge, sda_size, sdb_size, vcpus, serial_no." |
|
978 |
" The default field" |
|
976 | 979 |
" list is (in order): %s." % ", ".join(_LIST_DEF_FIELDS), |
977 | 980 |
), |
978 | 981 |
'reinstall': (ReinstallInstance, ARGS_ONE, |
Also available in: Unified diff