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 5 commits
    • Thomas Markwalder's avatar
      [master] Added ConfigBackendDHCPv4Mgr · 8fb5a295
      Thomas Markwalder authored
          Merge branch '101-cb-add-two-step-configuration-to-the-dhcpv4-server'
      8fb5a295
    • Thomas Markwalder's avatar
      [#101,!58] Rebased for merge · 79c9a628
      Thomas Markwalder authored
      	modified:   AUTHORS
          modified:   doc/guide/netconf.xml
      	modified:   src/bin/netconf/netconf_controller.cc
      	modified:   src/bin/netconf/netconf_controller.h
      	modified:   src/lib/process/Makefile.am
      	deleted:    src/share/database/scripts/mysql/dhcpdb_create.mysql.orig
      	deleted:    src/share/database/scripts/mysql/upgrade_6.0_to_7.0.sh.in.orig
      79c9a628
    • Franciszek Gorski's avatar
    • 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 4 commits
  5. 10 Oct, 2018 3 commits
    • 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
    • Marcin Siodelski's avatar
      [master] Removed accidentally committed files. · eec499f9
      Marcin Siodelski authored
      Reviewed by Wlodek.
      eec499f9
    • Francis Dupont's avatar
  6. 08 Oct, 2018 26 commits