1. 28 Oct, 2019 1 commit
  2. 25 Jul, 2019 3 commits
  3. 22 May, 2019 1 commit
  4. 26 Mar, 2019 1 commit
    • 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_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
      f5fe96c6
  5. 18 Jan, 2019 2 commits
  6. 03 Sep, 2018 1 commit
  7. 07 Mar, 2018 1 commit
    • Thomas Markwalder's avatar
      [5477] Addressed review comments · 8f5ce706
      Thomas Markwalder authored
      src/bin/dhcp4/ctrl_dhcp4_srv.*
      src/bin/dhcp6/ctrl_dhcp6_srv.*
          Changed dbReconnect() to accept ReconnectCtlPtr
          Added commentary for dbReconnect and dbLostCallback
      
      src/lib/dhcpsrv/database_connection.h
          Removed extraneous typedef
      
      many files:
          Changed DatabaseConnection::Callback to ::DbLostCallback
      
      src/lib/dhcpsrv/tests/database_connection_unittest.cc
          Added commentary to text fixture and tests
      8f5ce706
  8. 01 Mar, 2018 1 commit
    • Thomas Markwalder's avatar
      [5477] kea-dhcp6 now supports db reconnect · 78b8edb6
      Thomas Markwalder authored
          kea-dhcp6
              added support for max-reconnect-tries and reconnect-wait-time
              to lease and host db parsers
      
              Added a callback for when DB backends detect loss of connectivity
      
              Added a self-rescheduling method to attempt to reconnect to the
              backends if retries are enabled
      
          dhcpsrv
              PgSqlConnection::checkStatementError() - Modified "fatal" logic
              to throw after invoking db_lost_callback.
      
          Misc. cleanup
      78b8edb6
  9. 04 Dec, 2017 1 commit
  10. 23 Jul, 2017 1 commit
  11. 18 Apr, 2017 3 commits
  12. 14 Apr, 2017 1 commit
  13. 21 Mar, 2017 1 commit
  14. 17 Mar, 2017 2 commits
  15. 15 Mar, 2017 1 commit
  16. 13 Mar, 2017 1 commit
  17. 24 Jan, 2017 1 commit
  18. 03 Jan, 2017 1 commit
    • Thomas Markwalder's avatar
      [5046] Addressed review comments · ebb863e3
      Thomas Markwalder authored
      Added memfile without persistence to set_config unit tests. This eliminates
      the tests attempting to create the csv file.
      
      Updated copyrights.
      
      Fixed misspelling.
      ebb863e3
  19. 02 Jan, 2017 1 commit
  20. 14 Dec, 2016 1 commit
  21. 07 Dec, 2016 1 commit
    • Thomas Markwalder's avatar
      [5046] kea-dhcp6 now implements set-config command · a9a3d0d5
      Thomas Markwalder authored
      src/bin/dhcp6/ctrl_dhcp6_srv.h
      src/bin/dhcp6/ctrl_dhcp6_srv.cc
          ControlledDhcpv6Srv::commandSetConfigHandler() - new method to process
          the set-config command.
      
          ControlledDhcpv6Srv::processCommand() - call new set-config handler
      
          ControlledDhcpv6Srv::processConfig() - added logic to apply logging
          and commit configuration after  successful reconfig
      
          ControlledDhcpv6Srv::ControlledDhcpv6Srv(uint16_t port) - added registration
          of set-config command
      
          ControlledDhcpv6Srv::~ControlledDhcpv6Srv() - unregisters set-config command
      
      src/bin/dhcp6/json_config_parser.cc
          configureCommandChannel() - extracted logic to reconfigure command channel
          to its own fucntion
      
      src/bin/dhcp6/kea_controller.cc
          configure() - removed logic to apply logging and commit config, now done
          in ControlledDhcpv6Srv::processConfig()
      
      src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
          TEST_F(CtrlChannelDhcpv6SrvTest, set_config) - new test to exercise the
          set-config command
      a9a3d0d5
  22. 16 Dec, 2015 2 commits
  23. 23 Oct, 2015 1 commit
  24. 17 Oct, 2015 1 commit
  25. 16 Oct, 2015 1 commit
  26. 12 Oct, 2015 2 commits
  27. 28 Sep, 2015 1 commit
  28. 13 Jun, 2015 2 commits
  29. 12 Jun, 2015 2 commits
  30. 11 Jun, 2015 1 commit