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/class-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/class-get.json')
-rw-r--r-- | src/share/api/class-get.json | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/share/api/class-get.json b/src/share/api/class-get.json new file mode 100644 index 0000000..1d7c5b2 --- /dev/null +++ b/src/share/api/class-get.json @@ -0,0 +1,45 @@ +{ + "access": "read", + "avail": "1.5.0", + "brief": [ + "This command returns detailed information about an existing client class." + ], + "cmd-syntax": [ + "{", + " \"command\": \"class-get\",", + " \"arguments\": {", + " \"name\": <name of the class>", + " }", + "}" + ], + "description": "See <xref linkend=\"command-class-get\"/>", + "hook": "class_cmds", + "name": "class-get", + "resp-comment": [ + "The returned information depends on the DHCP server type, i.e. some parameters are specific to the DHCPv4 server. Also, some parameters may not be returned if they are not set for the client class. If a class with the specified name does not exist, a result of 3 (empty) is returned. If the client class is found, the result of 0 is returned. If there is an error while processing the command, the result of 1 is returned." + ], + "resp-syntax": [ + "{", + " \"result\": 0,", + " \"text\": \"Class '<class-name>' definition returned\",", + " \"arguments\": {", + " \"client-classes\": [", + " {", + " \"name\": <name of the class>,", + " \"only-if-required\": <only if required boolean value>,", + " \"test\": <test expression to be evaluated on incoming packets>,", + " \"option-data\": [ <option values here> ],", + " \"option-def\": [ <option definitions here> ],", + " \"next-server\": <ipv4 address>,", + " \"server-hostname\": <string>,", + " \"boot-file-name\": <name of the boot file>", + " }", + " ]", + " }", + "}" + ], + "support": [ + "kea-dhcp4", + "kea-dhcp6" + ] +} |