From: Marcin Siodelski Date: Mon, 26 Oct 2015 11:59:35 +0000 (+0100) Subject: [3979] Added description of leases-reclaim command to User Guide. X-Git-Tag: trac4106_base~6^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=702b77ce47d6a2f8816a3474a93d7971bc25d564;p=thirdparty%2Fkea.git [3979] Added description of leases-reclaim command to User Guide. --- diff --git a/doc/guide/ctrl-channel.xml b/doc/guide/ctrl-channel.xml index eaba538005..88007ea5c6 100644 --- a/doc/guide/ctrl-channel.xml +++ b/doc/guide/ctrl-channel.xml @@ -112,6 +112,33 @@ configuration file.
Commands supported by both DHCPv4 and DHCPv6 servers +
+ leases-reclaim command + + leases-reclaim command instructs the server to + reclaim all expired leases immediately. The command has the following + JSON syntax: + +{ + "command": "leases-reclaim", + "arguments": { + "remove": true + } +} + + + + The remove boolean parameter is mandatory + and it indicates whether the reclaimed leases should be removed from + the lease database (if true), or they should be left in the + expired-reclaimed state (if false). The latter + facilitates lease affinity, i.e. ability to re-assign expired lease to + the same client which used this lease before. See the + for the details. Also, see the + for the general information + about the processing of expired leases (leases reclamation). +
+
list-commands command diff --git a/doc/guide/lease-expiration.xml b/doc/guide/lease-expiration.xml index f331ebf184..de81f943f1 100644 --- a/doc/guide/lease-expiration.xml +++ b/doc/guide/lease-expiration.xml @@ -336,4 +336,12 @@
+
+ Reclaiming Expired Leases with Command + The leases-reclaim command can be used to trigger + leases reclamation at any time. Please consult the + for the details about using this + command. +
+