- replaced all occurences to old_cltt and old_valid_lft in unittests
- renamed syncInternalTimestamp to syncExistingLifetime and changed order
of parameters
- renamed updateInternalTimestamp to updateExistingLifetime
- updated doxygen
- added extra check for all occurences of deleteLease (either call
EXPECT or ASSERT), and only use cast to void if explicitly specified
- updated ChangeLog
- updated old_cltt and old_valid_lft on fromElementCommon and added
unittests
- throw exception with different message on memfile with persitence
disabled for easier debugging
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
NCR parameter, use-conflict-resolution, now optional with a
default to true for backward compatibility.
src/lib/dhcp_ddns/ncr_msg.cc
NameChangeRequest::fromJSON() - made use-conflict-resolution
option, defaults to true.
src/lib/dhcp_ddns/tests/ncr_unittests.cc
TEST(NameChangeRequestTest, useConflictResolutionParsing) - new test
src/lib/dhcp_ddns/ncr_msg.*
Added NameChangeRequest::conflict_resolution_
src/bin/d2/d2_update_mgr.cc
D2UpdateMgr::makeTransaction() - use's the NCR's value for
use-conflict-resolution() in determining which type of transacation
to create.
src/bin/d2/simple_add.* - new files
SimpleAddTransaction() - new class which executes a DNS add
without conflict resolution.
src/bin/d2/simple_remove.* - new files
SimpleRemoveTransaction() - new class which executes a DNS remove
without conflict resolution.
src/bin/d2/tests/simple_add_unittests.cc - new file
Tests SimpleAddTransaction
src/bin/d2/tests/simple_remove_unittests.cc - new file
Tests SimpleRemoveTransaction
src/bin/dhcp4/tests/d2_unittest.cc
src/bin/dhcp6/tests/d2_unittest.cc
src/bin/d2/tests/d2_process_unittests.cc
src/bin/d2/tests/d2_queue_mgr_unittests.cc
src/bin/d2/tests/d2_update_mgr_unittests.cc
src/bin/d2/tests/nc_add_unittests.cc
src/bin/d2/tests/nc_remove_unittests.cc
src/bin/d2/tests/nc_trans_unittests.cc
src/lib/dhcp_ddns/tests/ncr_udp_unittests.cc
src/lib/dhcp_ddns/tests/ncr_unittests.cc
src/lib/dhcpsrv/tests/d2_udp_unittest.cc
updated tests