diff options
author | Thomas Markwalder <tmark@isc.org> | 2019-03-26 20:12:06 +0100 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2019-03-26 20:12:06 +0100 |
commit | f5fe96c6ee044017583bdb2b64e98ebd49a785cc (patch) | |
tree | 204793b1258143b36e2fca8a61e620701e75691f /src/lib/dhcpsrv/dhcpsrv_messages.h | |
parent | [#103,!277] Regenerated bison files. (diff) | |
download | kea-f5fe96c6ee044017583bdb2b64e98ebd49a785cc.tar.xz kea-f5fe96c6ee044017583bdb2b64e98ebd49a785cc.zip |
[#104,!290] kea-dhcpv6 now supports fetching config from backends
Infrastructure has been added to kea-dhcp6 such that it can
now be configured to fetch full and then periodic updates
from config backends.
Merging the actual fetched content will be done under subsequent
issues.
src/bin/dhcp6
ctrl_dhcp6_srv.*
- ControlledDhcpv6Srv::processConfig() - added logic to schedule CB update timer
- ControlledDhcpv6Srv::cbFetchUpdates() - new callback function for CB updates
dhcp6_lexer.ll
dhcp6_parser.yy
- Added config-fetch-wait-time
dhcp6_messages.mes
- New log messages
dhcp6_srv.*
- Dhcpv6Srv::cb_control_ - new member for config backend access
- Dhcpv6Srv::inTestMode() - new function to test for unit test mode
json_config_parser.cc
- configureDhcp6Server() - invokes full fetch from config backend
src/bin/dhcp6/tests
config_backend_unittest.cc - new file/tests for config backend testing
config_parser_unittest.cc - updated
get_config_unittest.cc - rebuild tests
kea_controller_unittest.cc - added CB control/timer tests
src/lib/dhcpsrv/
dhcpsrv_messages.mes - added log message
cb_ctl_dhcp6.* - new files that provide v6 impl of config backend controller
doc/examples/kea6/all-keys-current.json - added config-fetch-wait-time
Diffstat (limited to 'src/lib/dhcpsrv/dhcpsrv_messages.h')
-rw-r--r-- | src/lib/dhcpsrv/dhcpsrv_messages.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/dhcpsrv_messages.h b/src/lib/dhcpsrv/dhcpsrv_messages.h index b9bc955029..3a421e3dd1 100644 --- a/src/lib/dhcpsrv/dhcpsrv_messages.h +++ b/src/lib/dhcpsrv/dhcpsrv_messages.h @@ -1,4 +1,4 @@ -// File created from ../../../src/lib/dhcpsrv/dhcpsrv_messages.mes on Tue Mar 19 2019 10:19 +// File created from ../../../src/lib/dhcpsrv/dhcpsrv_messages.mes on Tue Mar 26 2019 13:08 #ifndef DHCPSRV_MESSAGES_H #define DHCPSRV_MESSAGES_H @@ -15,6 +15,7 @@ extern const isc::log::MessageID DHCPSRV_CFGMGR_ALL_IFACES_ACTIVE; extern const isc::log::MessageID DHCPSRV_CFGMGR_CFG_DHCP_DDNS; extern const isc::log::MessageID DHCPSRV_CFGMGR_CLEAR_ACTIVE_IFACES; extern const isc::log::MessageID DHCPSRV_CFGMGR_CONFIG4_MERGED; +extern const isc::log::MessageID DHCPSRV_CFGMGR_CONFIG6_MERGED; extern const isc::log::MessageID DHCPSRV_CFGMGR_CONFIGURE_SERVERID; extern const isc::log::MessageID DHCPSRV_CFGMGR_DEL_SUBNET4; extern const isc::log::MessageID DHCPSRV_CFGMGR_DEL_SUBNET6; |