Hi.
I'm trying to use Kea API config-test, and it's not working as expected.
cat kea-dhcp4.conf | kea-shell --host 127.0.0.1 --port 8000 --service dhcp4
config-test
returns:
"Failed to run: HTTP Error 400: Bad Request"
But I can use the other API commands so I now kea-ctrl-agent is running okay.
I even took a tiny config fragment instead of my bigger config file, and tested
with that:
{
"Dhcp4": {
"interfaces-config": {
"interfaces": ["eth0"]
},
"subnet4": [
{
"subnet": "192.168.0.0/24",
"pools": [ { "pool": "192.168.0.2 - 192.168.0.254" } ]
}
]
}
}
... same result.
Any thoughts?
ALSO – a secondary question - my actual config file (not the test one) uses
"include" directives. Kea API isn't going to have access to that. How can I
get Kea to expand these so I can pass into config-test to test a new
configuration before reloading?
Jason.
--
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users