]>
git.ipfire.org Git - thirdparty/kea.git/log
Thomas Markwalder [Wed, 22 Sep 2021 17:14:52 +0000 (13:14 -0400)]
[#2085] Fixed typo
modified: doc/sphinx/arm/hooks-ha.rst
Thomas Markwalder [Wed, 22 Sep 2021 16:11:27 +0000 (12:11 -0400)]
[#2085] Added discussion to ARM per review
doc/sphinx/arm/hooks-ha.rst - added a note to passive backup
section discussing queue lengths and warning.
Thomas Markwalder [Wed, 22 Sep 2021 13:43:57 +0000 (09:43 -0400)]
[#2085] Address minor typos per review comments
src/lib/http/client.cc
src/lib/http/http_messages.mes
Thomas Markwalder [Fri, 17 Sep 2021 17:47:13 +0000 (13:47 -0400)]
[#2085] Emit a warning when HTTP queue grows
src/lib/http/client.cc
ConnectionPool::Destination::pushRequest() - emits
a warning if the queue size has exceeded its threshold
src/lib/http/http_messages.mes
HTTP_CLIENT_QUEUE_SIZE_GROWING - new log message
Marcin Siodelski [Wed, 22 Sep 2021 05:59:51 +0000 (07:59 +0200)]
[#2028] Updated the ARM
Added a note about specifying option data and option definitions when
using the configuration backend. This was requested in the review.
Marcin Siodelski [Thu, 16 Sep 2021 11:58:21 +0000 (13:58 +0200)]
[#2028] Correct test config backend logic
Marcin Siodelski [Wed, 15 Sep 2021 12:36:15 +0000 (14:36 +0200)]
[#2028] Parsers are replaceable
Added the virtual methods allowing for customizing parser chain. This
change is required to adopt the parsers to work with the config
backend.
Marcin Siodelski [Wed, 22 Sep 2021 06:53:59 +0000 (08:53 +0200)]
[#1959] Removed unused variable
Marcin Siodelski [Mon, 20 Sep 2021 20:09:49 +0000 (22:09 +0200)]
[#1959] ARM parahraph about unsent-update-count
Marcin Siodelski [Mon, 20 Sep 2021 19:35:12 +0000 (21:35 +0200)]
[#1959] Prettier ha service unit test
Per review comments.
Marcin Siodelski [Mon, 20 Sep 2021 19:20:21 +0000 (21:20 +0200)]
[#1959] Corrected typo in communication_state.h
Marcin Siodelski [Mon, 20 Sep 2021 19:17:48 +0000 (21:17 +0200)]
[#1959] Added missing EXPECT_NO_THROW
Marcin Siodelski [Mon, 20 Sep 2021 18:37:24 +0000 (20:37 +0200)]
[#1959] Minor changes in ha_service
Added a comment to unsent-update-count and added a line break as a result
of the review.
Marcin Siodelski [Fri, 30 Jul 2021 20:21:05 +0000 (22:21 +0200)]
[#1959] Updated ha-heartbeat documentation
Marcin Siodelski [Thu, 29 Jul 2021 20:03:40 +0000 (22:03 +0200)]
[#1959] Bump unsent updates count in partner-down
Marcin Siodelski [Wed, 28 Jul 2021 14:44:02 +0000 (16:44 +0200)]
[#1959] Removed duplicate include
Marcin Siodelski [Wed, 28 Jul 2021 14:31:15 +0000 (16:31 +0200)]
[#1959] Added ChangeLog for #1959
Marcin Siodelski [Wed, 28 Jul 2021 12:40:24 +0000 (14:40 +0200)]
[#1959] HA state model update
A server in the partner-down state may transition to the waiting state and
synchronize its database when partner informs that it has allocated some
leases for which it did not send lease updates. Otherwise, the server
transitions to the normal state.
Marcin Siodelski [Tue, 27 Jul 2021 19:24:51 +0000 (21:24 +0200)]
[#1959] unsent-update-count in heartbeat response
Marcin Siodelski [Tue, 27 Jul 2021 17:57:13 +0000 (19:57 +0200)]
[#1959] Counter for unsent lease updates
Marcin Siodelski [Tue, 27 Jul 2021 15:43:16 +0000 (17:43 +0200)]
[#1959] Changes in heartbeat and lease updates
Previously, we'd assume that the communication with the partner is ok
when lease update was sent successfuly. In that case, we'd not send a
heartbeat. Under a heavy load, we could delay heartbeats for a long time.
Sending heartbeats is actually important because the heartbeat response
conveys information about the partner state. We want to have up-to-date
information about partner's state.
Marcin Siodelski [Wed, 30 Jun 2021 19:54:47 +0000 (21:54 +0200)]
[#1959] Fix HA state machine
The server in the partner-down state seeing its parter in the hot-standby
state would remain in the current state until the partner transitions to
the waiting state. Previously, the server in the partner-down state could
transition to the hot-standby state causing the partner to not synchronize
its database.
Marcin Siodelski [Tue, 21 Sep 2021 12:22:00 +0000 (14:22 +0200)]
[#1403] Added a commment in the ha_service
Per review comments.
Marcin Siodelski [Tue, 21 Sep 2021 12:14:04 +0000 (14:14 +0200)]
[#1403] Fixed a typo in HA messages
Marcin Siodelski [Tue, 21 Sep 2021 11:59:57 +0000 (13:59 +0200)]
[#1403] Editorial fix in a command description
Marcin Siodelski [Tue, 21 Sep 2021 11:58:29 +0000 (13:58 +0200)]
[#1403] Corrected a unit test
Removed part of a unit test that was accidentally left and is not required.
Marcin Siodelski [Tue, 21 Sep 2021 11:37:57 +0000 (13:37 +0200)]
[#1403] Updated HA unit tests per review
The tests now verify the order of the commands sent during synchronization.
Marcin Siodelski [Tue, 21 Sep 2021 10:45:01 +0000 (12:45 +0200)]
[#1403] Word correction in the ARM
As a result of the review.
Marcin Siodelski [Tue, 21 Sep 2021 09:50:44 +0000 (11:50 +0200)]
[#1403] Regenerated log messages
Marcin Siodelski [Tue, 3 Aug 2021 11:51:14 +0000 (13:51 +0200)]
[#1403] Documentation for ha-sync-complete-notify
Marcin Siodelski [Tue, 3 Aug 2021 10:17:39 +0000 (12:17 +0200)]
[#1403] Servers exchange ha-sync-complete-notify
A server finishing the lease database synchronization sends the
ha-sync-complete-notify command to the partner. If the partner is in the
partner-down state it stops allocating leases and sends a heartbeat to
see if the partner is available. If the partner is unavailable, it resumes
DHCP service. Otherwise, it transitions to the normal operation state.
Marcin Siodelski [Thu, 29 Jul 2021 18:13:12 +0000 (20:13 +0200)]
[#1403] ha-sync-complete-notify command created
Implemented creator for the ha-sync-complete-notify command.
Marcin Siodelski [Mon, 20 Sep 2021 14:04:01 +0000 (16:04 +0200)]
[#2094] Minor ChangeLog update per review
Marcin Siodelski [Mon, 20 Sep 2021 09:51:34 +0000 (11:51 +0200)]
[#2094] Updated MySQL migration 12
The dhcp_client_class values are set to NULL when the options do not
belong to a class.
Marcin Siodelski [Mon, 20 Sep 2021 09:25:31 +0000 (11:25 +0200)]
[#2094] Removed client class insert
Removed inserting dhcp client class from host manager. Previously, the
host manager would set dhcp_client_class column to an empty string causing
a referential integrity error with client classes. The column is now set
to null by default.
Thomas Markwalder [Fri, 17 Sep 2021 19:20:03 +0000 (15:20 -0400)]
[#2094] Updated schema version constant
modified: ../../mysql/mysql_constants.h
Marcin Siodelski [Fri, 17 Sep 2021 13:05:12 +0000 (15:05 +0200)]
[#2094] Added ChangeLog entry for #2094
Marcin Siodelski [Fri, 17 Sep 2021 13:02:32 +0000 (15:02 +0200)]
[#2094] Created MySQL schema version 12
The updated schema causes auto-deletion of options associated with
deleted client classes.
Andrei Pavel [Thu, 16 Sep 2021 15:37:05 +0000 (18:37 +0300)]
[#2067] ARM: remove dot before commands in API Ref
Andrei Pavel [Thu, 16 Sep 2021 15:36:54 +0000 (18:36 +0300)]
[#2067] ARM: Update invalid Boost URL
Tomek Mrugalski [Mon, 20 Sep 2021 17:50:27 +0000 (19:50 +0200)]
[#2034] ChangeLog added
Andrei Pavel [Sat, 11 Sep 2021 16:51:55 +0000 (19:51 +0300)]
[#2081] remove docbook and docgen mentions (extra)
Andrei Pavel [Sat, 11 Sep 2021 16:27:06 +0000 (19:27 +0300)]
[#2081] install the default openssl-devel on CentOS 7
Andrei Pavel [Fri, 10 Sep 2021 10:41:44 +0000 (13:41 +0300)]
[#2081] remove attempt to link with OpenSSL 1.1
Thomas Markwalder [Fri, 17 Sep 2021 15:09:21 +0000 (11:09 -0400)]
[#1307] Fixed ARM spelling errors
modified: sphinx/arm/hooks-ha.rst
Thomas Markwalder [Thu, 16 Sep 2021 19:02:35 +0000 (15:02 -0400)]
[#1307] Added warning to ARM
modified: doc/sphinx/arm/hooks-ha.rst
Thomas Markwalder [Wed, 15 Sep 2021 16:02:32 +0000 (12:02 -0400)]
[#1307] Addressed review comments
Minor clean ups in:
ChangeLog
doc/examples/kea4/all-keys.json
doc/examples/kea6/all-keys.json
doc/sphinx/arm/hooks-ha.rst
src/bin/dhcp4/tests/config_parser_unittest.cc
Thomas Markwalder [Wed, 8 Sep 2021 11:19:58 +0000 (07:19 -0400)]
[#1307] Fix double include in dhcp6/tests
src/bin/dhcp6/tests/get_config_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc.skel
- removed double include of user_context_utils.h
Thomas Markwalder [Tue, 7 Sep 2021 19:31:46 +0000 (15:31 -0400)]
[#1307] Added dhcp6 parked-packet-limit unit test
src/bin/dhcp4/tests/hooks_unittest.cc
fixed a typo
src/bin/dhcp6/tests/hooks_unittest.cc
TEST_F(HooksDhcpv6SrvTest, leases6ParkedPacketLimit) - new test
Thomas Markwalder [Tue, 7 Sep 2021 18:14:02 +0000 (14:14 -0400)]
[#1307] Updated ARM doc and added ChangeLog
ChangeLog
doc/sphinx/arm/hooks-ha.rst
Thomas Markwalder [Fri, 3 Sep 2021 18:44:53 +0000 (14:44 -0400)]
[#1307] kea-dhcp6 supports parked-packet-limit
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/json_config_parser.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
doc/examples/kea6/all-keys.json
Added parked-packet-limit
src/bin/dhcp6/dhcp6_messages.*
DHCP6_HOOK_LEASES6_PARKING_LOT_FULL
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::processDhcp6Query() - drops the packet if the parking
lot is full
src/bin/dhcp6/tests/get_config_unittest.cc
updated
Thomas Markwalder [Fri, 3 Sep 2021 17:07:25 +0000 (13:07 -0400)]
[#1307] Added a unit test for dhcp4_srv.cc
src/bin/dhcp4/tests/hooks_unittest.cc
TEST_F(HooksDhcpv4SrvTest, parkedPacketLimit) - new test
Thomas Markwalder [Fri, 3 Sep 2021 12:26:38 +0000 (08:26 -0400)]
[#1307] kea-dhcp4 now enforces parked-packet-limit
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processDhcp4Query() - now drops packet and response
if parking lot size reaches parked-packet-limit
src/bin/dhcp4/dhcp4_messages.*
DHCP4_HOOK_LEASES4_PARKING_LOT_FULL - new message
Thomas Markwalder [Thu, 2 Sep 2021 19:20:09 +0000 (15:20 -0400)]
[#1307] Added parked-packet-limit parameter to kea-dhcp4
Can be parsed, but does nothing
doc/examples/kea4/all-keys.json
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
src/lib/dhcpsrv/parsers/simple_parser4.cc
added parked-packet-limit
src/bin/dhcp4/tests/config_parser_unittest.cc
TEST_F(Dhcp4ParserTest, parkedPacketLimit) - new test
src/bin/dhcp4/tests/get_config_unittest.cc
updated
Thomas Markwalder [Thu, 2 Sep 2021 13:49:18 +0000 (09:49 -0400)]
[#1307] Added getSize() to ParkingLot
src/lib/hooks/parking_lots.h
src/lib/hooks/tests/parking_lots_unittest.cc
Marcin Siodelski [Thu, 16 Sep 2021 15:41:02 +0000 (17:41 +0200)]
[#2077] Corrected an issue in MySQL CB (v6)
DHCPv6 client classes failed to evaluate during insertion to the database.
Andrei Pavel [Thu, 16 Sep 2021 14:00:03 +0000 (14:00 +0000)]
[#2077] Applied typo fix
Andrei Pavel [Thu, 16 Sep 2021 13:59:20 +0000 (13:59 +0000)]
[#2077] Applied typo fix
Marcin Siodelski [Sat, 4 Sep 2021 16:55:33 +0000 (18:55 +0200)]
[#2077] Added ChangeLog for issue 2077
Marcin Siodelski [Sat, 4 Sep 2021 15:49:29 +0000 (17:49 +0200)]
[#2077] Init match expressions
Match expressions are now initialized for client classes fetched from the
configuration backend.
Francis Dupont [Tue, 14 Sep 2021 13:08:09 +0000 (15:08 +0200)]
[#2088] Changed sets by lists
Razvan Becheriu [Wed, 15 Sep 2021 08:08:01 +0000 (11:08 +0300)]
[#2088] fixed crash on server shutdown
Francis Dupont [Tue, 14 Sep 2021 13:24:15 +0000 (15:24 +0200)]
[#2040] Added a ChangeLog entry
Francis Dupont [Sun, 5 Sep 2021 07:04:01 +0000 (09:04 +0200)]
[#2040] Added D2Stats::init
Francis Dupont [Sat, 4 Sep 2021 20:56:11 +0000 (22:56 +0200)]
[#2040] Began stats UTs
Andrei Pavel [Tue, 14 Sep 2021 08:44:29 +0000 (11:44 +0300)]
[#2049] improve build error message
Andrei Pavel [Tue, 7 Sep 2021 07:10:00 +0000 (10:10 +0300)]
[#2049] some fixes for NETCONF build
Andrei Pavel [Tue, 7 Sep 2021 08:37:42 +0000 (11:37 +0300)]
[#2049] AX_FIND_LIBRARY: add libdir to rpath
Andrei Pavel [Tue, 14 Sep 2021 08:27:16 +0000 (11:27 +0300)]
[#2049] AX_FIND_LIBRARY: look in lib64 also
Andrei Pavel [Fri, 10 Sep 2021 15:24:08 +0000 (18:24 +0300)]
[#2034] atexit(mysql_library_end())
Francis Dupont [Fri, 10 Sep 2021 14:47:43 +0000 (16:47 +0200)]
[#2078] Added unit test
Razvan Becheriu [Thu, 9 Sep 2021 11:38:12 +0000 (14:38 +0300)]
[#2078] use virtual function to create TSIGContext
Razvan Becheriu [Wed, 8 Sep 2021 07:44:15 +0000 (10:44 +0300)]
[#2078] fixed documentation
Razvan Becheriu [Tue, 7 Sep 2021 15:13:36 +0000 (18:13 +0300)]
[#2078] updated generated files
Francis Dupont [Mon, 6 Sep 2021 18:41:40 +0000 (20:41 +0200)]
[#2078] Moved the factory to libd2srv
Francis Dupont [Mon, 6 Sep 2021 18:20:20 +0000 (20:20 +0200)]
[#2078] Removed const
Francis Dupont [Mon, 6 Sep 2021 18:07:14 +0000 (20:07 +0200)]
[#2078] Added TSIG context factory
Francis Dupont [Sun, 5 Sep 2021 21:55:43 +0000 (23:55 +0200)]
[#2078] Update for new commands
Francis Dupont [Sun, 5 Sep 2021 15:26:37 +0000 (17:26 +0200)]
[#2078] Updated after key container change
Francis Dupont [Sun, 5 Sep 2021 12:03:59 +0000 (14:03 +0200)]
[#2078] Updated doc
Andrei Pavel [Mon, 6 Sep 2021 19:30:10 +0000 (22:30 +0300)]
[#2064] hammer.py: Debian uses mariadb.service
Andrei Pavel [Mon, 6 Sep 2021 17:32:08 +0000 (20:32 +0300)]
[#2064] hammer.py: install lxc on Debian (extra)
Andrei Pavel [Mon, 6 Sep 2021 17:28:26 +0000 (20:28 +0300)]
[#2064] hammer.py: ensure postgres entry in hba
Andrei Pavel [Fri, 3 Sep 2021 11:59:12 +0000 (14:59 +0300)]
[#2064] hammer.py: restart mysql on deb OSs
Andrei Pavel [Fri, 3 Sep 2021 12:00:03 +0000 (15:00 +0300)]
[#2064] hammer: don't modify postgres entry in hba
Andrei Pavel [Wed, 1 Sep 2021 10:39:57 +0000 (13:39 +0300)]
[#2064] hammer: change pg auth method to md5
Francis Dupont [Sat, 4 Sep 2021 13:59:07 +0000 (15:59 +0200)]
[#2040] Always have 3 / before @todo
Razvan Becheriu [Fri, 3 Sep 2021 14:05:52 +0000 (17:05 +0300)]
[#2040] fixed indentation, spaces and typos
Francis Dupont [Thu, 2 Sep 2021 09:48:13 +0000 (11:48 +0200)]
[#2040] Spelling
Francis Dupont [Thu, 19 Aug 2021 08:12:26 +0000 (10:12 +0200)]
[#2040] Checkpoint: todo UTs, ...
Francis Dupont [Wed, 18 Aug 2021 22:37:26 +0000 (00:37 +0200)]
[#2040] Checkpoint (todo: add stat UTs)
Francis Dupont [Wed, 18 Aug 2021 18:15:18 +0000 (20:15 +0200)]
[#2040] Checkpoint: began D2 stats
Razvan Becheriu [Thu, 2 Sep 2021 13:12:22 +0000 (16:12 +0300)]
[#2011] documentation fixes
Francis Dupont [Tue, 17 Aug 2021 15:43:34 +0000 (17:43 +0200)]
[#2011] Replaced 2.0.0 by 1.9.11
Francis Dupont [Mon, 16 Aug 2021 18:15:00 +0000 (20:15 +0200)]
[#2011] Spelling
Francis Dupont [Mon, 16 Aug 2021 14:59:17 +0000 (16:59 +0200)]
[#2011] Updated d2_cfg_tests.json
Francis Dupont [Mon, 16 Aug 2021 14:21:40 +0000 (16:21 +0200)]
[#2011] Checkpoint: finished doc part
Francis Dupont [Mon, 16 Aug 2021 11:39:09 +0000 (13:39 +0200)]
[#2011] Checkpoint: updated examples
Andrei Pavel [Thu, 2 Sep 2021 12:02:08 +0000 (15:02 +0300)]
[#2058] hammer.py: retry upload on 504
Andrei Pavel [Fri, 27 Aug 2021 15:54:59 +0000 (18:54 +0300)]
[#2058] hammer.py: indentation (minor change)