2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00
Commit Graph

34828 Commits

Author SHA1 Message Date
Marcin Siodelski
3030cb9f75 [#2764] Moved test functions to generic lease test 2023-03-14 19:23:31 +01:00
Marcin Siodelski
d83c4f38d4 [#2764] Tracking lease manager
The new lease manager layer implements callback mechanism. The callbacks
can be registered and are invoked when the leases are modified.
2023-03-14 19:23:31 +01:00
Marcin Siodelski
78cc08bd03 [#2764] Hashing operator for IOAddress
To store the addresses in the unordered containers.
2023-03-14 19:23:31 +01:00
Francis Dupont
cc7f318dd4 [#720] Implemented #2790 fix 2023-03-13 14:52:20 +01:00
Francis Dupont
5b8e4c6da6 [#720] Moved to compatibility flag 2023-03-13 14:52:20 +01:00
Francis Dupont
340a25e74c [#720] Regen lex and parser 2023-03-13 14:52:20 +01:00
Francis Dupont
3b91899359 [#720] Updated syntax 2023-03-13 14:52:20 +01:00
Francis Dupont
f927058843 [#2765] Avoid confusion between options 60 and 124 2023-03-13 09:49:40 +01:00
Razvan Becheriu
43f048fea0 [#2765] addressed review comments 2023-03-11 21:43:51 +02:00
Francis Dupont
df9c6d52e7 [#2765] Cleanup last reviewer changes 2023-03-11 09:47:20 +01:00
Razvan Becheriu
c2f2b21300 [#2765] updated v6 unittests 2023-03-10 18:56:24 +02:00
Razvan Becheriu
3be552b4d7 Merge remote-tracking branch 'origin/1518-unable-to-add-multiple-sub-options-to-vivso-suboptions-20314bf68ded4cd7' into HEAD 2023-03-10 17:48:57 +02:00
Razvan Becheriu
0b40372a3f [#2765] clone the vendor option and add extra unittests 2023-03-10 17:42:23 +02:00
Francis Dupont
faa781c418 [#2765] Fixed v4 and v6 2023-03-10 17:42:23 +02:00
Razvan Becheriu
af6ff1578a [#1518] extended unittests for v6 2023-03-10 17:38:55 +02:00
Piotrek Zadroga
2c8d2d2192 [#1922] Removing not used dhcp6 STATUS codes 2023-03-06 15:57:34 +00:00
Piotrek Zadroga
f3247f1ab0 [#1922] Updating AUTHORS 2023-03-06 15:57:34 +00:00
Piotrek Zadroga
d321a10534 [#1922] adding refs to RFCs for DHCPv6 Options
References added in comments according to:
https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#dhcpv6-parameters-2
2023-03-06 15:57:34 +00:00
Piotrek Zadroga
d1dd3ec759 [#1922] adding references to RFCs for DHCP Options
References added in comments according to:
https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml#options
2023-03-06 15:57:34 +00:00
Francis Dupont
8b6784b511 [#467] Rebasing bug 2023-03-06 15:31:29 +01:00
Francis Dupont
c3bbb4ab74 [#467] Commented vendor id sets 2023-03-06 15:06:04 +01:00
Francis Dupont
f6a0ea2c0a [#467] Addressed comments 2023-03-06 15:06:04 +01:00
Francis Dupont
793e073a30 [#467] Typo 2023-03-06 15:06:04 +01:00
Francis Dupont
6435ce1b1c [#467] Added a ChangeLog entry 2023-03-06 15:06:01 +01:00
Francis Dupont
66074dba77 [#467] Updated doc 2023-03-06 15:04:35 +01:00
Francis Dupont
e08c06072e [#467] Added unit tests 2023-03-06 15:04:35 +01:00
Francis Dupont
27d7b85e73 [#467] Updated appendRequestedOptions 2023-03-06 15:04:35 +01:00
Francis Dupont
57fc6e7334 [#467] Updated dhcpsrv code and tests 2023-03-06 15:04:35 +01:00
Tomek Mrugalski
a0e90d958f [#2743] Removed obsolete note 2023-03-03 10:13:42 +00:00
dankney
8bc00552aa Have corrected the capitalization on the -Y/-y in the perfdhcp man page 2023-02-27 17:51:03 +00:00
Thomas Markwalder
a6f5c9ee5f [#2660] Fixed a comment 2023-02-27 11:03:58 -05:00
Thomas Markwalder
9302f0f989 [#2660] Addressed review comments
src/bin/dhcp6/dhcp6_srv.cc
    Minor nits.
2023-02-27 11:03:58 -05:00
Thomas Markwalder
23cfa9ba25 [#2660] Added ChangeLog 2023-02-27 11:03:58 -05:00
Thomas Markwalder
543a8c06d1 [#2660] Lease6::fromElement sets NA prefix length to 128
src/bin/dhcp6/dhcp6_srv.cc
    Dhcpv6Srv::processDhcp6Query() -
    Restrict prefix lenght test to PD leases

src/lib/dhcpsrv/lease.cc
    Lease6::fromElement(const data::ConstElementPtr& element) -
    set prefix lenght to 128 for non-PD leases

src/lib/dhcpsrv/tests/lease_unittest.cc
    Update fromElementNA test
2023-02-27 11:02:46 -05:00
Thomas Markwalder
57ea5331a5 [#2660] Avoid extraneous iaaddrs on v6 renew
Do not  use lease prefix when generating hints to
remove from context when renewing IA_NA leases.

src/bin/dhcp6/dhcp6_srv.cc
    Do not pass lease prefix length when creating
    hints to remove

src/lib/dhcpsrv/alloc_engine.h
    Default prefix length to 128 in
    AllocateEngine::Resource ctor
2023-02-27 11:02:46 -05:00
Thomas Markwalder
b2a1e0f77f [#2739] Consistently calculate v6 lease lifetimes
Added a ChangeLog entry

src/lib/dhcpsrv/alloc_engine.cc
    AllocEngine::reuseExpiredLease(Lease6Ptr...)
    AllocEngine::extendLease6()
    - replaced explicit lifetime logic with call to getLifetimes6()

src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
    TEST_F(AllocEngine6Test, classReuseExpiredLease6)
    TEST_F(AllocEngine6Test, renewClassLeaseLifetime) - new tests

src/lib/dhcpsrv/tests/alloc_engine_utils.*
    AllocEngine6Test::simpleAlloc6Test() - now accepts option class defintion
2023-02-22 15:00:13 -05:00
Andrei Pavel
d0da5296ca [#2774] bump up version to 2.3.6-git 2023-02-21 19:39:06 +02:00
Andrei Pavel
f7c46d996a [#2769] editorial change log review Kea-2.3.5 2023-02-17 18:11:37 +02:00
Andrei Pavel
4450e0514a [#2769] release changes 2023-02-17 17:42:41 +02:00
Andrei Pavel
38e63b4260 [#2768] bump up library versions for 2.3.5 release 2023-02-17 17:07:10 +02:00
Razvan Becheriu
f412fb373f [#2704] fixed clang TSAN warnings by startong thread pools after setting up connections 2023-02-16 16:03:56 +00:00
Andrei Pavel
4440d12da3 [#2402] remove the regex check in statusGet UT
It caused failures on CentOS 7 and FreeBSDs 12 and 13.

unknown file: Failure
C++ exception with description "regex_error" thrown in the test body.
[  FAILED  ] CtrlChannelDhcpv4SrvTest.statusGet (3 ms)
2023-02-16 15:33:54 +02:00
Andrei Pavel
602b06cbce [#2402] add ChangeLog entry 2023-02-15 13:20:23 +02:00
Andrei Pavel
94b6fb355e [#2402] fix a transient unit test failure 2023-02-14 22:58:04 +02:00
Andrei Pavel
2318c56181 [#2402] document default MT 2023-02-14 14:23:05 +02:00
Andrei Pavel
22fcc845e9 [#2402] adapt tests to MT enabled by default 2023-02-14 14:23:05 +02:00
Andrei Pavel
0ba954d4c7 [#2402] enable MT by default 2023-02-14 14:23:05 +02:00
Thomas Markwalder
0ece7f0cfa [#2720] Added ChangeLog 2023-02-14 06:59:59 -05:00
Thomas Markwalder
5993348a1b [#2720] Changed EVAL_RESULT logger destination in dhcp4_srv.cc
src/bin/dhcp4/dhcp4_srv.cc
    Dhcpv4Srv::requiredClassify(Dhcpv4Exchange& ex) - changed
    logger destination
2023-02-14 06:56:26 -05:00
Andrei Pavel
64942ed354 [#2742] add ChangeLog entry 2023-02-14 09:59:24 +02:00