1. 01 Dec, 2016 2 commits
  2. 13 Sep, 2016 1 commit
  3. 28 Aug, 2016 1 commit
  4. 08 Jul, 2016 1 commit
  5. 02 Jul, 2016 1 commit
  6. 23 Jun, 2016 2 commits
  7. 17 Mar, 2016 1 commit
    • Thomas Markwalder's avatar
      [4243] Disable optimization of boost:asio for gcc 5.2.0 through 5.3.0 · ac5d93b8
      Thomas Markwalder authored
      Optimization of boost:asio code is now disabled when building with
      BOOST_ERROR_CODE_HEADER_ONLY under GCC versions 5.2.0 through 5.3.0.
      
      src/lib/asiolink/asio_wrapper.h
          New file which wraps boost/asio/asio.hpp around compilation
          logic to suppress optimization under GNU 5.2.0 thru 5.3.0.
      
      The remaining changes either removed the inclusion of <asio/asio.hpp> or
      replaced it with the inclusion of <<asiolink/asio_wrapper.h>.  Inclusion
      file order was also altered to better comply with our coding guidelines.
      ac5d93b8
  8. 14 Mar, 2016 1 commit
  9. 16 Dec, 2015 2 commits
  10. 15 Dec, 2015 1 commit
  11. 23 Nov, 2015 2 commits
    • Thomas Markwalder's avatar
      [4202] Addressed review comments · d9b43805
      Thomas Markwalder authored
          Fixed missed underscores in commentary
              src/bin/d2/tests/nc_test_utils.h
              src/lib/dhcp_ddns/ncr_msg.h
      d9b43805
    • Thomas Markwalder's avatar
      [4202] Replaced underscores with hypens in NCR JSON element names · 430fbc88
      Thomas Markwalder authored
      The NCR element names have also been changed to use hyphens.  This touched
      quita a few unit tests. Files modified:
      
          src/bin/d2/tests/d2_process_unittests.cc
          src/bin/d2/tests/d2_queue_mgr_unittests.cc
          src/bin/d2/tests/d2_update_mgr_unittests.cc
          src/bin/d2/tests/nc_add_unittests.cc
          src/bin/d2/tests/nc_remove_unittests.cc
          src/bin/d2/tests/nc_test_utils.cc
          src/bin/d2/tests/nc_trans_unittests.cc
          src/bin/dhcp4/tests/d2_unittest.cc
          src/bin/dhcp6/tests/d2_unittest.cc
          src/lib/dhcp_ddns/libdhcp_ddns.dox
          src/lib/dhcp_ddns/ncr_msg.cc
          src/lib/dhcp_ddns/tests/ncr_udp_unittests.cc
          src/lib/dhcp_ddns/tests/ncr_unittests.cc
          src/lib/dhcpsrv/tests/d2_udp_unittest.cc
      430fbc88
  12. 20 Nov, 2015 2 commits
  13. 24 Sep, 2015 1 commit
  14. 04 Sep, 2015 2 commits
  15. 02 Sep, 2015 3 commits
  16. 01 Sep, 2015 1 commit
  17. 30 Aug, 2015 1 commit
  18. 27 Aug, 2015 1 commit
  19. 22 Jul, 2015 1 commit
    • Thomas Markwalder's avatar
      [3929] config_report.cc is now generated during src/lib/cfgrpt/Makefile · 7eaa1ec0
      Thomas Markwalder authored
      By generating config_report.cc in the cfgrpt directory Makefile
      rather than configure, it can be treated as any other generated
      source file, rather than a one-off special case.
      
      Moved cfgrpt directory from bin to lib since it creates a library
      rather than an executable.
      
      mk_cfgrpt.sh is now generated by configure from a .in file and
      
      Details:
      
      configure.ac
         removed call to mk_cfgrpts.sh
         added mk_cfgprt.sh to list of files generated by configure
      
      src/bin/Makefile.am
         removed cfgrpt dir
      
      changed cfgrpt directory to lib
          src/bin/d2/Makefile.am
          src/bin/d2/tests/Makefile.am
          src/bin/dhcp4/Makefile.am
          src/bin/dhcp4/tests/Makefile.am
          src/bin/dhcp6/Makefile.am
          src/bin/dhcp6/tests/Makefile.am
          src/bin/lfc/Makefile.am
          src/bin/lfc/tests/Makefile.am
          src/bin/perfdhcp/Makefile.am
          src/bin/perfdhcp/tests/Makefile.am
      
      src/lib/Makefile.am
          added cfgrpt dir
      
      src/lib/cfgrpt/Makefile.am
          changed include dir to be in lib not dir
          added config_report.cc to CLEANFILES
          added config_report.cc to BUILD_SOURCES
          removed config_report.cc from libcfgrpt_la_SOURCES
          added rule for config_report.cc to call mk_cfgrpt.sh
      7eaa1ec0
  20. 06 Jul, 2015 1 commit
  21. 02 Jul, 2015 2 commits
    • Thomas Markwalder's avatar
      [3769] DHPCv4 now uses PID file, made pid test common · 24267d20
      Thomas Markwalder authored
      src/lib/testutils/dhcp_test_lib.sh.in
          - server_pid_file_test() - common test for any server
          to verify PID file management
      
      src/bin/d2/tests/d2_process_tests.sh.in
          remmoved duplicate_server_start_test
          now calls server_pid_file_test
      
      Added PID file creation to DHCP4
          src/bin/dhcp4/dhcp4_messages.mes
          -  added log DHCP4_ALREADY_RUNNING
      
          src/bin/dhcp4/main.cc
          - added logic to create the PID and catch
          exception specific to PID conflict
      
          src/bin/dhcp4/tests/Makefile.am
          - exports KEA_PIDFILE_DIR
      
          src/bin/dhcp4/tests/dhcp4_process_tests.sh.in
          - added call to server_pid_file_test
      
          src/bin/dhcp4/tests/dhcp4_unittests.cc
          - main(int argc, char* argv[])
          sets env var KEA_PIDFILE_DIR
      24267d20
    • 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
  22. 16 Jun, 2015 1 commit
  23. 11 Jun, 2015 1 commit
  24. 10 Jun, 2015 1 commit
  25. 09 Jun, 2015 1 commit
  26. 21 May, 2015 1 commit
  27. 20 May, 2015 1 commit
  28. 19 May, 2015 2 commits
    • Tomek Mrugalski's avatar
      [3796] CCSession class removed. · 4ace5ca4
      Tomek Mrugalski authored
      4ace5ca4
    • 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
  29. 18 May, 2015 1 commit
  30. 12 May, 2015 1 commit