openstack-manuals/doc/user-guide/source/cli_search_instance_with_ip_address.rst
venkatamahesh 0196e7f51e [user-guide] Add an empty line between input and output
In this patch
1.) Add a new line between input and output of "code-block"s
2.) Combined the input and output into one "code-block"
3.) Delete extra lines in the files

Change-Id: I9801d293fedaa90543c02885ef3cb79aaeb50106
Implements: blueprint user-guides-reorganised
2015-12-22 15:19:11 +00:00

932 B

Search for an instance using IP address

You can search for an instance using the IP address parameter, --ip, with the nova list command.

$ nova list --ip IP_ADDRESS

The following example shows the results of a search on 10.0.0.4.

$ nova list --ip 10.0.0.4

+------------------+----------------------+--------+------------+-------------+------------------+
| ID               | Name                 | Status | Task State | Power State | Networks         |
+------------------+----------------------+--------+------------+-------------+------------------+
| 8a99547e-7385... | myInstanceFromVolume | ACTIVE | None       | Running     | private=10.0.0.4 |
+------------------+----------------------+--------+------------+-------------+------------------+