VMware Cloud Community
krisnrk
Contributor
Contributor

VRA 7.2 Property definitions update using machine provisioning event subscription

Hello ,

I configured  property definitions to configure NICs automatically at Guest OS side . I am calling VRO workflow to to update these values . BP is failing with below error.

Same BP  working  good when I give them manually at the time of request .Please assist. I am trying to avoid manual intervention.

The following component requests failed: BPtocheckVcoWorkFlows. Request failed: Machine xxxxxxxxx: CustomizeVM : [CustomizeVM_Task] - A specified parameter was not correct: spec.nicSettingMap.adapter.ip.

Using below VCO code to update customized IPs after DNS entry is created.

vCACVmProperties.put('VirtualMachine.Network0.Address',ipaddress);

vCACVmProperties.put('VirtualMachine.Network0.Gateway',gateway);

vCACVmProperties.put('VirtualMachine.Network0.SubnetMask',netmask);

vCACVmProperties.put('VirtualMachine.Network1.Address',ipaddress1);

vCACVmProperties.put('VirtualMachine.Network1.Gateway',gateway1);

vCACVmProperties.put('VirtualMachine.Network1.SubnetMask',netmask1);

Thank you.

0 Kudos
0 Replies