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
Francis Dupont
c2f06c48ae
[897-add-infinite-valid-lifetime-for-bootp] Reported previous changes
2019-12-10 21:05:02 +01:00
Razvan Becheriu
8b389d3d0c
[ #1044 ] fixed doxygen and log args alignment
2019-12-05 16:32:21 +02:00
Razvan Becheriu
ebed25eea4
[ #1044 ] minor changes
2019-12-05 15:49:52 +02:00
Razvan Becheriu
cc6c0d3007
[ #1044 ] consistent logging, doxygen and minor changes
2019-12-05 15:33:56 +02:00
Francis Dupont
c131e65e82
[1008-move-database-schema-version-check-to-database-libraries] Moved getVersion codes to databases
2019-12-04 14:33:09 +01:00
Francis Dupont
7d4a426876
[960-mysql-connection-pool] Addressed more cosmetic change request
2019-11-20 09:23:28 +00:00
Francis Dupont
06a8a04e06
[960-mysql-connection-pool] Addressed cosmetic change request
2019-11-20 09:23:28 +00:00
Francis Dupont
a28a5773a3
[960-mysql-connection-pool] Moved schema version checking
2019-11-20 09:23:28 +00:00
Francis Dupont
624db298b1
[960-mysql-connection-pool] Addressed some comments
2019-11-20 09:23:27 +00:00
Francis Dupont
30dbe89d50
[960-mysql-connection-pool] Post rebase fixes
2019-11-20 09:23:27 +00:00
Francis Dupont
7a3fc2df71
[960-mysql-connection-pool] Finished the pool experiment
2019-11-20 09:23:27 +00:00
Francis Dupont
028037834b
[960-mysql-connection-pool] Checkpoint before rebase
2019-11-20 09:23:27 +00:00
Francis Dupont
5bd76e38b5
[393-global-search-through-leases-by-mac-or-hostname-w-o-specifying-a-subnet-id] Added get leases 4 and 4 by hostname to the API
2019-10-25 17:26:23 +02:00
Francis Dupont
7088f78b02
[567-remove-lease-t1_-and-t2_-members] Removed t1/t2 from leases
2019-06-19 02:43:03 -04:00
Michal Nowikowski
fccb0cf410
updated versions, updated copyright dates, sorted messages
2019-05-28 10:53:08 +02:00
Francis Dupont
7f4847e9a4
[354-compilation-with-mysql-fails-on-fedora-29] Solved other issues
2019-02-07 17:02:22 -05:00
Marcin Siodelski
038eddbc7b
[#53,!125] Mysql buffer always initialized for HW address in v6.
2018-11-21 14:18:48 -05:00
Marcin Siodelski
56bbd60d01
[#53,!125] Ensure that the HW address and client id buffers are non-zero.
2018-11-21 14:18:48 -05:00
Marcin Siodelski
d4af777ba0
[#53,!125] Set null buffer in mysql if the hwaddr, client id is empty.
2018-11-21 14:18:48 -05:00
Marcin Siodelski
fc906c3aa8
[#53,!125] Use MYSQL_TYPE_STRING instead of MYSQL_TYPE_VARCHAR.
...
The latter causes 'buffer type not supported' errors on OpenSUSE and
perhaps some other systems running MariaDB.
2018-11-21 14:18:48 -05:00
Marcin Siodelski
8300f8c92a
[#92,!13] Moved MySqlConnection class to libkea-mysql library.
2018-09-03 03:31:33 -04:00
Marcin Siodelski
012a97a87c
[#92,!13] Refactored libkea-dhcpsrv to use libkea-database
2018-09-03 03:31:33 -04:00
Thomas Markwalder
872e5458d4
[master] Fixed broken log message in MySQL lease manager
...
src/lib/dhcpsrv/mysql_lease_mgr.cc
Added missing argument for DHCPSRV_MYSQL_GET_DUID message
2018-08-16 06:52:59 -04:00
mayya
a121466e05
[optimize_query] Add new index for query by DUID
...
Fixes #98
2018-08-13 20:18:04 +02:00
mayya
fd2a08f42d
minor fixes
2018-08-13 20:16:33 +02:00
Tomek Mrugalski
64b3502642
[gitlab9] Imported relevant bits from github99
...
- Covers changes up to 4358737d43ee1b6c8618a1a8aa3cc7273634ed48,
but without unnecessary things.
2018-08-13 20:16:33 +02:00
Tomek Mrugalski
e29aab3c38
[5682] addLease() parameter is const again
2018-07-30 19:05:19 +02:00
Tomek Mrugalski
e550a2fa6b
[5682] Removed const from addLease for other lease backends.
2018-07-30 19:03:18 +02:00
Tomek Mrugalski
5db1f8ff5f
[github88] Removed remaining instances of getLeases6(DUID)
2018-07-23 16:04:30 +02:00
mayya
2ff46b2dd5
[extend_host_struct] Fix review comments
2018-07-23 13:40:31 +02:00
mayya
2090af48c1
[lib] Extend host structure to support auth keys for reconfiguration.
...
See issue #83
2018-07-23 13:31:03 +02:00
Marcin Siodelski
b056828212
[master] Merge branch 'trac5651'
...
# Conflicts:
# doc/guide/hooks.xml
# src/lib/dhcpsrv/cql_lease_mgr.cc
2018-07-09 14:37:16 +02:00
Marcin Siodelski
ed42dddca9
[5651] Removed unused SQL/CQL queries.
2018-06-28 16:50:07 +02:00
Marcin Siodelski
1911064d76
[5651] Removed lease queries by ranges and total lease count.
2018-06-28 14:02:32 +02:00
Marcin Siodelski
74e13e92fe
[5651] Guard against invalid address family.
2018-06-26 14:49:36 +02:00
Marcin Siodelski
25595be427
[5651] Implemented fetching IPv6 leases by address ranges.
...
Except Cassandra.
2018-06-26 13:53:01 +02:00
Marcin Siodelski
99da64ffd5
[5651] Implemented fetching IPv6 leases with paging.
2018-06-26 10:27:07 +02:00
Marcin Siodelski
122bb75a7a
[5651] Implemented LeaseMgr methods retrieving ranges/pages of IPv4 leases.
2018-06-25 21:47:20 +02:00
Francis Dupont
fe5098fdb3
[5584] Checkpoint: updated schema, code and partially tests
2018-06-21 11:15:48 +02:00
Thomas Markwalder
3a4e989317
[5629] MySQL and PostgreSQL host backends now verify schema version
...
src/lib/dhcpsrv/mysql_host_data_source.cc
MySqlHostDataSourceImpl::getVersion() - new function to
fetch version accessible to impl constructor
MySqlHostDataSourceImpl() - added schema validation after
connecting
MySqlHostDataSource::getVersion() - new uses impl method
src/lib/dhcpsrv/pgsql_host_data_source.cc
PgSqlHostDataSourceImpl()) - added schema validation after
connecting
PgSqlHostDataSourceImpl::getVersion() - no longer uses
pre-prepared statement
2018-05-31 11:51:19 -04:00