1. 21 Jun, 2017 2 commits
  2. 18 Apr, 2017 4 commits
  3. 14 Apr, 2017 2 commits
  4. 28 Mar, 2017 1 commit
  5. 21 Mar, 2017 1 commit
  6. 17 Mar, 2017 2 commits
  7. 15 Mar, 2017 2 commits
  8. 13 Mar, 2017 1 commit
  9. 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
  10. 22 Dec, 2016 1 commit
  11. 15 Dec, 2016 1 commit
    • Thomas Markwalder's avatar
      [5046] Move apply logging and config commit from processConfig to set-config handler · 354e68ad
      Thomas Markwalder authored
      src/bin/dhcp4/ctrl_dhcp4_srv.cc
          commandConfigReloadHandler() - use commandSetConfigHandler()
          instead of processConfig() to account for logging config
      
          commandSetConfigHandler() - apply logging config and commit config here instead of
          in processConfig()
      
      src/bin/dhcp4/tests/dhcp4_test_utils.h
           ~NakedDhcpv4Srv() - removed unecesary initLogger call
      
      src/bin/dhcp4/tests/kea_controller_unittest.cc
           ~JSONFileBackendTest() - removed unecessary call to setDefaultLogging
      
      src/bin/dhcp6/ctrl_dhcp6_srv.cc
          commandConfigReloadHandler() - use commandSetConfigHandler()
          instead of processConfig() to account for logging config
      
          commandSetConfigHandler() - apply logging config and commit config here instead of
          in processConfig()
      
      src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
          createUnixChannelServer() -  added config commit so command channel behavior
          is correct
      
          TEST_F(CtrlDhcpv6SrvTest, configReload)
              Wrap configuration in Dhcp6 element
      
          TEST_F(CtrlChannelDhcpv6SrvTest, set_config)
              Turn off timers in config
      
      src/lib/dhcpsrv/srv_config.cc
          SrvConfig::applyLoggingCfg() - remove logic added to not call manager.process
          when there are no specs.
      354e68ad
  12. 09 Dec, 2016 1 commit
    • Thomas Markwalder's avatar
      [5046] Avoid wiping logging when config is empty · 767bf150
      Thomas Markwalder authored
      src/lib/dhcpsrv/srv_config.cc
          SrvConfig::applyLoggingCfg() - now only calls LoggerManager::process()
          if the logger config isn't empty
      
      src/bin/dhcp6/ctrl_dhcp6_srv.cc
      src/bin/dhcp6/tests/dhcp6_test_utils.cc
          Minor clean up and commentary
      
      src/bin/dhcp6/kea_controller.cc
          configure(const std::string& file_name)
          - Removed initial rollback, now done in commandSetConfigHandler()
      
      src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
         - Removed unnecessary call to initLogger
      767bf150
  13. 08 Dec, 2016 1 commit
    • Thomas Markwalder's avatar
      [5046] Fixed logger setup on set-config · cb8f8ae3
      Thomas Markwalder authored
      src/bin/dhcp6/ctrl_dhcp6_srv.cc
          ControlledDhcpv6Srv::commandSetConfigHandler()
          - Add logger config
          - Use processConfig() directly instead of config-reload command
      
      src/bin/dhcp6/kea_controller.cc
          configure(const std::string& file_name)
            - Remove logger config
            - Use set-config command instead of config-reload
      
      src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
          createUnixChannelServer()
          - added call to initLogger() to revert logging to unit test logger
      
      src/bin/dhcp6/tests/dhcp6_test_utils.cc
          BaseServerTest::~BaseServerTest() {
          - added call to initLogger() to revert logging to unit test logger
      cb8f8ae3
  14. 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
  15. 22 Nov, 2016 1 commit
    • Thomas Markwalder's avatar
      [3238] Enabled libreload command · 2659a1ac
      Thomas Markwalder authored
      doc/guide/ctrl-channel.xml
          Added libreload to common command section
      
      src/bin/dhcp4/ctrl_dhcp4_srv.cc
          Registered and deregistered libreload command
      
      src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
          TEST_F(CtrlChannelDhcpv4SrvTest, libreload) - modified to
          test using CommandMgr instance
      
      src/bin/dhcp6/ctrl_dhcp6_srv.cc
          Registered and deregistered libreload command
      
      src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
          TEST_F(CtrlChannelDhcpv6SrvTest, libreload) - modified to
          test using CommandMgr instance
      2659a1ac
  16. 16 Jun, 2016 1 commit
  17. 09 Jun, 2016 1 commit
  18. 11 May, 2016 1 commit
  19. 09 Mar, 2016 1 commit
  20. 12 Jan, 2016 1 commit
  21. 16 Dec, 2015 1 commit
  22. 10 Dec, 2015 1 commit
    • Marcin Siodelski's avatar
      Revert "[master] Merge branch 'trac4106'" · 6bc8c1cb
      Marcin Siodelski authored
      This reverts commit 8f2a1f8a, reversing
      changes made to ed7edadc.
      
      This  merge introduced regressions in our build farm and revealed
      issues in the DHCP4o6 IPC code. It also revealed some differences
      in sockets handling under Linux and BSD. Rather than continue
      patching this here, we should work on the branch to resolve all
      issues and then merge 1.1.
      6bc8c1cb
  23. 09 Dec, 2015 1 commit
  24. 24 Nov, 2015 1 commit
  25. 17 Nov, 2015 1 commit
  26. 31 Oct, 2015 1 commit
  27. 26 Oct, 2015 1 commit
  28. 23 Oct, 2015 1 commit
  29. 17 Oct, 2015 1 commit
  30. 16 Oct, 2015 3 commits
  31. 12 Oct, 2015 1 commit