Commit 8619a3bd authored by Guido Trotter's avatar Guido Trotter

Fix gnt-instance list documentation

(1) Both the man page and the online help report the link and mode
fields, which are in the code called nic_link and nic_mode.
(2) Add missing fields to the online help.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 8d9c3bef
......@@ -960,14 +960,14 @@ instance5: 11225
</varlistentry>
<varlistentry>
<term>mode</term>
<term>nic_mode</term>
<listitem>
<simpara>the mode of the first instance NIC
(routed or bridged)</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>link</term>
<term>nic_link</term>
<listitem>
<simpara>the link of the first instance NIC
</simpara>
......
......@@ -1329,7 +1329,11 @@ commands = {
"Lists the instances and their status. The available fields are"
" (see the man page for details): status, oper_state, oper_ram,"
" name, os, pnode, snodes, admin_state, admin_ram, disk_template,"
" ip, mac, mode, link, sda_size, sdb_size, vcpus, serial_no,"
" ip, mac, nic_mode, nic_link, sda_size, sdb_size, vcpus, serial_no,"
" nic.count, nic.mac/N, nic.ip/N, nic.mode/N, nic.link/N,"
" nic.macs, nic.ips, nic.modes, nic.links,"
" disk.count, disk.size/N, disk.sizes,"
" hv/NAME, be/memory, be/vcpus, be/auto_balance,"
" hypervisor."
" The default field"
" list is (in order): %s." % ", ".join(_LIST_DEF_FIELDS),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment