[cql_config="$withval"])
if test "${cql_config}" != "no" ; then
- AC_MSG_ERROR([$CQL_CONFIG CAssandra is no longer supported])
+ AC_MSG_ERROR([$CQL_CONFIG Cassandra is no longer supported])
fi
# Check for sysrepo.
// Type of the database, e.g. "mysql", "postgresql".
"type": "postgresql",
- // User name to be used to access the database.
- "user": "kea"
- },
- {
- // Database password.
- "password": "kea",
-
- // Port on which the database is available.
- "port": 9042,
-
- // Type of the database, e.g. "mysql", "postgresql".
- "type": "mysql",
-
// User name to be used to access the database.
"user": "kea",
// because non stored leases will be lost upon Kea server restart.
"persist": true,
- // Lease database backend type, i.e. "memfile", "mysql", or
+ // Lease database backend type, i.e. "memfile", "mysql" or
// "postgresql".
"type": "memfile"
},
// Type of the database, e.g. "mysql", "postgresql".
"type": "postgresql",
- // User name to be used to access the database.
- "user": "kea"
- },
- {
- // Database password.
- "password": "kea",
-
- // Port on which the database is available.
- "port": 9042,
-
- // Type of the database, e.g. "mysql", "postgresql".
- "type": "mysql",
-
// User name to be used to access the database.
"user": "kea",
// because non stored leases will be lost upon Kea server restart.
"persist": true,
- // Lease database backend type, i.e. "memfile", "mysql", or
+ // Lease database backend type, i.e. "memfile", "mysql" or
// "postgresql".
"type": "memfile"
},
Lease database configuration is controlled through the
``Dhcp4``/``lease-database`` parameters. The database type must be set to
-``memfile``, ``mysql``, or ``postgresql``, e.g.:
+``memfile``, ``mysql`` or ``postgresql``, e.g.:
::
Lease database configuration is controlled through the
``Dhcp6``/``lease-database`` parameters. The database type must be set to
-``memfile``, ``mysql``, or ``postgresql``, e.g.:
+``memfile``, ``mysql`` or ``postgresql``, e.g.:
::
Configuration parameters are extended by standard lease database
parameters as defined in :ref:`database-configuration4`. The ``type``
-parameter should be ``mysql``, ``postgresql``, or ``logfile``; when
+parameter should be ``mysql``, ``postgresql`` or ``logfile``; when
it is absent or set to ``logfile``, files are used.
This database feature is experimental. No specific tools are provided
Securing Database Connections
-----------------------------
-Kea can use an external MySQL or PostgreSQL database to store configuration,
-host reservations, or leases, or for forensic logging. The use of databases is a
-popular feature, but it is optional; it is also possible to store data in a flat
-file on disk.
+Kea can use an external MySQL or PostgreSQL database to store configuration, host reservations,
+or/and leases, or/and for forensic logging. The use of databases is a popular feature, but it is optional;
+it is also possible to store data in a flat file on disk.
When using a database, Kea stores and uses the following credentials to authenticate with the database:
username, password, host, port, and database name. **These are stored in clear text
TEST_F(ConfigTestKeaV4, examples4) {
vector<string> examples = {
"advanced.json",
- //"all-keys-netconf.json",
+ "all-keys-netconf.json",
"all-options.json",
"backends.json",
"classify.json",
TEST_F(ConfigTestKeaV6, examples6) {
vector<string> examples = {
"advanced.json",
- //"all-keys-netconf.json",
+ "all-keys-netconf.json",
"all-options.json",
"backends.json",
"classify.json",