Mailing List Archive

Virtual Machine IPAddress
Hi

Can anybody explain me how to extract Virtual Machine IP address
through C/C++ api
Re: Virtual Machine IPAddress [ In reply to ]
Hi Vikiram, I Just made a posting about a similair question but while
using java:

I have not used the C/C++ bindings per se but the api will be
similiar, I think if do you something like this: {psuedocode to
follow}
$guestRef = VM.get_guest_metrics($xenRef);
$netMet = VM_guest_metrics.get_networks($guestRef);

$netMet should have an entry for ["0/ip"] which would be your ip address.

Hope that helps.
-Rog

On Thu, May 15, 2008 at 7:22 AM, vikram ranabhatt <lok.vikram@gmail.com> wrote:
> Hi
>
> Can anybody explain me how to extract Virtual Machine IP address
> through C/C++ api
> _______________________________________________
> xen-api mailing list
> xen-api@lists.xensource.com
> http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
>
>

_______________________________________________
xen-api mailing list
xen-api@lists.xensource.com
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api