Francis Dupont
39f01f50eb
[ #2785 ] Almost done
2023-03-24 09:55:52 +01:00
Thomas Markwalder
d74021c60b
[ #2719 ] kea-dhcp4 offer-lft is now functional
...
kea-dhcp4 supports offer-lft for global, shared-network,
and subnets. Not yet supported in classes.
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::assignLease() - adjust outbound lease time option
Dhcpv4Srv::postAllocateNameUpdate() - allow reuse check on allocated
discover
src/lib/dhcpsrv/alloc_engine.*
AllocEngine::ClientContext4 - add offer_lft_ member
AllocEngine::discoverLease4() -set contexts offer_lft_
AllocEngine::getOfferLft() - new, get context appropriate value for offer_lft
AllocEngine::createLease4() - use offer_lft on DISCOVER, pass offer_lft
into hook, set lease fqdn flags to false
AllocEngine::reuseExpiredLease4() - reclaim on discover allocation
AllocEngine::updateLease4Information() - use offer_lft if appropriate
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
TEST_F(AllocEngine4Test, discoverOfferLft) - enabled
TEST_F(AllocEngine4Test, discoverOfferLftReuseExpiredLease4) - new test
2023-03-23 07:17:48 -04:00
Francis Dupont
3db9b8a0dd
[ #719 ] Addressed comments
2023-03-15 14:14:40 +01:00
Francis Dupont
7efe36286c
[ #719 ] Reapplied patch
2023-03-15 13:49:21 +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
faa781c418
[ #2765 ] Fixed v4 and v6
2023-03-10 17:42:23 +02: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
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
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
Razvan Becheriu
edc827a9da
[ #2702 ] remove reference to config_report
2023-02-11 15:26:00 +02:00
Razvan Becheriu
9d02694589
[ #2702 ] moved cfgrpt inside process folder
2023-02-11 12:43:02 +02:00
Wlodek Wencel
e0f96268f8
[ #2732 ] release changes
2023-01-23 19:18:49 +01:00
Razvan Becheriu
a95eb3f4e5
[ #1518 ] addressed review comments
2023-01-20 17:36:06 +02:00
Razvan Becheriu
35cb6108a7
[ #1518 ] reverted v4 changes which add persistent options if subnet is null
2023-01-20 17:36:06 +02:00
Razvan Becheriu
216aadb45a
[ #1518 ] implemented support for multiple vendor options in v4
2023-01-20 17:36:06 +02:00
Marcin Siodelski
3bfcf6b85a
[ #2348 ] Addressed review comments
...
- Remove unused AllocEngine ctor parameter
- Simplify locks
- Use default keyword instead of an empty implementation in dtors
- Fix typos
2022-11-21 08:52:03 +01:00
Marcin Siodelski
63b09a9bc2
[ #2348 ] Removed type from engine constructor
2022-11-21 08:52:02 +01:00
Razvan Becheriu
b34bb865d7
[ #2615 ] add ALL class before all hookpoints
2022-11-17 12:05:22 +00:00
Razvan Becheriu
6871cb0838
[ #2548 ] addressed comments
2022-10-25 10:07:32 +03:00
Razvan Becheriu
68e654a8e4
[ #2548 ] set valid_lft_ and preferred_lft_ to 0 instead of setting cltt_
2022-10-25 10:06:44 +03:00
Razvan Becheriu
a131e8ea3f
[ #2548 ] expire lease on release if affinity is enabled
2022-10-25 10:05:53 +03:00
Razvan Becheriu
80e8c44897
[ #248 ] template classes can add regular classes
2022-10-24 17:49:34 +00:00
Razvan Becheriu
5da3798bf3
[ #248 ] using same add/get class interface
2022-10-24 17:49:34 +00:00
Razvan Becheriu
033cc7bd7c
[ #248 ] added template classes
2022-10-24 17:49:34 +00:00
Andrei Pavel
9c2b1591ea
[ #2505 ] release changes
2022-07-25 18:51:51 +03:00
Dan Theisen
e53b1a434f
[ #2419 ] Begin adding stats to track HR assignment conflicts
2022-07-08 12:18:54 -07:00
Razvan Becheriu
830e5bc713
[ #2473 ] add continuation for ScopedCalloutHandleState
2022-07-05 18:24:46 +03:00
Thomas Markwalder
0509cc86e7
[ #2354 ] Update response FQDN flags when skipping DDNS
...
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processClientName() - update flags in response
FQDN to reflect no updates when DDNS gets skipped
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::processClientFqdn()) - update flags in response
FQDN to reflect no updates when DDNS gets skipped
2022-05-19 15:31:35 -04:00
Razvan Becheriu
e986a3909f
[ #2227 ] add support for unpacking multiple options with the same code RFC3396
2022-05-19 17:29:57 +00:00
Thomas Markwalder
649b37b382
[ #2390 ] Fix failing reconfigure in kea-dhcpX
...
Added ChangeLog
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/dhcp6_srv.cc
add RAII wrapper around callout handle prior to invoking ddnsX_update
callouts
2022-04-26 10:54:36 -04:00
Razvan Becheriu
47589c8e3e
[ #1548 ] fixed comments and code cleanup
2022-04-21 10:19:20 -04:00
Thomas Markwalder
8d6d5a55dc
[ #1548 ] kea-dhcp4 updates host name option after ddns4_update
...
ddns-tuning hook no longer updates outbound host option, that
is now done by kea-dhcp4 when there are changes.
modified: dhcp4_srv.cc
2022-04-21 10:19:20 -04:00
Thomas Markwalder
beeadfcd15
[ #1548 ] kea-dhcpX update outbound fqdn after ddnsX_update
...
Moved responsibility from hook lib to servers. This makes the hook
point more uniformly usable to custom hook developers
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processClientName() - update the FQDN option
in response as part of ddns4_update hook point logic
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::processClientFqdn() - update the FQDN option
in response as part of ddns6_update hook point logic
2022-04-21 10:19:20 -04:00
Thomas Markwalder
06c8e06c19
[ #1548 ] Corrected ddsn update callout names
...
src/bin/dhcp4/dhcp4_srv.cc
2022-04-21 10:19:20 -04:00
Tomek Mrugalski
a5d9347df7
[ #1548 ] hook point renamed to ddns_update4
2022-04-21 10:19:19 -04:00
Tomek Mrugalski
fc1adae2fd
[ #2200 ] ddns_update hook added in v4
2022-04-21 10:19:19 -04:00
Razvan Becheriu
d41571ce17
[ #2116 ] remove cql code
2022-03-31 08:11:37 +00:00
Andrei Pavel
0bb95497a8
[ #2347 ] subnet null check
2022-03-24 17:14:03 +00:00
Francis Dupont
06be19c83e
[ #2249 ] Checkpoint: doc to finish
2022-03-14 20:20:37 +02:00
Thomas Markwalder
2d5448a0f9
[ #2308 ] Removed misleading DHCP4_NCR_CREATE log statement from kea-dhcp4
...
modified:
src/bin/dhcp4/dhcp4_messages.cc
src/bin/dhcp4/dhcp4_messages.h
src/bin/dhcp4/dhcp4_messages.mes
src/bin/dhcp4/dhcp4_srv.cc
2022-03-02 11:30:01 -05:00
Razvan Becheriu
9afd838757
[ #1695 ] updated documentation
2022-02-17 20:01:55 +02:00
Razvan Becheriu
a6d13a60ff
[ #1695 ] added support for RAI relay suboption 11 (RAI_OPTION_SERVER_ID_OVERRIDE)
2022-02-17 20:01:55 +02:00
Razvan Becheriu
163efdff92
[ #2054 ] added stats counter for allocation failures
2022-02-17 19:50:29 +02:00
Andrei Pavel
e5d87e4f2f
[ #2290 ] release changes
2022-01-25 20:18:43 +02:00
Andrei Pavel
cd64f52014
[ #2290 ] release changes
2022-01-25 18:17:54 +02:00
Andrei Pavel
eebc2a3cd1
[ #2236 ] split memfile version into v4 and v6
2022-01-08 11:05:52 +02:00
Thomas Markwalder
49fe9fbf35
[ #1584 ] Addressed minor review comments
...
modified:
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/tests/dora_unittest.cc
src/bin/dhcp4/tests/hooks_unittest.cc
src/lib/dhcpsrv/alloc_engine.cc
2021-10-21 13:32:16 -04:00