]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Tue, 9 Feb 2021 21:07:12 +0000 (21:07 +0000)]
[#1662] Regen flex and bison
Francis Dupont [Tue, 9 Feb 2021 21:04:35 +0000 (22:04 +0100)]
[#1662] Checkpoint before regen
Francis Dupont [Tue, 9 Feb 2021 17:32:16 +0000 (18:32 +0100)]
[#1662] Checkpoint before regen
Andrei Pavel [Wed, 17 Feb 2021 07:13:20 +0000 (09:13 +0200)]
[#1703] add ChangeLog entry
Andrei Pavel [Mon, 15 Feb 2021 12:38:49 +0000 (14:38 +0200)]
[#1703] perfdhcp: UT for printLeases()
Andrei Pavel [Mon, 15 Feb 2021 12:06:25 +0000 (14:06 +0200)]
[#1703] perfdhcp -x l: printLeases()
Francis Dupont [Mon, 8 Feb 2021 16:31:32 +0000 (16:31 +0000)]
[#1699] Regen with bison 3.7.5
Andrei Pavel [Tue, 16 Feb 2021 14:00:00 +0000 (16:00 +0200)]
[#1681] add ChangeLog entry
Andrei Pavel [Thu, 28 Jan 2021 10:37:03 +0000 (12:37 +0200)]
[#1681] after .sh.in change, keep perm on .sh
Andrei Pavel [Thu, 28 Jan 2021 10:35:32 +0000 (12:35 +0200)]
[#1681] x permission on scripts in install dir
Thomas Markwalder [Tue, 16 Feb 2021 12:24:07 +0000 (07:24 -0500)]
[#1672] Fixed ChangeLog line length
Thomas Markwalder [Tue, 16 Feb 2021 12:10:26 +0000 (07:10 -0500)]
[#1672] Addressed review comments
ChangeLog
Added configuration change notice
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::setFixedFields - added commentary and
use of IPV4_ZERO_ADDRESS
Thomas Markwalder [Sun, 14 Feb 2021 18:36:21 +0000 (13:36 -0500)]
[#1672] Updated kea-dhcp4 ARM and added ChangeLog
Thomas Markwalder [Sun, 14 Feb 2021 18:16:34 +0000 (13:16 -0500)]
[#1672] class fixed field order now matches class option order in kea-dhc4
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::setFixedFields - modified to use the value for a field
from the first class in query's list of classes that specifies
the field.
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
TEST_F(Dhcpv4SrvTest, fixedFieldsInClassOrder) - new unit test
Andrei Pavel [Sat, 16 Jan 2021 08:17:20 +0000 (10:17 +0200)]
[#1649] fix unknown versions after ./configure
Francis Dupont [Fri, 29 Jan 2021 09:14:43 +0000 (10:14 +0100)]
[#1644] Replaced raw ptrs by unique_ptr
Andrei Pavel [Wed, 27 Jan 2021 15:40:14 +0000 (17:40 +0200)]
[#1656] bump version to kea-1.9.5-git
Francis Dupont [Tue, 26 Jan 2021 15:23:09 +0000 (16:23 +0100)]
[#1676] Reverted make variable quoting
Andrei Pavel [Tue, 26 Jan 2021 22:06:47 +0000 (00:06 +0200)]
[#1677] ChangeLog clarifications
Razvan Becheriu [Mon, 25 Jan 2021 13:38:31 +0000 (15:38 +0200)]
[#1666] added ChangeLog
Razvan Becheriu [Mon, 25 Jan 2021 13:19:44 +0000 (15:19 +0200)]
[#1666] bump lib versions for 1.9.4
Wlodek Wencel [Mon, 25 Jan 2021 12:21:48 +0000 (13:21 +0100)]
[#1546] added ChangeLog entry
Wlodek Wencel [Mon, 25 Jan 2021 12:15:44 +0000 (13:15 +0100)]
[#1546] changed ip addresses
Wlodzimierz Wencel [Mon, 25 Jan 2021 11:58:30 +0000 (11:58 +0000)]
Apply 1 suggestion(s) to 1 file(s)
Wlodzimierz Wencel [Mon, 25 Jan 2021 11:58:25 +0000 (11:58 +0000)]
Apply 1 suggestion(s) to 1 file(s)
Wlodzimierz Wencel [Mon, 25 Jan 2021 11:58:14 +0000 (11:58 +0000)]
Apply 1 suggestion(s) to 1 file(s)
Tomek Mrugalski [Mon, 25 Jan 2021 11:55:23 +0000 (12:55 +0100)]
[#1546] ARM updated with pointers to new configs.
Wlodek Wencel [Mon, 25 Jan 2021 11:28:14 +0000 (12:28 +0100)]
[#1546] examples for option 43 and 125
Andrei Pavel [Mon, 25 Jan 2021 11:56:23 +0000 (13:56 +0200)]
[#1656] 1.9.4 release: clarify release checklist
Andrei Pavel [Mon, 25 Jan 2021 09:34:13 +0000 (11:34 +0200)]
[#1656] 1.9.4 release: spelling check
Andrei Pavel [Fri, 22 Jan 2021 10:53:50 +0000 (12:53 +0200)]
[#1656] 1.9.4 release: regenerate .gitattributes
Andrei Pavel [Fri, 22 Jan 2021 10:40:59 +0000 (12:40 +0200)]
[#1656] 1.9.4 release: regenerate messages
Andrei Pavel [Fri, 22 Jan 2021 10:39:57 +0000 (12:39 +0200)]
[#1656] 1.9.4 release: messages in src/lib/log
Andrei Pavel [Fri, 22 Jan 2021 08:47:08 +0000 (10:47 +0200)]
[#1656] 1.9.4 release: minor update to README
Andrei Pavel [Fri, 22 Jan 2021 07:57:50 +0000 (09:57 +0200)]
[#1656] 1.9.4 release: bump library versions
Andrei Pavel [Fri, 22 Jan 2021 00:19:40 +0000 (02:19 +0200)]
[#1656] 1.9.4 release: announce in ChangeLog
Andrei Pavel [Fri, 22 Jan 2021 00:15:03 +0000 (02:15 +0200)]
[#1656] 1.9.4 release: update release checklist
Andrei Pavel [Thu, 21 Jan 2021 23:44:00 +0000 (01:44 +0200)]
[#1656] 1.9.4 release: update copyrights
Andrei Pavel [Thu, 21 Jan 2021 23:36:41 +0000 (01:36 +0200)]
[#1656] 1.9.4 release: spelling check
Andrei Pavel [Thu, 21 Jan 2021 13:36:46 +0000 (15:36 +0200)]
[#1656] 1.9.4 release: dos2unix SVGs
This is a pesky change affecting entire files, but in order to see
further individual changes, I've applied dos2unix to all of the SVGs to
remove carrier returns ^M, otherwise IDEs would have removed them
together with the actual change.
Razvan Becheriu [Sat, 23 Jan 2021 19:05:07 +0000 (21:05 +0200)]
[#1627] fixed surious failure of unittest
* the unittest waitingSyncingReadyLoadBalancing spurious failure was
fixed by adding state_->stopHeartbeat() call before calling
partner.enableRespondLeaseFetching()
Razvan Becheriu [Fri, 22 Jan 2021 21:28:14 +0000 (23:28 +0200)]
[#1627] removed mutex in derived classes
Razvan Becheriu [Fri, 22 Jan 2021 16:22:02 +0000 (18:22 +0200)]
[#1627] clean up code
Razvan Becheriu [Mon, 18 Jan 2021 13:02:04 +0000 (15:02 +0200)]
[#1627] make unittests class thread safe
Razvan Becheriu [Fri, 15 Jan 2021 11:23:31 +0000 (13:23 +0200)]
[#1627] make CommunicationState::startHeartbeat thread safe
Francis Dupont [Tue, 19 Jan 2021 09:48:30 +0000 (10:48 +0100)]
[#1618] Updated sanity check sections
Razvan Becheriu [Fri, 22 Jan 2021 17:54:17 +0000 (19:54 +0200)]
[#1629] updated documentation
Razvan Becheriu [Fri, 22 Jan 2021 17:06:15 +0000 (19:06 +0200)]
[#1629] updated documentation
Razvan Becheriu [Fri, 22 Jan 2021 16:41:58 +0000 (18:41 +0200)]
[#1629] updated documentation
* updated ARM install documentation for running kea with non-root user
Razvan Becheriu [Fri, 22 Jan 2021 15:27:13 +0000 (17:27 +0200)]
[#1601] updated ARM
Razvan Becheriu [Fri, 22 Jan 2021 15:19:42 +0000 (17:19 +0200)]
[#1601] updated ARM
Razvan Becheriu [Fri, 22 Jan 2021 13:29:40 +0000 (15:29 +0200)]
[#1601] multiple changes:
* added a timer for each origin type: USER_COMMAND and HA_COMMAND
* added missing unittests
Razvan Becheriu [Wed, 20 Jan 2021 15:22:44 +0000 (17:22 +0200)]
[#1601] fixed documentation examples
Razvan Becheriu [Wed, 20 Jan 2021 15:16:38 +0000 (17:16 +0200)]
[#1601] added ChangeLog and updated documentation
Razvan Becheriu [Wed, 20 Jan 2021 13:51:35 +0000 (15:51 +0200)]
[#1601] addressed review comments
* renamed Origin enum members
* using 'ha-partner' as origin parameter in enable/disable HA_COMMAND
* added unittests for new parameters and new command syntax
* updated doxygen
Razvan Becheriu [Mon, 18 Jan 2021 19:27:13 +0000 (21:27 +0200)]
[#1601] fixed typo
Razvan Becheriu [Mon, 18 Jan 2021 18:12:19 +0000 (20:12 +0200)]
[#1601] addressed review comments:
* using new 'origin' parameter for dhcp-enable/dhcp-disable commands
* renamed enum to class enum NetworkState::Origin
* updated doxygen
* split unittests and added description
Razvan Becheriu [Fri, 11 Dec 2020 09:28:52 +0000 (11:28 +0200)]
[#1601] fixed comments
Razvan Becheriu [Fri, 11 Dec 2020 08:59:13 +0000 (10:59 +0200)]
[#1601] fixed unittests
Razvan Becheriu [Fri, 11 Dec 2020 08:54:07 +0000 (10:54 +0200)]
[#1601] resetInternalState can reset data for any type
Razvan Becheriu [Thu, 10 Dec 2020 17:30:22 +0000 (19:30 +0200)]
[#1601] fixed typo
Razvan Becheriu [Thu, 10 Dec 2020 17:24:13 +0000 (19:24 +0200)]
[#1601] added handle-id to dhcp-enable/dhcp-disable
Razvan Becheriu [Thu, 10 Dec 2020 15:39:00 +0000 (17:39 +0200)]
[#1601] use internal state to differentiate between actors affecting the network state
Razvan Becheriu [Wed, 9 Dec 2020 17:18:26 +0000 (19:18 +0200)]
[#1375] fixed rebase
Razvan Becheriu [Fri, 27 Nov 2020 14:35:17 +0000 (16:35 +0200)]
[#1375] fixed compilation
Razvan Becheriu [Fri, 27 Nov 2020 12:59:27 +0000 (14:59 +0200)]
[#1375] add network state transition controller type
Razvan Becheriu [Fri, 27 Nov 2020 12:48:49 +0000 (14:48 +0200)]
[#1375] add network state transition controller type
Razvan Becheriu [Sat, 14 Nov 2020 18:00:32 +0000 (20:00 +0200)]
[#1375] moved tests
Razvan Becheriu [Sat, 14 Nov 2020 17:25:13 +0000 (19:25 +0200)]
[#1375] moved unittests
Andrei Pavel [Fri, 8 Jan 2021 19:12:40 +0000 (21:12 +0200)]
[#1638] minor: missing newlines in printfs
Andrei Pavel [Thu, 7 Jan 2021 17:38:52 +0000 (19:38 +0200)]
[#1638] wait for process to stop after kill
Andrei Pavel [Mon, 11 Jan 2021 11:43:08 +0000 (13:43 +0200)]
[#1638] don't fail if there is no process to kill
Andrei Pavel [Fri, 22 Jan 2021 16:28:28 +0000 (18:28 +0200)]
[#1455] add ChangeLog entry
Andrei Pavel [Fri, 22 Jan 2021 16:10:49 +0000 (18:10 +0200)]
[#1455] CONTRIBUTING.md: automatic formatting
Andrei Pavel [Fri, 22 Jan 2021 15:19:51 +0000 (17:19 +0200)]
[#1455] clang-format, uncrustify
Wlodek Wencel [Tue, 19 Jan 2021 18:09:45 +0000 (19:09 +0100)]
[#1527] added support for fedora 33 and ubunut 20.10
Razvan Becheriu [Tue, 19 Jan 2021 11:49:06 +0000 (13:49 +0200)]
[#1598] updated ChangeLog
Razvan Becheriu [Tue, 19 Jan 2021 11:41:13 +0000 (13:41 +0200)]
[#1598] updated ChangeLog
Razvan Becheriu [Tue, 19 Jan 2021 11:35:30 +0000 (13:35 +0200)]
[#1598] added ChangeLog
Razvan Becheriu [Tue, 12 Jan 2021 17:22:59 +0000 (19:22 +0200)]
[1598] convert reservation-mode from CB to new flags
Razvan Becheriu [Fri, 8 Jan 2021 15:52:01 +0000 (17:52 +0200)]
[#1598] disable set reservation-mode in db api
Marcin Siodelski [Thu, 14 Jan 2021 19:22:14 +0000 (20:22 +0100)]
[#1402] Do not reset HA in waiting state
Marcin Siodelski [Thu, 14 Jan 2021 18:42:18 +0000 (19:42 +0100)]
[#1402] Added a comment in the test
The comment explains why we set delayed-updates-limit to 10 in the tests.
Marcin Siodelski [Thu, 14 Jan 2021 18:39:09 +0000 (19:39 +0100)]
[#1402] Added a sentence into ARM
It says that the synchronization is also required when the
delayed-updates-limit is exceeded when the server is in the
communication-recovery state.
Marcin Siodelski [Tue, 12 Jan 2021 10:25:09 +0000 (11:25 +0100)]
[#1402] Described ha-reset in the ARM
Marcin Siodelski [Tue, 12 Jan 2021 09:39:04 +0000 (10:39 +0100)]
[#1402] Send ha-reset to partner
The ha-reset command is sent to the partner when communication is
re-established but the lease backlog is overflown or an attempt to send
lease updates failed. This causes the partner to synchronize its lease
database with the server sending ha-reset.
Marcin Siodelski [Mon, 11 Jan 2021 10:32:34 +0000 (11:32 +0100)]
[#1402] Function to create ha-reset command
Added function to CommandCreator to generate ha-reset command.
Marcin Siodelski [Mon, 11 Jan 2021 09:35:18 +0000 (10:35 +0100)]
[#1402] Implemented ha-reset command
Marcin Siodelski [Fri, 8 Jan 2021 09:56:45 +0000 (10:56 +0100)]
[#1402] Added a note in lease_update_backlog.h
Explained why the lease updates backlog is implemented in terms of a
single std::deque, as requested in review comment.
Marcin Siodelski [Thu, 7 Jan 2021 15:25:58 +0000 (16:25 +0100)]
[#1402] Watch for invalid partner state
If the local server detects that its partner is in an unexpected state
it will transition to the waiting state. Insufficient checks were indicated
in the review comments.
Marcin Siodelski [Thu, 7 Jan 2021 12:34:13 +0000 (13:34 +0100)]
[#1402] Trivial changes to HAService tests
For tests which verify the case of communication recovery failure, moved
listeners startup into the test part that checks that communication
can be re-established, per review comments.
Marcin Siodelski [Thu, 7 Jan 2021 12:19:55 +0000 (13:19 +0100)]
[#1402] LeaseUpdateBacklog is no longer a template
LeaseUpdateBacklog now holds LeasePtr and is no longer a template class
as suggested in review comments. Classes using this class were simplified.
In particular, the HAService class has now only one backlog queue.
Marcin Siodelski [Thu, 7 Jan 2021 11:10:13 +0000 (12:10 +0100)]
[#1402] Improved comments in the code
... per review comments.
Marcin Siodelski [Thu, 7 Jan 2021 10:28:14 +0000 (11:28 +0100)]
[#1402] Added new notes in the HA ARM
Added a couple of notes in the ARM (HA section) to explain the new default
behavior of the server after introduction of the delayed-updates-limit.
Marcin Siodelski [Thu, 7 Jan 2021 09:35:25 +0000 (10:35 +0100)]
[#1402] Easy editorial changes in the ARM
Applied several editorial changes in the ARM as a result of the review.
These were mostly little typos and grammatical errors.
Marcin Siodelski [Wed, 23 Dec 2020 14:51:37 +0000 (15:51 +0100)]
[#1402] Added ChangeLog entry for #1402
Marcin Siodelski [Wed, 23 Dec 2020 14:48:04 +0000 (15:48 +0100)]
[#1402] Updated ARM
Added description of the delayed-updates-limit and the communication
recovery procedure.
Marcin Siodelski [Wed, 23 Dec 2020 14:47:21 +0000 (15:47 +0100)]
[#1402] Avoid unused parameter warning
Marcin Siodelski [Tue, 22 Dec 2020 16:56:35 +0000 (17:56 +0100)]
[#1402] Correct wrong log message
When the server transitioned to the communication-recovery state it used
to say that lease updates will be sent in that state. In fact, the updates
are not sent (but they are queued). The code was corrected to address this.
Marcin Siodelski [Tue, 22 Dec 2020 13:26:25 +0000 (14:26 +0100)]
[#1402] Comm recovery enabled via config
There is a new parameter, delayed-updates-limit, which can be used to
enable communication-recovery state in the load-balancing mode and control
how many lease updates can be queued while being in this state.