1. 10 Jun, 2015 1 commit
  2. 20 May, 2015 1 commit
  3. 21 Jan, 2015 1 commit
  4. 16 Jan, 2015 1 commit
  5. 20 Oct, 2014 1 commit
    • Thomas Markwalder's avatar
      [trac3470] Replace static containers with shared pointers in SignalSet · 79014890
      Thomas Markwalder authored
      Changed the functions, getRegisteredSignals() and getSignalStates()
      to instantiate static shared pointers and return these, rather than
      raw pointers to statically declared containers.
      Added private shared pointer members to SignalSet, registered_signals_
      and signal_states_.  These are initialized within SignalSet constructors
      by calling the functions getRegisteredSignals() and getSignalStates()
      respectively.  This ensures that both static lists remain inscope until
      all SignalSets have been destroyed.
      Replaced use of getRegisteredSignals() and getSignalStates() with
      new private members, registered_signals_ and signal_states_.
      Removed work-around code in src/bin/d2/d_controller.cc put in place
      until this ticket was resolved.
  6. 15 Sep, 2014 1 commit
  7. 09 Sep, 2014 1 commit
  8. 03 Sep, 2014 1 commit
    • Marcin Siodelski's avatar
      [3534] Logger configuration can be rolled back. · 24154b6c
      Marcin Siodelski authored
      Previously, the logger configuration was applied (to log4cplus) as soon as
      it was parsed. We decided in the jabber discussion that the logger
      configuration should only be applied if the whole configuration goes
      through. So, the logger configuration is now 2-stage: parsing and commit
      as for other configuration parameters.
  9. 11 Aug, 2014 3 commits
  10. 06 Aug, 2014 1 commit
  11. 29 Jul, 2014 1 commit
  12. 18 Jul, 2014 1 commit
    • Tomek Mrugalski's avatar
      [3427] Changes after review: · d26a4945
      Tomek Mrugalski authored
       - Kea ARM updated
       - shell tests for Kea4,Kea6 and D2 are now passing
       - kea.conf updated with logging info
       - Various improvements in Daemon and LogConfigParser
       - DEFAULT_SYSLOG_NAME removed
       - Copyright years fixed
       - Couple additional tests written
  13. 15 Jul, 2014 1 commit
  14. 18 Jun, 2014 1 commit
  15. 17 Jun, 2014 2 commits
    • Thomas Markwalder's avatar
      [3407] Added workaround for SignalSet bug, see Trac #3470 · d66abdf4
      Thomas Markwalder authored
      Added workaround to DControllerBase to explicitly clear
      its SignalSet before exiting launch().
      SignalSets can outlive their static lists which can cause
      destructing them as part of process exit segfault.
      Once this is fixed under #3470 the workaround can be removed.
    • 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
  16. 09 Jun, 2014 1 commit
    • Thomas Markwalder's avatar
      [3401] Addressed reveiw comments · 2c0ab179
      Thomas Markwalder authored
      Static handlers were removed from DControllerBase.
      Developer's guide has been updated to with --with-kea-config
      discussion and updated diagrams.
      Other minor corrections.
      (Note ingore diffs in the diagram .svg files, they aren't particularly
      meaningful to the human eye).
  17. 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.
    • 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.
  18. 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
  19. 04 Jul, 2013 1 commit
    • Marcin Siodelski's avatar
      [2977] Disable logger initialization in the D2 controller when unit testing · 7076a02b
      Marcin Siodelski authored
      When logger initialization was disabled for a unit test, a few NULL pointer
      assertions came up. This was because, some module commands were executed
      without arguments (NULL pointer objects). NULL pointers were not checked
      before logging arguments. This led to assertions. NULL pointers are now
      checked and "(no arg)" string is logged if present.
  20. 02 Jul, 2013 1 commit
  21. 07 Jun, 2013 1 commit
  22. 06 Jun, 2013 1 commit
  23. 05 Jun, 2013 1 commit
  24. 02 Jun, 2013 1 commit
  25. 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: