1. 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
  2. 16 May, 2014 2 commits
  3. 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.
      baa06740
  4. 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.
      d20cfa4f
  5. 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
      entries.
      c39eb9bb
  6. 01 Jul, 2013 1 commit
  7. 28 Jun, 2013 1 commit
  8. 18 Jun, 2013 1 commit
  9. 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
  10. 07 Jun, 2013 1 commit
  11. 05 Jun, 2013 1 commit
  12. 02 Jun, 2013 1 commit
  13. 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