WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] How to fetch Ip address from dom0 of domU?

To: Arun Sharma <arunain@xxxxxxxxx>
Subject: Re: [Xen-users] How to fetch Ip address from dom0 of domU?
From: Stefan de Konink <skinkie@xxxxxxxxx>
Date: Wed, 28 Nov 2007 14:38:26 +0100 (CET)
Cc: Christian Horn <chorn@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 Nov 2007 05:39:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5ce3e56d0711280534l7cae7e27l11410c5a49dece94@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 28 Nov 2007, Arun Sharma wrote:

> Hello
>
> Is there any way to use XEN API (In Xen 3.1), which provides me function to
> get IP address of domU.
> By providing (domU UUID, ID , or domU name) parameter and get the IP
> address.. Not sure.
>
> The idea is to be present in dom0 and fetch the information of domU's
> ipaddress (domU getting the ip address from dhcp) :)

Just like the MAC fetch from the API this is from the static information
you have put in the configuration file. It is *NOT* updated.


Stefan


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users