2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

35722 Commits

Author SHA1 Message Date
Francis Dupont
93c47dba3d [#3168] Removed old RADIUS 2023-12-14 14:48:11 +01:00
Razvan Becheriu
303292599a [#3019] updated documentation and added ChangeLog entry 2023-12-14 10:06:33 +02:00
Razvan Becheriu
a7e983dd2a [#3019] addressed review comments 2023-12-14 08:01:42 +02:00
Razvan Becheriu
fb09b7805e [#3019] addressed review comments 2023-12-14 08:01:42 +02:00
Razvan Becheriu
d781e915cd [#3019] retry db open on startup 2023-12-14 08:01:42 +02:00
Razvan Becheriu
463ede2e5a [#3107] use const& whenever possible 2023-12-13 15:24:41 +00:00
Thomas Markwalder
49cdaab1a8 [#3107] Single-threaded mode for ping-check
doc/sphinx/arm/hooks-ping-check.rst
    Removed note about single-threaded mode

Added ChangeLog

src/lib/dhcp/iface_mgr.*
    IfaceMgr::isExternalSocket() - new function to facilitate UTs

src/lib/dhcp/tests/iface_mgr_unittest.cc
    Updated tests
2023-12-13 15:24:41 +00:00
Francis Dupont
7ae33b34f6 [#3149] Fixed TLS error messages 2023-12-13 14:35:58 +01:00
Francis Dupont
fff8d2ac77 [#3149] Removed link filter on relay/remote 2023-12-13 14:35:58 +01:00
Razvan Becheriu
ad78b208df [#3112] renamed getIOService to getInternalIOService 2023-12-11 09:52:05 +02:00
Razvan Becheriu
9ecab51d37 [#3112] renamed run_one and get_io_service to camelCase 2023-12-11 09:52:05 +02:00
Razvan Becheriu
33f06d0ffa [#3112] catch all exception when running IOService run, run_one and poll 2023-12-11 09:52:05 +02:00
Marcin Siodelski
681293f807 [#3106] Extended a comment
As a result of a review.
2023-12-06 16:25:14 +01:00
Marcin Siodelski
59f5b6557d [#3106] Fix network state for ha-sync-complete-notify 2023-12-06 11:35:38 +01:00
Wlodek Wencel
37de740e74 [#3128] fixed style 2023-12-05 09:15:47 +00:00
Wlodek Wencel
ea7c83576f [#3128] updated hammer docs 2023-12-05 09:15:47 +00:00
Wlodek Wencel
b2e16441bd [#3128] release checklist updated 2023-12-05 09:15:47 +00:00
Wlodek Wencel
ce359006a7 [#3128] freeradius removed from hammer.py 2023-12-05 09:15:47 +00:00
Thomas Markwalder
41f0410933 [#3110] Post rebase corrections 2023-12-01 11:48:00 -05:00
Thomas Markwalder
9d205f0e2b [#3110] Fixed sloppy errors 2023-12-01 10:14:02 -05:00
Thomas Markwalder
976b23fc10 [#3110] Addressed review comments
Reworked asyncSendLeaseUpdate() and made minor corrections
2023-12-01 10:14:02 -05:00
Thomas Markwalder
203c9d9e0c [#3110] Clean up and more tests
Added a ChangeLog entry

src/hooks/dhcp/high_availability/ha_impl.cc
    HAImpl::lease4ServerDecline() - always return NEXT_STEP_CONTINUE,
    and set peers_to_update argument.

src/hooks/dhcp/high_availability/ha_service.*
    Renamed HAService::asyncSendLeaseUpdate() to asyncSendSingleLeaseUpdate()

src/hooks/dhcp/high_availability/tests/ha_impl_unittest.cc
    TEST_F(HAImplTest, lease4ServerDecline) - new test

src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc
    TEST_F(HAServiceTest, successfulSendSingleLeaseUpdateWithoutParking)
    TEST_F(HAServiceTest, successfulSendSingleLeaseUpdateWithParking) - new tests

doc/sphinx/arm/hooks-ping-check.rst
    Removed note about HA updates

doc/sphinx/arm/hooks.rst
    Updated ping-check description in table of hooks

doc/sphinx/arm/logging.rst
    Added ping-check-hooks logger to table of loggers
2023-12-01 10:14:02 -05:00
Thomas Markwalder
f08a02278d [#3110] HA decline updates working
Updates are working, need clean up and UTs in HA.

src/bin/dhcp4/dhcp4_hooks.dox
    Updated hooks dev guide

src/bin/dhcp4/dhcp4_srv.cc
    Added callout lease4_server_decline

    Dhcpv4Srv::serverDecline() - added lease4_server_decline hook point

src/bin/dhcp4/tests/hooks_unittest.cc
    TEST_F(HooksDhcpv4SrvTest, lease4OfferDiscoverDecline) - new test

src/hooks/dhcp/high_availability/ha_callouts.cc
    lease4_server_decline()  - new callout function

src/hooks/dhcp/high_availability/ha_impl.*
    HAImpl::lease4ServerDecline() - new callout handler

src/hooks/dhcp/high_availability/ha_messages.mes
    HA_LEASE4_SERVER_DECLINE_FAILED - new log

src/hooks/dhcp/high_availability/ha_service.*
    HAService::asyncSendLeaseUpdate() - new function for a single lease update
    HAService::asyncSendLeaseUpdates() - check parking lot null
2023-12-01 10:08:24 -05:00
Marcin Siodelski
0c8e5fd690 [#3106] HA commands syntax fix 2023-11-30 11:11:32 +01:00
Marcin Siodelski
feb7074b2e [#3106] Correct some API files 2023-11-29 20:58:56 +01:00
Marcin Siodelski
8e1feb00d5 [#3106] Use MultiThreadingLock in NetworkState 2023-11-29 20:58:56 +01:00
Marcin Siodelski
cf99fa535a [#3106] Fixed dhcp enable unit tests 2023-11-29 20:58:56 +01:00
Marcin Siodelski
5a6560574b [#3106] Convenience functions in HAService 2023-11-29 20:58:56 +01:00
Marcin Siodelski
d9514f0cfa [#3106] Corrected two messages' descriptions 2023-11-29 20:58:56 +01:00
Marcin Siodelski
7c07cd96e6 [#3106] Use getThisServerName() in a few places 2023-11-29 20:58:56 +01:00
Marcin Siodelski
66a4c4f973 [#3106] Nits in ha_impl fixed 2023-11-29 20:58:56 +01:00
Marcin Siodelski
1772fe63cf [#3106] Reworked network state functions
Removed reset() function and replaced it with resetForDbConnection().
Also, removed the enableAll() function and used other functions instead.
2023-11-29 20:58:56 +01:00
Marcin Siodelski
e9ea1a1b6a [#3106] Network state constants further apart 2023-11-29 20:58:56 +01:00
Marcin Siodelski
24f68c0854 [#3106] Fixed some doxygen warnings 2023-11-29 20:58:55 +01:00
Marcin Siodelski
a0f97d2bf9 [#3106] Extended getConfig description 2023-11-29 20:58:55 +01:00
Marcin Siodelski
050ec2fd1d [#3106] Fixed logging placeholder in HA 2023-11-29 20:58:55 +01:00
Marcin Siodelski
2baec4f3e1 [#3106] Fixes in the HA config parser
- renamed two functions
- removed redundant check
- better exception text
2023-11-29 20:58:55 +01:00
Marcin Siodelski
1105e5c665 [#3106] Typos "a HA" to "an HA" 2023-11-29 20:58:55 +01:00
Marcin Siodelski
5114d47efa [#3106] Removed <> from HA commands
Per review comments from Razvan.
2023-11-29 20:58:55 +01:00
Marcin Siodelski
e23842ea5a [#3106] Added test comments 2023-11-29 20:58:55 +01:00
Marcin Siodelski
5ea61dcb92 [#3106] Update HA commands documentation 2023-11-29 20:58:55 +01:00
Marcin Siodelski
c981b5b14d [#3106] ha-maintenance-notify includes server name 2023-11-29 20:58:55 +01:00
Marcin Siodelski
ccd4873dcf [#3106] Include origin in ha-sync-complete-notify 2023-11-29 20:58:55 +01:00
Marcin Siodelski
04025702b4 [#3106] Return default relationship 2023-11-29 20:58:55 +01:00
Marcin Siodelski
925de74bda [#3106] Added local server name to log messages 2023-11-29 20:58:55 +01:00
Marcin Siodelski
c0f3a7f353 [#3106] Added server-name to HA commands 2023-11-29 20:58:55 +01:00
Marcin Siodelski
64350a679a [#3106] Renamed startService to startServices 2023-11-29 20:58:55 +01:00
Marcin Siodelski
a29e3264a3 [#3106] Network state change per HA service 2023-11-29 20:58:55 +01:00
Marcin Siodelski
fa0e92fd12 [#3106] Validate configs between relationships 2023-11-29 20:58:55 +01:00
Marcin Siodelski
ccc27ddb31 [#3106] Config to relationship mapper 2023-11-29 20:58:55 +01:00