VMware Cloud Community
kdbinger
Enthusiast
Enthusiast

Need a way to get the assigned IP address from vCAC

We are working on deploying scripts using the values found within the workitem.xml for each VM that is provisioned from vCAC/vRA. We are needing such things as the name, owner, site location and IP address.  Most of these values are available in their corresponding properties (e.g. virtualmachine.admin.name); however, seeing as we are using DHCP, the workitem.xml file does not have the IP Address displayed.  How might we get this out of the database and into the workitem.xml file?

Any help is much appreciated!

0 Kudos
2 Replies
muxx
Enthusiast
Enthusiast

I guess that the only way to populate XML file with IP address is to abandon DHCP and switch to vRA Network profile. This way vRA can manage IP addresses and provide you with requested information.

kdbinger
Enthusiast
Enthusiast

If I do that I forfeit auto DNS registration and de-registration as the DHCP server handles all that for us.  Or am I misunderstanding how the Network Profile works?

0 Kudos