Re: RFC: 'old' event for leaseshelper.c when lease renews

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/30/14 22:49, Nehal J Wani wrote:
>> I'd prefer (i) since that lets libvirt work properly with existing
>> dnsmasq versions which are deployed.
>>
>> Regards,
>> Daniel
> 
> I cleared some more queries regarding leasesfile-ro option. Once can
> read the conversation at
> http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2014q2/008656.html.
> 
> TL;DR:
> (i) We have to change the leasehelper program to honor the event
> 'init' and print leases info in dnsmasq leases format (so that dnsmasq
> knows about previous leases if it is restarted for some reason).
> (ii) Since we support DHCPv6, we will need to modify the JSON format
> to store server DUID too. Since we have one custom leases file for
> each network, I think it will suffice to store the DUID is just once
> in the JSON. Something like this:
>   [
>         "server-duid": "00:01:00:01:1b:40:8d:94:00:25:
> 64:8b:e4:2c"
>         {
>             "iaid": "1221229",
>             "ip-address": "2001:db8:ca2:2:1::95",
>             "mac-address": "52:54:00:12:a2:6d",
>             "hostname": "Fedora20",
>             "client-id": "00:04:1a:c1:d9:6b:5a:0a:e2:
> bc:f8:4b:1e:37:2e:38:22:55"
> ,
>             "expiry-time": 1393244216
>         },
>         {
>             "ip-address": "192.168.150.208",
>             "mac-address": "52:54:00:11:56:b3",
>             "hostname": "Wani-PC",
>             "client-id": "01:52:54:00:11:56:b3",
>             "expiry-time": 1393244248
>         }
>     ]
> 
> Do we want this in 1.2.6?

It's too late for 1.2.6, the release should happen any time today.

Peter


Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]