diff options
Diffstat (limited to 'src/share/api/reservation-get-by-hostname.json')
-rw-r--r-- | src/share/api/reservation-get-by-hostname.json | 29 |
1 files changed, 29 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..f1f7aa3 --- /dev/null +++ b/src/share/api/reservation-get-by-hostname.json @@ -0,0 +1,29 @@ +{ + "access": "read", + "avail": "1.7.1", + "brief": [ + "This command retrieves all host reservations for a specified hostname and optionally a specified subnet." + ], + "cmd-comment": [ + "Operation-target is optional; default is 'all'." + ], + "cmd-syntax": [ + "{", + " \"command\": \"reservation-get-by-hostname\",", + " \"arguments\": {", + " \"hostname\": <hostname>,", + " \"subnet-id\": <integer>,", + " \"operation-target\": <string (memory, database, all, default)>", + " }", + "}" + ], + "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" + ] +} |