1. 01 Dec, 2016 2 commits
  2. 08 Nov, 2016 1 commit
  3. 16 Dec, 2015 1 commit
  4. 19 May, 2015 1 commit
    • 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
  5. 12 Jan, 2015 1 commit
  6. 21 Aug, 2014 1 commit
  7. 18 Aug, 2014 1 commit
  8. 26 Jun, 2014 2 commits
    • Thomas Markwalder's avatar
      [3436] D2CfgMgr now validates top level params · 1e69c034
      Thomas Markwalder authored
      D2CfgMgr::buildParams now validates all of the
      top level params prior to calling the D2Params
      constructor.  This allows element position info
      to be included in error logging.
      1e69c034
    • 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.
      e10603ef
  9. 20 May, 2014 1 commit
  10. 19 May, 2014 1 commit
  11. 07 May, 2014 1 commit
    • Thomas Markwalder's avatar
      [3268] Modified D2CfgMgr and spec file · 67f5da73
      Thomas Markwalder authored
      Added D2CfgMgr::buildParams() method to support the new parameters first
      processing.
      
      Removed support D2's global "interface" parameter, and added three more:
       - dns_server_timeout
       - ncr_protocol
       - ncr_format
      67f5da73
  12. 27 Feb, 2014 1 commit
  13. 17 Feb, 2014 1 commit
  14. 08 Nov, 2013 1 commit
    • Thomas Markwalder's avatar
      [3087] Use IOServicePtr consistently in DHCP-DDNS · 4d07784b
      Thomas Markwalder authored
      Some classes were using references to isc::asiolink::IOService, others
      where using d2::IOServicePtr.  The latter is now used throughout for
      consistency as well as support for future, possible, multi-threaded
      implementation.
      4d07784b
  15. 19 Sep, 2013 1 commit
  16. 06 Aug, 2013 1 commit
  17. 05 Aug, 2013 1 commit
  18. 02 Jul, 2013 1 commit
  19. 01 Jul, 2013 1 commit
  20. 28 Jun, 2013 1 commit
  21. 20 Jun, 2013 1 commit
  22. 18 Jun, 2013 1 commit
  23. 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:
      
        src/bin/d2/d_cfg_mgr.h
        src/bin/d2/d_cfg_mgr.cc
        src/bin/d2/d2_cfg_mgr.h
        src/bin/d2/d2_cfg_mgr.cc
        src/bin/d2/tests/d_cfg_mgr_unittests.cc
      dac0b87d