[Kea-users] Lease file format in 1.1.0 ?
Tomek Mrugalski
tomasz at isc.org
Tue Feb 28 18:02:30 UTC 2017
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
More information about the Kea-users
mailing list