VMware Cloud Community
reshp1986
Contributor
Contributor

Customize IP, Hostname, MAC, VLAN in vRO8.6.2

Hello Community,

I have Django based program to get IP, Hostname, MAC, VLAN etc. This Django app also talk to AD, internal costing tool as well. I am looking for an option to update MAC, Hostname, IP , Mac address type in new version of vRA/vRO. 

As of now I am using vRO(7.5) workflow to update properties of VM using payload. Code shared below.

virtualMachineAddOrUpdateProperties = new Properties ();
virtualMachineAddOrUpdateProperties.put('Name', hostname);
virtualMachineAddOrUpdateProperties.put('VirtualMachine.Network0.MacAddressType', 'static');
virtualMachineAddOrUpdateProperties.put('VirtualMachine.Network0.MacAddress', mac);
virtualMachineAddOrUpdateProperties.put('VirtualMachine.Network0.Name', "VLAN"+vlan);

And I have couple of API calls to Django program to get above values. How do I implement same in vRA/vRO 8.6.2

0 Kudos
0 Replies