Hi Mosharaf

Or query the database

mysql> select instance_id from nics where ip4_address="<>" and state 
="Allocated";


Also, you can try to use this api call, it's usefull

https://cloudstack.apache.org/api/apidocs-4.17/apis/listNics.html

Regards
Kiran
________________________________
From: Mosharaf Hossain <[email protected]>
Sent: 18 March 2023 16:15
To: [email protected] <[email protected]>
Subject: CloudStack VM search using IP

Hi
At the moment, I am unable to locate a VM using its IP address but I can
locate it using its name. Does anyone have any suggestions on how to search
for a VM using its IP?




Regards
Mosharaf Hossain
Manager, Product Development
IT Division

Bangladesh Export Import Company Ltd.

Level-8, SAM Tower, Plot #4, Road #22, Gulshan-1, Dhaka-1212,Bangladesh

Tel: +880 9609 000 999, +880 2 5881 5559, Ext: 14191, Fax: +880 2 9895757

Cell: +8801787680828, Email: [email protected], Web:
www.bol-online.com<http://www.bol-online.com>
<https://www.google.com/url?q=http://www.bol-online.com&sa=D&source=hangouts&ust=1557908951423000&usg=AFQjCNGMxIuHSHsD3qO6y5JddpEZ0S592A>

 

Reply via email to