]>
git.ipfire.org Git - thirdparty/kea.git/log
Thomas Markwalder [Mon, 3 Oct 2022 19:33:59 +0000 (15:33 -0400)]
[#2581] Addressed review comments
Minor spacing stuff
Thomas Markwalder [Fri, 30 Sep 2022 15:00:36 +0000 (11:00 -0400)]
[#2581] Fix Makefile.am typo
modified: src/lib/asiolink/Makefile.am
Thomas Markwalder [Fri, 30 Sep 2022 10:29:10 +0000 (06:29 -0400)]
[#2581] HttpThreadPool to IoServiceThreadPool
Replace http::HttpThreadPool with asiolink::IoServiceThreadPool
deleted: src/lib/http/http_thread_pool.cc
deleted: src/lib/http/http_thread_pool.h
deleted: src/lib/http/tests/http_thread_pool_unittests.cc
modified: src/hooks/dhcp/high_availability/tests/ha_mt_unittest.cc
modified: src/lib/config/cmd_http_listener.cc
modified: src/lib/config/cmd_http_listener.h
modified: src/lib/http/Makefile.am
modified: src/lib/http/client.cc
modified: src/lib/http/client.h
modified: src/lib/http/tests/Makefile.am
Thomas Markwalder [Thu, 29 Sep 2022 14:44:08 +0000 (10:44 -0400)]
[#2581] Create asiolink::IoServiceThreadPool
Create IoServiceThreadPool from HttpThreadPool
src/lib/asiolink/Makefile.am
- added new files
src/lib/asiolink/io_service_thread_pool.cc
src/lib/asiolink/io_service_thread_pool.h
- new files
src/lib/asiolink/tests/Makefile.am
- added new file
src/lib/asiolink/tests/io_service_thread_pool.h
- new file
Marcin Godzina [Mon, 26 Sep 2022 14:00:37 +0000 (14:00 +0000)]
[#2578] update release checklist template
Marcin Godzina [Tue, 27 Sep 2022 16:37:54 +0000 (16:37 +0000)]
[#2580] Bump version in configure.ac to 2.3.2-git
Marcin Godzina [Mon, 26 Sep 2022 14:29:08 +0000 (14:29 +0000)]
[#2577] updated platforms
Marcin Godzina [Mon, 26 Sep 2022 13:54:29 +0000 (15:54 +0200)]
[#2577] release changes
Andrei Pavel [Mon, 5 Sep 2022 20:01:21 +0000 (23:01 +0300)]
[#2559] Gitlab CI: leave danger step to the default Kea CI image
Andrei Pavel [Mon, 26 Sep 2022 08:26:28 +0000 (11:26 +0300)]
[#2576] Update changelog
Marcin Godzina [Mon, 26 Sep 2022 08:12:09 +0000 (08:12 +0000)]
[#2576] Update changelog
Marcin Godzina [Mon, 26 Sep 2022 08:07:38 +0000 (10:07 +0200)]
[#2576] lib version bump up for 2.3.1
Francis Dupont [Fri, 23 Sep 2022 12:43:43 +0000 (14:43 +0200)]
[#2532] Added a ChangeLog entry
Francis Dupont [Wed, 31 Aug 2022 13:36:21 +0000 (15:36 +0200)]
[#2532] Fixed 2038 vs postgreSQL issue
Francis Dupont [Fri, 23 Sep 2022 12:53:26 +0000 (14:53 +0200)]
[#1654] Fixed rebase error
Francis Dupont [Thu, 22 Sep 2022 16:49:05 +0000 (18:49 +0200)]
[#1654] Added a ChangeLog entry
Francis Dupont [Thu, 22 Sep 2022 16:42:56 +0000 (18:42 +0200)]
[#1654] Addressed comments, rebasing
Francis Dupont [Wed, 7 Sep 2022 15:06:25 +0000 (17:06 +0200)]
[#1654] Regen api-files.txt
Francis Dupont [Wed, 7 Sep 2022 15:01:54 +0000 (17:01 +0200)]
[#1654] Checkpoint: added doc
Francis Dupont [Wed, 7 Sep 2022 13:58:54 +0000 (15:58 +0200)]
[#1654] Checkpoint: did hook, doc to do
Francis Dupont [Wed, 7 Sep 2022 11:39:19 +0000 (13:39 +0200)]
[#1654] Checkpoint: did UT, doc and hook to do
Francis Dupont [Mon, 5 Sep 2022 15:43:04 +0000 (17:43 +0200)]
[#1654] Checkpoint: UT and hook to do
Francis Dupont [Wed, 21 Sep 2022 14:08:21 +0000 (16:08 +0200)]
[#2557] Moved the star after the bracket in ChangeLog
Francis Dupont [Wed, 21 Sep 2022 13:23:24 +0000 (15:23 +0200)]
[#2557] Addressed comment
Francis Dupont [Tue, 20 Sep 2022 08:37:41 +0000 (10:37 +0200)]
[#2557] Added a ChangeLog entry
Francis Dupont [Mon, 19 Sep 2022 17:04:17 +0000 (19:04 +0200)]
[#2557] Fixed too long identifier in Host
Andrei Pavel [Fri, 23 Sep 2022 11:42:03 +0000 (14:42 +0300)]
[#2569] add JSON validation to code blocks in ARM
Peter Davies [Fri, 23 Sep 2022 10:43:16 +0000 (10:43 +0000)]
[#2569] fix misplaced colons in ARM JSON examples
Andrei Pavel [Fri, 23 Sep 2022 10:51:46 +0000 (13:51 +0300)]
[#2558] add ChangeLog entry
Andrei Pavel [Mon, 5 Sep 2022 19:56:18 +0000 (22:56 +0300)]
[#2558] improved searching of sysrepoctl in reinstall.sh
Andrei Pavel [Mon, 5 Sep 2022 19:52:48 +0000 (22:52 +0300)]
[#2558] improved searching of yanglint and its libraries
Andrei Pavel [Mon, 5 Sep 2022 19:50:52 +0000 (22:50 +0300)]
[#2558] expose LIBYANG_PREFIX and SYSREPO_PREFIX
Francis Dupont [Thu, 22 Sep 2022 21:26:59 +0000 (23:26 +0200)]
[#2571] Removed spurious blank line
Francis Dupont [Thu, 22 Sep 2022 21:23:31 +0000 (23:23 +0200)]
[#2571] Fixed override and indent
Thomas Markwalder [Thu, 22 Sep 2022 15:47:44 +0000 (11:47 -0400)]
[#2571] Fixed test lease manager
dhcpsrv/tests/lease_mgr_unittest.cc
Added stubbed query functions to ConcreteLeaseMgr
Thomas Markwalder [Thu, 22 Sep 2022 15:38:19 +0000 (11:38 -0400)]
[#2571] Added BLQ query stubs to lease mgrs
src/lib/dhcpsrv/lease_mgr.*
Removed BQL query implemenetations
src/lib/dhcpsrv/memfile_lease_mgr.*
src/lib/dhcpsrv/mysql_lease_mgr.*
src/lib/dhcpsrv/pgsql_lease_mgr.*
Added BQL query implemenetations
Thomas Markwalder [Thu, 22 Sep 2022 10:45:21 +0000 (06:45 -0400)]
[#2571] Cosmetics nits
Changes to be committed:
modified: lease_mgr.h
Thomas Markwalder [Wed, 21 Sep 2022 19:01:41 +0000 (15:01 -0400)]
[#2571] Fixed doxygen errors
Changes to be committed:
modified: src/lib/dhcpsrv/lease_mgr.h
Thomas Markwalder [Wed, 21 Sep 2022 18:30:07 +0000 (14:30 -0400)]
[#2571] Addressed review comments
Thomas Markwalder [Tue, 20 Sep 2022 20:12:46 +0000 (16:12 -0400)]
[#2571] Define new BLQ functions in LeaseMgr
src/lib/dhcpsrv/lease_mgr.*
Added new Bulk LeaseQuery functions
Marcin Siodelski [Thu, 22 Sep 2022 12:24:43 +0000 (14:24 +0200)]
[#2408] Avoid creating JSON from args
Marcin Siodelski [Thu, 22 Sep 2022 09:39:18 +0000 (11:39 +0200)]
[#2408] Improved logging in lease_cmds
Marcin Siodelski [Thu, 22 Sep 2022 08:46:35 +0000 (10:46 +0200)]
[#2408] Addressed review comments in the HA
Marcin Siodelski [Thu, 22 Sep 2022 08:34:31 +0000 (10:34 +0200)]
[#2408] Improved handling rejected leases
The new communication state functions are now MT safe. The rejected leases
have also expiration time attached.
Marcin Siodelski [Wed, 21 Sep 2022 05:41:47 +0000 (07:41 +0200)]
[#2408] Improved some HA log messages format
Marcin Siodelski [Mon, 19 Sep 2022 19:29:36 +0000 (21:29 +0200)]
[#2408] Error message when HA service terminates
Marcin Siodelski [Mon, 19 Sep 2022 17:33:00 +0000 (19:33 +0200)]
[#2408] Added ChangeLog for #2408
Marcin Siodelski [Mon, 19 Sep 2022 17:17:43 +0000 (19:17 +0200)]
[#2408] HA code cleanup
Marcin Siodelski [Mon, 19 Sep 2022 08:57:31 +0000 (10:57 +0200)]
[#2408] Documented max-rejected-lease-updates
Marcin Siodelski [Mon, 19 Sep 2022 06:53:15 +0000 (08:53 +0200)]
[#2408] Handle lease6-bulk-apply empty case
Marcin Siodelski [Sun, 18 Sep 2022 19:15:14 +0000 (21:15 +0200)]
[#2408] Renamed HA parameter
The max-rejected-clients has been renamed to max-rejected-lease-updates.
Marcin Siodelski [Sun, 18 Sep 2022 18:22:39 +0000 (20:22 +0200)]
[#2408] HA interprets conflict status code
Marcin Siodelski [Fri, 16 Sep 2022 10:28:26 +0000 (12:28 +0200)]
[#2408] Rename new communication state functions
Marcin Siodelski [Fri, 16 Sep 2022 08:46:31 +0000 (10:46 +0200)]
[#2408] HA service tracks rejected leases
Marcin Siodelski [Fri, 16 Sep 2022 05:28:01 +0000 (07:28 +0200)]
[#2408] Communication state tracks rejected leases
Marcin Siodelski [Mon, 12 Sep 2022 11:05:36 +0000 (13:05 +0200)]
[#2408] Documented the conflict status code usage
Marcin Siodelski [Mon, 12 Sep 2022 09:55:28 +0000 (11:55 +0200)]
[#2408] Lease cmds can return CONFLICT status code
The new CONTROL_RESULT_CONFLICT returned by the lease_cmds hook library
indicates that the command was processed ok, but the library was unable to
apply configuration changes because of the conflicting state of the server.
Francis Dupont [Thu, 22 Sep 2022 11:41:10 +0000 (13:41 +0200)]
[#2526] Changed to kea-lfc
Francis Dupont [Thu, 22 Sep 2022 08:07:29 +0000 (10:07 +0200)]
[#2526] Added a ChangeLog entry
Francis Dupont [Mon, 5 Sep 2022 21:56:52 +0000 (23:56 +0200)]
[#2526] Moved lfc first
Francis Dupont [Mon, 5 Sep 2022 12:44:56 +0000 (14:44 +0200)]
[#2526] Swapped lfc and admin
Marcin Siodelski [Wed, 21 Sep 2022 11:50:21 +0000 (13:50 +0200)]
[#2545] Added ChangeLog for #2545
Marcin Siodelski [Wed, 21 Sep 2022 11:48:34 +0000 (13:48 +0200)]
[#2545] Fix documentation for long options
Thomas Markwalder [Mon, 19 Sep 2022 13:13:09 +0000 (09:13 -0400)]
[#2507] Replace CriticalSection with mutex lock in stat_cmds
src/hooks/dhcp/stat_cmds/stat_cmds.cc
StatCmds::statLease4GetHandler(CalloutHandle& handle)
StatCmds::statLease6GetHandler(CalloutHandle& handle)
- removed MultiThreadingCriticalSection instance
src/lib/dhcpsrv/memfile_lease_mgr.cc
Memfile_LeaseMgr::startLeaseStatsQuery4()
Memfile_LeaseMgr::startSubnetLeaseStatsQuery4)
Memfile_LeaseMgr::startLeaseStatsQuery6()
Memfile_LeaseMgr::startSubnetLeaseStatsQuery6()
Memfile_LeaseMgr::startSubnetRangeLeaseStatsQuery6()
- lock mutex when runninng in MT
Andrei Pavel [Wed, 14 Sep 2022 14:06:42 +0000 (17:06 +0300)]
[#2519] add ChangeLog entry
Andrei Pavel [Thu, 1 Sep 2022 12:11:06 +0000 (15:11 +0300)]
[#2519] remove CallbackWrapper
Reportedly, this improves compatibility between gcc 8 and boost 1.75.
Taking the removed comment into account, this seems to come at the
cost of reduced compatibility with SunStudio. Seems like a trade-off
worth making on top of the fact that it simplifies the code.
Andrei Pavel [Wed, 7 Sep 2022 16:18:34 +0000 (19:18 +0300)]
[#1955] add ChangeLog entry
Francis Dupont [Thu, 1 Sep 2022 14:31:32 +0000 (16:31 +0200)]
[#1955] Improved loggerInit code
Andrei Pavel [Wed, 24 Aug 2022 19:09:28 +0000 (22:09 +0300)]
[#1955] add unit tests for logging errors
Andrei Pavel [Wed, 24 Aug 2022 13:43:11 +0000 (16:43 +0300)]
[#1955] don't revert logging on initial config fail
Andrei Pavel [Mon, 29 Aug 2022 10:13:05 +0000 (13:13 +0300)]
[#2550] remove unused argument in classifyByVendor
Wlodek Wencel [Wed, 31 Aug 2022 15:04:54 +0000 (17:04 +0200)]
[#2556] update version in configure.ac
Wlodek Wencel [Mon, 29 Aug 2022 13:59:40 +0000 (15:59 +0200)]
[#2551] removed admin-utils.sh from EXTRA_DIST
Wlodek Wencel [Mon, 29 Aug 2022 13:49:09 +0000 (06:49 -0700)]
[#2551] release changes
Razvan Becheriu [Fri, 26 Aug 2022 16:40:56 +0000 (19:40 +0300)]
[#2546] bump lib versions for 2.3.0
Razvan Becheriu [Mon, 29 Aug 2022 11:29:42 +0000 (14:29 +0300)]
[#2441] added warning message to instruct Kea MT rewuired HA+MT
Razvan Becheriu [Mon, 29 Aug 2022 07:23:38 +0000 (10:23 +0300)]
[#2441] fixed compilation warnings
Razvan Becheriu [Sat, 27 Aug 2022 21:16:24 +0000 (00:16 +0300)]
[#2441] fixed comments in examples
Razvan Becheriu [Sat, 20 Aug 2022 16:36:07 +0000 (19:36 +0300)]
[#2441] added HA+MT and HA+MT+TLS examples
Andrei Pavel [Fri, 19 Aug 2022 11:09:00 +0000 (14:09 +0300)]
[#2537] add ChangeLog entry
Andrei Pavel [Fri, 19 Aug 2022 10:56:33 +0000 (13:56 +0300)]
[#2537] document logging inheritance more clearly
Andrei Pavel [Fri, 26 Aug 2022 14:36:48 +0000 (17:36 +0300)]
[#2537] put root logger specification at the front
When multiple loggers are configured, it is possible that a child logger is
processed before the root logger. The order that is in `loggers` configuration
seems to be respected. This could have been a feature in itself, but to keep
it simple and according to the documentation, the root logger was placed in
front of the list on `applyLoggingCfg()`. The root logger that is currently
configured is now always the one that is inherited.
Deleting the root logger is another scenario that could have been problematic.
However, all the specifications are processed through a locally declared
`LoggerManager`. When it goes out of scope it destructs, causing `delete impl_`
which resets `root_spec_`. So when reconfiguration comes, it's like the
previous root logger was never there. We benefit from this default behavior,
and there is no other redundant resetting of root_spec_.
Andrei Pavel [Fri, 19 Aug 2022 10:06:55 +0000 (13:06 +0300)]
[#2537] add inheritance of output_options
Unlike severity and debug level that have inheritance support embedded
in log4cplus, output_options do not. This commit adds support for this
inheritance by storing a copy of the root logger's specification and
using it on child loggers if they don't have a specification themselves.
Andrei Pavel [Thu, 18 Aug 2022 16:26:25 +0000 (19:26 +0300)]
[#2537] allow logger severity inheritance
Inheritance of severity + debug level is already supported by log4cplus.
This is already tested in:
* LoggerTest.SeverityInheritance
* LoggerTest.EffectiveSeverityInheritance
* LoggerTest.DebugLevelInheritance
To benefit from inheritance, the user first has to be able to omit the
severity. As a result, a missing severity no longer throws an
exception. The exception did not even do a good job of preventing wrong
severity values. Try configuring "severity": "FOO" to see that it does
not get caught on this point.
Andrei Pavel [Fri, 19 Aug 2022 10:14:34 +0000 (13:14 +0300)]
[#2537] add space in error message
There was a missing space after colon in the following error message:
DHCP4_CONFIG_LOAD_FAIL configuration error using file: <file>, reason:
Error while processing command 'config-set':loggers entry does not
have a mandatory 'severity' element
Razvan Becheriu [Fri, 26 Aug 2022 15:07:16 +0000 (18:07 +0300)]
[#2527] added ChangeLog entry
Razvan Becheriu [Mon, 22 Aug 2022 15:13:55 +0000 (18:13 +0300)]
[#2527] added options 151-157 from RFC6926
Thomas Markwalder [Fri, 26 Aug 2022 13:32:42 +0000 (09:32 -0400)]
[#2450] Review changes
Minor editing changes
Wlodek Wencel [Fri, 26 Aug 2022 12:40:31 +0000 (14:40 +0200)]
[#2450] updated rbac hook documentation
Andrei Pavel [Fri, 26 Aug 2022 12:22:03 +0000 (15:22 +0300)]
[#2510] hammer.py: fix the name of debian freeradius-client packages
Razvan Becheriu [Thu, 25 Aug 2022 10:57:45 +0000 (13:57 +0300)]
[#2528] updated bump-lib-versions script for latest versioning model
Andrei Pavel [Tue, 26 Jul 2022 19:01:31 +0000 (22:01 +0300)]
[#2510] hammer.py: export the name of FreeRADIUS client packages used while building packages
Tomek Mrugalski [Fri, 26 Aug 2022 08:42:47 +0000 (10:42 +0200)]
[#2534] Changelog wrapped
Tomek Mrugalski [Fri, 26 Aug 2022 08:12:53 +0000 (10:12 +0200)]
[#2534] ChangeLog added
Tomek Mrugalski [Fri, 26 Aug 2022 07:59:08 +0000 (09:59 +0200)]
[#2534] Added log about detected python ver
Tomek Mrugalski [Fri, 26 Aug 2022 07:48:13 +0000 (09:48 +0200)]
[#2534] Dynamic python ver detection
patch by Andrei Pavel
Tomek Mrugalski [Thu, 18 Aug 2022 12:22:57 +0000 (14:22 +0200)]
[#2534] FreeBSD 13/sphinx/python version fix
Francis Dupont [Fri, 5 Aug 2022 14:02:42 +0000 (16:02 +0200)]
[#2471] Updated doc
Razvan Becheriu [Fri, 19 Aug 2022 15:02:00 +0000 (18:02 +0300)]
[#2541] reverted path in upgrade scripts and added admin-utils.sh.in
Andrei Pavel [Fri, 29 Jul 2022 06:51:10 +0000 (09:51 +0300)]
[#2516] add support for CentOS Stream 9 in hammer.py