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

35305 Commits

Author SHA1 Message Date
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
Andrei Pavel
01f15716d3 [#2793] fix a mistake in JSON CI script that made it check all files when none were modified 2023-06-19 16:04:04 +02:00
Thomas Markwalder
e2081c7059 [#2608] Addressed review comment
src/lib/dhcpsrv/Makefile.am
    Added flq_allocation_state.h
2023-06-19 09:09:27 -04:00
Thomas Markwalder
f733e766fc [#2608] Fixed ChangeLog typo 2023-06-16 14:04:43 -04:00
Thomas Markwalder
7c82b69c46 [#2608] Added cfg_globals to Makefile install list
modified:
    ChangeLog
    src/lib/dhcpsrv/Makefile.am
2023-06-16 13:55:12 -04:00
Andrei Pavel
f390f5ac98 [#2554] add ChangeLog entry 2023-06-14 22:24:19 +03:00
Andrei Pavel
333f5770a1 [#2554] mention premium in the table of hook libraries 2023-06-14 20:26:11 +03:00
Andrei Pavel
0ccda2a19f [#2554] more iscman references in ARM 2023-06-14 20:26:11 +03:00
Andrei Pavel
153ace53c1 [#2554] add notes about each hook library's packaging
- Premium libraries were marked as subscription libraries.
  That has also been fixed.
2023-06-14 20:26:11 +03:00
Andrei Pavel
7e1b388777 [#2554] address review comments 2023-06-14 20:26:11 +03:00
Andrei Pavel
0bd79fcf79 [#2554] add missing loggers 2023-06-14 20:26:11 +03:00
Andrei Pavel
aaa3a91b9b [#2554] add 'ischooklib' anchors and references 2023-06-14 20:26:11 +03:00
Andrei Pavel
a51ab99885 [#2554] add 'isccmd' references
The commands used were:
- find doc/sphinx/arm -name '*.rst' | xargs grep -E '^\.\. ' | cut -d ' ' -f 2 | sort -uV | grep _command- > /tmp/commands
- for i in $(cat /tmp/commands); do find doc/sphinx/arm -name '*.rst' | xargs sed -i "s/\`\`${i}\`\` command/\`${i} command <_command-${i}>\`/g"; done
- for i in $(cat /tmp/commands); do find doc/sphinx/arm -name '*.rst' | xargs sed -i "s/\`\`${i}\`\`/\`${i} <_command-${i}>\`/g"; done
- for i in $(cat /tmp/commands); do find doc/sphinx/arm -name '*.rst' | xargs sed -i "s/The \`${i} <_command-${i}>\` Command/The \`\`${i}\`\` Command/g"; done
- for i in $(cat /tmp/commands); do find doc/sphinx/arm -name '*.rst' | xargs sed -i "s/-  ${i}/- \`${i} <_command-${i}>\`/g"; done

But they were not perfect. Some manual adjustment was required.
2023-06-14 20:26:11 +03:00
Andrei Pavel
f936be3222 [#2554] add 'iscman' references
The commands used were:
- find doc/sphinx/man -name '*.rst' | xargs grep -F '.. iscman' | cut -d ' ' -f 3 > /tmp/binaries
- for i in $(cat /tmp/binaries); do find doc/sphinx/arm -name '*.rst' | xargs sed -i "s/\`\`${i}\`\`/:iscman:\`${i}\`/g"; done

Manual adjustment was required in a few places to:
- extend title lines
- realign table lines
2023-06-14 20:26:11 +03:00
Andrei Pavel
66acbcb51d [#2554] add 'iscman' anchor to all manpages 2023-06-14 20:26:11 +03:00
Andrei Pavel
bf8efb6502 [#2554] add 'isccmd' anchors 2023-06-14 20:26:11 +03:00
Andrei Pavel
7bf80530ba [#2554] add the 'ischooklib' cross-reference role 2023-06-14 20:26:11 +03:00
Andrei Pavel
03843acd02 [#2554] add the 'isccmd' cross-reference role 2023-06-14 20:26:11 +03:00
Andrei Pavel
7591ba5891 [#2554] add the 'iscman' cross-reference role 2023-06-14 20:26:11 +03:00