1. 01 Oct, 2018 1 commit
  2. 28 Sep, 2018 1 commit
  3. 15 Dec, 2017 1 commit
  4. 17 Mar, 2017 1 commit
  5. 13 Mar, 2017 1 commit
  6. 11 Mar, 2017 1 commit
  7. 22 Feb, 2017 1 commit
  8. 08 Feb, 2017 1 commit
  9. 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
  10. 14 Dec, 2016 1 commit
  11. 01 Dec, 2016 2 commits
  12. 16 Dec, 2015 1 commit
  13. 20 Nov, 2015 1 commit
  14. 10 Jun, 2015 1 commit
  15. 20 May, 2015 1 commit
  16. 17 Apr, 2015 1 commit
  17. 15 Oct, 2014 2 commits
  18. 17 Jun, 2014 1 commit
    • Thomas Markwalder's avatar
      [3407] Integrated IOSignaling into CPL · 73f57b83
      Thomas Markwalder authored
      DController was extended to instantiate an IOSignalQueue and register for
      signals with a SignalSet.  The default implementation for signal processing
      supports SIGHUP as config file reload, and SIGINT/SIGTERM for graceful
      shutdown.  D2Controller inherits this support without change.
      
      A good deal of work went into the unit test classes as well, particularly
      DControllerTest.
      73f57b83
  19. 09 Jun, 2014 1 commit
    • Thomas Markwalder's avatar
      [3401] Addressed reveiw comments · 2c0ab179
      Thomas Markwalder authored
      Static handlers were removed from DControllerBase.
      Developer's guide has been updated to with --with-kea-config
      discussion and updated diagrams.
      Other minor corrections.
      
      (Note ingore diffs in the diagram .svg files, they aren't particularly
      meaningful to the human eye).
      2c0ab179
  20. 05 Jun, 2014 1 commit
    • Thomas Markwalder's avatar
      3401 - D2 now supports with-kea-config switch · 1c4d345d
      Thomas Markwalder authored
      The configuration switch --with-kea-config, now selects between
      two versions of D2Controller:
      
      1. One which must run as a BUNDY module and is implemented in
      bundy_d2_controller.(h/cc)
      
      All of the BIND10 support was extracted from DControllerBase and moved
      into this version of D2Controller.
      
      This controller is tested in tests/bundy_d2_controller_unittests.cc
      
      2. One that runs as a stand alone executable which must be supplied
      with a configuration file via the command line and is implemented in
      d2_controller.(h/cc).
      
      This version of D2Controller is nearly identical the the original.
      DControllerBase supports configuration from file.
      
      This controller is tested in tests/d2_controller_unittests.cc
      
      DControllerBase now inherits from Daemon which keeps it in step with
      K4 and K6.
      
      The stand-alone mode flag has been removed from all controllers.
      1c4d345d
  21. 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
  22. 18 Jun, 2013 1 commit
  23. 07 Jun, 2013 1 commit
  24. 05 Jun, 2013 1 commit
  25. 02 Jun, 2013 1 commit
  26. 30 May, 2013 1 commit
    • Thomas Markwalder's avatar
      [2956] Interrim checkin to allow merge with 2955. Note a subsequent commit · fd911f47
      Thomas Markwalder authored
      will be required to make d2 build.
      Modified files:
          Makefile.am
          d2_log.cc
          d2_log.h
          d2_messages.mes
          d2.spec
          main.cc
          tests/Makefile.am
          tests/d2_test.py
      New files:
          d2_controller.cc
          d2_controller.h
          d_controller.cc
          d_controller.h
          spec_config.h
          tests/d2_controller_unittests.cc
          tests/d_controller_unittests.cc
          tests/d_test_stubs.cc
          tests/d_test_stubs.h
      fd911f47