[Kea-users] Default configuration for kea-lfc
Patrik Lundin
patrik at sigterm.se
Mon Nov 21 19:10:03 UTC 2016
On Mon, Nov 21, 2016 at 07:37:19PM +0100, Tomek Mrugalski wrote:
> W dniu 19.11.2016 o 18:21, Patrik Lundin pisze:
>
> > If you generally are expected to run with LFC then I guess it would be
> > helpful to either specifically set a lfc-interval in the configuration
> > example as a hint to users, or go one step further and automatically set
> Yes, that's a good suggestion. Can you open up a ticket for it?
>
Thanks for the input. I have created the following ticket:
http://kea.isc.org/ticket/5072
> > lfc-interval to some middle-of-the-road timeout when the database type
> > is memfile and no specific lfc-interval is configured.
> That would be good. One problem with its implementation is that the way
> our current configuration parsers are implemented is messed up. The code
> creates an independent parser object for each scope (a list, object or
> JSON entry). This approach caused us to have lots of small parsers that
> are able to parse specific part of the config. The side effect is that
> the parser objects are only created for entries that are present in the
> config file, which makes default values for entries not present
> difficult to implement. We did several workarounds for that, but they
> are kludgy at best.
>
> The good news is that we're aware of the problem and decided to devote
> significant part of upcoming 1.2 release to refactor, or even partially
> rewrite the configuration parsers. Having the ability to specify default
> values is certainly in scope of that work. See item #6 in ticket #5014
> (http://kea.isc.org/ticket/5014).
>
> To wrap this up, if you open a ticket, I can have the configs updated in
> no time. Fixing the default value will take longer, but that's
> definitely something we will have fixed in 1.2.
>
Sounds good, thanks for providing some background information as well
:).
--
Patrik Lundin
More information about the Kea-users
mailing list