VMware NSX

 View Only
  • 1.  REST API: Enumerate IP address for Virtual Machine

    Posted Apr 25, 2016 12:06 AM

    Does anyone know if there is a way to enumerate the IP address of a virtual machine using the REST API?

    If the virtual machine is defined as a member in a security group, I can use this:

    GET https://NSX-Manager-IP-Address/api/2.0/services/securitygroup/lookup/virtualmachine

    There doesn't seem to be anything available to do this for the virtual machine itself.



  • 2.  RE: REST API: Enumerate IP address for Virtual Machine

    Posted Apr 28, 2016 09:15 PM

    Hey Amike, could you elaborate on exactly what you are trying to do? Are you simply trying to query for specific VM using REST API or are you looking for script that will list the IP of every VM in the environment?



  • 3.  RE: REST API: Enumerate IP address for Virtual Machine

    Posted May 05, 2016 08:11 PM

    Hi there,

    something like list of VM's from controllers perhaps?

    regards