1. 01 Dec, 2016 2 commits
  2. 16 Dec, 2015 1 commit
  3. 20 Nov, 2015 1 commit
  4. 02 Sep, 2015 1 commit
  5. 17 Apr, 2015 1 commit
  6. 12 Jan, 2015 1 commit
  7. 15 Oct, 2014 1 commit
    • Marcin Siodelski's avatar
      [3615] Applied patches attached to tickets #3615 and #3617. · 73bafb1f
      Marcin Siodelski authored
      The former replaces the -v with the -d parameter in D2 unit tests. This
      enables the D2 tests that were skipped when the -v parameter was in use.
      The -v causes D2 to print version number and exits. The other patch is
      for printing configuration summary in D2 which we were not aware was failing
      because tests used to be skipped with -v parameter.
  8. 06 Aug, 2014 1 commit
  9. 26 Jun, 2014 2 commits
    • Thomas Markwalder's avatar
      [3436] D2 DnsServerInfo configuration errors now include position info. · 80997c12
      Thomas Markwalder authored
      Modified TSIGKeyInfoParser::build to validate parameters and use position
      in error messages.
      Parameter "hostname" now throws an "not supported yet" error.  This
      can be undone if/when its implmemented.
      Port must now be non-zero.
    • Thomas Markwalder's avatar
      [3436] Added position info to top level parser creation in D2 · e10603ef
      Thomas Markwalder authored
      Added element position argument to DCfgMgrBase::createConfigParser(),
      so derivations have access to print position info unsupported top level
      element errors.
      Removed two log messages DCT_ORDER_ERROR and DCT_ORDER_NO_ELEMENT. These
      conditions are well explained in exceptions thrown and these logs just
      cluttered the log output.
      Removed extra text from DCTL_CONFIG_LOAD_FAIL and DCTL_PARSER_FAIL log
      messages. The log ID is self-explanatory and the underlying exceptions
      provide ample explanation of the error.  Makes the log output much easier
      to understand.
      Revised items-not-in-parse-order detection in DCfgMgrBase::parseConfig().
      Rather than complicated counting logic, objects are removed from the list
      as they are parsed.  Any left over were not in the parsing-order.
      Removed try-catch-throw from DCfgMgrBase::buildAndCommit. This method
      already throws its own exception. Catching, logging, and re-throwing
      exceptions from underneath it really just server to clutter the log.
  10. 17 Jun, 2014 2 commits
    • Thomas Markwalder's avatar
      [3407] Fixed cppcheck complaint, and a failed unit test on Centos · 50be8618
      Thomas Markwalder authored
      IOSignal.construction unit test fails on Centos when other tests are
      run. IOSignal::sequence_id_ which is static doesn't reliably get zero'd out
      under gtest.
    • 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
  11. 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
      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
      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.
  12. 16 May, 2014 2 commits
  13. 07 May, 2014 1 commit
    • Thomas Markwalder's avatar
      [3268] Treat top-level scalars as a group of globals parameters · baa06740
      Thomas Markwalder authored
      Restructured DCfgMgrBase to group the top level elements in a configuration
      into scalars (strings, bools, ints, etc...) and objects (maps, lists, etc),
      and parse the scalars first, then objects.  This permits the top level
      scalars to be treated as a group of global parameters that are parsed first.
      Ordered parsing is now relegated to only object elements. Scalars are parsed
      first before any objects.
      Also added the ability to reset config manager's context and rather than
      than starting configuration parsing with a copy of the current context, it
      starts with an empty context.
      Modified unit tests accordingly.
  14. 05 Dec, 2013 1 commit
    • Thomas Markwalder's avatar
      [3241] Addressed review comments. · d20cfa4f
      Thomas Markwalder authored
      Changed dhcp_ddns::NameChangeRequest to store lease address as
      IOAddress only.  Corrected logic that handles request build
      exceptions and added unit tests for same.  Other minor changes.
  15. 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
  16. 01 Jul, 2013 1 commit
  17. 28 Jun, 2013 1 commit
  18. 18 Jun, 2013 1 commit
  19. 12 Jun, 2013 1 commit
    • Thomas Markwalder's avatar
      [2957] Interrim check-in. This adds configuration management to · dac0b87d
      Thomas Markwalder authored
      D2. It introduces DCfgMgrBase, abstract class for processing updates
      to configuration, DCfgContext for storing configuration; and D2
      specific initial derivations of each, D2CfgMgr and D2CfgContext.
      These are skeletal derivations that will be expanded to handle
      DHCP-DDNS specific configuration. New files added:
  20. 07 Jun, 2013 1 commit
  21. 05 Jun, 2013 1 commit
  22. 02 Jun, 2013 1 commit
  23. 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:
      New files: