Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 183620

Issue with Data Object - GuestNicInfo

$
0
0

Hello everybody,

 

 

I am writing a script collecting data about virtual machines running our 32 ESXi 5.1 hosts. About 500 VMs are concerned.

 

I have an issue with about 20 VMs when I access GuestNicInfo object, here is the output for a "normal" virtual machine using "Prod_VM" network:

 

 

network         Prod_VM

                ip: 172.26.88.20

                mac: 00:50:56:80:60:28

                connected: yes

 

 

And the output for a virtual machine using the same network:

 

network         62 83 08 50 8c e9 37 e1-45 c2 42 16 04 34 60 4c

                ip: 172.26.72.129

                mac: 00:50:56:80:23:6c

                connected: yes

 

As you can see my network name "Prod_VM" has been converted to "62 83 08 50 8c e9 37 e1-45 c2 42 16 04 34 60 4c". I don't think there is an mistake in my script, as a Dum of the dataastructure returns the same value.

 

Using Network object returns the correect value, but I cannot match the IP address to the correct network adapter, so here is my question:

 

Does anyone has already saw this behavior?

 

Thanks in advance.

 

Regards,

 

Jeremy


Viewing all articles
Browse latest Browse all 183620

Trending Articles