diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 11:36:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 11:36:04 +0000 |
commit | 040eee1aa49b49df4698d83a05af57c220127fd1 (patch) | |
tree | f635435954e6ccde5eee9893889e24f30ca68346 /src/share/api/remote-option-def4-get.json | |
parent | Initial commit. (diff) | |
download | isc-kea-upstream.tar.xz isc-kea-upstream.zip |
Adding upstream version 2.2.0.upstream/2.2.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/share/api/remote-option-def4-get.json')
-rw-r--r-- | src/share/api/remote-option-def4-get.json | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/share/api/remote-option-def4-get.json b/src/share/api/remote-option-def4-get.json new file mode 100644 index 0000000..c48fda4 --- /dev/null +++ b/src/share/api/remote-option-def4-get.json @@ -0,0 +1,52 @@ +{ + "access": "read", + "avail": "1.6.0", + "brief": [ + "This command fetches a DHCPv4 option definition from the configuration database." + ], + "cmd-comment": [ + "The desired option definition is identified by the pair of option code/space values. The ``server-tags`` list is mandatory and must contain exactly one server tag. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error. The server tag \"all\" is allowed, to fetch the option definition instance shared by all servers." + ], + "cmd-syntax": [ + "{", + " \"command\": \"remote-option-def4-get\",", + " \"arguments\": {", + " \"option-defs\": [", + " {", + " \"code\": <option code>,", + " \"space\": <option space>", + " }", + " ],", + " \"remote\": {", + " <specification of the database to connect to>", + " },", + " \"server-tags\": [ <single server tag as string> ]", + " }", + "}" + ], + "hook": "cb_cmds", + "name": "remote-option-def4-get", + "resp-comment": [ + "The metadata is included and provides database-specific information associated with the returned object. If the \"all\" server tag is specified, the command attempts to fetch the option definition associated with all servers. If the explicit server tag is specified, the command fetches the option definition associated with the given server. If the server-specific option definition does not exist, the ``remote-option-def4-get`` command fetches the option definition associated with all servers." + ], + "resp-syntax": [ + "{", + " \"result\": 0,", + " \"text\": \"DHCPv4 option definition found.\",", + " \"arguments\": {", + " \"option-defs\": [", + " {", + " <option definition>,", + " \"metadata\": {", + " \"server-tags\": [ <server tag> ]", + " }", + " }", + " ],", + " \"count\": 1", + " }", + "}" + ], + "support": [ + "kea-dhcp4" + ] +} |