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
a4ea9faff5
[ #2869 ] Checkpoint: added statements
2023-07-06 22:11:32 +02: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
ac229425d1
[ #145 ] backend support for pool counters
2023-05-26 18:40:52 +03: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
d45405ffcf
[ #2757 ] Moved to upgradeExtendedInfo4
2023-05-23 16:23:41 +02:00
Francis Dupont
fa2b7d5318
[ #2757 ] Added function comments as required from review
2023-05-23 15:09:58 +02:00
Francis Dupont
acbfbe1498
[ #2757 ] Rebased from #275[23]
2023-05-23 15:09:57 +02:00
Francis Dupont
d4c3a32c8a
[ #2753 ] Rebased with new schemas
2023-03-31 14:29:41 +02: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
2f57d9c4ad
[ #2596 ] Checkpoint: unit tests to do
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
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
Francis Dupont
4843d24d15
[ #2571 ] Fixed override and indent
2022-09-23 05:52:44 -04: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
7cfaee946f
[ #2448 ] add virtual in LeaseMgr methods
2022-07-07 11:48:20 +00:00
Andrei Pavel
18c29f6875
[ #2448 ] solve unused parameter warning
2022-07-07 11:48:20 +00: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
Francis Dupont
6296b84c94
[ #2438 ] Added override keywords to lease manager API instances
2022-06-24 18:07:23 +02: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
Marcin Godzina
e63319b0ed
[ #2388 ] release changes
2022-04-25 19:17:45 +02:00
Slawek Figiel
7bd3a3ca83
[ #1716 ] Used a timer instead of a sleep call
2022-04-04 17:47:42 +03:00
Razvan Becheriu
d976bf91f3
[ #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
Francis Dupont
88a9c19788
[ #1540 ] Removed useless getLease4 variant
2021-01-04 16:53:34 +01:00
Razvan Becheriu
4461337f72
[ #1375 ] addressed review comments
2020-12-09 19:12:47 +02:00
Razvan Becheriu
959bb775a3
[ #1375 ] implemented db reconnect for cb
2020-12-09 19:12:46 +02:00
Razvan Becheriu
99da7a64c2
[ #1375 ] reverted changes
2020-12-09 19:12:46 +02:00
Razvan Becheriu
126579d1d4
[ #1375 ] added IOService to mysql and postgresql connections
2020-12-09 19:12:46 +02:00
Razvan Becheriu
63c1bd6bbf
[ #1434 ] renamed members and functions
2020-10-22 17:47:14 +03:00
Razvan Becheriu
49b073f12d
[ #1434 ] addressed comments
...
- replaced all occurences to old_cltt and old_valid_lft in unittests
- renamed syncInternalTimestamp to syncExistingLifetime and changed order
of parameters
- renamed updateInternalTimestamp to updateExistingLifetime
- updated doxygen
- added extra check for all occurences of deleteLease (either call
EXPECT or ASSERT), and only use cast to void if explicitly specified
- updated ChangeLog
- updated old_cltt and old_valid_lft on fromElementCommon and added
unittests
- throw exception with different message on memfile with persitence
disabled for easier debugging
2020-10-22 17:46:43 +03:00
Razvan Becheriu
e1d15f93cb
[ #1434 ] addressed comments
2020-10-22 17:45:55 +03:00