• Thomas Markwalder's avatar
    [#104,!290] kea-dhcpv6 now supports fetching config from backends · f5fe96c6
    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_pa...
    f5fe96c6
ctrl_dhcp6_srv.h 15.8 KB