src/bin/dhcp4/ctrl_dhcp4_srv.cc
commandConfigReloadHandler() - use commandSetConfigHandler()
instead of processConfig() to account for logging config
commandSetConfigHandler() - apply logging config and commit config here instead of
in processConfig()
src/bin/dhcp4/tests/dhcp4_test_utils.h
~NakedDhcpv4Srv() - removed unecesary initLogger call
src/bin/dhcp4/tests/kea_controller_unittest.cc
~JSONFileBackendTest() - removed unecessary call to setDefaultLogging
src/bin/dhcp6/ctrl_dhcp6_srv.cc
commandConfigReloadHandler() - use commandSetConfigHandler()
instead of processConfig() to account for logging config
commandSetConfigHandler() - apply logging config and commit config here instead of
in processConfig()
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
createUnixChannelServer() - added config commit so command channel behavior
is correct
TEST_F(CtrlDhcpv6SrvTest, configReload)
Wrap configuration in Dhcp6 element
TEST_F(CtrlChannelDhcpv6SrvTest, set_config)
Turn off timers in config
src/lib/dhcpsrv/srv_config.cc
SrvConfig::applyLoggingCfg() - remove logic added to not call manager.process
when there are no specs.
- clarified JSON usage in admin guide (True/False not allowed)
- fixed incorrect reference to hosts4-storage
- clarified that empty mac-sources entry is not allowed
- added extra text about syntactic contexts
- corrected several typos
src/lib/dhcpsrv/srv_config.cc
SrvConfig::applyLoggingCfg() - now only calls LoggerManager::process()
if the logger config isn't empty
src/bin/dhcp6/ctrl_dhcp6_srv.cc
src/bin/dhcp6/tests/dhcp6_test_utils.cc
Minor clean up and commentary
src/bin/dhcp6/kea_controller.cc
configure(const std::string& file_name)
- Removed initial rollback, now done in commandSetConfigHandler()
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
- Removed unnecessary call to initLogger
src/bin/dhcp6/ctrl_dhcp6_srv.cc
ControlledDhcpv6Srv::commandSetConfigHandler()
- Add logger config
- Use processConfig() directly instead of config-reload command
src/bin/dhcp6/kea_controller.cc
configure(const std::string& file_name)
- Remove logger config
- Use set-config command instead of config-reload
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
createUnixChannelServer()
- added call to initLogger() to revert logging to unit test logger
src/bin/dhcp6/tests/dhcp6_test_utils.cc
BaseServerTest::~BaseServerTest() {
- added call to initLogger() to revert logging to unit test logger