Re: [libvirt] RFC: Introduce API to query IP addresses for given domain

2013-07-08 Thread Nehal J. Wani
Eric, could you please share your opinion as to what should be more appropriate to use for this functionality: Structs/XML/VirTypedParams ? On Tue, Jul 2, 2013 at 7:25 PM, Osier Yang jy...@redhat.com wrote: On 02/07/13 18:33, Daniel P. Berrange wrote: On Fri, Jun 28, 2013 at 03:56:10PM

Re: [libvirt] RFC: Introduce API to query IP addresses for given domain

2013-07-08 Thread Eric Blake
On 07/08/2013 02:27 AM, Nehal J. Wani wrote: Eric, could you please share your opinion as to what should be more appropriate to use for this functionality: Structs/XML/VirTypedParams ? Looking at this possible approach of virTypedParameter, I'm think I am preferring either the XML or fixed

Re: [libvirt] RFC: Introduce API to query IP addresses for given domain

2013-07-08 Thread Eric Blake
[please don't top-post on technical lists] On 07/02/2013 05:04 AM, Nehal J. Wani wrote: Following will be the methods: (i) Querying qemu-guest-agent (ii) Getting info from dnsmasq.leases file (iii) Using the nwfilter to snoop the traffic Valid values: domifaddr domain-name qemu-ga

Re: [libvirt] RFC: Introduce API to query IP addresses for given domain

2013-07-02 Thread Daniel P. Berrange
On Fri, Jun 28, 2013 at 03:56:10PM +0530, Nehal J. Wani wrote: Hello, fellow developers! I am a GSoC candidate this year working for libvirt.org. My project is Introduce API to query IP addresses for given domain. The discussion regarding this feature had started here:

Re: [libvirt] RFC: Introduce API to query IP addresses for given domain

2013-07-02 Thread Nehal J. Wani
Following will be the methods: (i) Querying qemu-guest-agent (ii) Getting info from dnsmasq.leases file (iii) Using the nwfilter to snoop the traffic Valid values: domifaddr domain-name qemu-ga domifaddr domain-name dnsmasq domifaddr domain-name snoop Suggestions are welcome for the 'name' of

Re: [libvirt] RFC: Introduce API to query IP addresses for given domain

2013-07-02 Thread Daniel P. Berrange
On Tue, Jul 02, 2013 at 04:34:49PM +0530, Nehal J. Wani wrote: Following will be the methods: (i) Querying qemu-guest-agent (ii) Getting info from dnsmasq.leases file (iii) Using the nwfilter to snoop the traffic Valid values: domifaddr domain-name qemu-ga domifaddr domain-name dnsmasq

Re: [libvirt] RFC: Introduce API to query IP addresses for given domain

2013-07-02 Thread Osier Yang
On 28/06/13 18:26, Nehal J. Wani wrote: Hello, fellow developers! I am a GSoC candidate this year working forlibvirt.org http://libvirt.org. My project is Introduce API to query IP addresses for given domain. The discussion regarding this feature had started

Re: [libvirt] RFC: Introduce API to query IP addresses for given domain

2013-07-02 Thread Osier Yang
On 02/07/13 18:33, Daniel P. Berrange wrote: On Fri, Jun 28, 2013 at 03:56:10PM +0530, Nehal J. Wani wrote: Hello, fellow developers! I am a GSoC candidate this year working for libvirt.org. My project is Introduce API to query IP addresses for given domain. The discussion regarding this

[libvirt] RFC: Introduce API to query IP addresses for given domain

2013-06-28 Thread Nehal J. Wani
Hello, fellow developers! I am a GSoC candidate this year working for libvirt.org. My project is Introduce API to query IP addresses for given domain. The discussion regarding this feature had started here: http://www.mail-archive.com/libvir-list@redhat.com/msg51857.html and then Michal had