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 <[email protected]> wrote:
> 
> libdhcp_host_cmds.so

_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to