Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian Schrader
Kea
Commits
a286b3ba
Commit
a286b3ba
authored
Apr 14, 2017
by
Tomek Mrugalski
🛰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[5213] Documentation updated.
parent
27cf2211
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
doc/guide/ctrl-channel.xml
doc/guide/ctrl-channel.xml
+8
-8
doc/guide/dhcp4-srv.xml
doc/guide/dhcp4-srv.xml
+1
-1
doc/guide/dhcp6-srv.xml
doc/guide/dhcp6-srv.xml
+1
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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