Commit f77ae9c9 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

[#10,!3] Three more commands documented.

parent 1e8166dc
{
"name": "build-report",
"brief": "returns a list of compilition options that this particular binary was built with",
"support": [ "kea-dhcp4", "kea-dhcp6", "kea-ctrl-agent" ],
"avail": "1.2.0",
"cmd-syntax": "{
\"command\": \"build-report\"
}",
"resp-syntax": "{
\"result\": 0,
\"text\": <string with build details>
}",
"resp-comment": ""
}
{
"name": "cache-write",
"brief": "Instructs Kea to write its host cache content to disk.",
"support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.4.0",
"hook": "host_cache",
"cmd-syntax": "{
\"command\": \"cache-write\",
\"arguments\": \"/path/to/the/file.json\"
}",
"cmd-comment": "The command takes one mandatory argument that specifies a filename path of a file to be written."
}
{
"name": "config-get",
"brief": "retrieves the current configurationa used by the server. The configuration
is roughtly equal to the configuration file, but includes additional
changes made by other commands and due to parameters inheritance.",
"support": [ "kea-dhcp4", "kea-dhcp6", "kea-ctrl-agent" ],
"avail": "1.2.0",
"cmd-syntax": "{
\"command\": \"config-get\"
}",
"cmd-comment": "<command>config-get</command> takes no parameters.",
"resp-syntax": "{
\"result\": <integer>,
\"arguments\": {
<JSON configuration here, starting with Dhcp4, Dhcp6, or Control-agent object>
}
}"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment