summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/database_backends.dox
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2016-09-19 22:43:27 +0200
committerTomek Mrugalski <tomasz@isc.org>2016-09-19 22:43:27 +0200
commit9558de5162a142ab85c048f0b2ca74e5c1013a87 (patch)
tree22b826a241f2d9d38bfe6ecbea91802a27f5c41e /src/lib/dhcpsrv/database_backends.dox
parent[master] Added ChangeLog and updated AUTHORS for github #30. (diff)
downloadkea-9558de5162a142ab85c048f0b2ca74e5c1013a87.tar.xz
kea-9558de5162a142ab85c048f0b2ca74e5c1013a87.zip
[4299] General Developer's guide refresh.
Diffstat (limited to 'src/lib/dhcpsrv/database_backends.dox')
-rw-r--r--src/lib/dhcpsrv/database_backends.dox27
1 files changed, 24 insertions, 3 deletions
diff --git a/src/lib/dhcpsrv/database_backends.dox b/src/lib/dhcpsrv/database_backends.dox
index 578351d256..561b2216b7 100644
--- a/src/lib/dhcpsrv/database_backends.dox
+++ b/src/lib/dhcpsrv/database_backends.dox
@@ -55,9 +55,13 @@
- <b>type</b> - specifies the type of database backend. The following values
for the type keyword are supported:
- - <B>memfile</b> - In-memory database. Nothing is written to any
- external storage, so this should not be used in production.
- - <b>mysql</b> - Use MySQL as the database
+ - <B>memfile</b> - In-memory database.
+ - <b>mysql</b> - Use MySQL as the database. Must be enabled at compilation
+ time.
+ - <b>postgresql</b> - Use PostgreSQL as the database. Must be enabled
+ at compilation time.
+ - <b>cql</b> - Use Cassandra (CQL) as the database. Must be enabled at
+ compilation time.
The following sections list the database-specific keywords:
@@ -72,6 +76,8 @@
- <b>user</b> - database user ID under which the database is accessed. If not
specified, no user ID is used - the database is assumed to be open.
+ For details, see @ref isc::dhcp::MySqlConnection::openDatabase().
+
@subsection dhcpdb-keywords-pgsql PostgreSQL connection string keywords
- <b>host</b> - host on which the selected database is running. If not
@@ -83,5 +89,20 @@
- <b>user</b> - database user ID under which the database is accessed. If not
specified, no user ID is used - the database is assumed to be open.
+ For details, see @ref isc::dhcp::PgSqlConnection::openDatabase().
+
+ @subsection dhcpdb-keywords-cql Cassandra (CQL) connection string keywords
+
+ - <b>contact_points</b> - a list of coma separate IP addresses of the
+ cluster contaict points>
+ - <b>port</b> - an integer specifying connection port. If not specified, the
+ default port will be used.
+ - <b>user</b> - a database user name under which the database is accessed. If
+ not specifed, no user name is used - the database is assumed to be open.
+ - <b>password</b> - an optional password if required for connection
+ - <b>keyspace</b> - an optional keyspace. If not specified, the default value
+ of 'keatest' will be used.
+
+ For details, see @ref isc::dhcp::CqlConnection::openDatabase().
*/