Skip to content
Snippets Groups Projects
Commit 8619a3bd authored by Guido Trotter's avatar Guido Trotter
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -960,14 +960,14 @@ instance5: 11225 ...@@ -960,14 +960,14 @@ instance5: 11225
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>mode</term> <term>nic_mode</term>
<listitem> <listitem>
<simpara>the mode of the first instance NIC <simpara>the mode of the first instance NIC
(routed or bridged)</simpara> (routed or bridged)</simpara>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>link</term> <term>nic_link</term>
<listitem> <listitem>
<simpara>the link of the first instance NIC <simpara>the link of the first instance NIC
</simpara> </simpara>
......
...@@ -1329,7 +1329,11 @@ commands = { ...@@ -1329,7 +1329,11 @@ commands = {
"Lists the instances and their status. The available fields are" "Lists the instances and their status. The available fields are"
" (see the man page for details): status, oper_state, oper_ram," " (see the man page for details): status, oper_state, oper_ram,"
" name, os, pnode, snodes, admin_state, admin_ram, disk_template," " 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." " hypervisor."
" The default field" " The default field"
" list is (in order): %s." % ", ".join(_LIST_DEF_FIELDS), " list is (in order): %s." % ", ".join(_LIST_DEF_FIELDS),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment