2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00
Commit Graph

31449 Commits

Author SHA1 Message Date
Razvan Becheriu
63c1bd6bbf [#1434] renamed members and functions 2020-10-22 17:47:14 +03:00
Razvan Becheriu
52fa0a0622 [#1434] updated doxygen 2020-10-22 17:46:43 +03:00
Razvan Becheriu
49b073f12d [#1434] addressed comments
- 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
2020-10-22 17:46:43 +03:00
Razvan Becheriu
c56703ea3d [#1434] fixed rebase 2020-10-22 17:45:55 +03:00
Razvan Becheriu
783f664204 [#1434] fixed unittests 2020-10-22 17:45:55 +03:00
Razvan Becheriu
0598154899 [#1434] fixed unittests 2020-10-22 17:45:55 +03:00
Razvan Becheriu
c41f2f2cfb [#1434] fixed unittests 2020-10-22 17:45:55 +03:00
Razvan Becheriu
e1d15f93cb [#1434] addressed comments 2020-10-22 17:45:55 +03:00
Razvan Becheriu
3c599fafe4 [#1434] fixed crash when force_create is false 2020-10-22 17:45:15 +03:00
Razvan Becheriu
aee56fd0dc [#1434] if lease exists, update old expire and old valid lifetime 2020-10-22 17:45:15 +03:00
Francis Dupont
93b0066174 [#151] Added ChangeLog entry 2020-10-22 11:38:29 +02:00
Francis Dupont
e3d3ddcca0 [#151] Regen flex 2020-10-22 08:55:44 +00:00
Francis Dupont
2a62d9f248 [#151] Regen flex 2020-10-22 10:55:05 +02:00
Francis Dupont
78ba6d5a9e [#151] Addressed comments 2020-10-22 10:54:30 +02:00
Francis Dupont
b1f82773c4 [#151] Regen agent flex 2020-10-22 10:54:30 +02:00
Francis Dupont
2a2931cd49 [#151] Improved flex errors in string 2020-10-22 10:54:30 +02:00
Thomas Markwalder
732b00e5cc [#1386] Regenerated parsers
Regenerated parsers for kea-dhcp4/6 for !976

src/bin/dhcp4/dhcp4_lexer.cc
src/bin/dhcp4/dhcp4_parser.cc
src/bin/dhcp4/dhcp4_parser.h
src/bin/dhcp4/location.hh
src/bin/dhcp4/position.hh
src/bin/dhcp4/stack.hh

src/bin/dhcp6/dhcp6_lexer.cc
src/bin/dhcp6/dhcp6_parser.cc
src/bin/dhcp6/dhcp6_parser.h
src/bin/dhcp6/location.hh
src/bin/dhcp6/position.hh
src/bin/dhcp6/stack.hh
2020-10-21 14:19:53 -04:00
Thomas Markwalder
248722131a [#1386] Addressed review comments for !976
doc/examples/kea4/all-keys.json
doc/examples/kea6/all-keys.json
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
src/lib/dhcpsrv/network.h
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
    fixed typos
2020-10-21 14:19:53 -04:00
Thomas Markwalder
0c33b7471a [#1386] Updated kea-dhcp4/6 arm
Added ddns-use-conflict-resolution doc to the ARM
2020-10-21 14:19:53 -04:00
Thomas Markwalder
00305bc7d4 [#1386] kea-dhcp4/6 now parse ddns-use-conflict-resolution
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
2020-10-21 14:19:52 -04:00
Thomas Markwalder
f8174588d5 [1386] Added support for ddns-use-conflict-resolution to dhcpsrv
src/lib/dhcpsrv/network.*
    Added Network::ddns_use_conflict_resolution_

src/lib/dhcpsrv/parsers/base_network_parser.cc
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
    Added "ddns-use-conflict-resolution"

src/lib/dhcpsrv/srv_config.*
    Added DdnsParams::use_conflict_resolution_

src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
src/lib/dhcpsrv/tests/network_unittest.cc
src/lib/dhcpsrv/tests/srv_config_unittest.cc
    Updated tests
2020-10-21 14:19:52 -04:00
Thomas Markwalder
b536f8e64b [#1386] Addressed review comments
src/bin/d2/d2_update_mgr.h
src/bin/d2/simple_add.cc
    Fixed mispellings

src/bin/d2/tests/d2_update_mgr_unittests.cc
    Fixed compiler warning/errors for unused variables
    Fixed mispellings

     // and sent the DNS request.
src/bin/d2/tests/nc_remove_unittests.cc
    fixed copy-paste typo

src/bin/d2/tests/nc_test_utils.cc
    Added commentary, removed superfluous whitespace

src/bin/d2/tests/nc_test_utils.h
    Fixed mispellings

src/lib/dhcp_ddns/ncr_msg.*
    Fixed mispellings
2020-10-21 14:00:26 -04:00
Thomas Markwalder
4cac21adc8 [1386] Made NCR use-conflict-resoltuion optional
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
2020-10-21 14:00:25 -04:00
Thomas Markwalder
20a36247e4 [1386] Made SimpleRemoveTranscation explicitly deletes PTR,DHCID RRs
src/bin/d2/d2_update_mgr.*
    Fixed copyright
    Updated commentary

src/bin/d2/simple_add.h
    Updated commentary

src/bin/d2/simple_remove.cc
    SimpleRemoveTransaction::buildRemoveRevPtrsRequest() -
    now explicitly deletes PTR and DHCID RRs

src/bin/d2/simple_remove.h
    Updated commentary

src/bin/d2/tests/nc_test_utils.*
    checkSimpleRemoveRevPtrsRequest() - new function

src/bin/d2/tests/simple_remove_unittests.cc
    updated tests
2020-10-21 14:00:25 -04:00
Thomas Markwalder
cef56d3670 [#1386] D2 supports add and remove without conflict resolution
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
2020-10-21 14:00:22 -04:00
Andrei Pavel
06e9ca33ed [#1299] document host reservations 2020-10-21 13:39:29 +03:00
manu
0465ea02b6 Fixed adding vagrant user to abuild group on Alpine 2020-10-20 14:12:34 +00:00
Razvan Becheriu
88fd53246f [#1423] Addressed comments 2020-10-20 14:24:54 +03:00
Francis Dupont
03000f95fd [#1423] Addressed comments 2020-10-20 12:45:25 +02:00
Francis Dupont
e8c22b5159 [#1423] Protected all tests against free content 2020-10-20 11:51:10 +02:00
Francis Dupont
20ff657b1a [#1423] Addressed (cosmetics) comments 2020-10-19 23:20:25 +02:00
Francis Dupont
29face7b18 [#1423] Complete authoritative 2020-10-19 23:20:25 +02:00
Francis Dupont
335fb408d4 [#1423] Checkpoint: finished code 2020-10-19 23:20:25 +02:00
Francis Dupont
9f7fd0505f [#1423] Checkpoint 2020-10-19 23:20:25 +02:00
Francis Dupont
b84b652c0f [#1423] Checkpoint: test keyword sets 2020-10-19 23:20:25 +02:00
Francis Dupont
1d5a2a8a03 [#1459] Added some text in libprocess.dox 2020-10-19 21:10:07 +02:00
Francis Dupont
8837f856b9 [#1459] Changed redirect for set_logger 2020-10-19 21:10:07 +02:00
Francis Dupont
b0b53f21b0 [#1459] Redact CA basic HTTP auth passwords in logs 2020-10-19 21:10:07 +02:00
Francis Dupont
e2795ad262 [#1450] Added KEA_LOG_CHECK_VERBOSE env var 2020-10-16 12:58:37 +02:00
Francis Dupont
bb20f0068f [#1450] Reverted response_creator_unittests.cc 2020-10-16 12:58:37 +02:00
Francis Dupont
c682bbbacf [#1450] Fixed ChangeLog 2020-10-16 12:58:37 +02:00
Francis Dupont
528bb8dbf2 [#1450] Added LOG_CHECK_VERBOSE flag for review 2020-10-16 12:58:37 +02:00
Francis Dupont
900aae20fe [#1450] Moved authorized log to INFO 2020-10-16 12:58:37 +02:00
Andrei Pavel
19cb752ada [#1454] fix PDExclude fields in example JSONs
excluded prefix length should be higher in value (smaller in address space)
2020-10-16 12:04:48 +03:00
Razvan Becheriu
f8cb0c6ffd [#1469] fixed warnings 2020-10-16 11:02:07 +03:00
Razvan Becheriu
250bbbed49 [#1469] addressed comments 2020-10-16 10:53:44 +03:00
Razvan Becheriu
0734fd44ff [#1469] added missing entries 2020-10-16 10:39:46 +03:00
Razvan Becheriu
84272f234f [#1469] added missing entries 2020-10-16 10:39:46 +03:00
Razvan Becheriu
50bc8aaecc [#1469] added missing entries 2020-10-16 10:39:46 +03:00
Marcin Siodelski
43fb2304bc [#1468] Corrected typo in ChangeLog 2020-10-13 18:04:17 +02:00