openstack-manuals/doc/user-guide/source/cli_search_instance_with_ip_address.rst
venkatamahesh 3966cb4f1e Revert "[user-guide] Add an empty line between input and output"
This reverts commit 0196e7f51e.

Change-Id: Ide1f74efd96b8e690f7e0e7e1d3d121f9ae10d44
2016-01-13 15:55:43 +00:00

931 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 |
+------------------+----------------------+--------+------------+-------------+------------------+