2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

37462 Commits

Author SHA1 Message Date
Francis Dupont
088d3aaadb [#3609] Checkpoint: regenerated get_config_unittest.cc 2024-11-22 09:55:31 +01:00
Francis Dupont
5485a3d27d [#3609] Checkpoint before rebase 2024-11-22 09:55:31 +01:00
Francis Dupont
946293ef76 [#3609] Checkpoint: done syntax 2024-11-22 09:55:31 +01:00
Francis Dupont
4ff4dd61d3 [#3609] Regen flex/bison 2024-11-22 09:55:31 +01:00
Francis Dupont
fc3a84eb29 [#3609] Checkpoint: doing syntax 2024-11-22 09:55:31 +01:00
Francis Dupont
3193b4f7b4 [#3609] Checkpoint: added error UT 2024-11-22 09:55:31 +01:00
Francis Dupont
2c12db5654 [#3609] Checkpoint: error UT to add 2024-11-22 09:55:31 +01:00
Francis Dupont
db1b43918c [#3609] Fixed typos 2024-11-22 09:55:31 +01:00
Francis Dupont
9d4ddcdfb7 [#3609] Regen flex/bison 2024-11-22 09:55:31 +01:00
Francis Dupont
5ef170617f [#3609] Added missing rules 2024-11-22 09:55:30 +01:00
Francis Dupont
b6c5143bd8 [#3609] Checkpoint: updated grammars 2024-11-22 09:55:30 +01:00
Francis Dupont
96b9f82ab0 [#3609] Added HSTS unit test 2024-11-22 09:55:30 +01:00
Francis Dupont
788dd0e0ab [#3609] Named vector of HTTP header contexts 2024-11-22 09:55:30 +01:00
Wlodek Wencel
62b54c2b38 [#3667] update SECURITY.md file 2024-11-20 11:35:54 +00:00
Thomas Markwalder
01a9775e44 [#2736] Addressed review comments
Changes to be committed:
	modified:   ../../../../ChangeLog
	modified:   ../../../../doc/sphinx/arm/classify.rst
	modified:   ../parsers/client_class_def_parser.cc
	modified:   client_class_def_parser_unittest.cc
2024-11-19 08:18:45 -05:00
Thomas Markwalder
31807e831a [#2736] Additional update to ARM
modified:   arm/classify.rst
2024-11-19 08:17:41 -05:00
Thomas Markwalder
34e88d7312 [#2736] Warn on additional and lifetime params
Updated the ARM:
/doc/sphinx/arm/dhcp4-srv.rst
/doc/sphinx/arm/dhcp6-srv.rst

Added ChangeLog

/src/lib/dhcpsrv/dhcpsrv_messages.*
    DHCPSRV_CLASS_WITH_ADDTIONAL_AND_LIFETIMES - new message

/src/lib/dhcpsrv/parsers/client_class_def_parser.cc
    ClientClassDefParser::parse() - now emits WARN log

/src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
    TEST_F(ClientClassDefParserTest, addtionalWithLifetimes4)
    TEST_F(ClientClassDefParserTest, addtionalWithLifetimes6)
    - new tests
2024-11-19 08:17:24 -05:00
Thomas Markwalder
9af00a7533 [#3257] Addressed review comments
Minor cosmetics:
	modified:   src/bin/dhcp4/dhcp4_srv.cc
	modified:   src/bin/dhcp6/dhcp6_srv.cc
2024-11-19 05:19:15 -05:00
Thomas Markwalder
e54baa4dea [#3257] Fixed ChangeLog 2024-11-19 05:19:15 -05:00
Thomas Markwalder
3862bab83f [#3257] Suppress NCRs when reusing leases
/src/bin/dhcp4/dhcp4_srv.cc
    Dhcpv4Srv::createNameChangeRequests() - modified to check for
    reused lease

/src/bin/dhcp4/tests/dora_unittest.cc
    DORATest::leaseCaching() - modified to verify suppression of NCRs

/src/bin/dhcp6/dhcp6_srv.cc
    Dhcpv6Srv::createNameChangeRequests() - modified to iteralte over
    IA contexts rather than IA options in response and to check for
    reused leases

/src/bin/dhcp6/tests/fqdn_unittest.cc
    Updated tests to populate IAContexts

/src/bin/dhcp6/tests/sarr_unittest.cc
    SARRTest::leaseCaching()- modified to verify suppression of NCRs

/src/lib/dhcpsrv/alloc_engine.*
    AllocEngine::ClientContext6::IAContext - added reused_leases_ container
    AllocEngine::ClientContext6::getIAContexts() - new function
2024-11-19 05:19:15 -05:00
Thomas Markwalder
fe77360b49 [3587] Fixed generated config tests
modified:   src/bin/dhcp4/tests/config_parser_unittest.cc
modified:   src/bin/dhcp4/tests/get_config_unittest.cc
modified:   src/bin/dhcp6/tests/config_parser_unittest.cc
modified:   src/bin/dhcp6/tests/get_config_unittest.cc
2024-11-15 13:44:30 -05:00
Francis Dupont
3747220de0 [#3268] Post rebase updates 2 2024-11-06 15:05:32 +01:00
Francis Dupont
bb7625b7d1 [#3268] Post rebase updates 2024-11-06 10:48:47 +01:00
Francis Dupont
6b9061456b [#3268] Moved to ConstSubnet*Ptr 2024-11-06 09:43:56 +01:00
Andrei Pavel
1907837fa2
[#3650] Address review: format ChangeLog entries 2024-10-31 07:26:36 +02:00
Wlodek Wencel
4842d435c6 [#3650] configure.ac version bumped up 2024-10-30 19:16:52 +01:00
Wlodek Wencel
39a121c208 [#3646] missing pylint comment added Kea-2.7.4 2024-10-29 15:04:07 +01:00
Wlodek Wencel
16f2ef26e3 [#3646] updated OS list 2024-10-29 13:05:32 +01:00
Wlodek Wencel
3d0a05c38c [#3646] release changes 2024-10-29 12:53:12 +01:00
Razvan Becheriu
f84571984a [#3587] use CHANGE instead of RENAME in MySQL 2024-10-29 10:00:17 +02:00
Razvan Becheriu
140f255423 [#3639] bump up library versions for 2.7.4 release 2024-10-28 22:17:44 +00:00
Thomas Markwalder
52797cb71f [#3587] Fixed sql scripts and fuzzing
Changes to be committed:
	modified:   ../../../fuzz/fuzz.h
    modified:   ../../lib/dhcpsrv/ip_range_permutation.h
	modified:   ../../lib/util/bigints.h
	modified:   ../../share/database/scripts/mysql/dhcpdb_create.mysql
	modified:   ../../share/database/scripts/mysql/upgrade_025_to_026.sh.in
	modified:   ../../share/database/scripts/pgsql/dhcpdb_create.pgsql
	modified:   ../../share/database/scripts/pgsql/upgrade_025_to_026.sh.in
2024-10-28 13:09:52 -04:00
Thomas Markwalder
00ecd98302 [#3587] Add update type update to create scripts
Changes to be committed:
	modified:   mysql/dhcpdb_create.mysql
    modified:   pgsql/dhcpdb_create.pgsql
2024-10-28 07:58:38 -04:00
Razvan Becheriu
31754d811d [#3587] addressed review 2024-10-28 07:58:38 -04:00
Thomas Markwalder
bc9a6f0a64 [#3587] Fixed mysql_tests.sh.in
Removed duplicate function
2024-10-28 07:58:38 -04:00
Thomas Markwalder
d46b4036cf [#3587] Comment out files in yang UT
Commenting out two config files that fail yang UTs
until we update yang support for new param names.

/src/lib/yang/tests/config_unittests.cc
    TEST_F(ConfigTestKeaV4, examples4) - comment out classify2.json
    TEST_F(ConfigTestKeaV6, examples6) - comment out classify2.json
2024-10-28 07:58:38 -04:00
Thomas Markwalder
a198acc1e2 [#3587] Updated doc, messages, parsers, and UTs
/doc/sphinx/arm/classify.rst
/doc/sphinx/arm/dhcp4-srv.rst
/doc/sphinx/arm/dhcp6-srv.rst
/doc/sphinx/arm/hooks-class-cmds.rst
/doc/sphinx/arm/hooks-limits.rst
/src/bin/dhcp4/dhcp4_lexer.ll
/src/bin/dhcp4/dhcp4_messages.mes
/src/bin/dhcp4/dhcp4_srv.cc
/src/bin/dhcp4/tests/classify_unittest.cc
/src/bin/dhcp4/tests/config_parser_unittest.cc
/src/bin/dhcp6/dhcp6_messages.mes b/src/bin/dhcp6/dhcp6_messages.mes
/src/bin/dhcp6/dhcp6_srv.cc
/src/bin/dhcp6/tests/classify_unittest.cc
/src/bin/dhcp6/tests/config_parser_unittest.cc
/src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
/src/share/api/class-get.json
2024-10-28 07:58:38 -04:00
Thomas Markwalder
a2b12586b0 [#3587] Added UTs to test deprecation
/src/bin/dhcp4/tests/config_parser_unittest.cc
    TEST_F(Dhcp4ParserTest, deprecatedRequireClientClassesCheck)
    TEST_F(Dhcp4ParserTest, deprecatedOnlyIfRequiredCheck) - consolidated tests

/src/bin/dhcp6/tests/config_parser_unittest.cc
    TEST_F(Dhcp6ParserTest, deprecatedRequireClientClassesCheck)
    TEST_F(Dhcp6ParserTest, deprecatedOnlyIfRequiredCheck) - consolidated tests

/src/lib/dhcpsrv/parsers/base_network_parser.cc
    fixed typo

/src/lib/dhcpsrv/parsers/client_class_def_parser.cc
    fixed typo

/src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
    TEST_F(ClientClassDefParserTest, deprecatedOnlyIfRequired)  - new test

/src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
    TEST_F(DhcpParserTest, deprecatedRequireClientClassesSubnet4)
    TEST_F(DhcpParserTest, deprecatedRequireClientClassesSubnet6)
    TEST_F(DhcpParserTest, deprecatedRequireClientClassesPool4)
    TEST_F(DhcpParserTest, deprecatedRequireClientClassesPool6) - new tests

/src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
    TEST_F(SharedNetwork4ParserTest, deprecatedRequireClientClasses)
    TEST_F(SharedNetwork6ParserTest, deprecatedRequireClientClasses) - new tests
2024-10-28 07:58:38 -04:00
Thomas Markwalder
9acfe8732f [#3587] Updated kea-dhcp6 parser
Changes to be committed:
    doc/examples/kea6/all-keys.json
    doc/examples/kea6/classify2.json
    src/bin/admin/tests/mysql_tests.sh.in
    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/tests/config_parser_unittest.cc
2024-10-28 07:58:38 -04:00
Thomas Markwalder
3328540c76 [#3587] Updated kea-dhcp4 parser
doc/examples/kea4/all-keys.json
doc/examples/kea4/classify2.json
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/tests/classify_unittest.cc
src/bin/dhcp4/tests/config_parser_unittest.cc
src/lib/dhcpsrv/parsers/client_class_def_parser.cc
2024-10-28 07:58:38 -04:00
Thomas Markwalder
37ff02e12b [#3587] Bulk of the code changes
Everything except parsers, UTs to test
deprecation, and doc.
2024-10-28 07:58:38 -04:00
Tomek Mrugalski
27b66a5eef [#3404] RFC3594, RFC3634 tests
- implemented tests for sub-options 9 and 10
2024-10-28 11:26:17 +00:00
Tomek Mrugalski
3f3799911c [#3404] Test for RFC3495
Option 122 + suboptions 1-2,4-8
2024-10-28 11:26:17 +00:00
Francis Dupont
7cbdd258f8 [#3404] Updated doc 2024-10-28 11:26:17 +00:00
Francis Dupont
6a25dd726e [#3404] Added doc 2024-10-28 11:26:17 +00:00
Francis Dupont
3851df7e7b [#3404] Checkpoint: added definitions 2024-10-28 11:26:17 +00:00
Razvan Becheriu
86c23616cc [#3631] fixed option_def_data_type int8 entry with id 3 2024-10-28 09:07:24 +00:00
Razvan Becheriu
7dd41466b4 [#3602] Add test failure on exception thrown 2024-10-28 09:47:07 +02:00
Razvan Becheriu
7f08d90c1a [#3602] use weak ptr 2024-10-28 09:37:04 +02:00
Razvan Becheriu
d8c9dca3d1 [#3602] fixed crash in http/https UTs 2024-10-28 09:37:04 +02:00