Proper syntax format in kea-dhcp4.conf to reference other json configuration files?
In the Kea documentation, it states that JSON files can include other JSON files when formatted like the below example:
File inclusion: JSON files can include other JSON files by using a statement of the form <?include “file.json”?>.
I am trying to included reservation files in the main kea-dhcp4.conf using this method similar to like how I used to do with isc-dhcp
, and I am getting an error.
Syntax check failed with: kea-dhcp4.json:200.8: Invalid character: �
The format of the reservations section:
"reservations": [
<?include “/etc/kea/01_dhcp_network.json”?>,
<?include “/etc/kea/02_dhcp_int.json”?>,
<?include “/etc/kea/03_dhcp_ent.json”?>,
<?include “/etc/kea/04_dhcp_user_systems.json”?>,
<?include “/etc/kea/05_dhcp_servers.json”?>
],
I'm not ready to put the reservations into a database and want to control them through separate files outside of the main configuration.
How can I properly reference other JSON files in a configuration file?