[Kea-users] Problems adding the premium package hooks libraries
Dylan Masson
dmasson at vivox.com
Wed Feb 21 15:57:05 UTC 2018
Thanks. I have added all of the .so files from that dir, including the libdhcp_host_cmds.so file, and “reservation-add” is still not showing.
I definitely built with the premium package:
Kea source configure results:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Package:
Name: kea
Version: 1.3.0
Extended version:1.3.0 (tarball)
OS Family: Linux
Using GNU sed: yes
Premium package: yes
The libraries re in the config:
"hooks-libraries": [
{
"library": "/usr/local/lib/hooks/libdhcp_host_cmds.so",
// "parameters": {
// "param1": "foo"
// }
},
{
"library": "/usr/local/lib/hooks/libdhcp_lease_cmds.so",
// "parameters": {
// "param1": "foo"
// }
},
{
"library": "/usr/local/lib/hooks/libdhcp_flex_id.so",
// "parameters": {
// "param1": "foo"
// }
},
{
"library": "/usr/local/lib/hooks/libdhcp_legal_log.so",
// "parameters": {
// "param1": "foo"
// }
}
]
And I am getting the statistics commands, but not the reservation ones:
# curl -X POST -H "Content-Type: application/json" -d '{ "command": "list-commands", "service": [ "dhcp4" ] }' http://127.0.0.1:8080/
[ { "arguments": [ "build-report", "config-get", "config-reload", "config-set", "config-test", "config-write", "leases-reclaim", "libreload", "list-commands", "shutdown", "statistic-get", "statistic-get-all", "statistic-remove", "statistic-remove-all", "statistic-reset", "statistic-reset-all", "version-get" ], "result": 0 } ][
Any other suggestions?
Thanks,
Dyl
> On Feb 21, 2018, at 3:56 AM, Marcin Siodelski <marcin at isc.org> wrote:
>
> libdhcp_host_cmds.so
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20180221/a3e3f0dc/attachment.htm>
More information about the Kea-users
mailing list