1. 29 Jan, 2018 1 commit
  2. 26 Jan, 2018 1 commit
  3. 19 Jan, 2018 1 commit
  4. 18 Jan, 2018 1 commit
  5. 17 Dec, 2017 1 commit
  6. 05 Dec, 2017 1 commit
  7. 29 Nov, 2017 1 commit
  8. 28 Nov, 2017 2 commits
  9. 25 Oct, 2017 1 commit
  10. 24 Oct, 2017 1 commit
  11. 23 Oct, 2017 3 commits
  12. 18 Oct, 2017 1 commit
  13. 17 Oct, 2017 5 commits
  14. 09 Oct, 2017 1 commit
  15. 06 Oct, 2017 1 commit
  16. 27 Sep, 2017 1 commit
  17. 22 Sep, 2017 1 commit
  18. 21 Sep, 2017 1 commit
  19. 05 Sep, 2017 1 commit
  20. 04 Sep, 2017 1 commit
  21. 31 Aug, 2017 1 commit
  22. 18 Aug, 2017 1 commit
  23. 07 Aug, 2017 1 commit
  24. 02 Aug, 2017 1 commit
  25. 30 Jul, 2017 1 commit
  26. 28 Jul, 2017 1 commit
  27. 11 Jul, 2017 2 commits
  28. 09 Jul, 2017 1 commit
  29. 07 Jul, 2017 1 commit
  30. 30 Jun, 2017 1 commit
  31. 21 Apr, 2017 2 commits
    • Thomas Markwalder's avatar
      [5247] Addressed review comments · a7941a73
      Thomas Markwalder authored
      a7941a73
    • Thomas Markwalder's avatar
      [5247] Corrected issues with assigned-<lease/nas/pd> stats · fe3766ae
      Thomas Markwalder authored
      doc/guide/dhcp4-srv.xml
      doc/guide/dhcp6-srv.xml
          Added entries for reclaimed-leases
      
      src/lib/dhcpsrv/alloc_engine.cc
      
          AllocEngine::reuseExpiredLease(Lease6Ptr&...) - increment
          assigned-<nas/pds> for real allocations
      
          AllocEngine::extendLease6() - increment assigned-<nas/pds>
          for real allocations if the lease expired
      
          AllocEngine::renewLease4(const Lease4Ptr&...)
          - set lease state to STATE_DEFAULT for real allocations
          - increment assigned-leases if lease is expired or reclaimed
            for real allocations
      
          AllocEngine::reuseExpiredLease4(Lease4Ptr&...)
          - increment assigned-leases for real allocations
      
      src/lib/dhcpsrv/cfg_subnets4.cc
          CfgSubnets4::removeStatistics() - added "reclaimed-leases"
      
      src/lib/dhcpsrv/cfg_subnets6.cc
          CfgSubnets4::removeStatistics() - added "reclaimed-leases"
      
      src/lib/dhcpsrv/lease_mgr.cc
          LeaseMgr::recountLeaseStats4()
          LeaseMgr::recountLeaseStats6()
          - added handling of "reclaimed-leases"
          - fixed name of "reclaimed-declined-addresses"
      
      src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
          TEST_F(AllocEngine4Test, simpleRenew4)  - new test to verify stats
          on a normal renew, non-expired
          Added EXPECT_TRUE around calls to testStatistics for invocation line numbers
          Added stat checks to several tests
      
      src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
          Added EXPECT_TRUE around calls to testStatistics for invocation line numbers
          Added stat checks to several tests
      
      src/lib/dhcpsrv/tests/alloc_engine_expiration_unittest.cc
          Added checks of assigned stats
      
      src/lib/dhcpsrv/tests/alloc_engine_utils.cc
          AllocEngine6Test::initSubnet() - removed artificial stat values
      
          NakedAllocEngine::addHost() - new method to add a host to the
          current configuration, rather than use staging/commit as the latter
      fe3766ae