[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Virtual Machine IPAddress


  • To: "vikram ranabhatt" <lok.vikram@xxxxxxxxx>
  • From: "Roger R. Smith" <rogsmith@xxxxxxxxx>
  • Date: Fri, 16 May 2008 15:47:24 -0400
  • Cc: xen-api@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 16 May 2008 12:47:37 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k+IfbZSlnXA+N7obK7lvk0+m0c5I5w6OT+o8vxMriUgCkxZPZDJIUemZTqg7VBQJNsi6n+3+/ru6nLTvE8O4jxG7CUqWI6wKln5G8aoB7LAytG93QBr47yu3IoJz+Wt1KQmlgElGxaZEUHyJGIrcU0E6usZjOLExGkaZrFm3NB0=
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

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@xxxxxxxxx> wrote:
> Hi
>
> Can anybody explain me how to extract Virtual Machine IP address
> through C/C++ api
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
>
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.