1. 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
  2. 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
  3. 16 Dec, 2015 2 commits
  4. 23 Oct, 2015 1 commit
  5. 17 Oct, 2015 1 commit
  6. 16 Oct, 2015 1 commit
  7. 12 Oct, 2015 2 commits
  8. 28 Sep, 2015 1 commit
  9. 13 Jun, 2015 2 commits
  10. 12 Jun, 2015 2 commits
  11. 11 Jun, 2015 1 commit
  12. 10 Jun, 2015 1 commit
  13. 20 May, 2015 1 commit
  14. 19 May, 2015 1 commit
  15. 18 May, 2015 1 commit
  16. 30 May, 2014 1 commit
    • Tomek Mrugalski's avatar
      [3399] Changes after review · 6eb72206
      Tomek Mrugalski authored
       - ChangLog updated (b10-dhcp4 => DHCPv4 server)
       - stand-alone mode removed in Kea4,Kea6
       - getInstance() used instead of server_
       - ctrl_dhcp4_srv.cc: one stringstream instance now shared by all error messages
       - ctrl_dhcp4_srv.h: comments cleaned up
       - Added log message for received configuration
       - kea_controller.cc: Unnecessary header/using namespace removed
       - *.json files are now cleaned up in src/bin/dhcp4/tests
       - added comment that explains lack of tests for Bundy backend
       - kea_controller_unittest.cc now uses the same filename everywhere
      
      Changes also applied to Kea6 (where applicable).
      6eb72206
  17. 21 May, 2014 1 commit
  18. 19 May, 2014 1 commit
    • Tomek Mrugalski's avatar
      [3400] Changes after review: · 5916bcf3
      Tomek Mrugalski authored
       - files renamed to {kea,bundy}_controller.cc
       - Daemon::init() is now void
       - status variable removed from main
       - added unit-tests for broken configs
      5916bcf3
  19. 06 May, 2014 1 commit
    • Tomek Mrugalski's avatar
      [3400] Changes after review: · b4d53d93
      Tomek Mrugalski authored
      - config-reload command added
      - config and command handlers cleaned up
      - files renamed
      - Majority of the backend code is now common
      - Added unit-test for config-reload command
      b4d53d93
  20. 22 Apr, 2014 1 commit
  21. 03 Jan, 2014 1 commit
  22. 13 Nov, 2013 2 commits
  23. 19 Jul, 2013 1 commit
  24. 11 Jul, 2013 2 commits
  25. 08 May, 2013 1 commit
  26. 09 Apr, 2013 1 commit
  27. 06 Mar, 2013 1 commit
  28. 31 Jan, 2013 1 commit
  29. 18 Jan, 2013 1 commit
    • Marcin Siodelski's avatar
      [2637] Fix the DHCP configuration handling. · c8027400
      Marcin Siodelski authored
      In particular, the new configuration is merged with the existing
      configuration to trigger the full reconfiguration of the server. This is
      to satisfy dependencies between various configuration values.
      c8027400
  30. 17 Jan, 2013 1 commit
  31. 15 Jan, 2013 1 commit
  32. 10 Dec, 2012 1 commit
  33. 16 Nov, 2012 1 commit
  34. 14 Nov, 2012 1 commit
    • Stephen Morris's avatar
      [2472] Move choice of DHCP6 lease manager to main · 487d2cb8
      Stephen Morris authored
      Before this change, the choice of lease manager was set in
      ControlledDhcpv6Srv.  This means that unit tests for that code
      always used the MySQL lease manager (if present).  This change
      ensures that unit tests always use the Memfile manager.
      487d2cb8