Re: [libvirt] IP Address of a domain

2010-06-16 Thread Daniel P. Berrange
On Wed, Jun 16, 2010 at 05:01:03PM +0900, IKI-サガル バルウェ wrote: > Hello, > > I would like to obtain the IP Address of a domain using the libvirt API. > > I see that the XMLDesc gives the MAC address, but not the IP Address. This isn't possible via the API. In general the IP address is only known t

[libvirt] IP Address of a domain

2010-06-16 Thread IKI-サガル バルウェ
Hello, I would like to obtain the IP Address of a domain using the libvirt API. I see that the XMLDesc gives the MAC address, but not the IP Address. I found out that the "vncdisplay" command option from "virsh" command line tool provides the IP Address and port number. How would I obtain this