make it easy for others to use different backends.
While ISC currently (May 2015) maintains only one configuration backend
-(a JSON file read from disk), there may be other organizations (e.g.
-the Bundy project community) that will maintain other backends. It is quite
-possible that additional backends (e.g. using LDAP or XML) will be
-developed and maintained by other organizations.
+(a JSON file read from disk), it is quite possible that additional backends
+(e.g. using LDAP or XML) will be developed in the future by ISC or other
+organizations.
@section configBackendAdding How to Add a New Configuration Backend
<chapter id="kea-config">
<title>Kea configuration</title>
- <para>The following section describe details of the only configuration
- backend which can be configured and used.</para>
+ <para>Kea is designed to allow different methods by which it can be
+ configured, each method being implemented by a component known as a
+ configuration backend. At present, only one such backend is
+ available, that allowing configuration by means of a JSON file.</para>
<section id="json-backend">
<title>JSON configuration backend</title>
- Command line argument handling
- Process instantiation and initialization
- Support for stand-alone execution
- - Support for integrated operation
- Process event loop invocation and shutdown
It creates and manages an instance of isc::d2::DProcessBase. The CPL is
- isc::d2::D2Controller - entry point for running D2, it processes command line
options, starts and controls the application process, @c D2Process.
-There were two implementations of D2Controller, today the only available
-form is JSON.
-
-- isc::d2::D2Process - creates and manages D2's primary resources and implements
-the main event loop described in @ref d2EventLoop.
+- isc::d2::D2Process - creates and manages D2's primary resources and
+implements the main event loop described in @ref d2EventLoop.
- isc::d2::D2CfgMgr - creates, updates, and provides access to D2's application
configuration which is embodied by @c D2CfgContext.
only), as support for transmission to hosts without IPv4 address
assigned is not implemented in IfaceMgr yet.
-@section dhcpv4Session
-
-No longer applicable.
-
@section dhcpv4ConfigParser Configuration Parser in DHCPv4
This parser follows exactly the same logic as its DHCPv6 counterpart.
DHCPv6 server component does not support relayed traffic yet, as
support for relay decapsulation is not implemented yet.
- @section dhcpv6Session
-
- No longer applicable.
-
@section dhcpv6ConfigParser Configuration Parser in DHCPv6
\note With the implementation of the Kea ticket #3534 we're moving away from
void
Session::establish(const char* socket_file) {
if (socket_file == NULL) {
- socket_file = getenv("MSGQ_SOCKET_FILE");
+ socket_file = getenv("KEA_MSGQ_SOCKET_FILE");
}
if (socket_file == NULL) {
- socket_file = MSGQ_SOCKET_FILE;
+ socket_file = KEA_MSGQ_SOCKET_FILE;
}
impl_->establish(*socket_file);
-#define MSGQ_SOCKET_FILE "@@LOCALSTATEDIR@@/@PACKAGE@/msgq_socket"
+#define KEA_MSGQ_SOCKET_FILE "@@LOCALSTATEDIR@@/@PACKAGE@/kea_msgq_socket"