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 suppresses use of the lease database
file (.leases). That file will not be created, read, or written.
On Fri, Jul 11, 2014 at 5:49 AM, 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 suppresses use of the lease database
> fil
On 07/11/14 02:19, 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 suppresses use of the lease database
> file (.leases). Tha
>> cmd = virCommandNew(dnsmasqCapsGetBinaryPath(caps));
>> virCommandAddArgFormat(cmd, "--conf-file=%s", configfile);
>> -virCommandAddArgFormat(cmd, "--dhcp-script=%s", leaseshelper_path);
>> +virCommandAddArgFormat(cmd, "--dhcp-script=%s",
>> pseudo_leaseshelper_path);
>> +
On 07/16/14 17:31, Nehal J Wani wrote:
>>> cmd = virCommandNew(dnsmasqCapsGetBinaryPath(caps));
>>> virCommandAddArgFormat(cmd, "--conf-file=%s", configfile);
>>> -virCommandAddArgFormat(cmd, "--dhcp-script=%s", leaseshelper_path);
>>> +virCommandAddArgFormat(cmd, "--dhcp-script=%
> My concerns are whether this will work in the case you already used the
> leases helper as the patch is adding a few fields to the stored format.
In this patch, I am only adding server-duid as an extra JSON object. I
am not adding more fields to an existing JSON object. The old leases
file will
On 07/17/2014 09:18 AM, Peter Krempa wrote:
>>> A second issue that comes into my mind is compatibility with already
>>> existing files. Does this work when you already have a lease file? (I
>>> didn't try it, I'm just asking).
>>
>> If we use the --leasefile-ro option, then although this method w
On Thu, Jul 17, 2014 at 9:38 PM, Eric Blake wrote:
> On 07/17/2014 09:18 AM, Peter Krempa wrote:
>
A second issue that comes into my mind is compatibility with already
existing files. Does this work when you already have a lease file? (I
didn't try it, I'm just asking).
>>>
>>> If w
On Fri, Jul 11, 2014 at 5:49 AM, 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 suppresses use of the lease database
> fil