kea-dhcp6 client classes now support valid and preferred
lifetime triplets. Need to update ARM and CB yet.
/doc/examples/kea6/all-keys.json
Updated
/src/bin/dhcp6/dhcp6_lexer.ll b/src/bin/dhcp6/dhcp6_lexer.ll
Added preferred and valid lifetime parameters to client class
/src/bin/dhcp6/dhcp6_parser.yy
Added preferred and valid lifetime parameters to client class
src/bin/dhcp6/tests/config_parser_unittest.cc
TEST_F(Dhcp6ParserTest, clientClassValidPreferredLifetime) - new test
/src/bin/dhcp6/tests/parser_unittest.cc
Added use of EXPECT_NO_THROW_LOG to ease finding JSON errors
/src/lib/dhcpsrv/alloc_engine.*
AllocEngine::getLifetimes6() - new function
Lease6Ptr AllocEngine::createLease6() - calls new function
/src/lib/dhcpsrv/client_class_def.*
/src/lib/dhcpsrv/parsers/client_class_def_parser.cc
ClientClassDef - added support for preferred lifetime triplet
/src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
TEST_F(AllocEngine6Test, getValidLifetime)
TEST_F(AllocEngine6Test, getPreferredLifetime) - new tests
/src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
TEST_F(ClientClassDefParserTest, preferredLifetimeTests) - new test
/src/lib/dhcpsrv/tests/client_class_def_unittest.cc
updated tests
Added a ChangeLog entry
doc/examples/kea4/all-keys.json
doc/sphinx/arm/dhcp4-srv.rst
Updated doc
src/lib/dhcpsrv/alloc_engine.*
AllocEngine::getValidLft() - revamped to apply use class
triplet with option 51
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
TEST_F(AllocEngine4Test, getValidLft4) - udpated
to match new logic
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