1. 26 Jun, 2014 2 commits
    • 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
    • Thomas Markwalder's avatar
      [master] Update D2 shell script tests · f1a224df
      Thomas Markwalder authored
      As part of merging 3407, D2's shell script tests were
      revamped to match work done under 3422.
      f1a224df
  2. 25 Jun, 2014 9 commits
  3. 20 Jun, 2014 1 commit
  4. 18 Jun, 2014 2 commits
  5. 17 Jun, 2014 4 commits
  6. 16 Jun, 2014 1 commit
    • Thomas Markwalder's avatar
      [3407] Added IOSignal class to send signals to IOService · 231f440a
      Thomas Markwalder authored
      Created d2::IOSignal and d2::IOSignalQueue for propagating
      caught OS signals to IOService instances.
      Added TimedSignal test class.
      
      New files:
          src/bin/d2/io_service_signal.cc
          src/bin/d2/io_service_signal.h
          src/bin/d2/tests/io_service_signal_unittests.cc
      231f440a
  7. 13 Jun, 2014 4 commits
  8. 12 Jun, 2014 3 commits
  9. 11 Jun, 2014 3 commits
  10. 10 Jun, 2014 6 commits
  11. 09 Jun, 2014 3 commits
  12. 05 Jun, 2014 2 commits
    • Thomas Markwalder's avatar
      [3401] Fixed Daemon::loggerInit implementation · 8daa5237
      Thomas Markwalder authored
      Replaced Daemon::loggerInit with implemetation used by Dhcp6 so logging
      output now goes to stdout.
      8daa5237
    • 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