[Kea-users] checking for a valid kea json conf
Gregor Kling
gregor.kling at its.thm.de
Tue Jun 3 14:35:40 UTC 2025
On 6/3/25 16:15, Francis Dupont wrote:
> <server> -t <config_file> (it does not check everything but at least
> syntax errors are detected and reported).
Does syntax error here also mean it detects parameters that are used at
places
there are not supposed to?
The warning all-keys.json for example mentions mutually exclusive params:
// WARNING: This example configuration is not meant for production use.
// The Kea DHCPv4 server will refuse this configuration because it contains
// mutually exclusive configuration parameters.
> There is also an old ticket proposing to export the parsing part to
> a library so such tools should become very easy to write.
>
> Regards
>
> Francis Dupont <fdupont at isc.org>
>
> PS: the API provides a config-test too.
Thanks.
gg
--
Gregor Kling
Abteilung ITS, Sachgebiet ITS-N
Technische Hochschule Mittelhessen
University of Applied Sciences
Tel: 0641/309-1292
E-Mail: gregor.kling at its.thm.de
More information about the Kea-users
mailing list