2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00
Commit Graph

37460 Commits

Author SHA1 Message Date
Thomas Markwalder
d50a97e2f8 [#1989] Fixed JSON
Changes to be committed:
	modified:   doc/sphinx/arm/hooks-ddns-tuning.rst
2024-12-06 12:49:40 +00:00
Thomas Markwalder
b44a370086 [#1989] Updated ARM
Changes to be committed:
    modified:   doc/sphinx/arm/dhcp4-srv.rst
    modified:   doc/sphinx/arm/hooks-ddns-tuning.rst
2024-12-06 12:49:40 +00:00
Marcin Siodelski
d2a50cdb4e [#3577] Added ChangeLog for #3577 2024-12-05 14:51:21 +01:00
Marcin Siodelski
99926fcfb8 [#3577] Clarified FLQ not for shared db 2024-12-05 13:21:19 +00:00
Francis Dupont
bd3932cc59 [#3268] Updated hooks 2024-12-05 09:51:48 +01:00
Marcin Siodelski
48833978d9 [#3655] Improve wording for ha-maintenance-notify 2024-12-04 10:26:21 +01:00
Marcin Siodelski
0b9793f8d9 [#3655] Fix a comment 2024-12-04 10:21:45 +01:00
Marcin Siodelski
e0191950e4 [#3655] Fix chicken-egg in state info 2024-12-04 10:21:45 +01:00
Marcin Siodelski
282050ae4f [#3655] Updated ha-maintenance-notify doc 2024-12-04 10:21:45 +01:00
Marcin Siodelski
65d6b1598e [#3655] Added ChangeLog for #3655 2024-12-04 10:21:41 +01:00
Marcin Siodelski
35a4c7e6bd [#3655] Better handle maintenance cancel
When the maintenance is canceled the partners communicate their new
states. This is essential when the partners receive DHCP traffic while
transitioning to avoid rapid return to the maintenance state.
2024-12-04 10:20:43 +01:00
Francis Dupont
9ca75464f8 [#3255] Added a changelog file 2024-12-03 15:23:10 +01:00
Francis Dupont
b72dee5a0e [#3255] Added CA reuse logs 2024-12-03 15:13:36 +01:00
Francis Dupont
8b544582b9 [#3255] Added a getTlsContext to HTTP listener 2024-12-03 15:13:35 +01:00
Francis Dupont
ebcbf4a838 [#3255] Added a note 2024-12-03 15:13:35 +01:00
Thomas Markwalder
8be11da77f [#3592] Fixed minor typos in docs
modified:   doc/examples/kea4/hooks-radius.json
modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst
modified:   doc/sphinx/arm/hooks-bootp.rst
2024-12-02 16:34:45 +00:00
Thomas Markwalder
aa774f5e6d [#3592] Comment out configs with "client-classes"
modified:   src/lib/yang/tests/config_unittests.cc
2024-12-02 16:34:45 +00:00
Francis Dupont
bcc4196b2a [#3620] Updated Makefile.am 2024-12-02 16:39:10 +01:00
Francis Dupont
ce165da16d [#3620] Updated test CA 2024-12-02 16:39:10 +01:00
Francis Dupont
e138afba29 [#3255] Added CA reuse logs 2024-11-29 11:34:37 +01:00
Francis Dupont
d542b04794 [#3255] Added a getTlsContext to HTTP listener 2024-11-29 10:36:54 +01:00
Francis Dupont
a7bb3fb40e [#3255] Added a note 2024-11-29 09:46:15 +01:00
Francis Dupont
9505af0293 [#3674] Fixed 3661 entry 2024-11-28 19:07:56 +01:00
Francis Dupont
c1f16195a6 [#3674] Fixed ChangeLog 2024-11-28 13:40:32 +01:00
Andrei Pavel
48f850a02c [#3652] Remove the config history completely
- Removed revert() which makes no sense anymore.
- Since rollback() was significantly simplified, renamed it to
  clearStagingConfiguration().
- Removed kludgy ensureCurrentAllocated(). The only new required
  allocations are on constructor and on clear().
2024-11-28 10:22:54 +02:00
Andrei Pavel
62013e98fd [#3652] add ChangeLog entry 2024-11-28 10:16:58 +02:00
Andrei Pavel
db5c4edabd [#3652] Fix memory increase on reconfiguration
Caused by config history. The config history was soft-disabled.
Code had to be refactored to enable CONFIG_LIST_SIZE == 0.
2024-11-28 10:16:57 +02:00
Thomas Markwalder
bcd51d5cfd [#3592] Addressed remaining comments
Changes to be committed:
    modified:   ChangeLog
    modified:   doc/sphinx/arm/dhcp4-srv.rst
    modified:   doc/sphinx/arm/dhcp6-srv.rst
2024-11-26 17:19:56 +00:00
Thomas Markwalder
7eebd1434d [#3592] Addressed review comments
Addressed first round of comments.

Changes to be committed:
modified:   ChangeLog
modified:   doc/sphinx/arm/classify.rst
modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst
modified:   src/bin/dhcp4/tests/classify_unittest.cc
modified:   src/lib/dhcp/classify.cc
modified:   src/lib/dhcp/classify.h
modified:   src/lib/dhcpsrv/parsers/base_network_parser.cc
modified:   src/lib/dhcpsrv/parsers/base_network_parser.h
modified:   src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
2024-11-26 17:19:56 +00:00
Thomas Markwalder
0541000be1 [#3592] Fix dhcp6_lexer
modified:   src/bin/dhcp6/dhcp6_lexer.cc
2024-11-26 17:19:56 +00:00
Thomas Markwalder
9ab96b395e [#3592] Fix message id spelling
modified:   src/lib/dhcpsrv/dhcpsrv_messages.cc
modified:   src/lib/dhcpsrv/dhcpsrv_messages.h
modified:   src/lib/dhcpsrv/parsers/client_class_def_parser.cc
modified:   src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
2024-11-26 17:19:56 +00:00
Thomas Markwalder
e1e60801d2 [#3592] Added missing ChangeLog for #3587
modified:   ChangeLog
2024-11-26 17:19:56 +00:00
Thomas Markwalder
a14c490d51 [#3592] Fixed spelling and JSON
modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst
modified:   doc/sphinx/arm/hooks-ha.rst
2024-11-26 17:19:56 +00:00
Thomas Markwalder
cac0fb4fd0 [#3592] Updated ARM and added ChangeLog
modified:   ChangeLog
modified:   doc/sphinx/arm/classify.rst
modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst
modified:   doc/sphinx/arm/hooks-bootp.rst
modified:   doc/sphinx/arm/hooks-ha.rst
2024-11-26 17:19:56 +00:00
Thomas Markwalder
5750460466 [#3592] MySql and Posgresql CB updated
modified:   src/hooks/dhcp/mysql/mysql_cb_dhcp4.cc
modified:   src/hooks/dhcp/mysql/mysql_cb_dhcp6.cc
modified:   src/hooks/dhcp/mysql/mysql_query_macros_dhcp.h
modified:   src/hooks/dhcp/pgsql/pgsql_cb_dhcp4.cc
modified:   src/hooks/dhcp/pgsql/pgsql_cb_dhcp6.cc
modified:   src/hooks/dhcp/pgsql/pgsql_query_macros_dhcp.h
modified:   src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
modified:   src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
2024-11-26 17:19:56 +00:00
Thomas Markwalder
09c3b5aa68 [#3592] Update schemas
src/share/database/scripts/mysql/upgrade_026_to_027.sh.in
src/share/database/scripts/pgsql/upgrade_026_to_027.sh.in
    - new upgrade scripts

configure.ac
src/share/database/scripts/mysql/.gitignore
src/share/database/scripts/mysql/Makefile.am
src/share/database/scripts/pgsql/.gitignore
src/share/database/scripts/pgsql/Makefile.am
    added new upgrade scripts

src/bin/admin/tests/mysql_tests.sh.in
    updated
    mysql_upgrade_26_to_27_test()  - new test

src/bin/admin/tests/pgsql_tests.sh.in
    updated
    pgsql_upgrade_26_to_27_test() - new test

src/lib/mysql/mysql_constants.h
src/lib/pgsql/pgsql_connection.h
    updated schema version

src/share/database/scripts/mysql/dhcpdb_create.mysql
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    change client_class columns
2024-11-26 17:19:56 +00:00
Thomas Markwalder
b4ca3bdd20 [#3582] Update kea-dhcp6 parsing and UTs
/doc/examples/kea4/all-keys.json
/doc/examples/kea4/classify.json
/doc/examples/kea4/classify2.json
/doc/examples/kea4/ha-load-balancing-server1-mt-with-tls.json
/doc/examples/kea4/ha-load-balancing-server1-mt-with-tls.json
/doc/examples/kea4/ha-load-balancing-server2-mt.json
/doc/examples/kea4/ha-load-balancing-server2-mt.json
/doc/examples/kea4/hooks-radius.json
/doc/examples/kea6/all-keys.json

/src/bin/dhcp4/tests/config_parser_unittest.cc
    TEST_F(Dhcp4ParserTest, deprecatedClientClassesCheck) - new test

/src/bin/dhcp4/tests/get_config_unittest.cc
    updated

/src/bin/dhcp6/dhcp6_lexer.ll
/src/bin/dhcp6/dhcp6_parser.yy
    added support for client-classes

/src/bin/dhcp6/tests/config_parser_unittest.cc
    updated
    TEST_F(Dhcp6ParserTest, sharedNetworksDeriveClientClass) - removed obsolete test
    TEST_F(Dhcp6ParserTest, deprecatedClientClassesCheck) - new test

/src/bin/dhcp6/tests/get_config_unittest.cc
/src/bin/dhcp6/tests/host_unittest.cc
/src/bin/dhcp6/tests/shared_network_unittest.cc
    updated

src/lib/dhcpsrv/parsers/simple_parser6.cc
    Corrected globals
2024-11-26 17:19:56 +00:00
Thomas Markwalder
24a2bbe164 [#3592] Update kea-dhcp4 parsing and UTs
/src/bin/dhcp4/dhcp4_lexer.ll b/src/bin/dhcp4/dhcp4_lexer.ll
/src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp4/dhcp4_parser.yy
    Add "client-classes" to SUBNET4, POOLS, and SHARED_NETWORK

/src/bin/dhcp4/tests/classify_unittest.cc
    Update tests
    TEST_F(ClassifyTest, networkScopeClientClasses) - new test

/src/bin/dhcp4/tests/config_parser_unittest.cc
    Update tests
    TEST_F(Dhcp4ParserTest, sharedNetworksDeriveClientClass) - delete obsolete test

/src/bin/dhcp4/tests/get_config_unittest.cc
/src/bin/dhcp6/tests/config_parser_unittest.cc
    Updated tests
2024-11-26 17:19:56 +00:00
Thomas Markwalder
a41077e5dc [#3592] modified in lib dhcp and dhcpsrv
src/lib/dhcp/classify.*
    ClientClasses:intersects() - new function

src/lib/dhcp/tests/classify_unittest.cc
    TEST(ClassifyTest, ClientClassesIntersects) - new test

src/lib/dhcpsrv/cfg_option.cc
    OptionDescriptor::allowedForClientClasses() use inet intersects() function

src/lib/dhcpsrv/dhcpsrv_messages.mes
    DHCPSRV_CLIENT_CLASS_DEPRECATED - new message

src/lib/dhcpsrv/network.*
    Network - replaced client_class_ string with client_classes_  container
    Network::clientSupported() - uses new intersects() function
    Network::allowClientClass() - modified to insert
    Network::toElement() - updated

src/lib/dhcpsrv/parsers/base_network_parser.*
    BaseNetworkParser::getClientClassesElem() - new function

src/lib/dhcpsrv/parsers/dhcp_parsers.cc
src/lib/dhcpsrv/parsers/shared_network_parser.cc
    Updated parsers to use BaseNetworkParser::getClientClassesElem()

src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
    Added client-classes

src/lib/dhcpsrv/pool.*
    replaced client_class_ string with client_classes_  container
    Pool::clientSupported()-  use new intersects() function

src/lib/dhcpsrv/shared_network.cc
    ShareNetwork::getPreferredSubnet() - updated

src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc
src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc
    Updated tests

src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
    TEST_F(DhcpParserTest, deprecatedClientClassSubnet4)
    TEST_F(DhcpParserTest, deprecatedClientClassSubnet6) {
    TEST_F(DhcpParserTest, deprecatedClientClassPool4) {
    TEST_F(DhcpParserTest, deprecatedClientClassPool6) {

src/lib/dhcpsrv/tests/network_unittest.cc
    Removed inheritance support check

src/lib/dhcpsrv/tests/pool_unittest.cc
    Updated tests

src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
    TEST_F(SharedNetwork4ParserTest, deprecatedClientClass)
    TEST_F(SharedNetwork6ParserTest, deprecatedClientClass)

src/lib/dhcpsrv/tests/shared_network_unittest.cc
src/lib/dhcpsrv/tests/subnet_unittest.cc
    Updated tests

src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
    Updated tests
2024-11-26 17:19:56 +00:00
Piotrek Zadroga
eb76423701 [#3661] addressed review comments 2024-11-25 20:17:57 +00:00
Piotrek Zadroga
5db1085c84 [#3661] add ChangeLog entry 2024-11-25 20:17:57 +00:00
Piotrek Zadroga
c37ca6ba42 [#3661] update tuple definition 2024-11-25 20:17:57 +00:00
Francis Dupont
11b153dc14 [#3609] Improved ChangeLog entry 2024-11-22 16:16:15 +01:00
Francis Dupont
7c8d92154a [#3609] Addressed final comments 2024-11-22 15:50:06 +01:00
Francis Dupont
d33ca01e44 [#3609] Addressed comments 2024-11-22 11:24:15 +01:00
Francis Dupont
43a6a5ab6c [#3609] Checkpoint: finished HTTP config 2024-11-22 09:55:31 +01:00
Francis Dupont
c783319f6c [#3609] Finished CA 2024-11-22 09:55:31 +01:00
Francis Dupont
8e439a90ba [#3609] Added config.h 2024-11-22 09:55:31 +01:00
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