Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
a286b3ba
Commit
a286b3ba
authored
Apr 14, 2017
by
Tomek Mrugalski
🛰
Browse files
[5213] Documentation updated.
parent
27cf2211
Changes
3
Hide whitespace changes
Inline
Side-by-side
doc/guide/ctrl-channel.xml
View file @
a286b3ba
...
...
@@ -252,7 +252,7 @@ $ curl -X POST -H "Content-Type: application/json" -d '{ "command": "config-get"
configuration used by the server. This command does not take any
parameters. The configuration returned is roughly equal to the
configuration that was loaded using -c command line option during server
start-up or later set using
set-
config command. However, there may be
start-up or later set using config
-set
command. However, there may be
certain differences. Comments are not retained. If the original
configuration used file inclusion, the returned configuration will
include all parameters from all the included files.
</para>
...
...
@@ -282,7 +282,7 @@ $ curl -X POST -H "Content-Type: application/json" -d '{ "command": "config-get"
configuration for the target server along with an optional Logger
configuration. As for the
<command>
-t
</command>
command some sanity checks
are not performed so it is possible a configuration which successfully
passes this command will still fail in
<command>
set-
config
</command>
passes this command will still fail in
<command>
config
-set
</command>
command or at launch time.
The structure of the command is as follows:
</para>
...
...
@@ -422,11 +422,11 @@ $ curl -X POST -H "Content-Type: application/json" -d '{ "command": "config-get"
</para>
</section>
<!-- end of command-list-commands -->
<section
id=
"command-
set-
config"
>
<title>
set-
config
</title>
<section
id=
"command-config
-set
"
>
<title>
config
-set
</title>
<para>
The
<emphasis>
set-
config
</emphasis>
command instructs the server to replace
The
<emphasis>
config
-set
</emphasis>
command instructs the server to replace
its current configuration with the new configuration supplied in the
command's arguments. The supplied configuration is expected to be the full
configuration for the target server along with an optional Logger
...
...
@@ -436,7 +436,7 @@ $ curl -X POST -H "Content-Type: application/json" -d '{ "command": "config-get"
</para>
<screen>
{
"command": "
set-
config",
"command": "config
-set
",
"arguments": {
"
<
server
>
": {
},
...
...
@@ -451,7 +451,7 @@ $ curl -X POST -H "Content-Type: application/json" -d '{ "command": "config-get"
</para>
<screen>
{
"command": "
set-
config",
"command": "config
-set
",
"arguments": {
"Dhcp6": {
:
...
...
@@ -479,7 +479,7 @@ $ curl -X POST -H "Content-Type: application/json" -d '{ "command": "config-get"
{"result": 1, "text": "unsupported parameter: BOGUS (
<
string
>
:16:26)" }
</screen>
</para>
</section>
<!-- end of command-
set-
config -->
</section>
<!-- end of command-config
-set
-->
<section
id=
"command-shutdown"
>
<title>
shutdown
</title>
...
...
doc/guide/dhcp4-srv.xml
View file @
a286b3ba
...
...
@@ -3725,11 +3725,11 @@ src/lib/dhcpsrv/cfg_host_operations.cc -->
<itemizedlist>
<listitem>
build-report
</listitem>
<listitem>
config-get
</listitem>
<listitem>
config-set
</listitem>
<listitem>
config-test
</listitem>
<listitem>
config-write
</listitem>
<listitem>
leases-reclaim
</listitem>
<listitem>
list-commands
</listitem>
<listitem>
set-config
</listitem>
<listitem>
shutdown
</listitem>
<listitem>
version-get
</listitem>
</itemizedlist>
...
...
doc/guide/dhcp6-srv.xml
View file @
a286b3ba
...
...
@@ -3944,11 +3944,11 @@ If not specified, the default value is:
<itemizedlist>
<listitem>
build-report
</listitem>
<listitem>
config-get
</listitem>
<listitem>
config-set
</listitem>
<listitem>
config-test
</listitem>
<listitem>
config-write
</listitem>
<listitem>
leases-reclaim
</listitem>
<listitem>
list-commands
</listitem>
<listitem>
set-config
</listitem>
<listitem>
shutdown
</listitem>
<listitem>
version-get
</listitem>
</itemizedlist>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment