mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 23:15:20 +00:00
[#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
This commit is contained in:
@@ -699,7 +699,10 @@
|
||||
// Type of the database, e.g. "mysql", "postgresql", "cql".
|
||||
"type": "mysql"
|
||||
}
|
||||
]
|
||||
],
|
||||
// Intervals between attempts to fetch configuration updates
|
||||
// via the configuration backends used.
|
||||
"config-fetch-wait-time": 30
|
||||
},
|
||||
|
||||
// Server tag.
|
||||
|
Reference in New Issue
Block a user