[Kea-users] Releasing or deleting a lease

Thomas Markwalder tmark at isc.org
Fri Jun 1 19:39:58 UTC 2018


Hello:

You can manipulate leases through lease management commands supplied by 
the Lease Commands hooks library (see 
https://kea.isc.org/docs/kea-guide.html#lease-cmds).  The commands are 
JSON text sent either directly to the kea-dhcp<4/6> server's Control 
Channel socket (unix socket,
must be done on the server box), or via REST interface provided through 
the Kea Control Agent.

So you'll need to configure the server to load the lease_cmds hooks lib 
(https://kea.isc.org/docs/kea-guide.html#idp58545328) and to open
and control channel socket 
(https://kea.isc.org/docs/kea-guide.html#dhcp4-ctrl-channel similar link 
of v6), and then either use Control Channel
directly (https://kea.isc.org/docs/kea-guide.html#ctrl-channel-client)  
or configure and run the Kea Control Agent 
(https://kea.isc.org/docs/kea-guide.html#kea-ctrl-agent) and use the 
REST interface.

Regards,

Thomas Markwalder
ISC Software Engineering

On 06/01/2018 02:14 PM, Tim Howe wrote:
> Is there a way to manually release or delete a lease?
>
> --TimH
> _______________________________________________
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users




More information about the Kea-users mailing list