Hi,
We are tring to get vm's nic name using GuestNicInfo as have set in "http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc_50%2Fvim.vm.GuestIn..." but we are able to get IP,network name and so on . What about NIC name? Kindly help for the same .
Thanks,
Alagammal.A
If you're asking about the actual guestOS nic name (eth0,etc) is not available through the vSphere API. If you're asking for the network adapter name (e.g. 1,2.3.) as you would see from the vSphere Client, you can take a look at the virtualHardware section and identify the virtual network adapters which has a label http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc_50%2Fvim.vm.device....
Hi ,
Thanks, we are able to get the nic names of vm . But we need to know what are the virtual nics has assigned to the particular vm like vmnic1,vmnic2.....
Thanks,
Alagammal