openstack-manuals/doc/common/section_cli_nova_search_ip.xml
Deepti Navale 9bc1790c75 Included procedure to search for instances using IP address parameter
Updated 'Manage instances and hosts' section with new procedure to
search for instances using --ip address parameter.

Change-Id: Iab50fe93a0f4d977bc490e9e3a99821d06b48ec0
2014-03-26 14:08:40 +10:00

25 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:id="search_ip" version="5.0">
<title>Search for an instance using IP address</title>
<para>You can search for an instance using the IP address parameter.</para>
<procedure>
<step>
<para>Use the --<parameter>ip</parameter> to search for an instance
using the IP address.</para>
<screen><prompt>$</prompt> <userinput>nova list --<parameter>ip</parameter> <replaceable>IP_ADDRESS</replaceable> </userinput>
</screen>
<para>For example, use the <command>nova list</command> command as follows:</para>
<screen><prompt>$</prompt> <userinput>nova list --<parameter>ip</parameter> <replaceable>10.0.0.4</replaceable></userinput>
<computeroutput>+--------------------------------------+----------------------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------------------+--------+------------+-------------+------------------+
| 8a99547e-7385-4ad1-ae50-4ecfaaad5f42 | myInstanceFromVolume | ACTIVE | None | Running | private=10.0.0.4 |
+--------------------------------------+----------------------+--------+------------+-------------+------------------+</computeroutput>
</screen>
</step>
</procedure>
</section>