1. 21 Mar, 2017 1 commit
  2. 17 Mar, 2017 2 commits
  3. 16 Mar, 2017 1 commit
  4. 13 Mar, 2017 1 commit
  5. 11 Mar, 2017 4 commits
  6. 27 Feb, 2017 1 commit
  7. 22 Feb, 2017 1 commit
  8. 17 Feb, 2017 1 commit
  9. 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
  10. 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
  11. 01 Dec, 2016 3 commits
  12. 08 Nov, 2016 1 commit
  13. 28 Aug, 2016 1 commit
  14. 23 Jun, 2016 2 commits
  15. 16 Dec, 2015 1 commit
  16. 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
  17. 24 Jun, 2015 1 commit
  18. 19 Jun, 2015 2 commits
  19. 13 Jun, 2015 1 commit
  20. 10 Jun, 2015 2 commits
  21. 09 Jun, 2015 1 commit
  22. 22 May, 2015 1 commit
  23. 20 May, 2015 1 commit
  24. 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
  25. 17 May, 2015 2 commits
  26. 21 Jan, 2015 1 commit
  27. 16 Jan, 2015 1 commit
  28. 20 Oct, 2014 1 commit
    • Thomas Markwalder's avatar
      [trac3470] Replace static containers with shared pointers in SignalSet · 79014890
      Thomas Markwalder authored
      Changed the functions, getRegisteredSignals() and getSignalStates()
      to instantiate static shared pointers and return these, rather than
      raw pointers to statically declared containers.
      
      Added private shared pointer members to SignalSet, registered_signals_
      and signal_states_.  These are initialized within SignalSet constructors
      by calling the functions getRegisteredSignals() and getSignalStates()
      respectively.  This ensures that both static lists remain inscope until
      all SignalSets have been destroyed.
      
      Replaced use of getRegisteredSignals() and getSignalStates() with
      new private members, registered_signals_ and signal_states_.
      
      Removed work-around code in src/bin/d2/d_controller.cc put in place
      until this ticket was resolved.
      79014890
  29. 15 Sep, 2014 1 commit