1. 16 Dec, 2015 1 commit
  2. 09 Dec, 2015 1 commit
  3. 01 Dec, 2015 1 commit
  4. 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
  5. 20 Nov, 2015 2 commits
  6. 24 Sep, 2015 1 commit
  7. 04 Sep, 2015 2 commits
  8. 02 Sep, 2015 3 commits
  9. 01 Sep, 2015 1 commit
  10. 31 Aug, 2015 1 commit
  11. 30 Aug, 2015 1 commit
  12. 27 Aug, 2015 1 commit
  13. 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
  14. 14 Jul, 2015 1 commit
  15. 08 Jul, 2015 2 commits
  16. 06 Jul, 2015 1 commit
  17. 02 Jul, 2015 3 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] 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
  18. 30 Jun, 2015 1 commit
  19. 24 Jun, 2015 1 commit
  20. 23 Jun, 2015 1 commit
  21. 22 Jun, 2015 1 commit
  22. 19 Jun, 2015 2 commits
  23. 16 Jun, 2015 1 commit
  24. 13 Jun, 2015 1 commit
  25. 11 Jun, 2015 3 commits
  26. 10 Jun, 2015 3 commits
  27. 09 Jun, 2015 1 commit