2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-08 18:05:18 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
Razvan Becheriu
d781e915cd [#3019] retry db open on startup 2023-12-14 08:01:42 +02:00
Marcin Siodelski
639397d844 [#2741] Fixed getting configured timeout parameters 2023-02-04 23:46:46 +01:00
Razvan Becheriu
8011e9d5e6 [#1716] addressed comments 2022-04-05 01:33:04 +03:00
Slawek Figiel
7bd3a3ca83 [#1716] Used a timer instead of a sleep call 2022-04-04 17:47:42 +03:00
Razvan Becheriu
d41571ce17 [#2116] remove cql code 2022-03-31 08:11:37 +00:00
Andrei Pavel
cd64f52014 [#2290] release changes 2022-01-25 18:17:54 +02:00
Francis Dupont
1d3f0133ba [#34] Checkpoint: code and tests to do 2022-01-06 13:12:40 +01:00
Andrei Pavel
dab966b3ed [#1772] changelog, copyrights, messages 2021-03-29 21:47:05 +03:00
Razvan Becheriu
c476eaaaea [#1621] fixed typos and bug which prevents configuring values for "on-fail" 2021-03-29 21:11:29 +03:00
Razvan Becheriu
9ed7ec4250 [#1621] fixed error message 2021-03-29 21:11:29 +03:00
Razvan Becheriu
f5a8d51cf3 [#1621] fix throw type on invalid action 2021-03-29 21:11:29 +03:00
Razvan Becheriu
ca812d1116 [#1621] implemented "on-fail" action for connection recovery 2021-03-29 21:11:29 +03:00
Razvan Becheriu
f525fc6335 [#1621] disabling connection recovery mechanish is not available in core managers 2021-03-29 21:11:29 +03:00
Razvan Becheriu
a7cb38305f [#1621] updated unittests 2021-03-29 21:11:29 +03:00
Razvan Becheriu
2a06054b55 [#1621] add enable-connection-recovery parameter to configure connection recovery 2021-03-29 21:11:29 +03:00
Razvan Becheriu
bb87d03147 [#1621] add disable-dhcp-on-db-loss parameter to configure network state effect 2021-03-29 21:11:29 +03:00
Marcin Siodelski
4c654fc724 [#692] Added a comment per review comments 2020-12-11 20:37:59 +01:00
Marcin Siodelski
f93280cadd [#692] Addressed review comments
Fixed a typo and added a unit test for mismatched quotes.
2020-12-11 20:37:59 +01:00
Marcin Siodelski
b177c3a4d0 [#692] DB access may contain whitespace in password
If the password parameter within the DB access string contains whitespace
it must be surrounded by apostrophes.
2020-12-11 20:37:59 +01:00
Razvan Becheriu
374603523d [#1375] removed unused IOService 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
Thomas Markwalder
331888d203 [#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
    Added max-row-errors

src/lib/database/database_connection.*
src/lib/database/dbaccess_parser.*
    Added max-row-errors

src/lib/database/tests/dbaccess_parser_unittest.cc
    New tests for max-row-errors

src/lib/dhcpsrv/lease_file_loader.h
    Changed logic value of 0 means unlimited

src/lib/dhcpsrv/memfile_lease_mgr.cc
    Memfile_LeaseMgr::loadLeasesFromFiles() - now uses
    connection parmater value for max-row-errors or 0
    if not specified

src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
    TEST_F(LeaseFileLoaderTest, maxRowErrors4) - new unit test
    to verify max-row-errors operation

src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
   TEST_F(MemfileLeaseMgrTest, constructor) - added tests for
   max-row-errors
2019-08-16 17:49:49 -04:00
Michal Nowikowski
fccb0cf410 updated versions, updated copyright dates, sorted messages 2019-05-28 10:53:08 +02:00
Razvan Becheriu
b825815fa7 configure serial consistency as well 2019-03-21 17:50:01 +02:00
Razvan Becheriu
1646cb296a renamed parameter 2019-03-21 17:50:01 +02:00
Razvan Becheriu
38b037be91 added cql-consistency parameter 2019-03-21 17:50:01 +02:00
Tomek Mrugalski
e7d240e268 [#115,!48] exception throwing replaced with gentler error logs 2018-11-08 02:58:25 +07:00
Tomek Mrugalski
9c17656551 [#115,!48] The patch has been applied correctly to database_connection.cc|h 2018-11-08 02:37:19 +07:00
Thomas Markwalder
d06703a963 [#32,!23] Added ControlConfigInfo to lib/config
src/lib/config/config_ctl_info.*
    New files, implementing ConfigDbInfo and ConfigControlInfo
    classes use for housing configuration backend and control
    information

src/lib/config/Makefile.am
    Added config_ctl_info.h/cc
    Added libkea-database.la

src/lib/config/tests/config_ctl_info_unitests.cc
    New file which unit tests new classes

src/lib/database/database_connection.*
    DatabaseConnection::toElement(const ParameterMap& params) - new
    static function which turns a parameter map into Elements

    DatabaseConnection::toElementDbAccessString(const std::string& dbaccess)
    - new static function which turns an access string into Elements

src/lib/database/dbaccess_parser.*
    Replaced StringPairMap with DatabaseConnection::ParameterMap

src/lib/database/tests/database_connection_unittest.cc
    TEST(DatabaseConnection, toElementDbAccessStringValid)
    TEST(DatabaseConnection, toElementDbAccessStringInvalid)
    TEST(DatabaseConnection, toElementDbAccessStringEmpty) - new tests

src/lib/dhcpsrv/cfg_db_access.*
    CfgDbAccess::toElementDbAccessString() - moved to
    lib/database/database_connection.cc so it can be shared
2018-10-05 09:05:44 -04:00
Marcin Siodelski
7b2555aa66 [#92,!13] New libkea-database library created. 2018-09-03 03:31:33 -04:00