mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[#101,!202] Added log messages and more unit tests
src/bin/dhcp4/tests/config_backend_unittest.cc Added DISABLED tests for option definitions and options. src/bin/dhcp4/dhcp4_messages.mes src/bin/dhcp4/json_config_parser.cc Added two log messages
This commit is contained in:
@@ -666,6 +666,8 @@ void databaseConfigFetch(const SrvConfigPtr& srv_cfg) {
|
||||
return;
|
||||
}
|
||||
|
||||
LOG_INFO(dhcp4_logger, DHCP4_CONFIG_FETCH);
|
||||
|
||||
// For now we find data based on first backend that has it.
|
||||
BackendSelector backend_selector(BackendSelector::Type::UNSPEC);
|
||||
|
||||
@@ -708,8 +710,8 @@ void databaseConfigFetch(const SrvConfigPtr& srv_cfg) {
|
||||
}
|
||||
|
||||
// Now we merge the fecthed configuration into the staging configuration.
|
||||
// Probably a good place for a log message
|
||||
CfgMgr::instance().mergeIntoStagingCfg(external_cfg->getSequence());
|
||||
LOG_INFO(dhcp4_logger, DHCP4_CONFIG_MERGED);
|
||||
}
|
||||
|
||||
bool databaseConfigConnect(const SrvConfigPtr& srv_cfg) {
|
||||
|
Reference in New Issue
Block a user