offer-lft added to global, shared-network4, and subnet4
Can be set/fetched/parsed but does nothing yet.
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/cfg_globals.*
Add offer-lft to global, shared-network4, and subnet4 values
src/lib/dhcpsrv/network.*
Add offer_lft_ to Network4
src/lib/dhcpsrv/parsers/base_network_parser.*
BaseNetworkParser::parseOfferLft() - new function
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
Subnet4ConfigParser::initSubnet()
src/lib/dhcpsrv/parsers/shared_network_parser.cc
SharedNetwork4Parser::parse() - add call to parseOfferLft()
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
TEST_F(AllocEngine4Test, discoverOfferLft) - new test, currently
fails because impl is missing.
src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc
src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
src/lib/dhcpsrv/tests/network_unittest.cc
src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
Updated tests to account for offer-lft
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
Added offer-lft
src/bin/dhcp4/tests/get_config_unittest.cc
Regenerated tests.
Can be parsed, but does nothing
doc/examples/kea4/all-keys.json
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
src/lib/dhcpsrv/parsers/simple_parser4.cc
added parked-packet-limit
src/bin/dhcp4/tests/config_parser_unittest.cc
TEST_F(Dhcp4ParserTest, parkedPacketLimit) - new test
src/bin/dhcp4/tests/get_config_unittest.cc
updated
Both servers parse and store ddns-use-conflict-resolution but
do nothing with it.
doc/examples/kea4/all-keys.json
doc/examples/kea4/with-ddns.json
doc/examples/kea6/all-keys.json
doc/examples/kea6/with-ddns.json
Added entries for ddns-use-conflict-resolution
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
src/bin/dhcp4/tests/get_config_unittest.cc
Added support for ddns-use-conflict-resolution
src/bin/dhcp4/tests/get_config_unittest.cc.skel
Changed important calls to ASSERT_NO_THROW_LOG to ease debugging
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/json_config_parser.cc
src/bin/dhcp6/tests/get_config_unittest.cc
Added support for ddns-use-conflict-resolution
src/bin/dhcp6/tests/get_config_unittest.cc.skel
Changed important calls to ASSERT_NO_THROW_LOG to ease debugging
src/lib/dhcpsrv/parsers/base_network_parser.cc
Fixed copy/paste error
src/bin/dhcp4/tests/get_config_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
regenerated tests
src/lib/dhcpsrv/parsers/simple_parser4.cc
Removed DDNS params from INHERIT_TO_SUBNET4 list
src/lib/dhcpsrv/parsers/simple_parser6.cc
Removed DDNS params from INHERIT_TO_SUBNET6 list
src/lib/dhcpsrv/alloc_engine.*
AllocEngine::ClientContext6::getDdnsParams()
AllocEngine::ClientContext4::getDdnsParams() - new
methods which return a DdnsParams instance scoped by
currently selected subnet
Replaced direct references to context::ddns_params_ with
new getter methods.
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
Removed global defaults for hostname-char-set/replacement
Moving the parameters needs to be done before defaults are applied to the
config, so moveDdnsParams was changed to modify a mutable top level
element map instead of SrvConfig contents.
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
Change ddns-send-updates default to true.
src/lib/dhcpsrv/srv_config.*
SrvConfig::getConfiguredGlobal() - new method to fetch a
global by name
SrvConfig::moveDdnsParams() - changed to accept/modify
a top-level Element map
src/lib/dhcpsrv/tests/srv_config_unittest.cc
updated unit tests accordingly
src/lib/dhcpsrv/d2_client_cfg.*
Added hostname-char-set and hostname-char-replacement to DdnsParms
DdnsParams::getHostnameSanitizer() - new function to return a sanitizer
src/lib/dhcpsrv/d2_client_mgr.h
D2ClientMgr::adjustDomainName() - now gets sanitizer from ddns_params
src/lib/dhcpsrv/network.*
src/lib/dhcpsrv/parsers/base_network_parser.cc
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
Added hostname-char-set and hostname-char-replacement to networks and subnets