Re: [libvirt] [PATCH v3] leaseshelper: improvements to support all events

2014-11-17 Thread Eric Blake
On 09/11/2014 10:21 AM, Nehal J Wani wrote: Here you could just go through the json array and format each lease. I considered that, but then since the requirement of DNSMASQ is to print ipv4 leases first and then ipv6 leases, I would have to iterate over the JSON array twice! (Writing to

Re: [libvirt] [PATCH v3] leaseshelper: improvements to support all events

2014-09-11 Thread Peter Krempa
On 08/04/14 09:59, Nehal J Wani wrote: This patch enables the helper program to detect event(s) triggered when there is a change in lease length or expiry and client-id. This transfers complete control of leases database to libvirt and obsoletes use of the lease database file

Re: [libvirt] [PATCH v3] leaseshelper: improvements to support all events

2014-09-11 Thread Nehal J Wani
On Thu, Sep 11, 2014 at 8:38 PM, Peter Krempa pkre...@redhat.com wrote: On 08/04/14 09:59, Nehal J Wani wrote: This patch enables the helper program to detect event(s) triggered when there is a change in lease length or expiry and client-id. This transfers complete control of leases database

Re: [libvirt] [PATCH v3] leaseshelper: improvements to support all events

2014-09-10 Thread Nehal J Wani
On Wed, Aug 20, 2014 at 4:23 PM, Roman Bogorodskiy bogorods...@gmail.com wrote: Nehal J Wani wrote: This patch enables the helper program to detect event(s) triggered when there is a change in lease length or expiry and client-id. This transfers complete control of leases database to

Re: [libvirt] [PATCH v3] leaseshelper: improvements to support all events

2014-08-29 Thread Nehal J Wani
On Wed, Aug 20, 2014 at 4:23 PM, Roman Bogorodskiy bogorods...@gmail.com wrote: Nehal J Wani wrote: This patch enables the helper program to detect event(s) triggered when there is a change in lease length or expiry and client-id. This transfers complete control of leases database to

Re: [libvirt] [PATCH v3] leaseshelper: improvements to support all events

2014-08-20 Thread Nehal J Wani
On Mon, Aug 11, 2014 at 1:14 AM, Nehal J Wani nehaljw.k...@gmail.com wrote: On Mon, Aug 4, 2014 at 1:29 PM, Nehal J Wani nehaljw.k...@gmail.com wrote: This patch enables the helper program to detect event(s) triggered when there is a change in lease length or expiry and client-id. This

Re: [libvirt] [PATCH v3] leaseshelper: improvements to support all events

2014-08-20 Thread Roman Bogorodskiy
Nehal J Wani wrote: This patch enables the helper program to detect event(s) triggered when there is a change in lease length or expiry and client-id. This transfers complete control of leases database to libvirt and obsoletes use of the lease database file (network-name.leases). That file

Re: [libvirt] [PATCH v3] leaseshelper: improvements to support all events

2014-08-10 Thread Nehal J Wani
On Mon, Aug 4, 2014 at 1:29 PM, Nehal J Wani nehaljw.k...@gmail.com wrote: This patch enables the helper program to detect event(s) triggered when there is a change in lease length or expiry and client-id. This transfers complete control of leases database to libvirt and obsoletes use of the

[libvirt] [PATCH v3] leaseshelper: improvements to support all events

2014-08-04 Thread Nehal J Wani
This patch enables the helper program to detect event(s) triggered when there is a change in lease length or expiry and client-id. This transfers complete control of leases database to libvirt and obsoletes use of the lease database file (network-name.leases). That file will not be created, read,