From f5f56e1a1c4d9e9496fcb9d81131066a964ccd23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:15:43 +0200 Subject: Adding upstream version 2.4.1. Signed-off-by: Daniel Baumann --- src/share/api/reservation-get.json | 55 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 src/share/api/reservation-get.json (limited to 'src/share/api/reservation-get.json') diff --git a/src/share/api/reservation-get.json b/src/share/api/reservation-get.json new file mode 100644 index 0000000..9b721e8 --- /dev/null +++ b/src/share/api/reservation-get.json @@ -0,0 +1,55 @@ +{ + "access": "read", + "avail": "1.2.0", + "brief": [ + "This command retrieves an existing host reservation." + ], + "cmd-comment": [ + "The host reservation can be identified by either the (subnet-id, ip-address) pair or a triplet of (subnet-id, identifier-type, identifier). Operation-target is optional; default is 'all'." + ], + "cmd-syntax": [ + "{", + " \"command\": \"reservation-get\",", + " \"arguments\": {", + " \"subnet-id\": ,", + " \"identifier-type\": ,", + " \"identifier\": ,", + " \"operation-target\": ", + " }", + "}" + ], + "hook": "host_cmds", + "name": "reservation-get", + "resp-comment": [ + "The arguments object appears only if a host is found. Many fields in the arguments object appear only if a specific field is set." + ], + "resp-syntax": [ + "{", + " \"result\": ,", + " \"text\": ,", + " \"arguments\": {", + " \"boot-file-name\": ,", + " \"comment\": ,", + " \"client-id\": ,", + " \"circuit-id\": ,", + " \"duid\": ,", + " \"flex-id\": ,", + " \"ip-address\": ,", + " \"ip-addresses\": [ ],", + " \"hw-address\": ,", + " \"hostname\": ,", + " \"next-server\": ,", + " \"option-data\": [ ],", + " \"prefixes\": [ ],", + " \"client-classes\": [ ],", + " \"server-hostname\": ,", + " \"subnet-id\": ,", + " \"user-context\": ", + " }", + "}" + ], + "support": [ + "kea-dhcp4", + "kea-dhcp6" + ] +} -- cgit v1.2.3