VMware Networking Community
noamcoh
Contributor
Contributor

Get VM IP Address without VM Tools using REST API

Hello,

Is there a REST API request to get a VM's IP Address without VM Tools installed on it?

Thank you.

0 Kudos
4 Replies
engyak
Enthusiast
Enthusiast

Are you asking for an API endpoint to fetch the IP address of a machine, or to somehow "fetch" it from inside a VM?

The former is possible with a DDI solution, anything beyond that will require the installation of some form of agent on the VM itself to discover that address.

0 Kudos
noamcoh
Contributor
Contributor

Any API request to fetch a specific VM IP address.

0 Kudos
scott28tt
VMware Employee
VMware Employee

Is this specific to an NSX environment, or more of a general API type of question?

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
noamcoh
Contributor
Contributor

API for NSX-T environment (to the NSX-T Manager).

0 Kudos