2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 21:18:02 +00:00

37462 Commits

Author SHA1 Message Date
Andrei Pavel
0bbb2e90a8
[#3696] Add ChangeLog entry 2025-01-15 21:13:02 +02:00
Francis Dupont
83acd19ab2 [#3696] Typo 2025-01-15 16:51:48 +01:00
Francis Dupont
e21adc6c24 [#3696] Changed for the include 2025-01-15 16:33:51 +01:00
Francis Dupont
00c05f9438 [#3696] Fixed old typos 2025-01-15 15:29:33 +01:00
Francis Dupont
1ecfaf9bd6 [#3696] Made >= 1.66 mandatory 2025-01-15 15:26:32 +01:00
Francis Dupont
120fd3d7c4 [#3696] Updated UT files 2025-01-15 15:26:31 +01:00
Francis Dupont
db0891fb20 [#3696] Updated supported version 2025-01-15 15:26:31 +01:00
q66
81edc181f8 [#3696] Update asiolink for boost 1.87 2025-01-15 15:26:31 +01:00
Francis Dupont
cbde3b8a16 [#3679] Changed with into in 2025-01-13 18:32:13 +01:00
Francis Dupont
1ea64f38da [#3679] Fixed grammar 2025-01-13 18:30:04 +01:00
Andrei Pavel
7f2fcc9425
[#3530] Address review
- Fix bad substitution.
2025-01-10 18:53:11 +02:00
Andrei Pavel
079e0352ae
[#3530] Address review
- Add @ to suppress Makefile output.
- Warn about file already existing and exit.
- Use template file as base.
2025-01-10 17:47:16 +02:00
Andrei Pavel
4c0a08be3b
[#3530] add add-changelog-entry Makefile rule 2025-01-10 15:16:00 +02:00
Razvan Becheriu
3bf0079360 [#2101] addressed review comments 2024-12-24 13:03:04 +00:00
Razvan Becheriu
45ff8e141a [#2101] check default hooks path in config report 2024-12-24 13:03:04 +00:00
Razvan Becheriu
df3f1a9164 [#2101] load hooks using name only 2024-12-24 13:03:04 +00:00
Andrei Pavel
05707e6a70
[#3698] Install gtest sources on FreeBSD
Fixes "checking for gtest source... configure: error: no gtest source at /usr/src/googletest".
2024-12-19 10:56:37 +02:00
Marcin Godzina
331e325d1f [#3664] add alpine 3.21 to hammer 2024-12-18 14:24:57 +00:00
Thomas Markwalder
aada0ae3e5 [#3663] Fix kea4/all-keys.json
Apparently a comment must have a space following the two
slashes or it isn't a comment.
2024-12-17 07:18:26 -05:00
Thomas Markwalder
33e38d265f [#3663] Added issue number to ChangeLog 2024-12-16 14:45:52 -05:00
Thomas Markwalder
f7498e2752 [#3663] FIx all-keys.json files
Correct invalid configurations in all-keys.json files

    doc/examples/kea4/all-keys.json
    doc/examples/kea6/all-keys.json
2024-12-16 14:42:36 -05:00
Thomas Markwalder
1e6f4b4aa3 [#3663] Add ddns ttl columns to pgsql schema
src/share/database/scripts/pgsql/upgrade_027_to_028.sh.in
        new file - adds ddns-ttl* columns to network and subnet tables

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

    src/lib/pgsql/pgsql_connection.h
       schema version bump

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

    src/share/database/scripts/pgsql/dhcpdb_create.pgsql
        Add ddns-ttl* columns to network and subnet tables
2024-12-16 10:31:44 -05:00
Thomas Markwalder
01490437fe [#3663] PgSql CB hook supports ddsn-ttl params
Changes to be committed:
	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
2024-12-16 10:30:44 -05:00
Thomas Markwalder
9631120607 [#3663] MySQL CB hook now supports ddns-ttl params
Changes to be committed:
	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/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
	modified:   src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
2024-12-16 10:30:16 -05:00
Thomas Markwalder
b77a66e23a [#3663] Add ddns ttl columns to mysql schema
src/share/database/scripts/mysql/upgrade_027_to_028.sh.in
    new file

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

src/lib/mysql/mysql_constants.h
   schema version bump

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

src/share/database/scripts/mysql/dhcpdb_create.mysql
    Add ddns-ttl* columns to network and subnet tables
2024-12-16 10:29:10 -05:00
Francis Dupont
3bc9a732f8 [#2819] Fixed remaining spelling 2024-12-16 10:15:09 -05:00
Thomas Markwalder
5108d12a8c [#2819] Fixed misspellings 2024-12-16 10:15:09 -05:00
Thomas Markwalder
5a8ad26c7a [#2819] Remove premium dir
Somehow premium directory got added.

Changes to be committed:
	deleted:    premium
2024-12-16 10:15:09 -05:00
Thomas Markwalder
bdaea7471d [#2819] Addressed review comments
Changes to be committed:
    modified:   src/lib/dhcpsrv/dhcpsrv_messages.mes
    modified:   src/lib/dhcpsrv/ncr_generator.cc
	modified:   src/lib/dhcpsrv/srv_config.h
	modified:   src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
	modified:   src/lib/dhcpsrv/tests/ncr_generator_unittest.cc
	modified:   src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
	modified:   src/lib/dhcpsrv/tests/srv_config_unittest.cc
	modified:   src/lib/util/str.h
2024-12-16 10:15:09 -05:00
Thomas Markwalder
e289a9831f [#2819] Added ChangeLog entry
Changes to be committed:
	modified:   ChangeLog
2024-12-16 10:15:09 -05:00
Thomas Markwalder
fef0c59f45 [#2819] Updated ARM
modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst
2024-12-16 10:15:09 -05:00
Thomas Markwalder
3e4a43a678 [#2819] kea-dhcp6 support implemented
kea-dhcp6 supports the new ddns ttl parameters

modified:   ../../../../doc/examples/kea6/all-keys.json
modified:   ../dhcp6_lexer.cc
modified:   ../dhcp6_lexer.ll
modified:   ../dhcp6_parser.cc
modified:   ../dhcp6_parser.h
modified:   ../dhcp6_parser.yy
modified:   ../dhcp6_srv.cc
modified:   ../json_config_parser.cc
modified:   config_parser_unittest.cc
modified:   fqdn_unittest.cc
modified:   get_config_unittest.cc
2024-12-16 10:15:09 -05:00
Thomas Markwalder
7268fb348a [#2819] Fixed commentary
modified:   src/lib/dhcpsrv/ncr_generator.h
2024-12-16 10:15:09 -05:00
Thomas Markwalder
f414f9aa2d [#2819] kea-dhcp4 supports ddns-ttl, min, and max
Added support for ddns-ttl,ddns-ttl-min, and ddsn-ttl-max
to global,shared-network, and subnet for kea-dhcp4

Changes to be committed:
modified:   doc/examples/kea4/all-keys.json
modified:   src/bin/dhcp4/dhcp4_lexer.cc
modified:   src/bin/dhcp4/dhcp4_lexer.ll
modified:   src/bin/dhcp4/dhcp4_parser.cc
modified:   src/bin/dhcp4/dhcp4_parser.h
modified:   src/bin/dhcp4/dhcp4_parser.yy
modified:   src/bin/dhcp4/json_config_parser.cc
modified:   src/bin/dhcp4/tests/config_parser_unittest.cc
modified:   src/bin/dhcp4/tests/fqdn_unittest.cc
modified:   src/bin/dhcp4/tests/get_config_unittest.cc
modified:   src/bin/dhcp6/json_config_parser.cc
modified:   src/lib/dhcpsrv/cb_ctl_dhcp4.cc
modified:   src/lib/dhcpsrv/cb_ctl_dhcp6.cc
modified:   src/lib/dhcpsrv/cfg_globals.cc
modified:   src/lib/dhcpsrv/cfg_globals.h
modified:   src/lib/dhcpsrv/dhcpsrv_messages.cc
modified:   src/lib/dhcpsrv/dhcpsrv_messages.h
modified:   src/lib/dhcpsrv/dhcpsrv_messages.mes
modified:   src/lib/dhcpsrv/ncr_generator.cc
modified:   src/lib/dhcpsrv/ncr_generator.h
modified:   src/lib/dhcpsrv/network.cc
modified:   src/lib/dhcpsrv/network.h
modified:   src/lib/dhcpsrv/parsers/base_network_parser.cc
modified:   src/lib/dhcpsrv/parsers/simple_parser4.cc
modified:   src/lib/dhcpsrv/parsers/simple_parser6.cc
modified:   src/lib/dhcpsrv/srv_config.cc
modified:   src/lib/dhcpsrv/srv_config.h
modified:   src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
modified:   src/lib/dhcpsrv/tests/ncr_generator_unittest.cc
modified:   src/lib/dhcpsrv/tests/network_unittest.cc
modified:   src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
modified:   src/lib/dhcpsrv/tests/srv_config_unittest.cc
modified:   src/lib/util/str.cc
modified:   src/lib/util/str.h
2024-12-16 10:15:09 -05:00
Marcin Godzina
f4a25f1776 [#3691] bump version in configure.ac 2024-12-11 17:36:49 +00:00
Marcin Godzina
a7bcf01ace [#3686] release changes Kea-2.7.5 2024-12-06 19:57:06 +01:00
Marcin Godzina
4b66af4695 [#3685] bump up library versions for 2.7.5 release 2024-12-06 18:50:29 +00:00
Thomas Markwalder
9480b1ac76 [#3348] Minor fixes after review
Changes to be committed:
modified:   doc/sphinx/arm/dhcp4-srv.rst
modified:   doc/sphinx/arm/dhcp6-srv.rst
2024-12-06 17:46:55 +00:00
Andrei Pavel
18d813395b [#3348] Update docs about subnet/pool selection
The change that would have helped the reporter:
- Add paragraph explaining that out-of-network guarded subnets need
  EGRL enabled in order for those guards to properly select subnets.

Other important changes:
- Define class guards. They are referenced in some places in the ARM,
  but never defined.
- Move "unreserved_class" guards before "reserved_class" guards so that
  it is clear that a pool or a subnet is skipped and the allocator takes
  a different path than usual, assumin an iterative allocator.
- Add unguarded subnets and pools and explain that those are available
  to both reserved and unreserved clients.
- Add paragraph explaining that in-subnet reservations don't work when
  the subnet belongs to a shared network.
- Add paragraph explaining that for a subnet to be selected, when
  choosing to do the selection via pools, as the example is structured,
  all of the pools inside the subnets desired to be skipped or selected
  need to be guarded.
- Add missing name to shared network in the JSON config examples.

Less important changes:
- Remove comments about reservation settings. Some were forgotten to be
  removed since new reservation flags are added, but overall they don't
  need to be explained because these sections are not focused on reservations.
- Add curly brackets to make the whole JSON valid and add code-block:: json
  and reindent.
2024-12-06 17:46:55 +00:00
Andrei Pavel
868b6b6e54 [#3669] Prevent duplicate pipelines in CI 2024-12-06 17:20:34 +00:00
Francis Dupont
5d36a4369e [#3414] Extended state description 2024-12-06 16:39:12 +00:00
Francis Dupont
47359c57fe [#3414] Removed backticks 2024-12-06 16:39:12 +00:00
Francis Dupont
b482c72132 [#3414] Followed tmark's idea 2024-12-06 16:39:12 +00:00
Francis Dupont
fee3689688 [#3414] Added column types 2024-12-06 16:39:12 +00:00
Francis Dupont
317c072694 [#3414] Spelling 2024-12-06 16:39:12 +00:00
Francis Dupont
449be73dc6 [#3414] Added examples 2024-12-06 16:39:12 +00:00
Francis Dupont
ba393fa82a [#3414] Spelling 2024-12-06 16:39:12 +00:00
Francis Dupont
0b4ac6eabe [#3414] Added CSV lease formats 2024-12-06 16:39:12 +00:00
Thomas Markwalder
424ecc02db [#3677] Removed duplicate function
modified:   mysql_tests.sh.in
2024-12-06 14:16:04 +00:00
Thomas Markwalder
3eb54604a7 [#3677] Posgresql now migrates client-classes data
modified:   src/bin/admin/tests/pgsql_tests.sh.in
modified:   src/share/database/scripts/pgsql/dhcpdb_create.pgsql
modified:   src/share/database/scripts/pgsql/upgrade_026_to_027.sh.in
modified:   src/share/database/scripts/mysql/upgrade_026_to_027.sh.in
modified:   src/share/database/scripts/mysql/dhcpdb_create.mysql
2024-12-06 14:16:04 +00:00