1. 17 Oct, 2018 1 commit
  2. 16 Oct, 2018 1 commit
    • 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
  3. 12 Oct, 2018 2 commits
    • Thomas Markwalder's avatar
      [#101,!53] Addressed review comments · f2431e6c
      Thomas Markwalder authored
      f2431e6c
    • Thomas Markwalder's avatar
      [#101,!58] Implemented ConfigBackendDhcp4Mgr, mysql backend registers/unregisters · 14441b79
      Thomas Markwalder authored
      src/hooks/dhcp/mysql_cb/mysql_cb_callouts.cc
          load() - added call to register MySQL backend
          unload() - added call to unregister MySQL backend
      
      src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.*
          MySqlConfigBackendDHCPv4::registerBackendType()
          MySqlConfigBackendDHCPv4::unregisterBackendType()
          - new static methods for registering/unregistering
      
      src/hooks/dhcp/mysql_cb/tests/Makefile.am
          mysql_cb_dhcp4_mgr_unittest.cc  - new file
      
      src/lib/config_backend/base_config_backend_mgr.h
          bool unregisterBackendFactory(const std::string& db_type)
          - new method to unregister factory and delete backends
      
      src/lib/config_backend/base_config_backend_pool.h
          void delAllBackends(const std::string& db_type)
          - new method to delete all backends of a given type
      
      /src/lib/config_backend/tests/config_backend_mgr_unittest.cc
          TEST_F(ConfigBackendMgrTest, unregister) - new test
      
      src/lib/dhcpsrv/Makefile.am
      src/lib/dhcpsrv/config_backend_dhcp4.h
      src/lib/dhcpsrv/config_backend_dhcp4.cc
          New files that implement ConfigBackendDhcp4Mgr
      
      src/lib/dhcpsrv/config_backend_pool_dhcp4.h
          Added missing public scope, removed pure virtual function
      
      src/lib/eval/tests/Makefile.am
          Added new dependency libkea-cc
      14441b79
  4. 11 Oct, 2018 1 commit
  5. 10 Oct, 2018 1 commit
    • Thomas Markwalder's avatar
      [#101,!58] Implemented ConfigBackendDhcp4Mgr, mysql backend registers/unregisters · f4b4bb9f
      Thomas Markwalder authored
      src/hooks/dhcp/mysql_cb/mysql_cb_callouts.cc
          load() - added call to register MySQL backend
          unload() - added call to unregister MySQL backend
      
      src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.*
          MySqlConfigBackendDHCPv4::registerBackendType()
          MySqlConfigBackendDHCPv4::unregisterBackendType()
          - new static methods for registering/unregistering
      
      src/hooks/dhcp/mysql_cb/tests/Makefile.am
          mysql_cb_dhcp4_mgr_unittest.cc  - new file
      
      src/lib/config_backend/base_config_backend_mgr.h
          bool unregisterBackendFactory(const std::string& db_type)
          - new method to unregister factory and delete backends
      
      src/lib/config_backend/base_config_backend_pool.h
          void delAllBackends(const std::string& db_type)
          - new method to delete all backends of a given type
      
      /src/lib/config_backend/tests/config_backend_mgr_unittest.cc
          TEST_F(ConfigBackendMgrTest, unregister) - new test
      
      src/lib/dhcpsrv/Makefile.am
      src/lib/dhcpsrv/config_backend_dhcp4.h
      src/lib/dhcpsrv/config_backend_dhcp4.cc
          New files that implement ConfigBackendDhcp4Mgr
      
      src/lib/dhcpsrv/config_backend_pool_dhcp4.h
          Added missing public scope, removed pure virtual function
      
      src/lib/eval/tests/Makefile.am
          Added new dependency libkea-cc
      f4b4bb9f
  6. 08 Oct, 2018 8 commits
  7. 18 Sep, 2018 2 commits