api/lease4-get-by-client-id.json
api/lease4-get-by-hostname.json
api/lease4-get-by-hw-address.json
+api/lease4-get-page.json
api/lease4-get.json
api/lease4-update.json
api/lease4-wipe.json
api/lease6-get-all.json
api/lease6-get-by-duid.json
api/lease6-get-by-hostname.json
+api/lease6-get-page.json
api/lease6-get.json
api/lease6-update.json
api/lease6-wipe.json
lease4-del
lease4-get
lease4-get-all
+lease4-get-page
lease4-update
lease4-wipe
lease6-add
lease6-del
lease6-get
lease6-get-all
+lease6-get-page
lease6-update
lease6-wipe
lease4-resend-ddns
--- /dev/null
+{
+ "avail": "1.5.0",
+ "brief": [
+ "This command retrieves all IPv4 leases by page."
+ ],
+ "cmd-comment": [
+ "The from address and the page size limit are mandatory."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"lease4-get-page\",",
+ " \"arguments\": {",
+ " \"limit\": <integer>,",
+ " \"from\": <IPv4 address or start>",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-lease4-get-page\"/>",
+ "hook": "lease_cmds",
+ "name": "lease4-get-page",
+ "support": [
+ "kea-dhcp4"
+ ]
+}
--- /dev/null
+{
+ "avail": "1.5.0",
+ "brief": [
+ "This command retrieves all IPv6 leases by page."
+ ],
+ "cmd-comment": [
+ "The from address and the page size limit are mandatory."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"lease6-get-page\",",
+ " \"arguments\": {",
+ " \"limit\": <integer>,",
+ " \"from\": <IPv6 address or start>",
+ " }",
+ "}"
+ ],
+ "hook": "lease_cmds",
+ "name": "lease6-get-page",
+ "support": [
+ "kea-dhcp6"
+ ]
+}
An HA-enabled server initiates synchronization of the lease database
after downtime or upon receiving the ``ha-sync`` command. The server
-uses commands described in :ref:`lease-get-page-cmds` to fetch
+uses commands described in :ref:`command-lease4-get-page` and
+:ref:`command-lease6-get-page` to fetch
leases from its partner server (lease queries). The size of the results
page (the maximum number of leases to be returned in a single response
to one of these commands) can be controlled via configuration of the HA hooks
restriction on the number of leases returned as a result of this
command.
-.. _lease-get-page-cmds:
+.. _command-lease4-get-page:
+
+.. _command-lease6-get-page:
The lease4-get-page, lease6-get-page Commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~