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 <fdup...@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.kl...@its.thm.de

--
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to