1. 18 Aug, 2017 3 commits
    • Andrei Pavel's avatar
      Google Benchmark support · 29440ea0
      Andrei Pavel authored
      ReentrantSetUp* methods are needed because you can't control iteration
      count
      Usage:
        ./configure --with-benchmark
            OR
        ./configure --with-benchmark-source=/path/to/benchmark/src
      
        make
        cd src/lib/dhcpsrv/benchmarks
      
        ./run-benchmarks
            OR
        ./run-benchmarks --benchmark_filter="RegExP*"
      29440ea0
    • Andrei Pavel's avatar
      boost::any for CHDS · 765c0d79
      Andrei Pavel authored
      765c0d79
    • Andrei Pavel's avatar
      boost::any for cassandra and more: · 11cc65e3
      Andrei Pavel authored
      - replaced void* with boost::any for type safety (might be just a bit less efficient)
      - replaced a multi-index-container used for statement parameters ( with position index and name index ) and a vector of the same parameters with a compile-time type-based map
      - refactored lease manager to use exchanges
      - exchanges now support UDTs (user defined types) and collections to be used in Cassandra statements
      - replaced size-ambiguous types (e.g. int) with size-explicit types (e.g. int32_t) in Cassandra-related code
      - made exception messages and log messages more detailed and consistent in format
      11cc65e3
  2. 15 Aug, 2017 7 commits
  3. 11 Aug, 2017 1 commit
  4. 10 Aug, 2017 2 commits
    • Tomek Mrugalski's avatar
      [5314] Empty status added · b0572c95
      Tomek Mrugalski authored
       - it's a copy 5272 code added that's already on master,
         but it seems easier to add it on a branch than go through
         the whole rebase process.
      b0572c95
    • Tomek Mrugalski's avatar
      [5280] Changes after review: · 94ff2448
      Tomek Mrugalski authored
       - added missing comments for couple handlers
       - duplicated leaseX-update check removed, unit-test added
       - added missing parameters in lease_mgr_unitest.cc
       - added sanity check for state when adding and updating leases
       - not possibly anymore to sneak v4 addresses when v6 is expected
         (and vice versa)
      94ff2448
  5. 08 Aug, 2017 1 commit
    • Thomas Markwalder's avatar
      [5324] Log file rotation now works when configured to do so · 2e2cb37a
      Thomas Markwalder authored
      doc/guide/logging.xml
          Updated logging section with more explanation of maxsize and maxver
      
      src/lib/dhcpsrv/logging_info.cc
          LoggingInfo::toSpec()
              Now sets maxsize and maxver in created spec
      
      src/lib/dhcpsrv/tests/logging_info_unittest.cc
          TEST_F(LoggingInfoTest, defaults)
              Added checks for default maxsize and maxver
      
      src/lib/dhcpsrv/tests/logging_unittest.cc
          LoggingTest:
              Added support for log files
      
          TEST_F(LoggingTest, logRotate) - new test the ensures
          logs rotate when configured to do so
      
      src/lib/testutils/dhcp_test_lib.sh.in
          Added code to remove log lock file.  When rotation is enabled,
          lock files are automatically enabled.
      2e2cb37a
  6. 07 Aug, 2017 3 commits
  7. 04 Aug, 2017 2 commits
  8. 03 Aug, 2017 4 commits
  9. 02 Aug, 2017 2 commits
  10. 01 Aug, 2017 3 commits
  11. 28 Jul, 2017 3 commits
  12. 25 Jul, 2017 2 commits
  13. 24 Jul, 2017 1 commit
  14. 23 Jul, 2017 6 commits