2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00
Thomas Markwalder dec8d15f4a [5596] renew-timer and rebind-timer now optional for DHCPv4
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
2018-05-25 11:12:30 -04:00
2017-07-23 11:58:09 -04:00
2018-02-08 08:31:16 +00:00
2017-08-18 18:44:05 +03:00

Kea provides DHCPv4 and DHCPv6 servers, a dynamic DNS update module,
a portable DHCP library, libdhcp++, control agent that provides management
REST interface, and a DHCP benchmarking tool, perfdhcp.

Kea is developed by Internet Systems Consortium.

The developers website is at http://kea.isc.org/

Limitations and known issues with this DHCP release can be found
at http://kea.isc.org/wiki/KeaKnownIssues

If you are thinking about contributing a patch, please read this first:
http://kea.isc.org/wiki/ContributorsGuide

The Kea mailing lists are available via
https://lists.isc.org/
Description
No description provided
Readme 148 MiB
Languages
C++ 94.1%
Shell 3.4%
PLpgSQL 0.7%
LLVM 0.6%
Meson 0.6%
Other 0.6%