2
0
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:
Thomas Markwalder
2019-01-25 08:34:11 -05:00
parent dc74694de3
commit 7b634d9f36
3 changed files with 143 additions and 28 deletions

View File

@@ -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) {