]>
git.ipfire.org Git - thirdparty/kea.git/log
Slawek Figiel [Mon, 17 Apr 2023 10:40:07 +0000 (12:40 +0200)]
[#2815] Implement unit test
Slawek Figiel [Mon, 17 Apr 2023 10:21:06 +0000 (12:21 +0200)]
[#2815] Implement unit test
Slawek Figiel [Mon, 17 Apr 2023 09:49:00 +0000 (11:49 +0200)]
[#2815] Implement unit test
Slawek Figiel [Mon, 17 Apr 2023 08:53:06 +0000 (10:53 +0200)]
[#2815] Add more unit tests
Slawek Figiel [Mon, 17 Apr 2023 08:35:53 +0000 (10:35 +0200)]
[#2815] Add test stubs
Slawek Figiel [Tue, 11 Apr 2023 18:23:25 +0000 (20:23 +0200)]
[#2815] Extend unit tests
Slawek Figiel [Tue, 11 Apr 2023 17:31:48 +0000 (19:31 +0200)]
[#2815] Extend unit test
Slawek Figiel [Tue, 11 Apr 2023 16:30:47 +0000 (18:30 +0200)]
[#2815] Extend unit test
Slawek Figiel [Tue, 11 Apr 2023 16:15:54 +0000 (18:15 +0200)]
[#2815] Extend unit test
Slawek Figiel [Tue, 11 Apr 2023 15:55:06 +0000 (17:55 +0200)]
[#2815] Extend unit test
Slawek Figiel [Tue, 11 Apr 2023 15:49:59 +0000 (17:49 +0200)]
[#2815] Extend unit test
Slawek Figiel [Tue, 11 Apr 2023 15:31:50 +0000 (17:31 +0200)]
[#2815] Extend unit test
Slawek Figiel [Tue, 11 Apr 2023 14:59:11 +0000 (16:59 +0200)]
[#2815] Extend unit tests
Slawek Figiel [Tue, 11 Apr 2023 14:13:16 +0000 (16:13 +0200)]
[#2815] Fix unit test
Slawek Figiel [Tue, 11 Apr 2023 12:32:34 +0000 (14:32 +0200)]
[#2815] Add unit test
Slawek Figiel [Fri, 7 Apr 2023 17:20:12 +0000 (19:20 +0200)]
[#2815] Fix del command
Slawek Figiel [Fri, 7 Apr 2023 14:42:20 +0000 (16:42 +0200)]
[#2815] Revert BaseHostDataSource inheritance
Slawek Figiel [Thu, 6 Apr 2023 16:50:27 +0000 (18:50 +0200)]
[#2815] Fix formatting
Slawek Figiel [Thu, 6 Apr 2023 16:46:09 +0000 (18:46 +0200)]
[#2815] Add unit tests
Slawek Figiel [Thu, 6 Apr 2023 16:39:09 +0000 (18:39 +0200)]
[#2815] Fix getting IPv6 hosts by reserved address
Slawek Figiel [Thu, 6 Apr 2023 15:00:23 +0000 (17:00 +0200)]
[#2815] Add unit test
Slawek Figiel [Thu, 6 Apr 2023 15:00:08 +0000 (17:00 +0200)]
[#2815] Implement del6 function
Slawek Figiel [Thu, 6 Apr 2023 12:00:08 +0000 (14:00 +0200)]
[#2815] Implement del4 function
Slawek Figiel [Thu, 6 Apr 2023 10:49:38 +0000 (12:49 +0200)]
[#2815] Add debug message and negative tests
Slawek Figiel [Wed, 5 Apr 2023 17:27:26 +0000 (19:27 +0200)]
[#2815] Add unit test
Slawek Figiel [Wed, 5 Apr 2023 11:50:31 +0000 (13:50 +0200)]
[#2815] Implement del in CfgHosts
Slawek Figiel [Mon, 3 Apr 2023 19:27:45 +0000 (21:27 +0200)]
[#2815] Improve comments
Slawek Figiel [Mon, 3 Apr 2023 18:14:44 +0000 (20:14 +0200)]
[#2815] Fix unit tests
Slawek Figiel [Fri, 31 Mar 2023 17:10:36 +0000 (19:10 +0200)]
[#2815] Add a new parameter to HostMgr
Slawek Figiel [Fri, 31 Mar 2023 16:04:11 +0000 (18:04 +0200)]
[#2815] Add host manager enum flags
Slawek Figiel [Fri, 31 Mar 2023 15:38:15 +0000 (17:38 +0200)]
[#2815] Drop inheritance
Marcin Siodelski [Wed, 24 May 2023 14:42:23 +0000 (16:42 +0200)]
[#2860] Added comments to tests per review
Marcin Siodelski [Tue, 16 May 2023 15:37:36 +0000 (17:37 +0200)]
[#2860] Added ChangeLog for #2860
Marcin Siodelski [Tue, 16 May 2023 15:37:21 +0000 (17:37 +0200)]
[#2860] Fix in delegated prefix permutation
The random device wasn't properly initialized for the prefix permuations.
As a result, the same set of prefixes have been handed out by the random
and FLQ allocators. This issue has been addressed and the proper unit tests
have been added.
Marcin Siodelski [Wed, 24 May 2023 06:03:28 +0000 (08:03 +0200)]
[#2858] Add the commentary in the test
Marcin Siodelski [Mon, 22 May 2023 13:43:51 +0000 (15:43 +0200)]
[#2858] Added Changelog for #2858
Marcin Siodelski [Mon, 22 May 2023 13:31:47 +0000 (15:31 +0200)]
[#2858] Client in INIT-REBOOT state without subnet
Corrected a server's behavior for the clients in the INIT-REBOOT state
when there are no subnets configured or when the subnet selection fails.
An authoritative server sends DHCPNAK in this case. A not authoritative
client ignores the requests.
Francis Dupont [Tue, 23 May 2023 14:40:28 +0000 (16:40 +0200)]
[#2757] Finished move to upgradeExtendedInfo4
Francis Dupont [Tue, 23 May 2023 14:32:48 +0000 (16:32 +0200)]
[#2757] Added a ChangeLog entry
Francis Dupont [Tue, 23 May 2023 14:23:41 +0000 (16:23 +0200)]
[#2757] Moved to upgradeExtendedInfo4
Thomas Markwalder [Tue, 23 May 2023 13:58:43 +0000 (09:58 -0400)]
[#2757] Relocated ARM text
Thomas Markwalder [Tue, 23 May 2023 13:47:47 +0000 (09:47 -0400)]
[#2757] Revamped ARM on new command
modified:
doc/sphinx/arm/hooks-lease-query.rst
Francis Dupont [Mon, 22 May 2023 21:11:02 +0000 (23:11 +0200)]
[#2757] Added function comments as required from review
Francis Dupont [Fri, 19 May 2023 16:18:47 +0000 (18:18 +0200)]
[#2757] Updated doc part
Francis Dupont [Wed, 5 Apr 2023 19:23:11 +0000 (21:23 +0200)]
[#2757] Rebased from #275[23]
Andrei Pavel [Tue, 23 May 2023 09:21:49 +0000 (12:21 +0300)]
[#2873] null check to prevent crash in GenericLeaseMgrTest
Francis Dupont [Sun, 21 May 2023 12:42:31 +0000 (14:42 +0200)]
[#2867] Made binaddr index ascending
Francis Dupont [Fri, 19 May 2023 17:39:13 +0000 (19:39 +0200)]
[#2867] Finished
Francis Dupont [Fri, 19 May 2023 14:42:17 +0000 (16:42 +0200)]
[#2867] Checkpoint: first attempt for admin new tests
Francis Dupont [Fri, 19 May 2023 13:01:49 +0000 (15:01 +0200)]
[#2867] Checkpoint: schema updated
Thomas Markwalder [Mon, 22 May 2023 19:25:35 +0000 (15:25 -0400)]
[#2835] Addressed review comment
Thomas Markwalder [Mon, 8 May 2023 18:39:54 +0000 (14:39 -0400)]
[#2835] Updated ARM and ChangeLog
Thomas Markwalder [Mon, 8 May 2023 15:22:13 +0000 (11:22 -0400)]
[#2835] Replace preferred-lifetime as needed
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
src/bin/dhcp6/tests/simple_parser6_unittest.cc
Updated tests
src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::getLifetimes6() - modified to replace preferred
lifetime with valid-lifetime * .625 it's unspecified or
greater than valid-lifetime
src/lib/dhcpsrv/alloc_engine_messages.mes
ALLOC_ENGINE_V6_CALCULATED_PREFERRED_LIFETIME - new message
src/lib/dhcpsrv/parsers/simple_parser6.cc
SimpleParser6::GLOBAL6_DEFAULTS - removed preferred-lifetime
src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
Updated tests
Tomek Mrugalski [Thu, 18 May 2023 10:36:18 +0000 (12:36 +0200)]
[#2760] Also disabled pgsql
Tomek Mrugalski [Thu, 18 May 2023 10:29:32 +0000 (12:29 +0200)]
[#2760] Disabled mysql due to access problems
- hammer is not able to configure mysql on github runners
Tomek Mrugalski [Fri, 12 May 2023 12:58:25 +0000 (14:58 +0200)]
[#2760] Removed pgsql, retrying workflow
Tomek Mrugalski [Fri, 12 May 2023 08:00:40 +0000 (10:00 +0200)]
[#2760] Disabled RADIUS in workflow
- made the list of hammer features explicit
Tomek Mrugalski [Fri, 12 May 2023 07:57:30 +0000 (09:57 +0200)]
[#2760] Experiment with enabling many extra flags
Tomek Mrugalski [Thu, 16 Mar 2023 12:35:04 +0000 (13:35 +0100)]
[#2760] ChangeLog updated
Tomek Mrugalski [Thu, 16 Mar 2023 12:33:35 +0000 (13:33 +0100)]
[#2760] Devel guide updated
- described github CI
- described gitlab CI briefly
- added a note about Jenkins
Tomek Mrugalski [Thu, 9 Mar 2023 13:54:31 +0000 (14:54 +0100)]
[#2760] Syntax fixed
Tomek Mrugalski [Thu, 9 Mar 2023 13:51:56 +0000 (14:51 +0100)]
[#2760] Added compilation back, python checks enabled
Tomek Mrugalski [Thu, 9 Mar 2023 13:44:38 +0000 (14:44 +0100)]
[#2760] Check if Kea compilation is even needed
Tomek Mrugalski [Tue, 21 Feb 2023 13:25:44 +0000 (14:25 +0100)]
[#2760] enabled 2 jobs compilation
Tomek Mrugalski [Tue, 21 Feb 2023 12:41:05 +0000 (13:41 +0100)]
[#2760] Python disabled, hammer build
Tomek Mrugalski [Tue, 21 Feb 2023 12:28:05 +0000 (13:28 +0100)]
[#2760] Create codeql.yml
Andrei Pavel [Fri, 19 May 2023 09:12:33 +0000 (12:12 +0300)]
[#2786] add missing start transaction in upgrade script
Prevents this warning:
WARNING: there is no transaction in progress
Andrei Pavel [Fri, 19 May 2023 06:01:26 +0000 (09:01 +0300)]
[#2786] add missing upgrade scripts to makefiles
Andrei Pavel [Fri, 19 May 2023 06:00:43 +0000 (09:00 +0300)]
[#2786] fix grep: warning: stray \ before -
Marcin Godzina [Fri, 12 May 2023 09:23:47 +0000 (09:23 +0000)]
[#2859] expanded leaseX-write ARM text
Francis Dupont [Wed, 17 May 2023 12:53:19 +0000 (12:53 +0000)]
[#2862] Regen bison files
Francis Dupont [Wed, 17 May 2023 12:49:41 +0000 (14:49 +0200)]
[#2862] Push before regen
Andrei Pavel [Wed, 17 May 2023 16:09:39 +0000 (19:09 +0300)]
[#2658] address review comments
Andrei Pavel [Fri, 28 Apr 2023 07:09:32 +0000 (10:09 +0300)]
[#2658] add ChangeLog entry
Andrei Pavel [Fri, 28 Apr 2023 07:24:04 +0000 (10:24 +0300)]
[#2658] document big integer statistics
Andrei Pavel [Wed, 26 Apr 2023 12:45:29 +0000 (15:45 +0300)]
[#2658] add big integer support to statistics
Pool capacities have been promoted in code from uint64_t to uint128_t.
Bigint is modelled as an int128_t in statistics, following the precedent of
signed integer of int64_t from statistics.
- "total-nas" is extended to 128 bits as requested in the issue.
- "total-pds" has the same risk of overflowing so it has been extended
as well.
- "total-addresses" always fits in 64 bits, but certain code forces a
128 bit value on it. See Pool::getCapacity(), Subnet::getPoolCapacity(),
Subnet::sumPoolCapacity(). It could have been truncated to a 64 bit value,
but that seems like an unnecessary complication.
Because of the disparity in signedness there is some truncation that can
happen when pool capacity values are passed on to statistics. That only happens
for the last half of the value range, so for prefix ranges larger than /1.
Andrei Pavel [Wed, 26 Apr 2023 12:44:33 +0000 (15:44 +0300)]
[#2658] add BigIntElement
BigIntElement is modelled as an int128_t, following the precedent of
signed integer of int64_t from IntElement.
Andrei Pavel [Wed, 26 Apr 2023 12:03:25 +0000 (15:03 +0300)]
[#2658] add unit tests for big ints
Andrei Pavel [Wed, 26 Apr 2023 12:02:55 +0000 (15:02 +0300)]
[#2658] add support for big ints
Andrei Pavel [Tue, 16 May 2023 13:29:52 +0000 (16:29 +0300)]
[#2832] fix YANG hashes
Andrei Pavel [Tue, 16 May 2023 09:05:52 +0000 (12:05 +0300)]
[#2832] address review comments
Andrei Pavel [Thu, 11 May 2023 09:22:45 +0000 (12:22 +0300)]
[#2832] add ChangeLog entry
Andrei Pavel [Thu, 11 May 2023 07:04:12 +0000 (10:04 +0300)]
[#2832] add libyang-cpp and sysrepo-cpp flags to distcheck
Andrei Pavel [Wed, 10 May 2023 15:54:03 +0000 (18:54 +0300)]
[#2832] remove LIBYANG_VERSION and SYSREPO_VERSION
They were not used and they were not properly expanded in
config.h anyway. They showed up as:
/* libyang version */
#define LIBYANG_VERSION "${LIBYANG_VERSION}"
/* sysrepo version */
#define SYSREPO_VERSION "${SYSREPO_VERSION}"
Andrei Pavel [Wed, 10 May 2023 15:49:45 +0000 (18:49 +0300)]
[#2832] add missing YANG nodes
- allocator
- ddns-ttl-percent
- exclude-first-last-24,
- ignore-dhcp-server-Identifier
- offer-lifetime
- pd-allocator
- read-timeout
- tcp-user-timeout
- write-timeout
Removed obsolete YANG nodes: contact-points, keyspace.
Andrei Pavel [Sat, 13 May 2023 15:02:05 +0000 (18:02 +0300)]
[#2822] add check-for-json-errors-in-doc.sh to CI
Razvan Becheriu [Fri, 12 May 2023 11:30:47 +0000 (14:30 +0300)]
[#2822] fixed check tool and documentation
Andrei Pavel [Fri, 5 May 2023 18:06:44 +0000 (21:06 +0300)]
[#2822] flex_option doc example for setting subnet mask
Andrei Pavel [Sat, 13 May 2023 12:06:35 +0000 (15:06 +0300)]
[#2817] use unsigned int for ifindex throughout
which is what if_nametoindex returns
Marcin Siodelski [Fri, 12 May 2023 12:45:35 +0000 (14:45 +0200)]
[#2843] Fix in random allocator return values
Marcin Siodelski [Tue, 9 May 2023 16:13:02 +0000 (18:13 +0200)]
[#2843] Addressed review comment
Used IPV6_ZERO_ADDRESS() instead of :: in the candidate addresss
initialization.
Marcin Siodelski [Mon, 8 May 2023 16:01:50 +0000 (18:01 +0200)]
[#2843] Fix in initializing subnet states
Marcin Siodelski [Mon, 8 May 2023 08:49:01 +0000 (10:49 +0200)]
[#2843] Added more test cases
Marcin Siodelski [Mon, 8 May 2023 08:33:45 +0000 (10:33 +0200)]
[#2843] Added Changelog for #2843
Marcin Siodelski [Mon, 8 May 2023 08:27:59 +0000 (10:27 +0200)]
[#2843] Use different allocators in shared net
Fixed a bug in the allocation engine which could result in a failure to
allocate available addresses from a subnet that used an FLQ allocator, or
returning a zero lease.
Razvan Becheriu [Fri, 12 May 2023 09:44:25 +0000 (12:44 +0300)]
[#2786] addressed review comments
Razvan Becheriu [Thu, 11 May 2023 14:45:13 +0000 (17:45 +0300)]
[#2786] fixed UTs when backends are disabled
Razvan Becheriu [Thu, 11 May 2023 10:13:21 +0000 (13:13 +0300)]
[#2827] addressed comments
Razvan Becheriu [Wed, 10 May 2023 19:35:25 +0000 (22:35 +0300)]
[#2827] reverted src/share/api and updated script
Razvan Becheriu [Fri, 5 May 2023 18:05:25 +0000 (21:05 +0300)]
[#2827] process api.rst also