From a286b3baf6278a9f9fcdb1b3a4a49c28ab5721eb Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Fri, 14 Apr 2017 13:52:03 +0200 Subject: [PATCH] [5213] Documentation updated. --- doc/guide/ctrl-channel.xml | 16 ++++++++-------- doc/guide/dhcp4-srv.xml | 2 +- doc/guide/dhcp6-srv.xml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/guide/ctrl-channel.xml b/doc/guide/ctrl-channel.xml index b24b38f09f..2dcfd09431 100644 --- a/doc/guide/ctrl-channel.xml +++ b/doc/guide/ctrl-channel.xml @@ -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. @@ -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 -t command some sanity checks are not performed so it is possible a configuration which successfully - passes this command will still fail in set-config + passes this command will still fail in config-set command or at launch time. The structure of the command is as follows: @@ -422,11 +422,11 @@ $ curl -X POST -H "Content-Type: application/json" -d '{ "command": "config-get" -
- set-config +
+ config-set - The set-config command instructs the server to replace + The config-set 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" { - "command": "set-config", + "command": "config-set", "arguments": { "<server>": { }, @@ -451,7 +451,7 @@ $ curl -X POST -H "Content-Type: application/json" -d '{ "command": "config-get" { - "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)" } -
+
shutdown diff --git a/doc/guide/dhcp4-srv.xml b/doc/guide/dhcp4-srv.xml index 70089c1fba..f9095d0c1d 100644 --- a/doc/guide/dhcp4-srv.xml +++ b/doc/guide/dhcp4-srv.xml @@ -3725,11 +3725,11 @@ src/lib/dhcpsrv/cfg_host_operations.cc --> build-report config-get + config-set config-test config-write leases-reclaim list-commands - set-config shutdown version-get diff --git a/doc/guide/dhcp6-srv.xml b/doc/guide/dhcp6-srv.xml index b0fd25ee17..d69e109a81 100644 --- a/doc/guide/dhcp6-srv.xml +++ b/doc/guide/dhcp6-srv.xml @@ -3944,11 +3944,11 @@ If not specified, the default value is: build-report config-get + config-set config-test config-write leases-reclaim list-commands - set-config shutdown version-get