Resconf API - KEA - Release Lease?
-
http://10.2.0.3/restconf/data/netgate-kea:kea-state/dhcp4-server/leases/
I can see all leases.
How about releasing one? Doesn't seem possible. If I try:
http://10.2.0.3/restconf/data/netgate-kea:kea-state/dhcp4-server/leases/lease=193.145.4.133
{ "ietf-restconf:errors" : { "error": { "error-type": "protocol", "error-tag": "invalid-value", "error-severity": "error", "error-message": "State data not allowed" } } }
-
I'm not sure if you can release a lease from the server. According to our API documentation, you can delete a lease, but I think the client may still have the lease.
-
@dennis_s Indeed, its not possible. Being their is a command line on the terminal I would think it should be easy to add to the API. Feature request?
-
@dbeyzade Can't promise, but I will certainly pass this along to our product manager.