1. 27 Jul, 2020 1 commit
  2. 07 Jul, 2020 1 commit
  3. 19 Mar, 2020 2 commits
  4. 03 Sep, 2018 1 commit
  5. 14 Aug, 2018 3 commits
    • Tomek Mrugalski's avatar
      [5705] Changes after review · ef40a210
      Tomek Mrugalski authored
       - doc updated
       - mostly comments
      ef40a210
    • Thomas Markwalder's avatar
      [5705] kea-dhcp4 now fully supports globl HRs · 4f8db6c6
      Thomas Markwalder authored
      src/bin/dhcp4/dhcp4_lexer.ll
      src/bin/dhcp4/dhcp4_parser.yy
          Added support for HR_GLOBAL mode
      
      src/bin/dhcp4/tests/dhcp4_test_utils.cc
          Minor modifications to output exception and config text
          when parsing fails.
      
      src/bin/dhcp4/tests/host_unittest.cc
          New tests to make sure reservation matching behaves
          according to reservation modes
      
      src/lib/dhcpsrv/network.cc
      src/lib/dhcpsrv/parsers/dhcp_parsers.cc
          Adding missed bits needed to parse HR_GLOBAL mode
      4f8db6c6
    • Thomas Markwalder's avatar
      [5705] AllocEngine4 now matches clients to global HRs · e46618e6
      Thomas Markwalder authored
      src/bin/dhcp4/tests/Makefile.am
      src/bin/dhcp4/tests/host_unittest.cc - new file with global HR tests
      
      src/lib/dhcpsrv/alloc_engine.*
          findGlobalReservation() - new function that searches for global HR
      
          findReservation() - calls findGlobalReservation() if mode is global
      
          hasAddressReservation()
          ClientContext4::currentHost()
              - modified to recognize global HRs
      
      src/lib/dhcpsrv/network.h
          Added new mode, Netork::HR_GLOBAL
      
      src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
          TEST_F(AllocEngine4Test, globalReservationReservedAddressDiscover)
          TEST_F(AllocEngine4Test, globalReservationReservedAddressRequest)
          TEST_F(AllocEngine4Test, globalReservationDynamicDiscover)
          TEST_F(AllocEngine4Test, globalReservationDynamicRequest) - new tests
      e46618e6