]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5213] Documentation updated.
authorTomek Mrugalski <tomasz@isc.org>
Fri, 14 Apr 2017 11:52:03 +0000 (13:52 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Fri, 14 Apr 2017 11:52:03 +0000 (13:52 +0200)
doc/guide/ctrl-channel.xml
doc/guide/dhcp4-srv.xml
doc/guide/dhcp6-srv.xml

index b24b38f09fb6ff14374d41b99a0766daecb58dd0..2dcfd0943127c467346a33e80a975a1931454087 100644 (file)
@@ -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":  {
         "&#60;server&#62;": {
         },
@@ -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 (&#60;string&#62;:16:26)" }
 </screen>
       </para>
-    </section> <!-- end of command-set-config -->
+    </section> <!-- end of command-config-set -->
 
     <section id="command-shutdown">
       <title>shutdown</title>
index 70089c1fbacb10fc9ffd030a45bc08d48da751de..f9095d0c1d1a44ee34f18fe28ca3c8efa158db49 100644 (file)
@@ -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>
index b0fd25ee175aedcf0deab9a6c7d644ebdf083940..d69e109a817cc91909afec8eb065943ea22d72a3 100644 (file)
@@ -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>