The logic of assigning Address attribute for vSphere.Machine resource
I have a blueprint with dynamic number of NICs for vSphere VM. And I cant understand how vRealize detect whitch IP address to assign for Address attribute when there are several addresses.
I have found this information about Ansiblle:
If there are multiple networks attached, Ansible integration looks for the network with the least deviceIndex; that is, the index of the Network Interface Card (NIC) attached to the machine. If the deviceIndex property is not specified in the blueprint, the integration uses the first network attached.
But Address attributes in vSphere VM and Ansible resources have different values. It means that there is diferent logic for assigning.