2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00
Commit Graph

33573 Commits

Author SHA1 Message Date
Razvan Becheriu
d77ea83d50 [#2006] fixed documentation 2022-01-21 17:15:38 +00:00
Razvan Becheriu
3f4ae19f0c [#2006] fixed doxygen and comments 2022-01-21 17:15:38 +00:00
Razvan Becheriu
8acd0040a5 [#2006] addressed comments 2022-01-21 17:15:38 +00:00
Razvan Becheriu
5de0354926 [#2006] updated doxygen and fixed comments 2022-01-21 17:15:38 +00:00
Francis Dupont
315a8b0a8b [#2006] Added a ChangeLog entry 2022-01-21 17:15:38 +00:00
Francis Dupont
98a063ffce [#2006] Updated parser, doc and one unit test 2022-01-21 17:15:38 +00:00
Francis Dupont
f7259a3b0d [#2006] Fixed http unit tests 2022-01-21 17:15:38 +00:00
Francis Dupont
e149b75981 [#2006] Fixed agent unit tests 2022-01-21 17:15:38 +00:00
Francis Dupont
b398aa4842 [#2006] Added sample cred files 2022-01-21 17:15:38 +00:00
Francis Dupont
76ebe8428b [#2006] Checkpoint: tests to update 2022-01-21 17:15:38 +00:00
Francis Dupont
22d8a0762a [#2006] Regen flex and bison 2022-01-21 17:15:38 +00:00
Francis Dupont
f244ad142b [#2006] Recovered lost password token 2022-01-21 17:15:38 +00:00
Francis Dupont
71a6b1261b [#2006] Added doc and syntax 2022-01-21 17:15:38 +00:00
Razvan Becheriu
bbc12686ad [#2208] removed references of %l from logger pattern 2022-01-21 16:23:04 +00:00
Razvan Becheriu
9013cdb2fc [#2208] updated config example 2022-01-21 16:23:04 +00:00
Razvan Becheriu
6ce628cdb6 [#2208] update documentation 2022-01-21 16:23:04 +00:00
Andrei Pavel
9d03ab0749 [#2039] make lease-upload mysql tests indepdendent of time zone 2022-01-21 16:16:31 +00:00
Andrei Pavel
09f9d1b6f7 [#2039] add ChangeLog entry 2022-01-21 16:16:31 +00:00
Andrei Pavel
f9f055ddc3 [#2039] document kea-admin lease-upload 2022-01-21 16:16:31 +00:00
Andrei Pavel
76a0d926f3 [#2039] kea-admin lease-upload mysql tests 2022-01-21 16:16:31 +00:00
Andrei Pavel
d274a702d7 [#2039] kea-admin lease-upload mysql 2022-01-21 16:16:31 +00:00
Andrei Pavel
566f7dab05 [#2199] mention issue name in release checklist 2022-01-21 16:04:23 +00:00
Andrei Pavel
d46f1364b0 [#2199] add items to the release checklist 2022-01-21 16:04:23 +00:00
Andrei Pavel
e1de26409d [#2205] are-scripts-in-sync.py
This script is used to maintain upgrade scripts in Kea and to ensure that the
incremental and the full schema scripts are in sync.
2022-01-21 14:21:23 +02:00
Francis Dupont
bc70f5750c [#2222] Removed the skipped when equal code 2022-01-20 17:12:34 +01:00
Andrei Pavel
51db8af138 [#2264] add ChangeLog entry 2022-01-20 14:09:02 +00:00
Andrei Pavel
ff01744762 [#2264] allow IPv6 addresses in HA "url" 2022-01-20 14:09:02 +00:00
Andrei Pavel
1be8843cb6 [#2264] test IPv6 URL in HA 2022-01-20 14:09:02 +00:00
Andrei Pavel
fe38a4f2dd [#2038] kea-admin lease-dump: compatibility with earlier versions of pgsql 2022-01-18 22:45:25 +02:00
Andrei Pavel
5056a60bc2 [#2038] allow passing of extra parameters to *sql_execute* in admin-utils.sh while keeping credentials 2022-01-18 22:45:25 +02:00
Andrei Pavel
a51aa4c643 [#2038] kea-admin lease-dump pgsql tests 2022-01-18 22:45:25 +02:00
Andrei Pavel
890adb0c94 [#2038] kea-admin lease-dump pgsql outputs a memfile-ready CSV 2022-01-18 22:45:25 +02:00
Thomas Markwalder
81db077acc [#95] Additional review comments
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
    Commentary clean up

src/lib/pgsql/pgsql_connection.cc
src/lib/pgsql/tests/pgsql_connection_unittest.cc
    PgSqlConnection::createSavepoint()
    PgSqlConnection::rollbackToSavepoint() - now throw
    InvalidOperation instead Unexpected
2022-01-18 12:04:10 -05:00
Thomas Markwalder
743a8f1776 [#95] Addressed initial review comments
src/hooks/dhcp/pgsql_cb/pgsql_cb_impl.cc
    PgSqlConfigBackendImpl::createUpdateServer() - reworked to use
    savepoints.

src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp4.cc
src/hooks/dhcp/pgsql_cb/pgsql_query_macros_dhcp.h
src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_dhcp4_unittest.cc
src/lib/pgsql/tests/pgsql_exchange_unittest.cc
    minor clean up

src/lib/database/db_log.*
    Added new log enums

src/lib/database/db_messages.mes
    New log messages:
    DATABASE_PGSQL_CREATE_SAVEPOINT
    DATABASE_PGSQL_ROLLBACK_SAVEPOINT

src/lib/pgsql/pgsql_connection.*
    PgSqlConnection::createSavepoint()
    PgSqlConnection::rollbackToSavepoint()
    PgSqlConnection::executeSQL() - new functions

src/lib/pgsql/tests/pgsql_connection_unittest.cc
    TEST_F(PgSqlConnectionTest, savepoints) - new test
2022-01-18 12:04:10 -05:00
Marcin Siodelski
5a14a2b9ec Remove blank line 2022-01-18 12:04:10 -05:00
Thomas Markwalder
1787051aed [#95] Fixed file name in Makefile.am
src/hooks/dhcp/pgsql_cb/Makefile.am
    fixed psql_query_macros_dhcp.h name
2022-01-18 12:04:10 -05:00
Thomas Markwalder
4d1ade7ea3 [#95] All Queries - CRUD for servers
src/hooks/dhcp/pgsql_cb/Makefile.am
    New files:
        pgsql_query_macros.h pgsql_cb_dhcp4.cc pgsql_cb_dhcp4.h

src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp4.*
    Initial implementation - includes CRUD for servers

src/hooks/dhcp/pgsql_cb/pgsql_cb_impl.*
    PgSqlConfigBackendImpl::getStatement()
    PgSqlConfigBackendImpl::selectQuery()
    PgSqlConfigBackendImpl::insertQuery()
    PgSqlConfigBackendImpl::updateDeleteQuery()
    PgSqlConfigBackendImpl::createAuditRevision()
    PgSqlConfigBackendImpl::getRecentAuditEntries()
    PgSqlConfigBackendImpl::deleteFromTable()
    PgSqlConfigBackendImpl::getLastInsertId()
    PgSqlConfigBackendImpl::createInputRelayBinding()
    PgSqlConfigBackendImpl::createOptionValueBinding()
    PgSqlConfigBackendImpl::getServer()
    PgSqlConfigBackendImpl::getServers()
    PgSqlConfigBackendImpl::createUpdateServer()
    PgSqlConfigBackendImpl::attachElementToServers()
    PgSqlConfigBackendImpl::addRelayBinding()
    PgSqlConfigBackendImpl::addOptionValueBinding()
    PgSqlConfigBackendImpl::addRequiredClassesBinding()
    PgSqlConfigBackendImpl::addOptionValueBinding()

src/hooks/dhcp/pgsql_cb/pgsql_cb_messages.mes
    New messages

src/hooks/dhcp/pgsql_cb/tests/Makefile.am
    New file:pgsql_cb_dhcp4_unittest.cc

src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_dhcp4_unittest.cc
    New file

src/lib/config_backend/base_config_backend.h
src/lib/config_backend/tests/config_backend_mgr_unittest.cc
src/lib/database/backend_selector.h
src/lib/database/backend_selector.cc
src/lib/database/tests/backend_selector_unittest.cc
    "pgsql" -> "postgresql"
    BackendSelector::Type::PGSQL -> BackendSelector::Type::POSTGRESQL

src/lib/pgsql/pgsql_connection.cc
    Added NULL_KEY
    PgSqlConnection::checkStatementError() - throws DuplicateEntry and NullKeyError

src/lib/pgsql/pgsql_connection.h
    Added NULL_KEY
    Upped PGSQL_MAX_PARAMETERS_IN_QUERY to 128;

src/lib/pgsql/pgsql_exchange.*
    PsqlBindArray::popBack() - new function
    Cleaned up AddOptional functions
    PsqlBindArray::add(const ConstElementPtr& value) - new
2022-01-18 12:04:10 -05:00
Razvan Becheriu
d21d0ed188 [#2254] fixed compilation warnings 2022-01-18 18:20:01 +02:00
Razvan Becheriu
13b8b62523 [#2254] undo rename of local variables 2022-01-17 17:26:50 +02:00
Francis Dupont
11bab24b23 [#2254] Ported simple subnet container 2022-01-17 17:15:52 +02:00
Francis Dupont
fb3f97df8f [#2233] Moved option-data-list to option-data in API files 2022-01-14 14:55:30 +01:00
Tomek Mrugalski
1486687351 [#1684] Added note about code 160 being removed 2022-01-14 10:35:07 +01:00
Tomek Mrugalski
11297cf5cb [#1684] ChangeLog updated 2022-01-14 10:34:58 +01:00
Tomek Mrugalski
060097c202 [#1684] doc updated 2022-01-14 10:34:15 +01:00
Tomek Mrugalski
ccc9a027d2 [#1684] v4-captive-portal code changed from 114 to 160 2022-01-14 10:34:15 +01:00
Andrei Pavel
a0d68148ce [#2038] mysql lease-dump tests don't change time zone 2022-01-13 14:54:02 +02:00
Andrei Pavel
790d2f8c59 [#2038] add ChangeLog entry 2022-01-13 14:54:01 +02:00
Andrei Pavel
497cee62c0 [#2038] mysql lease-dump tests are no longer reliant on timezone 2022-01-13 14:53:43 +02:00
Andrei Pavel
7cc06a8727 [#2038] mysql's colonSeparatedHex() handles odd-length hexadecimals 2022-01-13 14:53:43 +02:00
Andrei Pavel
8883a639e8 [#2038] escape commas in kea-admin lease-dump mysql 2022-01-13 14:53:43 +02:00