Is it normal GetIpv4Addresses() not to return all node IP Addresses ?
According function name, it should return all ipv4 AddressES ...
The following powershell script does highlight the issue :
Code: Select all
foreach ($VM in Find-VBRViEntity | Where-Object {$_.Type -eq "Vm"} | sort-object -property name ) {
$VMNAME=$VM.Name;
$IPADDR="";
foreach ($TMPIP in $VM.GuestInfo.GetIpv4Addresses()) {
$IP=$TMPIP.IPAddressToString
$IPADDR="$IPADDR $IP -"
}
write-host "`n ",$VMNAME," -> ", $IPADDR;
}
TH