1. 26 Oct, 2020 1 commit
  2. 21 Oct, 2020 1 commit
    • Thomas Markwalder's avatar
      [#1386] D2 supports add and remove without conflict resolution · cef56d36
      Thomas Markwalder authored
      src/lib/dhcp_ddns/ncr_msg.*
          Added NameChangeRequest::conflict_resolution_
      
      src/bin/d2/d2_update_mgr.cc
          D2UpdateMgr::makeTransaction() - use's the NCR's value for
          use-conflict-resolution() in determining which type of transacation
          to create.
      
      src/bin/d2/simple_add.* - new files
          SimpleAddTransaction() - new class which executes a DNS add
          without conflict resolution.
      
      src/bin/d2/simple_remove.* - new files
          SimpleRemoveTransaction() - new class which executes a DNS remove
          without conflict resolution.
      
      src/bin/d2/tests/simple_add_unittests.cc - new file
          Tests SimpleAddTransaction
      
      src/bin/d2/tests/simple_remove_unittests.cc - new file
          Tests SimpleRemoveTransaction
      
      src/bin/dhcp4/tests/d2_unittest.cc
      src/bin/dhcp6/tests/d2_unittest.cc
      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_trans_unittests.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
          updated tests
      cef56d36
  3. 13 Aug, 2020 1 commit
  4. 07 Nov, 2018 1 commit
  5. 03 Oct, 2018 1 commit
  6. 28 Sep, 2018 1 commit
  7. 17 Mar, 2017 1 commit
  8. 22 Feb, 2017 1 commit
  9. 17 Feb, 2017 1 commit
  10. 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
  11. 08 Feb, 2017 1 commit
  12. 31 Jan, 2017 1 commit
    • Thomas Markwalder's avatar
      [5110] Entire D2 configuration is now handled through new parsing scheme · 7e1ef0b2
      Thomas Markwalder authored
      src/bin/d2/d2_cfg_mgr.h
      src/bin/d2/d2_cfg_mgr.cc
          "forward-ddns" and "reverse-ddns" are now parsed using SimpleParsers
      
      src/bin/d2/d2_config.h
      src/bin/d2/d2_config.cc
          TSIGKeyInfoParser converted to flat style
          DnsServerInfoParser, DnsServerInfoListParser, DdnsDomainParser,
          DdnsDomainListParser, DdnsDomainListMgrParser
          - now all derive from SimpleParser
      
      src/bin/d2/d2_lexer.ll
          Added sub-grammar/contexts for PARSER_TSIG_KEY, PARSER_DDNS_DOMAIN,
          PARSER_DNS_SERVER:
      
      src/bin/d2/d2_parser.yy
          Added "false" tokens for sub-contexts:
              SUB_TSIG_KEY, SUB_TSIG_KEYS, SUB_DDNS_DOMAIN,SUB_DDNS_DOMAINS,
              SUB_DNS_SERVER, SUB_DNS_SERVERS
      
      src/bin/d2/d2_simple_parser.h
      src/bin/d2/d2_simple_parser.cc
          Added Defaults:
              TSIG_KEY_DEFAULTS, DDNS_DOMAIN_MGR_DEFAULTS, DDNS_DOMAIN_DEFAULTS,
              DNS_SERVER_DEFAULTS
      
          D2SimpleParser::setDdnsDomainDefaults()
          D2SimpleParser::setManagerDefaults() - new methods to handle setting
          scalar defaults and defaults of child elements
      
          D2SimpleParser::setAllDefaults() - now sets defaults for entire D2
          config
      
      parser_context.h
      parser_context.cc
          Added parser types:
              PARSER_SUB_DHCPDDNS,
              PARSER_TSIG_KEY,
              PARSER_TSIG_KEYS,
              PARSER_DDNS_DOMAIN,
              PARSER_DDNS_DOMAINS,
              PARSER_DNS_SERVER,
              PARSER_DNS_SERVERS
      
      src/bin/d2/tests/d2_cfg_mgr_unittests.h
      src/bin/d2/tests/d2_cfg_mgr_unittests.cc
          Moved all component SimpleParser tests to d2_simple_parser_unittest.cc/h
          Revamped D2CfgMgrTest
      
      src/bin/d2/tests/d2_simple_parser_unittest.h
      src/bin/d2/tests/d2_simple_parser_unittest.cc
          Moved component SimpleParser tests here.
      
      src/bin/d2/tests/nc_test_utils.h
      src/bin/d2/tests/nc_test_utils.cc
          Moved valid_d2_config global from lib/process/tests to here
      
      src/bin/d2/tests/testdata/d2_cfg_tests.json
          Updated format and error messages
      
      src/lib/process/testutils/d_test_stubs.h
      src/lib/process/testutils/d_test_stubs.cc
          Removed valid_d2_config
      7e1ef0b2
  13. 01 Dec, 2016 2 commits
  14. 16 Dec, 2015 1 commit
  15. 23 Nov, 2015 1 commit
    • 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
  16. 20 Nov, 2015 1 commit
  17. 10 Jun, 2015 1 commit
  18. 20 May, 2015 1 commit
  19. 17 Apr, 2015 1 commit
  20. 12 Jan, 2015 1 commit
  21. 26 Jun, 2014 1 commit
  22. 27 May, 2014 1 commit
    • Thomas Markwalder's avatar
      [3432] Addressed review comments · 137c12ee
      Thomas Markwalder authored
      Consolidated DNSClient::doUpdate variants into a single method which
      accepts a smart pointer to a TSIGKey instead of TSIGKey reference.
      Simplified some unit tests.
      Added missing commentary.
      Corrected typos and copyright dates.
      137c12ee
  23. 23 May, 2014 1 commit
    • Marcin Siodelski's avatar
      [master] Bumped up timeout values in D2 controller tests. · a6c7bda2
      Marcin Siodelski authored
      On the FreeBSD10 system installed on the physical machine with the CPU:
      (Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz), Kea compiled with clang 3.3,
      it takes slightly more than 2100ms (the previous timeout value) for the
      callback to occur. This seems to be specific to this system but on the
      other hand we don't test on FreeBSDs a lot, so the problem may be more
      common than we think. This was okayed on Jabber.
      a6c7bda2
  24. 16 May, 2014 2 commits
  25. 08 May, 2014 1 commit
  26. 02 Apr, 2014 1 commit
  27. 27 Aug, 2013 1 commit
    • Thomas Markwalder's avatar
      [3075] Additional review changes. · 39194524
      Thomas Markwalder authored
      Replaced use of EXPECT_EQ(false,) with EXPECT_FALSE()
      in d2_process_unittests.cc.  These were failing to
      compile under Fedora 18/gtest 1.6. This appears to be
      a gtest bug.  Other minor changes.
      39194524
  28. 26 Aug, 2013 1 commit
  29. 16 Aug, 2013 1 commit
    • Thomas Markwalder's avatar
      [3075] Implemented main event loop in b10-dhcp-ddns · c39eb9bb
      Thomas Markwalder authored
      Added main process event loop to D2Process which is the
      primary application "object" in b10-dchp-ddns.
      
      Along the way it was necessary to adjust D2QueueManager to treat
      stopping as an asyncrhonous event when IO is pending. This
      requied a change in lib-dchp-ddns to have awareness of when
      IO is pending.
      
      Fixed a bug in D2 configuration parsing in which parsing a
      a subsequent configuration caused duplicate TSIGKeyInfo
      entries.
      c39eb9bb
  30. 18 Jun, 2013 1 commit
  31. 02 Jun, 2013 1 commit
  32. 24 May, 2013 1 commit
  33. 23 May, 2013 1 commit
  34. 22 May, 2013 1 commit
    • Thomas Markwalder's avatar
      [2395] Created the initial, bare-bones implementation DHCP-DDNS service · cddad16d
      Thomas Markwalder authored
      process class, D2Process, and the abstract class from which it derives,
      DProcess. This class provides DHCP-DDNS specific event loop and business
      logic.
      
      The following new files have been added:
      
         src/bin/d2/d_process.h - defines the DProcess base class
         src/bin/d2/d2_process.h - defines the D2Process class
         src/bin/d2/d2_process.cc - implements the D2Process class
         src/bin/d2/tests/d2_process_unittests.cc - initial unit tests
      cddad16d