-
Thomas Markwalder authored
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
f5fe96c6