Added ChangeLog entry
src/bin/dhcp4/ctrl_dhcp4_srv.*
ControlledDhcpv4Srv::dbLostCallback() - schedules a shutdown
once retries have been exhausted/disableld
src/bin/dhcp6/ctrl_dhcp6_srv.*
ControlledDhcpv6Srv::dbLostCallback() - schedules a shutdown
once retries have been exhausted/disableld
src/lib/database/database_connection.h
class DbUnrecoverableError - new exception
src/lib/mysql/mysql_connection.h
MySqlConnection::check_error() - throws DbUnrecoverableError
instead of calling exit()
src/lib/pgsql/pgsql_connection.*
PgSqlConnection::checkStatementError() - throws DbUnrecoverableError
instead of calling exit()
src/lib/config/config_ctl_info.*
New files, implementing ConfigDbInfo and ConfigControlInfo
classes use for housing configuration backend and control
information
src/lib/config/Makefile.am
Added config_ctl_info.h/cc
Added libkea-database.la
src/lib/config/tests/config_ctl_info_unitests.cc
New file which unit tests new classes
src/lib/database/database_connection.*
DatabaseConnection::toElement(const ParameterMap& params) - new
static function which turns a parameter map into Elements
DatabaseConnection::toElementDbAccessString(const std::string& dbaccess)
- new static function which turns an access string into Elements
src/lib/database/dbaccess_parser.*
Replaced StringPairMap with DatabaseConnection::ParameterMap
src/lib/database/tests/database_connection_unittest.cc
TEST(DatabaseConnection, toElementDbAccessStringValid)
TEST(DatabaseConnection, toElementDbAccessStringInvalid)
TEST(DatabaseConnection, toElementDbAccessStringEmpty) - new tests
src/lib/dhcpsrv/cfg_db_access.*
CfgDbAccess::toElementDbAccessString() - moved to
lib/database/database_connection.cc so it can be shared