1. 01 Dec, 2016 2 commits
  2. 16 Dec, 2015 2 commits
  3. 10 Jun, 2015 1 commit
  4. 20 May, 2015 1 commit
  5. 17 Apr, 2015 1 commit
  6. 26 Nov, 2014 1 commit
  7. 21 Aug, 2014 1 commit
  8. 18 Aug, 2014 1 commit
  9. 01 Jul, 2014 1 commit
  10. 26 Jun, 2014 2 commits
    • Thomas Markwalder's avatar
      [3436] D2 TSIGKeyInfo configuration errors now include position info. · 2d89d22a
      Thomas Markwalder authored
      Modified DCfgContextBase::getParam() variants to return the parameter's
      Element::Position.  This makes it available during parsing.
      Modified TSIGKeyInfoParser::build to validate parameters and use position
      in error messages.
    • 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.
  11. 20 May, 2014 1 commit
  12. 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.
  13. 02 Jul, 2013 1 commit
  14. 28 Jun, 2013 1 commit
  15. 18 Jun, 2013 1 commit
  16. 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: