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

35523 Commits

Author SHA1 Message Date
Francis Dupont
a23d493bf0 [#2869] Implemented other not get ops 2023-07-06 22:11:32 +02:00
Francis Dupont
5ab389783d [#2869] Implemented new deletes 2023-07-06 22:11:32 +02:00
Francis Dupont
5415988d92 [#2869] Implemented wipeExtendedInfoTables6 2023-07-06 22:11:32 +02:00
Francis Dupont
592e913a26 [#2869] Added count statements 2023-07-06 22:11:32 +02:00
Francis Dupont
400ca653c0 [#2869] Checkpoint: made buildExtendedInfoTables6 memfile only 2023-07-06 22:11:32 +02:00
Francis Dupont
a4ea9faff5 [#2869] Checkpoint: added statements 2023-07-06 22:11:32 +02:00
Thomas Markwalder
e87c11fe28 [#2276] Upgrade global param values in DB
Convert ddns-use-conflict-resolution to
ddns-conflict-resolution-mode in DB

configure.ac
    Added new upgrade files

src/bin/admin/tests/mysql_tests.sh.in
src/bin/admin/tests/pgsql_tests.sh.in
    new upgrade tests

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

src/share/database/scripts/mysql/.gitignore
src/share/database/scripts/mysql/Makefile.am
src/share/database/scripts/mysql/upgrade_019_to_020.sh.in
    new upgrade script

src/share/database/scripts/mysql/dhcpdb_create.mysql
    added conversion logic to stay in sync with upgrade script

src/share/database/scripts/pgsql/Makefile.am
src/share/database/scripts/pgsql/.gitignore
src/share/database/scripts/pgsql/upgrade_018_to_019.sh.in
    new upgrade script

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    added conversion logic to stay in sync with upgrade script
2023-07-06 14:27:25 +00:00
Thomas Markwalder
1a54201a1c [#2276] Post rebase fixes 2023-07-06 14:27:25 +00:00
Thomas Markwalder
deddc1fee7 [#2276] Addressed review comments 2023-07-06 14:27:25 +00:00
Thomas Markwalder
2ce369c468 [#2276] Added ChangeLog entry 2023-07-06 14:27:25 +00:00
Thomas Markwalder
60f78b98da [#2276] Add TIMEOUT log messages to new classes
/src/bin/d2/check_exists_add.cc
/src/bin/d2/check_exists_remove.cc
/src/bin/d2/simple_add_without_dhcid.cc
/src/bin/d2/simple_remove_without_dhcid.cc
2023-07-06 14:27:25 +00:00
Thomas Markwalder
1dcec4a98f [#2276] Upgrade DB schemas
Schema upgrade converts CB global parameter ddns-use-conflict-resolution
entries to ddns-conflict-resolution-mode

configure.ac
    Added db upgrade files

/src/bin/admin/tests/mysql_tests.sh.in
/src/bin/admin/tests/pgsql_tests.sh.in
    updated tests

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

/src/share/database/scripts/mysql/.gitignore
/src/share/database/scripts/mysql/Makefile.am
/src/share/database/scripts/mysql/dhcpdb_create.mysql
    upgrade to 19

/src/share/database/scripts/pgsql/.gitignore
/src/share/database/scripts/pgsql/Makefile.am
/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    upgrade to 18
2023-07-06 14:27:25 +00:00
Thomas Markwalder
00fa013ca3 [#2276] Updated the ARM
modified:
    doc/sphinx/arm/dhcp4-srv.rst
    doc/sphinx/arm/dhcp6-srv.rst
2023-07-06 14:27:25 +00:00
Thomas Markwalder
f1523a6674 [#2276] clean up
/doc/examples/kea4/all-keys.json
/doc/examples/kea6/all-keys.json
    Commented out ddns-use-conflict-resolution
    Added ddns-conflict-resolution-mode

/src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp4/dhcp4_parser.yy
/src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp6/dhcp6_parser.yy
    Translates ddns-use-conflict-resolution
    to ddns-conflict-resolution-mode

/src/lib/dhcpsrv/cfg_globals.cc
/src/lib/dhcpsrv/cfg_globals.h
    Removed ddns-use-conflict-resolution

/src/lib/dhcpsrv/parsers/simple_parser4.cc
/src/lib/dhcpsrv/parsers/simple_parser6.cc
    removed ddns-use-conflict-resolution
2023-07-06 14:27:25 +00:00
Thomas Markwalder
54905229fd [#2276} Fix typo in location.hh
modified:   src/bin/dhcp4/location.hh
2023-07-06 14:27:25 +00: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
Suzanne Goldlust
97c2432fa4 [#2966] Remove obsolete item from Marketing checklist 2023-07-05 13:57:15 +00:00
Razvan Becheriu
089a1f915f [#2962] removed unused addr6_buffer_ 2023-07-04 18:28:22 +03:00
Marcin Godzina
8b284c2523 [#2965] bump up version to 2.5.0-git in configure 2023-07-04 13:07:13 +00:00
Marcin Godzina
864786415e Rebase v2_4 onto master after the release. 2023-07-04 12:55:58 +00:00
Razvan Becheriu
4114cf1ec5
[#2939] bump up library versions for 2.4.0 release 2023-06-29 21:54:49 +02:00
Marcin Siodelski
53e319b51c [#2826] Addressed review comments 2023-06-29 21:01:35 +02:00
Marcin Siodelski
6c7405719e [#2826] Added ChangeLog entry for #2826 2023-06-29 21:01:32 +02:00
Marcin Siodelski
132ef88b47 [#2826] Options in db are not encapsulated
Returned options from db are not encapsulated and have to be encapsulated
before the server returns them to a client. Parsers, depending on the use
case, may or may not encapsulate options. When they are used for parsing
a config file, the options are encapsulated. When they are used by the
host_cmds or cb_cmds, they are not.
2023-06-29 21:00:51 +02:00
Razvan Becheriu
659b251df9 [#2725] added ChangeLog entry 2023-06-29 21:00:10 +03:00
Razvan Becheriu
13564c41b5 [#2725] addressed review comments 2023-06-29 20:54:14 +03:00
Razvan Becheriu
141d9fca88 [#2725] removed strict check 2023-06-29 20:54:14 +03:00
Razvan Becheriu
f3706a575e [#2725] disable strict prefixlen checks in ctrs 2023-06-29 20:54:14 +03:00
Razvan Becheriu
c4a823983c [#2725] added unittests 2023-06-29 20:54:14 +03:00
Razvan Becheriu
70f4321e4c [#2725] fixed v6 reservations 2023-06-29 20:54:14 +03:00
Razvan Becheriu
f2fb28861d [#2725] addressed review comments 2023-06-29 20:54:14 +03:00
Razvan Becheriu
3810b6527d [#2725] add check for prefixlen for non pd type 2023-06-29 20:54:14 +03:00
Francis Dupont
b282f113a2 [#2947] Compute the expected hash 2023-06-29 16:08:41 +02:00
Francis Dupont
58f87a7bae [#2947] Gave up on agent update 2023-06-29 15:45:26 +02:00
Francis Dupont
ac65c493a7 [#2947] Removed todo 2023-06-29 15:45:26 +02:00
Francis Dupont
e16ade899f [#2947] Extra updates 2023-06-29 15:45:26 +02:00
Francis Dupont
a3c87ba5f4 [#2947] Bug fixed 2023-06-29 15:45:26 +02:00
Andrei Pavel
7a375cf743
[#2892] document PD hints 2023-06-29 15:42:28 +03:00
Andrei Pavel
6fda004422
[#2892] add a phrase about empty reservations for known clients 2023-06-29 15:18:07 +03:00
Andrei Pavel
a180dd9911
[#2892] fix docs about exclude-first-last-24 2023-06-29 15:17:36 +03:00
Andrei Pavel
7a96c3a9ac
[#2892] move template class documentation to its own section 2023-06-29 15:16:51 +03:00
Slawek Figiel
2641f042bd [#2467] Fix reporting shell 2023-06-29 13:44:30 +02:00
Slawek Figiel
55f0dbd1ca [#2467] Use man reference 2023-06-29 13:44:30 +02:00
Piotrek Zadroga
45a2f29c07 [#2467] Apply to 2 suggestions to 1 file 2023-06-29 13:44:30 +02:00
Slawek Figiel
8c1d38cf66 [#2467] Remove unnecessary check 2023-06-29 13:44:30 +02:00
Slawek Figiel
c19ad2f760 [#2467] Require at least Python 3.0 2023-06-29 13:44:29 +02:00
Slawek Figiel
2eecf83247 [#2467] Use an error rather than a warning 2023-06-29 13:44:29 +02:00
Slawek Figiel
aba6cf7fc5 [#2467] Remove unused code 2023-06-29 13:44:29 +02:00
Slawek Figiel
6577edf101 [#2467] Add a note 2023-06-29 13:44:29 +02:00
Piotrek Zadroga
c830220054 [#2467] Apply 2 suggestions to 2 files 2023-06-29 13:44:29 +02:00