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
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
dff6de1464
[ #1375 ] added unittests for recover db connection with timer
2020-12-09 19:12:46 +02:00
Razvan Becheriu
6195cbfd3e
[ #1375 ] added log messages
2020-12-09 19:12:46 +02:00
Razvan Becheriu
959bb775a3
[ #1375 ] implemented db reconnect for cb
2020-12-09 19:12:46 +02:00
Razvan Becheriu
eaa6810139
[ #1375 ] added dbReconnect to host manager
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
Razvan Becheriu
c8bd5a4693
[ #1380 ] call mysql_autocommit on openDatabase
2020-08-14 12:34:01 +03:00
Francis Dupont
edd82437ee
[ #1196 ] Checkpoint: handled negative counters
2020-06-19 17:04:50 +02:00
Francis Dupont
b064001b5a
[ #1160 ] Added a retryer template for MySQL execute functions
2020-04-23 13:13:12 +02:00
Tomek Mrugalski
1e40f7d308
[ #1071 ] Leftover #endif removed
2020-02-21 09:15:14 +01:00
Razvan Becheriu
9bcc1e819a
[ #1071 ] always cast to target type
2020-02-21 09:15:14 +01:00
Michal Nowikowski
78233068df
[ #1098 ] adjusted code for release
...
- update copyright dates
- prepare messages files
- added release entry in ChangeLog file
2020-01-27 19:50:37 +01:00
Razvan Becheriu
430cefea69
[ #1073 ] addressed review
2020-01-27 16:57:36 +02:00
Razvan Becheriu
84dd2039ff
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
349f37dc15
[ #1073 ] fixed rebase
2020-01-27 16:57:36 +02:00
Razvan Becheriu
00225a6d8f
[ #1073 ] minor changes
2020-01-27 16:57:36 +02:00
Razvan Becheriu
2d323180d9
[ #1073 ] implemented connection pool for mysql host mgr
2020-01-27 16:57:36 +02:00
Razvan Becheriu
d5e45c7863
[ #1040 ] address review
2020-01-24 12:27:09 +00:00
Razvan Becheriu
364bbbf3d4
[ #1040 ] handle update and delete
2020-01-24 12:27:09 +00:00
Razvan Becheriu
1c3024fa44
[ #1040 ] fixed compilation
2020-01-17 15:08:16 +02:00
Razvan Becheriu
b852520424
[ #1040 ] delete lease only if expire time has not changed
2020-01-17 15:08:16 +02:00
Razvan Becheriu
e72dbcabd3
[1040] reverted minor changes
2020-01-10 17:41:35 +02:00
Razvan Becheriu
6c8a8ec6a7
[1040] minor changes
2020-01-10 17:41:35 +02:00
Razvan Becheriu
01eba32f6a
[1040] separated delete functions
2020-01-10 17:41:35 +02:00
Francis Dupont
b1fb6811ff
[ #897 ] Addressed comments
2019-12-10 21:05:02 +01:00