kea-custom-hooks
FeM custom hooks libraries for Kea DHCP
|
This page describes all commands for the admindb-host-reservation-importer.
See the Kea Hooks Developers Guide on how to implement command callouts.
Commands are made available via the kea-ctrl-agent's API. To tell these commands apart from other hooks' commands, all commands are prefixed with ahri-
.
node_name
: string (The name of the node sending the ping)node_version
: string (The library version of the node sending the ping)Send a simple ping message to a node, informing it about this node being online. The reply indicates whether or not the nodes have matching node versions.
update_on_inconsistency
: boolean (true: update the real host reservation database if inconsistent, false: do not update the real host reservation database whatsoever)Make a consistency check by running a full sync to a second table and compare the contents of the second table with the actual host reservation database. The result of the inconsistency check is then returned as a boolean value. Depending on whether or not update_on_inconsistency
is set or not, the command does or doesn't fix an inconsistent host reservation database.
get-last-consistency-check-result
Return the cached result of the last consistency check.
Get the node's last processed update ID.
Force a full-sync for this node. The command returns the difference count obtained through the full-sync.