• Thomas Markwalder's avatar
    [#101,!73] kea-dhcp4 can init CB backends based on config · 210105df
    Thomas Markwalder authored
    src/bin/dhcp4/json_config_parser.*
        databaseConfigConnect(const SrvConfigPtr& srv_cfg)
        databaseConfigFetch(const SrvConfigPtr& srv_cfg, ElementPtr /*global_scope*/)
        - new functions
    
        configureDhcp4Server() - modified to call databaseConfigFetch() after
        loading hook libs
    
    src/bin/dhcp4/tests/config_parser_unittest.cc
        TEST_F(Dhcp4ParserTest, configControlInfoNoFactory) - new test
        TEST_F(Dhcp4ParserTest, configControlInfo) - modified to register
        dummy backend
    
    src/lib/dhcpsrv/testutils/test_config_backend_dhcp4.*
        New files that implement DHPC4 dummy backend for testing
    210105df
test_config_backend_dhcp4.h 18 KB