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-update.json | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/share/api/reservation-update.json (limited to 'src/share/api/reservation-update.json') diff --git a/src/share/api/reservation-update.json b/src/share/api/reservation-update.json new file mode 100644 index 0000000..f40a8e8 --- /dev/null +++ b/src/share/api/reservation-update.json @@ -0,0 +1,50 @@ +{ + "access": "write", + "avail": "2.3.7", + "brief": [ + "This command updates an existing host reservation. The reservation has to include host identifiers and a subnet identifier and may include IPv4 addresses, IPv6 addresses, IPv6 prefixes, various identifiers, a class the client will be assigned to, DHCPv4 and DHCPv6 options, and more." + ], + "cmd-comment": [ + "Note that boot-file-name, circuit-id, client-id, ip-address, next-server, and server-hostname are IPv4-specific. ip-addresses, and prefixes are IPv6-specific. Operation-target is optional; default is 'alternate'." + ], + "cmd-syntax": [ + "{", + " \"command\": \"reservation-update\",", + " \"arguments\": {", + " \"reservation\": {", + " \"boot-file-name\": ,", + " \"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\": ", + " },", + " \"operation-target\": ", + " }", + "}" + ], + "description": "See ", + "hook": "host_cmds", + "name": "reservation-update", + "resp-syntax": [ + "", + "{", + " \"result\": ,", + " \"text\": ", + "}" + ], + "support": [ + "kea-dhcp4", + "kea-dhcp6" + ] +} -- cgit v1.2.3