1. 11 Dec, 2018 1 commit
  2. 07 Nov, 2018 1 commit
  3. 08 Oct, 2018 1 commit
  4. 07 Sep, 2018 1 commit
  5. 14 Aug, 2018 1 commit
    • 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
  6. 25 May, 2018 1 commit
    • Thomas Markwalder's avatar
      [5596] renew-timer and rebind-timer now optional for DHCPv4 · dec8d15f
      Thomas Markwalder authored
      v4 Parsing now allows renew/rebind timers to be unspecified,
      and kea-dhcp4 logic now matchs ISC DHCP:
      
      1. Send T2 only if it is specified and is less than lease lifetime
      2. Send T1 only if it is specified and is less than either T2
      if specified, or lease lifetime in the absence of T2
      
      doc/guide/dhcp4-srv.xml
          Updated discussion of rebind/renew-timers
      
      src/bin/dhcp4/dhcp4_srv.cc
          Dhcpv4Srv::assignLease() - modified to sanity check
          T1 and T2
      
      src/bin/dhcp4/tests/config_parser_unittest.cc
      src/bin/dhcp4/tests/get_config_unittest.cc
      src/bin/dhcp4/tests/simple_parser4_unittest.cc
      src/bin/dhcp6/tests/get_config_unittest.cc
      src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc
      src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
          updated numerous tests
      
      src/lib/dhcpsrv/network.cc
          Network::toElement() - only outputs T1, T2, and
          valid lifetime if they are specified
      
      src/lib/dhcpsrv/network.h
          Network() - inits t1_, t2_, and valid_ to unspecified
          Triplet value
      
      src/lib/dhcpsrv/parsers/dhcp_parsers.cc
          Subnet4ConfigParser::initSubnet() - allow renew-timer and
          rebind-timer to be optional
      
      src/lib/dhcpsrv/parsers/simple_parser4.cc
          SimpleDefaults SimpleParser4::GLOBAL4_DEFAULTS - removed
          entries for renew-timer and rebind-timer
      dec8d15f
  7. 25 Apr, 2018 1 commit
    • Thomas Markwalder's avatar
      [5535] dhcpsrv now supports multiple relay addresses in RelayInfo · 9e362be0
      Thomas Markwalder authored
      src/lib/dhcpsrv/network.*
          Network::RelayInfo
          - modified to support a list of IP addresses
          - added methods:
              addAddress(const asiolink::IOAddress& addr)
              bool hasAddresses()
              bool containsAddress(const asiolink::IOAddress& addr)
              +const IOAddressList& getAddresses()
      
          Network
          - added wrapper methods for convenience:
              addRelayAddress(const asiolink::IOAddress& addr)
              bool hasRelays()
              bool hasRelayAddress(const asiolink::IOAddress& addr)
              const IOAddressList& getRelayAddresses()
      
          - toElement() - modified to output ip-addresses list
      
          Updated the following accordingly:
              src/lib/dhcpsrv/cfg_subnets4.cc
              src/lib/dhcpsrv/cfg_subnets6.cc
              src/lib/dhcpsrv/parsers/dhcp_parsers.cc
              src/lib/dhcpsrv/subnet.cc
              src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc
              src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
              src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc
              src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc
              src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
              src/lib/dhcpsrv/tests/shared_network_unittest.cc
              src/lib/dhcpsrv/tests/subnet_unittest.cc
      9e362be0
  8. 06 Apr, 2018 1 commit
  9. 05 Apr, 2018 1 commit
  10. 29 Nov, 2017 1 commit
  11. 28 Nov, 2017 1 commit
  12. 27 Nov, 2017 1 commit
  13. 23 Nov, 2017 1 commit
  14. 17 Oct, 2017 1 commit
  15. 07 Oct, 2017 1 commit
  16. 22 Sep, 2017 1 commit
  17. 18 Sep, 2017 1 commit
  18. 05 Sep, 2017 3 commits
  19. 31 Aug, 2017 3 commits