2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

32859 Commits

Author SHA1 Message Date
Razvan Becheriu
90c4db8fa1 [#1882] added ChangeLog for lib versions bump 2021-05-21 19:24:57 +00:00
Razvan Becheriu
cf2e7b1f89 [#1883] fixed compilation and unittests 2021-05-21 19:24:57 +00:00
Razvan Becheriu
521b71d9c8 [#1883] fixed compilation and unittests 2021-05-21 19:24:57 +00:00
Razvan Becheriu
7b49c39ad9 [#1854] fixed spacing 2021-05-21 22:13:23 +03:00
Razvan Becheriu
8aa5fe997f [#1854] reverted to pointer 2021-05-21 17:10:54 +00:00
Razvan Becheriu
b0a01fcc3b [#1854] updated doxygen 2021-05-21 17:10:54 +00:00
Razvan Becheriu
749272a6b0 [#1854] use reference instead of pointer 2021-05-21 17:10:54 +00:00
Wlodek Wencel
cf38d9bd0c [#1882] lib version bump up 2021-05-21 07:14:15 -07:00
Razvan Becheriu
4c231480aa [#1855] fixed spaces 2021-05-21 13:49:03 +00:00
Razvan Becheriu
d570fd27ae [#1855] initialize sfile_ in constructor of Parser4Context and Parser6Context 2021-05-21 13:49:03 +00:00
Andrei Pavel
9e455eadb8 [#1721] update procedure to define new redactors 2021-05-21 13:22:00 +00:00
Andrei Pavel
a7180d8877 [#1721] add comment for unit test (minor change) 2021-05-21 13:22:00 +00:00
Andrei Pavel
fc9ecbb415 [#1721] add [] in D2 JSON paths
to make the redacter look in the right place for "secret" entries
2021-05-21 13:22:00 +00:00
Andrei Pavel
70b36a14f1 [#1721] proper JSON path algorithm redaction 2021-05-21 13:22:00 +00:00
Andrei Pavel
fb84a7adb5 [#1721] redact netconf 2021-05-21 13:22:00 +00:00
Andrei Pavel
a52e0178cb [#1721] add hooks-libraries test for redaction 2021-05-21 13:22:00 +00:00
Andrei Pavel
8c7c23451b [#1721] Dhcpv[46]Srv::redactConfig 2021-05-21 13:22:00 +00:00
Andrei Pavel
72904cb238 [#1721] add ChangeLog entry 2021-05-21 13:22:00 +00:00
Andrei Pavel
7490558912 [#1721] unit tests for redaction 2021-05-21 13:22:00 +00:00
Andrei Pavel
0d7c7de819 [#1721] order-conscious filtering of redact paths 2021-05-21 13:22:00 +00:00
Francis Dupont
7153195586 [#1721] Updated doc 2021-05-21 13:22:00 +00:00
Francis Dupont
688a8522ac [#1721] Added agent hooks-libraries parameters 2021-05-21 13:22:00 +00:00
Francis Dupont
396c9ea6b9 [#1721] Added redactConfig function 2021-05-21 13:22:00 +00:00
Razvan Becheriu
406859c21f [#1852] fixed indentation 2021-05-21 12:42:32 +00:00
Razvan Becheriu
d2ce8d63a3 [#1852] default ParkingInfo constructor sets refcount_ to 0 2021-05-21 12:42:32 +00:00
Razvan Becheriu
7ae26127a6 [#1850] initialize auth_key_length_ in MySqlHostExchange constructor 2021-05-21 12:34:18 +00:00
Razvan Becheriu
4edc75087e [#1853] initialize htype_ in v4 ClientHandler::Client::Client 2021-05-21 14:01:58 +03:00
Razvan Becheriu
1c72fc1693 [#1851] fixed indentation 2021-05-20 21:06:10 +00:00
Razvan Becheriu
cce46baeff [#1851] memset MYSQL_TIME variables to 0 2021-05-20 21:06:10 +00:00
Marcin Siodelski
9ac322b6a7 [#1816] Addressed nit in a comment
As a result of review.
2021-05-20 16:22:16 +02:00
Marcin Siodelski
60dfb9c2d8 [#1816] Corrected a bug in subnet selection
The server respects the Subnet Selection option when the RAI is present,
but it lacks the Link Selection option. Previously, if RAI existed, the
Subnet Selection option was ignored even if RAI lacked the Link Selection
option.
2021-05-20 16:22:12 +02:00
Razvan Becheriu
014ed1ebe2 [#1805] removed comment 2021-05-20 17:06:18 +03:00
Razvan Becheriu
4029226686 [#1805] initialize Parameters.subnet_id member in constructor 2021-05-20 16:32:16 +03:00
Michal Nowikowski
92bb80d53f [#1877] updated base lxc container for centos-7 after #1877 changes 2021-05-20 13:35:03 +02:00
Michal Nowikowski
88a3ca103f [#1877] hammer: hardcoded sphinx version for centos 2021-05-20 13:35:03 +02:00
Michal Nowikowski
49fd1ed35d [#1877] fixed building docs by switching venv from py2 to py3 2021-05-20 13:35:03 +02:00
Thomas Markwalder
0a9b2a0dde [#1876] Added ChangeLog entry 2021-05-20 06:48:31 -04:00
Thomas Markwalder
5e8408b178 [#1876] Corrected MtHttpClientTest.workPauseResumeShutdown
src/lib/util/tests/client_mt_unittests.cc
    The test was modified to test that the majority
    of requests are fulfilled by worker threads rather
    than all of them.
2021-05-20 06:36:03 -04:00
Tomek Mrugalski
c0b44fdec8 [#1871] another contributor added to AUTHORS 2021-05-20 11:24:22 +02:00
Khem Raj
38f6f6272f include limits.h
Fixes build with gcc11
backend_selector.cc:61:35: error: 'numeric_limits' is not a member of 'std'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-20 11:21:06 +02:00
Khem Raj
d505f7a7d6 ax_cpp11.m4: Include <memory> header
This is needed for std::shared_ptr
GCC-11 throws errors if header is not included

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-20 11:21:06 +02:00
Thomas Markwalder
4d4cc92a71 [#1818] Addressed review comments
Minor cosmetics.
2021-05-19 16:15:59 -04:00
Thomas Markwalder
7e53ff36b3 [#1818] Refactored CriticalSection callbacks
util::NamedCallback replaced with CSCallbackPair
and absorbed into multi_threaded_mgr.*.  This
replaces two discrete lists of callbacks with a
single list of named, callback pairs.
2021-05-19 16:15:59 -04:00
Razvan Becheriu
40966798f7 [#1818] fixed typos 2021-05-19 16:15:59 -04:00
Razvan Becheriu
35d58fbfaf [#1818] fixed typo 2021-05-19 16:15:59 -04:00
Razvan Becheriu
9a0d9a4e18 [#1818] fixed doxygen and formatting 2021-05-19 16:15:59 -04:00
Thomas Markwalder
dce8dabc76 [#1818] Added exception handling and ChangeLog
src/hooks/dhcp/high_availability/ha_messages.mes
    HA_PAUSE_CLIENT_LISTENER_FAILED
    HA_RESUME_CLIENT_LISTENER_FAILED - new log messages

src/hooks/dhcp/high_availability/ha_service.cc
    HAService::pauseClientAndListener()
    HAService::resumeClientAndListener() - made exception-safe

src/lib/util/multi_threading_mgr.cc
    MultiThreadingMgr::stopProcessing()
    MultiThreadingMgr::startProcessing() - added exception-catch
    around callback invocations.
2021-05-19 16:15:11 -04:00
Thomas Markwalder
3df9289069 [#1818] Added Multithreading CS callbacks to HA
src/bin/dhcp4/dhcp4_srv.cc
    Dhcpv4Srv::run() - added CS prior to MultiThreadingMgr:apply()
    prior to exit

src/bin/dhcp6/dhcp6_srv.cc
    Dhcpv6Srv::run() - added CS prior to MultiThreadingMgr:apply()
    prior to exit

src/hooks/dhcp/high_availability/ha_service.*
    HAService::startClientAndListener() - added call to register
    CS callbacks

    HAService::stopClientAndListener() - added call to remove CS
    callbacks

src/hooks/dhcp/high_availability/tests/ha_mt_unittest.cc
    Revamped to test CS callbacks rather than pause/resume directly.

src/lib/util/Makefile.am
    Added named_callbacks.h/cc

src/lib/util/named_callback.cc
src/lib/util/named_callback.h
    - new files that implement an ordered list of named callbacks

src/lib/util/multi_threading_mgr.*
    MultiThreadingMgr::apply() - removes all CS callbacks when entering
    single-threaded mode

    MultiThreadingMgr::stopProcessing() - formerly stopPktProcessing, added
    call to invoke CS exit callbacks

    MultiThreadingMgr::startProcessing()  - formerly startPktProcessing,
    added call to invoke CS entry callbacks.

    MultiThreadingMgr::addCriticalSectionCallbacks() - new method for
    adding CS callbacks

    MultiThreadingMgr::removeCriticalSectionCallbacks() -  new method for
    removing CS callbacks

    MultiThreadingMgr::removeAllCriticalSectionCallbacks() - new method for
    all CS callbacks

src/lib/util/tests/Makefile.am
    Added named_callback_unittest.cc

src/lib/util/tests/named_callback_unittest.cc - tests for NamedCallback
classes

src/lib/util/tests/multi_threading_mgr_unittest.cc
    CriticalSectionCallbackTest - new test fixture
    TEST_F(CriticalSectionCallbackTest, basics) - new test
2021-05-19 16:14:16 -04:00
Francis Dupont
3e042611da [(no branch, rebasing 1815-add-new-drop-points)] [#1815] Added a ChangeLog entry 2021-05-19 17:21:46 +02:00
Francis Dupont
0a593e640f [(no branch, rebasing 1815-add-new-drop-points)] [#1815] Removed blank lines 2021-05-19 17:20:35 +02:00