1. 20 Apr, 2017 1 commit
  2. 07 Apr, 2017 1 commit
    • Thomas Markwalder's avatar
      [5211] libkea-process is no longer dependent on cryptolink · 650110ab
      Thomas Markwalder authored
      DControllerBase was modified to support a means for derivations to
      contribute additional information to extended version info returned
      by DControllerBase::getVersion(true).  This removes the need to link
      process lib with libraries it does not need.
      
      src/bin/d2/d2_controller.h
      src/bin/d2/d2_controller.cc
          D2Controller::getVersionAddendum() - new method which reports
          D2 dependencies (currently only cryptolink)
      
      src/lib/process/Makefile.am
          Removed temporary link to cryptolink
      
      src/lib/process/d_controller.h
      src/lib/process/d_controller.cc
          DControllerBase::getVersionAddendum() - new virtual method so
          derivations can contribute to extended version information
      
          DControllerBase::getVersion(bool extended) - modified to call
          getVersionAddendum(), removed explict calls for crypto and
          RDBMs versions
      
      Added unit test support
      650110ab
  3. 28 Mar, 2017 1 commit
  4. 21 Mar, 2017 3 commits
  5. 17 Mar, 2017 3 commits
  6. 16 Mar, 2017 1 commit
  7. 13 Mar, 2017 1 commit
  8. 11 Mar, 2017 4 commits
  9. 27 Feb, 2017 1 commit
  10. 22 Feb, 2017 1 commit
  11. 17 Feb, 2017 1 commit
  12. 15 Feb, 2017 1 commit
    • Thomas Markwalder's avatar
      [5110] Addressed review comments part 1 · 0fe888f4
      Thomas Markwalder authored
          Fixed unused parameter errors
          Fixed doxygen errors
          Commentary changes
          Removed reference to .spec file from commentary
          TSIGKeyListParser now uses only one instance of TSIGKeyInfoParser
          src/bin/d2/d2_parser.yy -  added upper limit to port tests
          Updated unit tests to use "example.com"
      0fe888f4
  13. 26 Jan, 2017 1 commit
    • Thomas Markwalder's avatar
      [5110] Added alternate parsing hooks into DController and DCfgMgrBase · 4a5e73f7
      Thomas Markwalder authored
      In order to accomodate bison parsing for JSON text and SimpleParser
      based element parsing, virtual methods were added to allow derivations
      to migrate.
      
      src/lib/process/d_cfg_mgr.h
      src/lib/process/d_cfg_mgr.cc
          DCfgMgrBase::parseElement() - new method to allow derivaitons
          to support alternate Element parsers on a element by element basis
      
          DCfgMgrBase::buildParams()
          DCfgMgrBase::buildAndCommit() - added call to parseElement()
      
      src/lib/process/d_controller.h
      src/lib/process/d_controller.cc
          DControllerBase::parseFile() - new method to allow derivations
          to use alternate JSON parsers
          DControllerBase::configFromFile() - added call to parseFile()
      4a5e73f7
  14. 01 Dec, 2016 3 commits
  15. 08 Nov, 2016 1 commit
  16. 28 Aug, 2016 1 commit
  17. 23 Jun, 2016 2 commits
  18. 16 Dec, 2015 1 commit
  19. 02 Jul, 2015 2 commits
    • Thomas Markwalder's avatar
      [3769] DHCPv6 now uses PID file · 5776ee0c
      Thomas Markwalder authored
      Added PID file creation to DHCP6
          src/bin/dhcp6/dhcp6_messages.mes
          -  added log DHCP6_ALREADY_RUNNING
      
          src/bin/dhcp6/main.cc
          - added logic to create the PID and catch
          exception specific to PID conflict
      
          src/bin/dhcp6/tests/Makefile.am
          - exports KEA_PIDFILE_DIR
      
          src/bin/dhcp6/tests/dhcp6_process_tests.sh.in
          - added call to server_pid_file_test
      
          src/bin/dhcp6/tests/dhcp6_unittests.cc
          - main(int argc, char* argv[])
          sets env var KEA_PIDFILE_DIR
      5776ee0c
    • Thomas Markwalder's avatar
      [3769] Added env var,KEA_PIDFILE_DIR; D2 now uses a PIDFile · d743c5f2
      Thomas Markwalder authored
      src/lib/dhcpsrv/daemon.c/h
          Daemon::Daemon() - Constructor will now override the default PID
          directory with the value of env variable KEA_PIDFILE_DIR.  This
          provides a simple means to alter the value for tests.
      
          Added am_file_author_ flag so Daemon instances will only delete
          a file they have written.
      
      src/lib/testutils/dhcp_test_lib.sh.in
          - verify_server_pid() - new function which verifies that a server has a PID file
          and that it contains the server's PID, and that the process is alive.
      
      src/bin/keactrl/tests/Makefile.am
          - added export of KEA_PIDFILE_DIR to override default PID directory during tests
      
      Added PID file creation to D2
          src/bin/d2/d_controller.cc
          - DControllerBase::launch() - Added block to createPIDFile()
      
          -DControllerBase::parseArgs() Replaced call to Daemon::init()
          with call to Daemon::setConfigFile()
      
          src/bin/d2/tests/Makefile.am
          - added export of KEA_PIDFILE_DIR to override default PID directory during tests
      
          src/bin/d2/tests/d2_process_tests.sh.in
          - dupcliate_server_start_test() - new test which verifies that D2 cannot be
          started twice (with the same configuration file)
      
          src/bin/d2/tests/d2_unittests.cc
          - main(int argc, char* argv[]) sets environment variable KEA_PIDFILE_DIR
           to override default PID diretory during tests
      
      src/lib/util/pid_file.cc/h
      src/lib/util/tests/pid_file_unittest.cc
          Changed PIDFile::check() to return either the PID contained in the PID file
          if the process is alive, or 0, rather than bool.  This permits callers
          to see/log the PID.
      d743c5f2
  20. 24 Jun, 2015 1 commit
  21. 19 Jun, 2015 2 commits
  22. 13 Jun, 2015 1 commit
  23. 10 Jun, 2015 2 commits
  24. 09 Jun, 2015 1 commit
  25. 22 May, 2015 1 commit
  26. 20 May, 2015 1 commit
  27. 19 May, 2015 1 commit
    • Shawn Routhier's avatar
      [trac3808] Enhance logging for D2 · 2becffcd
      Shawn Routhier authored
      Split the logging into three loggers
       config & general
       dhcp to d2
       d2 to dns (and back)
      
      Print out a request ID for each NCR event.  Currently this is the
      DHCID but it could be changed in the future to allow for comparing
      log entries between DHCP servers and D2.
      
      Fix up some typos I ran across while reading the code
      2becffcd