[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-xen-discuss
Subject:    Re: [xen-discuss] domU network address
From:       David Edmondson <dme () sun ! com>
Date:       2009-10-14 15:43:22
Message-ID: 87iqeivv51.fsf () rf ! hh ! sledj ! net
[Download RAW message or body]

* mock@sun.com [2009-10-14 16:34:22]
> John Levon wrote:
>
>     On Wed, Oct 14, 2009 at 09:05:08AM -0600, sagun shakya wrote:
>
>             The "ipagent" service runs in a Solaris domU, and writes the IP
>             address of the primary interface to xenstore. So that's where it
>             comes from.
>
>         For the use case for me to find the IP address, the primary interface
>         is what is needed.  Is the xenstore utility tool a stable tool or
>         something that can be  used in a reliable way?  I searched around for
>         more information but could not find for xenstore- ls.
>
>     It's reliable enough. Obviously you have to wait for the ipagent service
>     to run before it appears. The actual way you retrieve this information
>     may change in the future, though.
>
> If I read John right, it sounds like ipagent is a *Solaris thing, so as long as you're only
> running *Solaris guests, you can use ipagent/xenstore. otherwise I think you might be looking
> for a more general approach.

Our Windows PV drivers also do this, as I recall.

dme.
-- 
David Edmondson, Sun Microsystems, http://dme.org
_______________________________________________
xen-discuss mailing list
xen-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic