From: Marcin Siodelski Date: Mon, 27 May 2019 13:51:45 +0000 (+0200) Subject: [#71,!314] Regenerated API docs. X-Git-Tag: Kea-1.6.0-beta~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5eff5e12e1be90e014b9fd5e7a8f87ad4635329;p=thirdparty%2Fkea.git [#71,!314] Regenerated API docs. --- diff --git a/doc/guide/api.xml b/doc/guide/api.xml index 6a3d5dcf9c..a1a37e599f 100644 --- a/doc/guide/api.xml +++ b/doc/guide/api.xml @@ -9,7 +9,7 @@ API Reference - Kea currently supports 119 commands: + Kea currently supports 121 commands: build-report , cache-clear , cache-get @@ -526,7 +526,7 @@ Result is an integer representation of the status. Currently supported statuses
cache-get-by-id reference -cache-get-by-id - Returns entries matching the given identifier from the host cache. +cache-get-by-id - Returns entries matching the given identifier from the host cache. Supported by: kea-dhcp4, kea-dhcp6 @@ -539,15 +539,14 @@ Result is an integer representation of the status. Currently supported statuses "command": "cache-get-by-id", "arguments": { "hw-address": "01:02:03:04:05:06" - } -} + } Response syntax: { "result": 0 "text": "2 entries returned." - "arguments": <list of cashed host> + "arguments": <list of host reservations> } Result is an integer representation of the status. Currently supported statuses are: @@ -717,7 +716,7 @@ Result is an integer representation of the status. Currently supported statuses
cache-size reference -cache-size - This command returns the number of cached host reservations. +cache-size - Returns number of entries of the host cache. Supported by: kea-dhcp4, kea-dhcp6 @@ -733,11 +732,10 @@ Result is an integer representation of the status. Currently supported statuses Response syntax: { - "result": 0, - "text": "123 entries.", + "result": 0 + "text": "123 entries." "arguments": { "size": 123 } -} - +} Result is an integer representation of the status. Currently supported statuses are: 0 - success @@ -1371,8 +1369,8 @@ Result is an integer representation of the status. Currently supported statuses
ha-sync reference -ha-sync - The command is issued to instruct the server running in HA mode to -synchronize its local lease database with the selected peer. +ha-sync - The command is issued to instruct the server running in HA mode to + synchronize its local lease database with the selected peer. Supported by: kea-dhcp4, kea-dhcp6 @@ -3865,7 +3863,15 @@ The provided list must cotain exactly one option specification. Response syntax: { "result": 0, - "text": "DHCPv4 option set." + "text": "DHCPv4 option set.", + "arguments": { + "options": [ + { + "code": <option code>, + "space": <option space> + } + ] + } } Result is an integer representation of the status. Currently supported statuses are: @@ -4053,7 +4059,15 @@ The provided list must cotain exactly one option specification. Response syntax: { "result": 0, - "text": "DHCPv6 option set." + "text": "DHCPv6 option set.", + "arguments": { + "options": [ + { + "code": <option code>, + "space": <option space> + } + ] + } } Result is an integer representation of the status. Currently supported statuses are: