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()
Added a ChangeLog entry.
src/lib/config/command_mgr.cc
CommandMgrImpl::openCommandSocket() - now attempts to open and
lock a lock file whose name is derived from the control socket
name. If the lock cannot be established, it is assumed that the
socket is in use.
CommandMgr::closeCommandSocket() - removes the lock file after
the socket file is removed.
src/lib/config/tests/command_mgr_unittests.cc
TEST_F(CommandMgrTest, exclusiveOpen) - new unit test
Minor clean ups
src/lib/dhcpsrv/tests/srv_config_unittest.cc
TEST_F(SrvConfigTest, getDdnsParamsNoSubnetTest4)
TEST_F(SrvConfigTest, getDdnsParamsNoSubnetTest6)
- new unit tests
src/lib/dhcpsrv/srv_config.*
Renamed DdnsParams::enable_updates_ to d2_client_enabled_
src/lib/cc/data.h
MapElement::get() - revamped to only do the lookup once.
src/lib/dhcpsrv/d2_client_cfg.cc
D2ClientConfig::stringToReplaceClientNameMode() - removed
use of boost::iequals(). Config parsing lowercases it already.