[Kea-users] Lease file format in 1.1.0 ?

Chaigneau, Nicolas nicolas.chaigneau at capgemini.com
Wed Mar 1 07:58:20 UTC 2017


Thanks :)


I've opened a ticket: http://kea.isc.org/ticket/5164


Regards,
Nicolas.


-----Message d'origine-----
De : Kea-users [mailto:kea-users-bounces at lists.isc.org] De la part de Tomek Mrugalski
Envoyé : mardi 28 février 2017 19:03
À : kea-users at lists.isc.org
Objet : Re: [Kea-users] Lease file format in 1.1.0 ?

W dniu 28.02.2017 o 16:30, Chaigneau, Nicolas pisze:
> I'm in the process of upgrading to Kea 1.1.0 ; I've noticed that there 
> is now an additional field in the lease file:  "state".
> 
> What is this exactly ?
There are 3 states supported:

    /// @brief A lease in the default state.
    static const uint32_t STATE_DEFAULT = 0;

    /// @brief Declined lease.
    static const uint32_t STATE_DECLINED = 1;

    /// @brief Expired and reclaimed lease.
    static const uint32_t STATE_EXPIRED_RECLAIMED = 2;

You can see the values in src/lib/dhcpsrv/lease.cc|h.

> I've looked in Kea administration guide, but could not find a 
> description of the lease file fields.
> 
> I think this could be a useful addition to the documentation. :)
True. We should probably document it in less obscure way than deep in the code. Can you file a ticket for it?

Thanks,
Tomek
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.




More information about the Kea-users mailing list