Search for an instance using IP address
You can search for an instance using the IP address parameter.
Use the --ip to search for an instance
using the IP address.
$ nova list --ip IP_ADDRESS
For example, use the nova list command as follows:
$ nova list --ip 10.0.0.4
+--------------------------------------+----------------------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------------------+--------+------------+-------------+------------------+
| 8a99547e-7385-4ad1-ae50-4ecfaaad5f42 | myInstanceFromVolume | ACTIVE | None | Running | private=10.0.0.4 |
+--------------------------------------+----------------------+--------+------------+-------------+------------------+