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
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