]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3880] Minimalistic description in the User's Guide added
authorTomek Mrugalski <tomasz@isc.org>
Tue, 9 Jun 2015 11:41:58 +0000 (13:41 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Wed, 10 Jun 2015 11:44:06 +0000 (13:44 +0200)
doc/guide/Makefile.am
doc/guide/ctrl-channel.xml [new file with mode: 0644]
doc/guide/dhcp4-srv.xml
doc/guide/kea-guide.xml

index 44e92987ae3b97e2e138e73d8b72c90b4ed9cf5f..8e0f8f58a9a9624ad3683cac6a5ecb39943cac5e 100644 (file)
@@ -7,7 +7,7 @@ dist_html_DATA = $(HTMLDOCS) kea-guide.css
 
 DOCBOOK = kea-guide.xml intro.xml quickstart.xml install.xml admin.xml config.xml
 DOCBOOK += keactrl.xml dhcp4-srv.xml dhcp6-srv.xml logging.xml ddns.xml hooks.xml
-DOCBOOK += libdhcp.xml lfc.xml stats.xml
+DOCBOOK += libdhcp.xml lfc.xml stats.xml ctrl-channel.xml
 
 EXTRA_DIST = $(DOCBOOK)
 DISTCLEANFILES = $(HTMLDOCS) $(DOCS) kea-messages.xml
diff --git a/doc/guide/ctrl-channel.xml b/doc/guide/ctrl-channel.xml
new file mode 100644 (file)
index 0000000..92bb314
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!ENTITY mdash  "&#x2014;" >
+<!ENTITY % version SYSTEM "version.ent">
+%version;
+]>
+
+  <chapter id="ctrl-channel">
+    <title>Management API</title>
+    <para>
+      @todo: To be implemented in ticket 3880.
+    </para>
+
+  </chapter>
index 07ccd765fd89a15d5282f488577b0f23e85a2043..8ea40da42863ee7ebabc3f7cba542ba2ba5f8e0f 100644 (file)
@@ -2793,6 +2793,36 @@ temporarily override a list of interface names and listen on all interfaces.
         </table>
     </section>
 
+    <section id="dhcp4-ctrl-channel">
+      <title>Management API for the DHCPv4 server</title>
+      <para>
+        Management API has been introduced in Kea 0.9.2. It allows issuing specific
+        management commands, like statistics retrieval, reconfiguration or shutdown.
+        For more details, see <xref linkend="ctrl-channel" />. Currently the only
+        supported communication channel type is UNIX stream socket. By default there
+        are no sockets open. To instruct Kea to open a socket, the following entry
+        in the configuration file can be used:
+<screen>
+"Dhcp4": {
+    "control-socket": {
+        "socket-type": "unix",
+        "socket-name": <userinput>"/path/to/the/unix/socket"</userinput>
+    },
+
+    "subnet4": [
+        ...
+    ],
+    ...
+}
+</screen>
+      </para>
+
+      <para>
+        Communication over control channel is conducted using JSON structures.
+        See the Control Channel section in the Kea Developer's Guide for more details.
+      </para>
+    </section>
+
     <section id="dhcp4-std">
       <title>Supported DHCP Standards</title>
       <para>The following standards are currently supported:</para>
index 8610398d7efe01774f9db576e20de835446fe7a5..fd7524c60dd0d5a128dc5f5c2da9a68b43b7a408 100644 (file)
@@ -75,6 +75,8 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="stats.xml" />
 
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ctrl-channel.xml" />
+
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libdhcp.xml" />
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="logging.xml" />