Razvan Becheriu
89b561c638
[ #3586 ] addressed review comments
2024-10-09 13:10:06 +00:00
Razvan Becheriu
264b7100cb
[ #3586 ] updated documentation
2024-10-09 13:10:06 +00:00
Razvan Becheriu
d2bc7a516f
[ #3578 ] addressed review comments
2024-10-01 14:53:00 +03:00
Razvan Becheriu
01781952e2
[ #3578 ] added more UTs to config_parser_unittest
2024-09-30 14:40:59 +00:00
Razvan Becheriu
6a539a9c38
[ #3578 ] added ChangeLog entry
2024-09-30 12:13:35 +03:00
Razvan Becheriu
1050b853f0
[ #3578 ] added tests in get_config_unittests
2024-09-30 12:13:35 +03:00
Francis Dupont
5588dfa152
[ #3506 ] Checkpoint: renamed get/set ControlSocketInfo
2024-09-20 14:55:54 +02:00
Francis Dupont
ed4ec3de0d
[ #3477 ] Introduced a new config class
2024-08-01 09:23:53 +02:00
Francis Dupont
4629127921
[ #3477 ] Updated d2 and some UTs
2024-08-01 09:23:53 +02:00
Razvan Becheriu
d149028d61
[ #2958 ] removed deprecated dhcp-ddns parameters
2024-05-22 19:04:53 +03:00
Francis Dupont
50c50a3132
[ #2961 ] Chased last auto-gen ids
2024-05-13 18:25:09 +02:00
Francis Dupont
5bee75d3dc
[ #3378 ] Removed ip-address from relay syntax
2024-05-13 18:15:43 +02:00
Francis Dupont
baa1aa46e5
[ #3211 ] Almost done
2024-03-20 00:18:24 +01:00
Wlodek Wencel
416a072394
[ #3237 ] release changes
2024-01-29 10:17:26 +01:00
Andrei Pavel
b37853da57
[ #3198 ] add expectEqWithDiff to testutils
2024-01-26 12:48:18 +02:00
Razvan Becheriu
1b4d7b0293
[ #3119 ] use range based for loop or BOOST_FOREACH
2024-01-22 17:49:59 +02:00
Razvan Becheriu
72f330320b
[ #3119 ] replace const auto with auto const
2024-01-22 17:33:26 +02:00
Razvan Becheriu
54dd674d0d
[ #3119 ] use auto const& whenever possible
2024-01-22 17:33:26 +02:00
Razvan Becheriu
34e98d10f6
[ #3017 ] added testing framework for using dummy test interfaces
2023-10-17 12:35:55 +03:00
Thomas Markwalder
68e1442012
[ #2276 ] Initial impl ddns-resolution-conflict-mode
...
New Files:
src/bin/d2/check_exists_add.cc
src/bin/d2/check_exists_add.h
src/bin/d2/check_exists_remove.cc
src/bin/d2/check_exists_remove.h
src/bin/d2/simple_add_without_dhcid.cc
src/bin/d2/simple_add_without_dhcid.h
src/bin/d2/simple_remove_without_dhcid.cc
src/bin/d2/simple_remove_without_dhcid.h
src/bin/d2/tests/check_exists_add_unittests.cc
src/bin/d2/tests/check_exists_remove_unittests.cc
src/bin/d2/tests/simple_add_without_dhcid_unittests.cc
src/bin/d2/tests/simple_remove_without_dhcid_unittests.cc
Modified:
doc/examples/kea4/all-keys.json
doc/examples/kea4/with-ddns.json
doc/examples/kea6/all-keys.json
doc/examples/kea6/with-ddns.json
src/bin/d2/Makefile.am
src/bin/d2/check_exists_add.cc
src/bin/d2/check_exists_add.h
src/bin/d2/check_exists_remove.cc
src/bin/d2/check_exists_remove.h
src/bin/d2/d2_update_mgr.cc
src/bin/d2/simple_add_without_dhcid.cc
src/bin/d2/simple_add_without_dhcid.h
src/bin/d2/simple_remove_without_dhcid.cc
src/bin/d2/simple_remove_without_dhcid.h
src/bin/d2/tests/Makefile.am
src/bin/d2/tests/check_exists_add_unittests.cc
src/bin/d2/tests/check_exists_remove_unittests.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/simple_add_unittests.cc
src/bin/d2/tests/simple_add_without_dhcid_unittests.cc
src/bin/d2/tests/simple_remove_unittests.cc
src/bin/d2/tests/simple_remove_without_dhcid_unittests.cc
src/bin/dhcp4/dhcp4_lexer.cc
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.cc
src/bin/dhcp4/dhcp4_parser.h
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
src/bin/dhcp4/location.hh
src/bin/dhcp4/parser_context.h
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/d2_unittest.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
src/bin/dhcp4/tests/get_config_unittest.cc
src/bin/dhcp6/dhcp6_lexer.cc
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.cc
src/bin/dhcp6/dhcp6_parser.h
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/dhcp6_srv.cc
src/bin/dhcp6/json_config_parser.cc
src/bin/dhcp6/location.hh
src/bin/dhcp6/parser_context.h
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/d2_unittest.cc
src/bin/dhcp6/tests/fqdn_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
src/lib/d2srv/testutils/nc_test_utils.cc
src/lib/d2srv/testutils/nc_test_utils.h
src/lib/dhcp_ddns/ncr_msg.cc
src/lib/dhcp_ddns/ncr_msg.h
src/lib/dhcp_ddns/tests/ncr_udp_unittests.cc
src/lib/dhcp_ddns/tests/ncr_unittests.cc
src/lib/dhcpsrv/cfg_globals.cc
src/lib/dhcpsrv/cfg_globals.h
src/lib/dhcpsrv/ncr_generator.cc
src/lib/dhcpsrv/network.cc
src/lib/dhcpsrv/network.h
src/lib/dhcpsrv/parsers/base_network_parser.cc
src/lib/dhcpsrv/parsers/base_network_parser.h
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
src/lib/dhcpsrv/srv_config.cc
src/lib/dhcpsrv/srv_config.h
src/lib/dhcpsrv/tests/d2_udp_unittest.cc
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
src/lib/dhcpsrv/tests/ncr_generator_unittest.cc
src/lib/dhcpsrv/tests/network_unittest.cc
src/lib/dhcpsrv/tests/srv_config_unittest.cc
2023-07-06 14:27:25 +00:00
Francis Dupont
f5595a5f5f
[ #2866 ] Added/restored specific tests
2023-06-26 14:24:42 +02:00
Francis Dupont
b168addec3
[ #2866 ] Updated server tests
2023-06-26 14:24:42 +02:00
Tomek Mrugalski
aadbff39ab
[ #2707 ] parseAnswer() cleaned up
...
There are now two versions of this func:
- parseAnswer() - returns parameters (if present) or text
- parseanswerText() - return text status
Previously they were both bundled into one parseAnswer()
2023-06-22 16:23:38 +02:00
Thomas Markwalder
0482115cf8
[ #2835 ] Replace preferred-lifetime as needed
...
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
src/bin/dhcp6/tests/simple_parser6_unittest.cc
Updated tests
src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::getLifetimes6() - modified to replace preferred
lifetime with valid-lifetime * .625 it's unspecified or
greater than valid-lifetime
src/lib/dhcpsrv/alloc_engine_messages.mes
ALLOC_ENGINE_V6_CALCULATED_PREFERRED_LIFETIME - new message
src/lib/dhcpsrv/parsers/simple_parser6.cc
SimpleParser6::GLOBAL6_DEFAULTS - removed preferred-lifetime
src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
Updated tests
2023-05-22 15:29:33 -04:00
Francis Dupont
7efe36286c
[ #719 ] Reapplied patch
2023-03-15 13:49:21 +01:00
Francis Dupont
cc7f318dd4
[ #720 ] Implemented #2790 fix
2023-03-13 14:52:20 +01:00
Razvan Becheriu
af6ff1578a
[ #1518 ] extended unittests for v6
2023-03-10 17:38:55 +02:00
Andrei Pavel
22fcc845e9
[ #2402 ] adapt tests to MT enabled by default
2023-02-14 14:23:05 +02:00
Francis Dupont
a9d008f42e
[ #2723 ] More updated unit tests
2023-02-07 13:01:29 +01:00
Razvan Becheriu
b9525cdee9
[ #2621 ] fixed UT compilation on with clang and c++20
2022-12-01 05:34:26 +00:00
Razvan Becheriu
7fce75ccb7
[ #248 ] addressed comments
2022-10-24 17:49:34 +00:00
Razvan Becheriu
80e8c44897
[ #248 ] template classes can add regular classes
2022-10-24 17:49:34 +00:00
Razvan Becheriu
033cc7bd7c
[ #248 ] added template classes
2022-10-24 17:49:34 +00:00
Francis Dupont
11bab24b23
[ #2254 ] Ported simple subnet container
2022-01-17 17:15:52 +02:00
Thomas Markwalder
d98770b09c
[ #1710 ] Added lifetimes to v6 client classes
...
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
2021-08-20 08:43:29 -04:00
Andrei Pavel
be13751538
[ #1821 ] spelling corrections
2021-04-26 06:04:55 +00:00
Andrei Pavel
c53e135833
[ #1656 ] 1.9.4 release: update copyrights
2021-01-25 13:52:09 +02:00
Andrei Pavel
96f049b111
[ #1656 ] 1.9.4 release: spelling check
2021-01-25 13:52:09 +02:00
Francis Dupont
1c3ac82b52
[ #1585 ] Checkpoint: did second phase
2021-01-11 15:28:01 +01:00
Francis Dupont
6641918e69
[ #1585 ] Checkpoint: did first pass
2021-01-11 15:28:01 +01:00
Andrei Pavel
e96c6a2a40
[ #1602 ] remove duplicate includes
2020-12-30 15:55:05 +02:00
Francis Dupont
7ac740dc58
[ #1456 ] typo
2020-12-09 15:14:06 +01:00
Francis Dupont
576d360a38
[ #1456 ] Addressed comments
2020-12-09 15:14:06 +01:00
Francis Dupont
8478415e2a
[ #1456 ] Finished unit tests
2020-12-09 15:14:06 +01:00
Francis Dupont
d68c31f045
[ #1456 ] Checkpoint: code done, UTs to do
2020-12-09 15:14:06 +01:00
Razvan Becheriu
f06b3ffde9
[ #1405 ] ignore out of pool if in subnet is disabled
2020-11-18 15:55:24 +02:00
Razvan Becheriu
d26a72f560
[ #1405 ] merged second pass
2020-11-18 15:55:23 +02:00
Razvan Becheriu
035dc8c5ff
[ #1405 ] separate flags from configuration modes
2020-11-18 15:55:23 +02:00
Razvan Becheriu
a7b53c5e57
[ #1405 ] fixed unittests
2020-11-18 15:55:23 +02:00
Razvan Becheriu
f1ad634e35
[ #1405 ] added more tests and documentation
2020-11-18 15:55:23 +02:00