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

35523 Commits

Author SHA1 Message Date
Tomek Mrugalski
348434fdc7 [#2707] config-get now returns a hash 2023-06-22 16:23:38 +02:00
Tomek Mrugalski
86d9466eb7 [#2707] hash calc moved to common method 2023-06-22 16:23:38 +02:00
Francis Dupont
b0b1164891 [#2707] Added config-hash-get with SHA-256 2023-06-22 16:23:38 +02:00
Francis Dupont
c3026461a4 [#2707] Added config-hash-get with SHA-256 2023-06-22 16:23:38 +02:00
Francis Dupont
58767e9625 [#2707] Checkpoint before v6 2023-06-22 16:23:38 +02:00
Francis Dupont
1121e02192 [#2707] Checkpoint 2023-06-22 16:23:38 +02:00
Thomas Markwalder
ab133832da [#2909] Fixed pgsql admin test
modified:   src/bin/admin/tests/pgsql_tests.sh.in
2023-06-22 11:43:36 +00:00
Thomas Markwalder
0c04d7475e [#2909] Removed obsolete upgradeBinaryAddress func
modified:
    src/lib/dhcpsrv/memfile_lease_mgr.cc
    src/lib/dhcpsrv/memfile_lease_mgr.h
    src/lib/dhcpsrv/testutils/concrete_lease_mgr.cc
    src/lib/dhcpsrv/testutils/concrete_lease_mgr.h
2023-06-22 11:43:36 +00:00
Thomas Markwalder
41efd541cf [#2029] Addressed review comment
bin/admin/tests/pgsql_tests.sh.in
    - removed hard-coded path
2023-06-22 11:43:36 +00:00
Thomas Markwalder
ff5997c7e9 [#2909] Addressed review comments
src/bin/admin/tests/pgsql_tests.sh.in
    Adjusted v6 address values
    Added pgsql_update_v6_addresses_to_binary() to verify conversion
2023-06-22 11:43:36 +00:00
Thomas Markwalder
0363b11e56 [#2909] Added ORDER BY to GET_LEASE6 SQL 2023-06-22 11:43:36 +00:00
Thomas Markwalder
d5e3f18731 [#2909] Migrated v6 addresses to inet
src/share/database/scripts/pgsql/upgrade_016_to_017.sh.in
    New file

configure.ac
    Added new upgrade file

src/bin/admin/tests/pgsql_tests.sh.in
    Updated tests

src/lib/dhcpsrv/pgsql_host_data_source.cc
    Modified SQL to convert ipv6_reservations.address to/from inet

src/lib/dhcpsrv/pgsql_lease_mgr.*
    Modified SQL to convert lease6.address to/from inet
    Removed binaddr column
    Removed PgSqlLeaseMgr::upgradeBinaryAddress6()

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

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    Altered lease6,ipv6_reservastions table
    Updated v6 dump and upload functions
2023-06-22 11:43:36 +00:00
Razvan Becheriu
96bf4b20da [#2380] reverted some changes 2023-06-22 07:28:17 +03:00
Thomas Markwalder
f446945271 [#2909] Fixed token.cc compile error 2023-06-21 15:42:19 -04:00
Thomas Markwalder
309df47c03 [#2909] Readd not null constraint 2023-06-21 14:21:08 -04:00
Thomas Markwalder
ce586ca184 [#2909] More review fixes
modified:
    src/bin/admin/tests/mysql_tests.sh.in
    src/share/database/scripts/mysql/dhcpdb_create.mysql
    src/share/database/scripts/mysql/upgrade_018_to_019.sh.in
2023-06-21 14:21:08 -04:00
Thomas Markwalder
fb05f1a275 [#2909] Addressed additional review comments 2023-06-21 14:21:08 -04:00
Thomas Markwalder
f0ef76ee8a [#2909] Addressed review comments
src/bin/admin/tests/mysql_tests.sh.in
    Added test to verify lease6 address and ipv6 reservation address
    column data conversion

src/lib/dhcpsrv/mysql_host_data_source.cc
    Use isc::asiolink::V6ADDRESS_LEN;

src/share/database/scripts/mysql/dhcpdb_create.mysql
src/share/database/scripts/mysql/upgrade_018_to_019.sh.in
    Add data conversion logic for lease6 and ipv6_reservation columns
2023-06-21 14:21:08 -04:00
Thomas Markwalder
59b7e64f05 [#2909] Fixed mysql_update_empty_duid_test
modified:   mysql_tests.sh.in
2023-06-21 14:21:08 -04:00
Thomas Markwalder
5ed24d5839 [#2909] Mysql v6 addresses to binary
lease6.address and ipv6_reservations.address columns
changed from varbinary(39) to binary(16).

lease6.binaddr column removed

deleted:    src/share/api/binary-address6-upgrade.json
new file:   src/share/database/scripts/mysql/upgrade_018_to_019.sh.in

configure.ac
   added new mysql upgrade script

doc/sphinx/arm/hooks-lease-query.rst
    removed doc for binary-address6-upgrade command

src/bin/admin/tests/mysql_tests.sh.in
    modified to use inet6_aton/ntoa as now needed
    Updated to test upgrage

src/lib/dhcpsrv/lease_mgr.h
    LeaseMgr::upgradeBinaryAddress6() - no longer
    abstract, provides a dummy implemention

src/lib/dhcpsrv/mysql_host_data_source.cc
    Change v6 reservation address to binary

src/lib/dhcpsrv/mysql_lease_mgr.*
    Remove lease6.binaddr and uses
    Change lease6.address to binary

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

src/share/api/api_files.mk
    Remove binary-address6-upgrade.json

src/share/database/scripts/mysql/Makefile.am
    Add upgrade script

src/share/database/scripts/mysql/dhcpdb_create.mysql
    Modify lease6, ipv6_reservations, and impacted functions
2023-06-21 14:21:08 -04:00
Darren Ankney
cc32b6b364 [#2913] Update Authors to remove unneeded addition 2023-06-21 16:16:22 +02:00
Darren Ankney
28c1ed41c6 [#2913] added changelog and myself to authors 2023-06-21 16:15:40 +02:00
Darren Ankney
5fb7c3ee5c [#2913] fix typo in ARM 2023-06-21 16:14:54 +02:00
Razvan Becheriu
88779bd8f8 [#2830] addressed comments 2023-06-21 15:24:36 +03:00
Razvan Becheriu
753f6d03c4 [#2830] static cast enum to int 2023-06-21 15:06:06 +03:00
Razvan Becheriu
ff6eaacd1b [#2830] fixed UB for function pointer type 2023-06-21 15:06:06 +03:00
Razvan Becheriu
7e545b4c2a [#2830] fixed UB for enum cast 2023-06-21 15:06:06 +03:00
Razvan Becheriu
fd6262fd33 [#2830] fixed UB caused by unalligned read 2023-06-21 15:06:06 +03:00
Razvan Becheriu
5f6b8592ed [#2830] use uint128_t for random prefix allocation 2023-06-21 15:06:06 +03:00
Darren Ankney
92598a5e03 [#2900] Added changelog for #2900 2023-06-21 11:47:13 +00:00
Razvan Becheriu
936d4e601c [#2883] added ChangeLog entry 2023-06-21 12:01:46 +03:00
Razvan Becheriu
029ba4d548 [#2883] addressed review comments 2023-06-21 11:57:33 +03:00
Razvan Becheriu
df21029e5b [#2883] changed declined-nas to declined-addresses 2023-06-21 11:54:26 +03:00
Razvan Becheriu
c6c2ead8a2 [#2883] added unittests for pool stats 2023-06-21 11:54:26 +03:00
Razvan Becheriu
3cd3de76a9 [#2883] added documentation for pool stats 2023-06-21 11:54:26 +03:00
Marcin Siodelski
f5e92c69da [#2931] Fixed host queries
Addresses two issues:
- The host query by IPv6 address has been fixed for the case when the
  duplicated addresses are allowed
- Corrected fetching vendor options from the host database
2023-06-21 09:59:41 +02:00
Marcin Siodelski
85cf3699f6 [#2931] Added ChangeLog for #2931 2023-06-21 09:59:41 +02:00
Marcin Siodelski
704655fa8e [#2931] Fixed getting host by IPv6 address
Modified the query fetching host by IPv6 address to include all addresses
and options associated with the host.
2023-06-21 09:59:41 +02:00
Marcin Godzina
9e51cc140a [#2937] Add Fedora 38 support to hammer 2023-06-20 22:20:25 +00:00
Marcin Godzina
cfe8e1f911 [#2935] Adding Fedora 37 to hammer bug fix 2023-06-20 21:09:58 +00:00
Darren Ankney
2ce555f41c [#2900] Improve ip-reservations-unique doc 2023-06-20 17:57:05 +00:00
Darren Ankney
c6d14b9445 Clarify language in ARM. 2023-06-20 17:57:05 +00:00
Marcin Godzina
f74ce384ae [#2935] Add Fedora 37 support to hammer 2023-06-20 17:07:00 +00:00
Marcin Siodelski
cc00dfa85e [#2881] Added ChangeLog for #2881 2023-06-20 15:29:53 +02:00
Marcin Siodelski
95110ace1e [#2881] Fix encapsulating options from CB 2023-06-20 15:29:03 +02:00
Marcin Godzina
a2ee1d1933 [#2916] hammer changes for debian 12 2023-06-19 19:19:06 +00:00
Marcin Godzina
8472c5c532 [#2916] hammer changes for debian 12 2023-06-19 19:19:06 +00:00
Marcin Godzina
36fff8d28f [#2916] hammer changes for debian 12 2023-06-19 19:19:06 +00:00
Tomek Mrugalski
60c22994f4 [#2793] ChangeLog updated 2023-06-19 16:05:41 +02:00
Andrei Pavel
83cf6bde3d [#2793] improve vendor option documentation 2023-06-19 16:04:04 +02:00