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

230 Commits

Author SHA1 Message Date
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
a4ea9faff5 [#2869] Checkpoint: added statements 2023-07-06 22:11:32 +02:00
Razvan Becheriu
3810b6527d [#2725] add check for prefixlen for non pd type 2023-06-29 20:54:14 +03: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
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
Razvan Becheriu
e4df42531d [#145] addressed review comments 2023-05-26 18:40:53 +03:00
Razvan Becheriu
a9e717aaca [#145] addressed review comments 2023-05-26 18:40:53 +03:00
Razvan Becheriu
ac229425d1 [#145] backend support for pool counters 2023-05-26 18:40:52 +03:00
Razvan Becheriu
630732e486 [#145] create stats per pool 2023-05-26 18:40:52 +03:00
Thomas Markwalder
5aa1ecfbd5 [#2868] Fixed spelling 2023-05-25 23:03:53 +02:00
Francis Dupont
003be31fd3 [#2868] Addressed comments 2023-05-25 23:03:53 +02:00
Francis Dupont
02b5540f79 [#2868] Implemented getLeases6ByLink 2023-05-25 23:03:53 +02:00
Francis Dupont
9d33293c69 [#2868] Checkpoint: finished upgradeBinaryAddress6 2023-05-25 23:03:53 +02:00
Francis Dupont
9623ed7694 [#2868] Checkpoint: adding upgradeBinaryAddress6 2023-05-25 23:03:53 +02:00
Francis Dupont
942f201009 [#2868] Checkpoint: add binaddr 2023-05-25 23:03:53 +02:00
Francis Dupont
d45405ffcf [#2757] Moved to upgradeExtendedInfo4 2023-05-23 16:23:41 +02:00
Francis Dupont
acbfbe1498 [#2757] Rebased from #275[23] 2023-05-23 15:09:57 +02:00
Razvan Becheriu
fa5492d4b7 [#2786] 255 bytes client_id and 130 bytes duid 2023-05-09 14:26:04 +03:00
Francis Dupont
d4c3a32c8a [#2753] Rebased with new schemas 2023-03-31 14:29:41 +02:00
Marcin Siodelski
e9110c05b7 [#2764] Preserve lease mgr callbacks on recreate 2023-03-14 19:23:31 +01:00
Marcin Siodelski
2f2fb84863 [#2764] Added lease tracking to the backends 2023-03-14 19:23:31 +01:00
Francis Dupont
ad5689ad89 [#2596] Revamped buildExtendedInfoTables6 2022-11-16 23:48:28 +01:00
Francis Dupont
b2743afbb7 [#2596] Extended buildExtendedInfoTables6 2022-11-16 23:48:28 +01:00
Francis Dupont
4db17a95e5 [#2630] Removed link-addr from relay 2022-11-10 22:19:22 +01:00
Marcin Siodelski
fdb27f60a3 [#2604] Fixed whitespace in several files 2022-10-24 16:44:26 +00:00
Thomas Markwalder
e1087e0333 [#2604] Addresses review comments
src/lib/dhcpsrv/mysql_lease_mgr.*
src/lib/dhcpsrv/pgsql_lease_mgr.*
    addressed doxygen issues
2022-10-24 16:44:26 +00:00
Thomas Markwalder
78865afc69 [#2604] Corrected compiler warnings
src/lib/dhcpsrv/mysql_lease_mgr.cc
src/lib/dhcpsrv/pgsql_lease_mgr.cc
src/lib/dhcpsrv/tests/lease_mgr_unittest.cc
    Commented out unused parameters

src/lib/dhcpsrv/mysql_lease_mgr.h
src/lib/dhcpsrv/pgsql_lease_mgr.h
    added missing setExtendedInfoTablesEnabled() variant
2022-10-24 16:44:26 +00:00
Francis Dupont
af9961e2d3 [#2585] Addressed naming comment 2022-10-18 19:28:45 +02:00
Francis Dupont
d857f78125 [#2585] Checkpoint: finish unit tests 2022-10-18 19:28:45 +02:00
Francis Dupont
04133ea65a [#2585] Checkpoint: tests to add 2022-10-18 19:28:45 +02:00
Francis Dupont
e891976e33 [#1654] Checkpoint: UT and hook to do 2022-09-23 15:06:06 +02:00
Thomas Markwalder
9477ed85c0 [#2571] Added BLQ query stubs to lease mgrs
src/lib/dhcpsrv/lease_mgr.*
    Removed BQL query implemenetations

src/lib/dhcpsrv/memfile_lease_mgr.*
src/lib/dhcpsrv/mysql_lease_mgr.*
src/lib/dhcpsrv/pgsql_lease_mgr.*
    Added BQL query implemenetations
2022-09-23 05:52:43 -04:00
Andrei Pavel
94e0e8d601 [#2448] make class counter methods virtual in LeaseMgr 2022-07-07 11:48:20 +00:00
Andrei Pavel
6ca773c9ae
[#2445] add getClassLeaseCount() for MySQL and PostgreSQL 2022-06-30 15:31:05 +03:00
Andrei Pavel
f5419843a1
[#2445] implement PostgreSQL lease manager methods for limit checking 2022-06-29 15:51:27 +03:00
Andrei Pavel
0da6f84867
[#2438] raise the length of client classes in the limits MySQL schema 2022-06-23 12:13:01 +03:00
Andrei Pavel
bfc5b84984
[#2438] enable checkLeaseXLimits in the MySQL lease manager 2022-06-22 19:49:58 +03:00
Andrei Pavel
14edcab6a9
[#2438] add MySqlLeaseMgr::isJsonSupported() 2022-06-22 15:18:08 +03:00
Andrei Pavel
0b3af58241 [#2444] add checkLimitsX() methods to LeaseMgr 2022-06-21 18:18:46 +00:00
Andrei Pavel
cd64f52014
[#2290] release changes 2022-01-25 18:17:54 +02:00
Francis Dupont
9359241eb7 [#897] Updated doc 2022-01-12 14:47:46 +01:00
Francis Dupont
ea6a766050 [#897] Bug fixed 2022-01-12 14:47:46 +01:00
Francis Dupont
75dfab12f6 [#34] Checkpoint: code done, tests and hook to do 2022-01-06 13:12:40 +01:00
Razvan Becheriu
d976bf91f3 [#1621] addressed comments 2021-03-29 21:11:29 +03:00
Razvan Becheriu
f37892a82b [#1621] addressed comments 2021-03-29 21:11:29 +03:00
Razvan Becheriu
b92b67c53c [#1621] add lazy retrieval for connection IOService 2021-03-29 21:10:52 +03:00
Andrei Pavel
c53e135833
[#1656] 1.9.4 release: update copyrights 2021-01-25 13:52:09 +02:00
Andrei Pavel
96f049b111
[#1656] 1.9.4 release: spelling check 2021-01-25 13:52:09 +02:00