1. 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).
      2c0ab179
  2. 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
  3. 28 May, 2014 2 commits
  4. 27 May, 2014 1 commit
    • Thomas Markwalder's avatar
      [3432] Addressed review comments · 137c12ee
      Thomas Markwalder authored
      Consolidated DNSClient::doUpdate variants into a single method which
      accepts a smart pointer to a TSIGKey instead of TSIGKey reference.
      Simplified some unit tests.
      Added missing commentary.
      Corrected typos and copyright dates.
      137c12ee
  5. 23 May, 2014 1 commit
    • Marcin Siodelski's avatar
      [master] Bumped up timeout values in D2 controller tests. · a6c7bda2
      Marcin Siodelski authored
      On the FreeBSD10 system installed on the physical machine with the CPU:
      (Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz), Kea compiled with clang 3.3,
      it takes slightly more than 2100ms (the previous timeout value) for the
      callback to occur. This seems to be specific to this system but on the
      other hand we don't test on FreeBSDs a lot, so the problem may be more
      common than we think. This was okayed on Jabber.
      a6c7bda2
  6. 20 May, 2014 2 commits
  7. 19 May, 2014 2 commits
  8. 16 May, 2014 2 commits
  9. 15 May, 2014 2 commits
  10. 14 May, 2014 2 commits
    • Thomas Markwalder's avatar
      [3432] TSIGKeyInfo now creates and owns a dns::TSIGKey · 3784b469
      Thomas Markwalder authored
      d2::TSIGKeyInfo now has an instance member for a dns::TSIGKey
      instance, which is created during the TSIGKeyInfo's construction.
      3784b469
    • Thomas Markwalder's avatar
      [3432] Added basic TSIG support to NameChangeTransaction · a00bfe54
      Thomas Markwalder authored
      Added TSIGKeyPtr instance member to NameChangeTransaction.
      Modified NameChangeTransaction::sendUpdate() to do a TSIG updates if its
      TSIGKeyPtr is not null.
      
      Extended FauxServer test class to support TSIG if given a key.
      Added round trip TSIG tests to NameChangeTransaction base class tests.
      
      This does not address how the transaction's key is determined. That
      requires changes to configuration classes in D2Config.
      a00bfe54
  11. 13 May, 2014 1 commit
  12. 12 May, 2014 1 commit
    • Thomas Markwalder's avatar
      [3432] Added support for TSIG to D2UpdateMessage and DNSClient · dd0024cf
      Thomas Markwalder authored
      Change D2UpdateMessage to support TSIG signing and verification via its
      toWire and fromWire methods.  Both now accept a pointer to a TSIGContext,
      which they should use, if its not NULL.
      
      Implemented DNSCLient::doUpdate variant that accepts a TSIGKey. It will
      use the key to create a TSIGContext that will then be used to sign the
      outbound request and to verify the response in the operator() method.
      
      Added appropriate unit tests.
      dd0024cf
  13. 10 May, 2014 1 commit
  14. 08 May, 2014 2 commits
  15. 07 May, 2014 3 commits
    • 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
    • Thomas Markwalder's avatar
      [3268] Added container class for D2 global parameters · 0f2ef12b
      Thomas Markwalder authored
      Added d2::D2Params to act as container class for D2 global parameters.
      This permits them to be converted from their context parameter form during
      configuration parsing.
      0f2ef12b
    • 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
  16. 24 Apr, 2014 1 commit
  17. 18 Apr, 2014 1 commit
  18. 17 Apr, 2014 2 commits
  19. 16 Apr, 2014 3 commits
  20. 15 Apr, 2014 1 commit
  21. 14 Apr, 2014 1 commit
  22. 02 Apr, 2014 2 commits
  23. 11 Mar, 2014 1 commit
  24. 07 Mar, 2014 1 commit
    • Thomas Markwalder's avatar
      [3362] d2::NameRemoveTransaction now checks for NXRRSET · 72d508ac
      Thomas Markwalder authored
      Changed NameRemoveTransaction to test for NXRRSET not NXDOMAIN.  Since
      the remove prequisites are RRSet tests, if the RRSets do no exist the
      DNS server will return NXRRSET. NameRemoveTransaction now correctly
      checks for this and treats it as success.
      72d508ac
  25. 04 Mar, 2014 1 commit
  26. 28 Feb, 2014 1 commit