summaryrefslogtreecommitdiffstats
path: root/src/share/api/reservation-get-by-hostname.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/reservation-get-by-hostname.json')
-rw-r--r--src/share/api/reservation-get-by-hostname.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/share/api/reservation-get-by-hostname.json b/src/share/api/reservation-get-by-hostname.json
new file mode 100644
index 0000000..06d0e5c
--- /dev/null
+++ b/src/share/api/reservation-get-by-hostname.json
@@ -0,0 +1,25 @@
+{
+ "access": "read",
+ "avail": "1.7.1",
+ "brief": [
+ "This command retrieves all host reservations for a specified hostname and optionally a specified subnet."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"reservation-get-by-hostname\",",
+ " \"arguments\": {",
+ " \"hostname\": <hostname>,",
+ " \"subnet-id\": <integer>",
+ " }",
+ "}"
+ ],
+ "hook": "host_cmds",
+ "name": "reservation-get-by-hostname",
+ "resp-comment": [
+ "The reservation-get-by-hostname command may result in large responses."
+ ],
+ "support": [
+ "kea-dhcp4",
+ "kea-dhcp6"
+ ]
+}