|
@@ -0,0 +1,226 @@
|
|
|
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
|
|
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
|
|
+ [<!ENTITY mdash "—">]>
|
|
|
+<!--
|
|
|
+ - Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
|
|
|
+ -
|
|
|
+ - This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
+-->
|
|
|
+
|
|
|
+<refentry>
|
|
|
+
|
|
|
+ <refentryinfo>
|
|
|
+ <productname>ISC Kea</productname>
|
|
|
+ <date>2016 Mar 8</date>
|
|
|
+ <edition>1.2.0</edition>
|
|
|
+ <author>
|
|
|
+ <contrib>The Kea software has been written by a number of
|
|
|
+ engineers working for ISC: Tomek Mrugalski, Stephen Morris, Marcin
|
|
|
+ Siodelski, Thomas Markwalder, Francis Dupont, Jeremy C. Reed,
|
|
|
+ Wlodek Wencel and Shawn Routhier. That list is roughly in the
|
|
|
+ chronological order in which the authors made their first
|
|
|
+ contribution. For a complete list of authors and
|
|
|
+ contributors, see AUTHORS file.</contrib>
|
|
|
+ <orgname>Internet Systems Consortium, Inc.</orgname>
|
|
|
+ </author>
|
|
|
+ </refentryinfo>
|
|
|
+
|
|
|
+ <refmeta>
|
|
|
+ <refentrytitle>kea-shell</refentrytitle>
|
|
|
+ <manvolnum>8</manvolnum>
|
|
|
+ <refmiscinfo class="manual">Kea</refmiscinfo>
|
|
|
+ </refmeta>
|
|
|
+
|
|
|
+ <refnamediv>
|
|
|
+ <refname>kea-shell</refname>
|
|
|
+ <refpurpose>Text client for Control Agent process</refpurpose>
|
|
|
+ </refnamediv>
|
|
|
+
|
|
|
+ <docinfo>
|
|
|
+ <copyright>
|
|
|
+ <year>2016</year>
|
|
|
+ <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
|
|
+ </copyright>
|
|
|
+ </docinfo>
|
|
|
+
|
|
|
+ <refsynopsisdiv>
|
|
|
+ <cmdsynopsis>
|
|
|
+ <command>kea-shell</command>
|
|
|
+ <arg><option>-h</option></arg>
|
|
|
+ <arg><option>--host</option></arg>
|
|
|
+ <arg><option>--port</option></arg>
|
|
|
+ <arg><option>-v</option></arg>
|
|
|
+ <arg><option>command</option></arg>
|
|
|
+ </cmdsynopsis>
|
|
|
+ </refsynopsisdiv>
|
|
|
+
|
|
|
+
|
|
|
+ <refsect1>
|
|
|
+ <title>DESCRIPTION</title>
|
|
|
+ <para>
|
|
|
+ The <command>kea-shell</command> provides a REST client for the
|
|
|
+ Kea Control Agent (CA). It takes command as a command-line parameter
|
|
|
+ that is being sent to CA with proper JSON
|
|
|
+ encapsulation. Optional parameters may be specified on the
|
|
|
+ stdin. The request it sent of HTTP and a response is
|
|
|
+ retrieved. That response is printed out on stdout.
|
|
|
+ </para>
|
|
|
+
|
|
|
+ </refsect1>
|
|
|
+
|
|
|
+ <refsect1>
|
|
|
+ <title>ARGUMENTS</title>
|
|
|
+
|
|
|
+ <para>The arguments are as follows:</para>
|
|
|
+
|
|
|
+ <variablelist>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><option>-v</option></term>
|
|
|
+ <listitem><para>
|
|
|
+ Display the version.
|
|
|
+ </para></listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><option>-h</option></term>
|
|
|
+ <listitem><para>
|
|
|
+ Displays help regarding command line parameters.
|
|
|
+ </para></listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><option>--host</option></term>
|
|
|
+ <listitem><para>
|
|
|
+ Specifies the host to connect to. Control Agent must be
|
|
|
+ running at specified host. If not specified, 127.0.0.1 is used.
|
|
|
+ </para></listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><option>--port</option></term>
|
|
|
+ <listitem><para>
|
|
|
+ Specifies the TCP port to connect to. Control Agent must be
|
|
|
+ listening at specified port. If not specified, 8000 is used.
|
|
|
+ </para></listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><option>--timeout</option></term>
|
|
|
+ <listitem><para>
|
|
|
+ Specifies the connection timeout in seconds. If not
|
|
|
+ specified, 10 (seconds) is used.
|
|
|
+ </para></listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term><option>command</option></term>
|
|
|
+ <listitem><para>
|
|
|
+ Specifies the command to be sent to CA. If not
|
|
|
+ specified, "list-commands" is used.
|
|
|
+ </para></listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ </variablelist>
|
|
|
+ </refsect1>
|
|
|
+
|
|
|
+ <refsect1>
|
|
|
+ <title>DOCUMENTATION</title>
|
|
|
+ <para>Kea comes with an extensive Kea User's Guide documentation
|
|
|
+ that covers all aspects of running the Kea software -
|
|
|
+ compilation, installation, configuration, configuration examples
|
|
|
+ and many more. Kea also features a Kea Messages Manual, which
|
|
|
+ lists all possible messages Kea can print with a brief
|
|
|
+ description for each of them. Both documents are typically
|
|
|
+ available in various formats (txt, html, pdf) with your Kea
|
|
|
+ distribution. The on-line version is available at
|
|
|
+ http://kea.isc.org/docs/.</para>
|
|
|
+ <para>
|
|
|
+ Kea source code is documented in the Kea Developer's Guide. It's
|
|
|
+ on-line version is available at http://kea.isc.org. Please
|
|
|
+ follow Developer's Guide link.
|
|
|
+ </para>
|
|
|
+ <para>
|
|
|
+ Kea project website is available at: http://kea.isc.org.
|
|
|
+ </para>
|
|
|
+ </refsect1>
|
|
|
+
|
|
|
+ <refsect1>
|
|
|
+ <title>MAILING LISTS AND SUPPORT</title>
|
|
|
+ <para>
|
|
|
+ There are two mailing lists available for Kea project. kea-users
|
|
|
+ (kea-users at lists.isc.org) is intended for Kea users, while kea-dev
|
|
|
+ (kea-dev at lists.isc.org) is intended for Kea developers, prospective
|
|
|
+ contributors and other advanced users. Both lists are available at
|
|
|
+ http://lists.isc.org. The community provides best effort type of support
|
|
|
+ on both of those lists.
|
|
|
+ </para>
|
|
|
+ <para>
|
|
|
+ ISC provides professional support for Kea services. See
|
|
|
+ https://www.isc.org/kea/ for details.
|
|
|
+ </para>
|
|
|
+ </refsect1>
|
|
|
+
|
|
|
+ <refsect1>
|
|
|
+ <title>HISTORY</title>
|
|
|
+ <para>
|
|
|
+ The <command>kea-shell</command> was first coded in March 2017
|
|
|
+ by Tomek Mrugalski.
|
|
|
+ </para>
|
|
|
+ </refsect1>
|
|
|
+
|
|
|
+ <refsect1>
|
|
|
+ <title>SEE ALSO</title>
|
|
|
+ <para>
|
|
|
+ <citerefentry>
|
|
|
+ <refentrytitle>kea-ctrl-agent</refentrytitle>
|
|
|
+ <manvolnum>8</manvolnum>
|
|
|
+ </citerefentry>,
|
|
|
+
|
|
|
+ <citerefentry>
|
|
|
+ <refentrytitle>kea-dhcp4</refentrytitle>
|
|
|
+ <manvolnum>8</manvolnum>
|
|
|
+ </citerefentry>,
|
|
|
+
|
|
|
+ <citerefentry>
|
|
|
+ <refentrytitle>kea-dhcp6</refentrytitle>
|
|
|
+ <manvolnum>8</manvolnum>
|
|
|
+ </citerefentry>,
|
|
|
+
|
|
|
+ <citerefentry>
|
|
|
+ <refentrytitle>kea-dhcp-ddns</refentrytitle>
|
|
|
+ <manvolnum>8</manvolnum>
|
|
|
+ </citerefentry>,
|
|
|
+
|
|
|
+ <citerefentry>
|
|
|
+ <refentrytitle>kea-admin</refentrytitle>
|
|
|
+ <manvolnum>8</manvolnum>
|
|
|
+ </citerefentry>,
|
|
|
+
|
|
|
+ <citerefentry>
|
|
|
+ <refentrytitle>keactrl</refentrytitle>
|
|
|
+ <manvolnum>8</manvolnum>
|
|
|
+ </citerefentry>,
|
|
|
+
|
|
|
+ <citerefentry>
|
|
|
+ <refentrytitle>perfdhcp</refentrytitle>
|
|
|
+ <manvolnum>8</manvolnum>
|
|
|
+ </citerefentry>,
|
|
|
+
|
|
|
+ <citerefentry>
|
|
|
+ <refentrytitle>kea-lfc</refentrytitle>
|
|
|
+ <manvolnum>8</manvolnum>
|
|
|
+ </citerefentry>,
|
|
|
+
|
|
|
+ <citetitle>Kea Administrator's Guide</citetitle>.
|
|
|
+
|
|
|
+ </para>
|
|
|
+ </refsect1>
|
|
|
+
|
|
|
+</refentry><!--
|
|
|
+ - Local variables:
|
|
|
+ - mode: sgml
|
|
|
+ - End:
|
|
|
+-->
|