]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
5 months ago[#3693] Addded debug log level
Thomas Markwalder [Tue, 11 Mar 2025 12:27:50 +0000 (08:27 -0400)] 
[#3693] Addded debug log level

modified:   src/bin/dhcp4/dhcp4_messages.mes
modified:   src/bin/dhcp6/dhcp6_messages.mes

5 months ago[#3693] Skip reclamation when service is disabled
Thomas Markwalder [Tue, 11 Mar 2025 11:51:48 +0000 (07:51 -0400)] 
[#3693] Skip reclamation when service is disabled

/src/bin/dhcp4/ctrl_dhcp4_srv.cc
    ControlledDhcpv4Srv::reclaimExpiredLeases()
    ControlledDhcpv4Srv::deleteExpiredReclaimedLeases()
    - do nothing but reschedule the timer when DHCP service
    is disabled

/src/bin/dhcp4/dhcp4_messages.mes
    DHCP4_RECLAIM_EXPIRED_LEASES_SKIPPED - new log message

/src/bin/dhcp4/tests/kea_controller_unittest.cc
    TEST_F(JSONFileBackendTest, reclaimOnlyWhenServiceEnabled) - new test

/src/bin/dhcp6/ctrl_dhcp6_srv.cc
    ControlledDhcpv6Srv::reclaimExpiredLeases()
    ControlledDhcpv6Srv::deleteExpiredReclaimedLeases()
    - do nothing but reschedule the timer when DHCP service
    is disabled

/src/bin/dhcp6/dhcp6_messages.mes
    DHCP6_RECLAIM_EXPIRED_LEASES_SKIPPED  - new log message

/src/bin/dhcp6/tests/kea_controller_unittest.cc
    TEST_F(JSONFileBackendTest, reclaimOnlyWhenServiceEnabled) - new test

5 months ago[#3710] fixed warning
Razvan Becheriu [Thu, 6 Mar 2025 11:01:11 +0000 (13:01 +0200)] 
[#3710] fixed warning

5 months ago[#3710] addressed review comments
Razvan Becheriu [Tue, 4 Mar 2025 21:57:41 +0000 (23:57 +0200)] 
[#3710] addressed review comments

5 months ago[#3710] renamed BackendStore to LegalLogMgr
Razvan Becheriu [Mon, 3 Mar 2025 23:28:22 +0000 (01:28 +0200)] 
[#3710] renamed BackendStore to LegalLogMgr

5 months ago[#3710] addressed review comments
Razvan Becheriu [Mon, 3 Mar 2025 22:21:15 +0000 (00:21 +0200)] 
[#3710] addressed review comments

5 months ago[#3710] use library index as manager id
Razvan Becheriu [Sun, 2 Mar 2025 12:07:55 +0000 (14:07 +0200)] 
[#3710] use library index as manager id

5 months ago[#3710] use library unique ManagerID
Razvan Becheriu [Sat, 1 Mar 2025 21:13:27 +0000 (23:13 +0200)] 
[#3710] use library unique ManagerID

5 months ago[#3710] break down forensic log hook library
Razvan Becheriu [Mon, 24 Feb 2025 23:46:16 +0000 (01:46 +0200)] 
[#3710] break down forensic log hook library

5 months ago[#3731] bump-lib-versions.sh: Automatically determine old version and assume new...
Andrei Pavel [Mon, 24 Feb 2025 06:13:32 +0000 (08:13 +0200)] 
[#3731] bump-lib-versions.sh: Automatically determine old version and assume new version

5 months ago[#3731] bump-lib-versions.sh now updates meson.build files
Andrei Pavel [Mon, 24 Feb 2025 05:52:59 +0000 (07:52 +0200)] 
[#3731] bump-lib-versions.sh now updates meson.build files

5 months ago[#3731] Add library versions to meson
Andrei Pavel [Mon, 24 Feb 2025 05:51:40 +0000 (07:51 +0200)] 
[#3731] Add library versions to meson

5 months ago[#3683] Addressed dhcp6_hooks.doc comments
Francis Dupont [Tue, 4 Mar 2025 13:35:36 +0000 (14:35 +0100)] 
[#3683] Addressed dhcp6_hooks.doc comments

5 months ago[#3683] Some fixes and improvements
Francis Dupont [Sat, 1 Mar 2025 10:55:55 +0000 (11:55 +0100)] 
[#3683] Some fixes and improvements

5 months ago[#3683] Addressed more comments
Francis Dupont [Sat, 1 Mar 2025 00:29:14 +0000 (01:29 +0100)] 
[#3683] Addressed more comments

5 months ago[#3683] Some improvements
Francis Dupont [Fri, 28 Feb 2025 11:30:28 +0000 (12:30 +0100)] 
[#3683] Some improvements

5 months ago[#3683] Addressed soem comments
Francis Dupont [Fri, 28 Feb 2025 00:08:03 +0000 (01:08 +0100)] 
[#3683] Addressed soem comments

5 months ago[#3683] Finished UTs
Francis Dupont [Thu, 27 Feb 2025 00:45:50 +0000 (01:45 +0100)] 
[#3683] Finished UTs

5 months ago[#3683] Checkpoint: going UT
Francis Dupont [Wed, 26 Feb 2025 11:07:21 +0000 (12:07 +0100)] 
[#3683] Checkpoint: going UT

5 months ago[#3683] Checkpoint: created dedicated UT file
Francis Dupont [Wed, 26 Feb 2025 01:32:28 +0000 (02:32 +0100)] 
[#3683] Checkpoint: created dedicated UT file

5 months ago[#3683] Fixed mysql upgrade
Francis Dupont [Tue, 25 Feb 2025 14:22:40 +0000 (15:22 +0100)] 
[#3683] Fixed mysql upgrade

5 months ago[#3683] Quote $ en pgsql upgrade
Francis Dupont [Tue, 25 Feb 2025 14:15:49 +0000 (15:15 +0100)] 
[#3683] Quote $ en pgsql upgrade

5 months ago[#3683] Finished db updates
Francis Dupont [Tue, 25 Feb 2025 13:53:17 +0000 (14:53 +0100)] 
[#3683] Finished db updates

5 months ago[#3683] Checkpoint: schema updates
Francis Dupont [Tue, 25 Feb 2025 10:50:14 +0000 (11:50 +0100)] 
[#3683] Checkpoint: schema updates

5 months ago[#3683] Checkpoint: more UTs
Francis Dupont [Tue, 25 Feb 2025 00:28:09 +0000 (01:28 +0100)] 
[#3683] Checkpoint: more UTs

5 months ago[#3683] Checkpoint: started UTs
Francis Dupont [Mon, 24 Feb 2025 16:01:40 +0000 (17:01 +0100)] 
[#3683] Checkpoint: started UTs

5 months ago[#3683] Checkpoint: UTs to do
Francis Dupont [Sun, 23 Feb 2025 22:03:25 +0000 (23:03 +0100)] 
[#3683] Checkpoint: UTs to do

5 months ago[#3683] Checkpoint (2)
Francis Dupont [Sun, 23 Feb 2025 01:03:18 +0000 (02:03 +0100)] 
[#3683] Checkpoint (2)

5 months ago[#3683] Checkpoint
Francis Dupont [Sat, 22 Feb 2025 10:45:54 +0000 (11:45 +0100)] 
[#3683] Checkpoint

5 months ago[#3747] Spelling 2
Francis Dupont [Tue, 4 Mar 2025 13:57:17 +0000 (14:57 +0100)] 
[#3747] Spelling 2

5 months ago[#3747] Spelling
Francis Dupont [Tue, 4 Mar 2025 13:55:18 +0000 (14:55 +0100)] 
[#3747] Spelling

5 months ago[#3747] Fixed doxygen error
Thomas Markwalder [Wed, 26 Feb 2025 16:40:37 +0000 (11:40 -0500)] 
[#3747] Fixed doxygen error

/src/lib/dhcpsrv/cfg_option.h

5 months ago[#3747] Updated ARM
Thomas Markwalder [Wed, 26 Feb 2025 16:28:51 +0000 (11:28 -0500)] 
[#3747] Updated ARM

/doc/sphinx/arm/classify.rst

/src/lib/dhcpsrv/cfg_option.h
    CfgOption::allowedForClientClasses()
     - rewrote to use existing hash index and optimized

/src/lib/dhcpsrv/tests/cfg_option_unittest.cc
    TEST_F(CfgOptionTest, allowedForClientClasses)
    - Added case for option not found

Added change log entry file

5 months ago[#3747] Handle multiple options for class-tagging
Thomas Markwalder [Tue, 25 Feb 2025 19:49:59 +0000 (14:49 -0500)] 
[#3747] Handle multiple options for class-tagging

/src/bin/dhcp4/dhcp4_srv.cc
/src/bin/dhcp6/dhcp6_srv.cc
    Replaces use of OptionDescriptor::allowedForClientClasses()
    with CfgOption::allowedForClientClasses()

/src/bin/dhcp4/tests/classify_unittest.cc
    TEST_F(ClassifyTest, classTaggingList) - new test

/src/bin/dhcp6/tests/classify_unittest.cc
    TEST_F(ClassifyTest, classTaggingList) - new test

/src/lib/dhcpsrv/cfg_option.h
    Added template function CfgOption::allowedForClientClasses()

/src/lib/dhcpsrv/tests/cfg_option_unittest.cc
    TEST_F(CfgOptionTest, allowedForClientClasses) - new test

5 months ago[#3731] Address review
Andrei Pavel [Fri, 28 Feb 2025 09:00:03 +0000 (11:00 +0200)] 
[#3731] Address review

5 months ago[#3731] Add missing gtest dependencies in Meson
Andrei Pavel [Thu, 27 Feb 2025 09:34:40 +0000 (11:34 +0200)] 
[#3731] Add missing gtest dependencies in Meson

5 months ago[#3731] Fix grammar target in Meson
Andrei Pavel [Thu, 27 Feb 2025 08:39:24 +0000 (10:39 +0200)] 
[#3731] Fix grammar target in Meson

5 months ago[#3731] Fix path of sphinx-build in meson.build
Andrei Pavel [Thu, 27 Feb 2025 06:57:55 +0000 (08:57 +0200)] 
[#3731] Fix path of sphinx-build in meson.build

5 months ago[#3731] Fix crash caused by destruction order in d2 tests
Andrei Pavel [Wed, 26 Feb 2025 09:04:57 +0000 (11:04 +0200)] 
[#3731] Fix crash caused by destruction order in d2 tests

Co-authored by: Razvan Becheriu <razvan@isc.org>

5 months ago[#3731] Fix shell_unittest.py in Meson
Andrei Pavel [Wed, 26 Feb 2025 07:07:03 +0000 (09:07 +0200)] 
[#3731] Fix shell_unittest.py in Meson

5 months ago[#3731] Add "is_parallel: false" to more unit tests in meson to avoid conflicts
Andrei Pavel [Tue, 25 Feb 2025 14:00:07 +0000 (16:00 +0200)] 
[#3731] Add "is_parallel: false" to more unit tests in meson to avoid conflicts

5 months ago[#3731] Add test dependencies so that "meson test" works without "meson compile"
Andrei Pavel [Tue, 25 Feb 2025 13:38:39 +0000 (15:38 +0200)] 
[#3731] Add test dependencies so that "meson test" works without "meson compile"

5 months ago[#3731] Minimize indentation in doc/*/*.sh.in
Andrei Pavel [Tue, 25 Feb 2025 10:33:21 +0000 (12:33 +0200)] 
[#3731] Minimize indentation in doc/*/*.sh.in

5 months ago[#3731] Install ninja too in meson.sh
Andrei Pavel [Mon, 24 Feb 2025 12:52:14 +0000 (14:52 +0200)] 
[#3731] Install ninja too in meson.sh

5 months ago[#3731] Uppercase program names with no _exe in meson.build
Andrei Pavel [Mon, 24 Feb 2025 10:01:19 +0000 (12:01 +0200)] 
[#3731] Uppercase program names with no _exe in meson.build

5 months ago[#3731] Fix rpath to work in installation, in sources, and in the case where the...
Andrei Pavel [Mon, 24 Feb 2025 09:55:55 +0000 (11:55 +0200)] 
[#3731] Fix rpath to work in installation, in sources, and in the case where the installation was moved

5 months ago[#3678] Improve error message in tools/check-messages.py
Andrei Pavel [Thu, 27 Feb 2025 06:42:08 +0000 (08:42 +0200)] 
[#3678] Improve error message in tools/check-messages.py

5 months ago[#3678] ./tools/check-messages.py -g now prints a warning if premium is missing
Andrei Pavel [Thu, 27 Feb 2025 13:45:32 +0000 (15:45 +0200)] 
[#3678] ./tools/check-messages.py -g now prints a warning if premium is missing

5 months ago[#3333] updated meson files
Razvan Becheriu [Mon, 24 Feb 2025 08:05:56 +0000 (10:05 +0200)] 
[#3333] updated meson files

5 months ago[#3333] use #3463 fix for radius
Razvan Becheriu [Fri, 21 Feb 2025 19:27:56 +0000 (21:27 +0200)] 
[#3333] use #3463 fix for radius

5 months ago[#3333] removed references and Doxyfile-xml files
Razvan Becheriu [Fri, 21 Feb 2025 18:56:03 +0000 (20:56 +0200)] 
[#3333] removed references and Doxyfile-xml files

5 months ago[#3333] applied #3730 changes
Razvan Becheriu [Fri, 21 Feb 2025 18:39:36 +0000 (20:39 +0200)] 
[#3333] applied #3730 changes

5 months ago[#3333] move hook libraries to open source
Razvan Becheriu [Wed, 12 Feb 2025 11:31:51 +0000 (13:31 +0200)] 
[#3333] move hook libraries to open source

5 months ago[#3683] Merge branch '3683-registering-self-generated-ipv6-addrs-rfc9686-defs' of...
Francis Dupont [Fri, 21 Feb 2025 17:41:04 +0000 (18:41 +0100)] 
[#3683] Merge branch '3683-registering-self-generated-ipv6-addrs-rfc9686-defs' of gitlab.isc.org:isc-projects/kea into 3683-registering-self-generated-ipv6-addrs-rfc9686-defs

5 months ago[#3683] Fixed lease_cmds UTs
Francis Dupont [Fri, 21 Feb 2025 17:40:22 +0000 (18:40 +0100)] 
[#3683] Fixed lease_cmds UTs

5 months ago[#3683] Addressed comments
Francis Dupont [Fri, 21 Feb 2025 16:23:10 +0000 (17:23 +0100)] 
[#3683] Addressed comments

5 months ago[#3683] Updated meson support
Francis Dupont [Fri, 21 Feb 2025 09:48:37 +0000 (10:48 +0100)] 
[#3683] Updated meson support

5 months ago[#3683] Fixed typo
Francis Dupont [Thu, 6 Feb 2025 23:54:27 +0000 (00:54 +0100)] 
[#3683] Fixed typo

5 months ago[#3683] Finished update
Francis Dupont [Thu, 6 Feb 2025 21:56:38 +0000 (22:56 +0100)] 
[#3683] Finished update

5 months ago[#3683] Checkpoint: update after rebase
Francis Dupont [Thu, 6 Feb 2025 21:48:48 +0000 (22:48 +0100)] 
[#3683] Checkpoint: update after rebase

5 months ago[#3683] Added registered lease state
Francis Dupont [Fri, 27 Dec 2024 10:16:24 +0000 (11:16 +0100)] 
[#3683] Added registered lease state

5 months ago[#3683] Added addr-reg-enable
Francis Dupont [Thu, 19 Dec 2024 12:15:07 +0000 (13:15 +0100)] 
[#3683] Added addr-reg-enable

5 months ago[#3730] Update meson.build
Francis Dupont [Fri, 21 Feb 2025 13:47:24 +0000 (14:47 +0100)] 
[#3730] Update meson.build

5 months ago[#3730] Unrelated: fix a doc error on old Sphinx
Andrei Pavel [Fri, 21 Feb 2025 13:09:57 +0000 (15:09 +0200)] 
[#3730] Unrelated: fix a doc error on old Sphinx

5 months ago[#3730] Add other meson targets
Andrei Pavel [Fri, 21 Feb 2025 13:06:10 +0000 (15:06 +0200)] 
[#3730] Add other meson targets

- add-changelog-entry
- coverage (.lcovrc)
- cppcheck, cppcheck-report
- doc (renamed from docs)
- grammar
- mes-doc
- uml
- update-python-dependencies
- valgrind (add_test_setup instead of custom target)

5 months ago[#3730] Replace HAS_KEA_MSG_COMPILER with KEA_MSG_COMPILER.found()
Andrei Pavel [Fri, 21 Feb 2025 09:33:11 +0000 (11:33 +0200)] 
[#3730] Replace HAS_KEA_MSG_COMPILER with KEA_MSG_COMPILER.found()

5 months ago[#3730] Addressed comment
Francis Dupont [Fri, 21 Feb 2025 09:20:35 +0000 (10:20 +0100)] 
[#3730] Addressed comment

5 months ago[#3730] Fixed message file headers
Francis Dupont [Thu, 20 Feb 2025 16:35:00 +0000 (17:35 +0100)] 
[#3730] Fixed message file headers

5 months ago[#3730] Update copyright dates
Andrei Pavel [Thu, 20 Feb 2025 13:34:10 +0000 (15:34 +0200)] 
[#3730] Update copyright dates

5 months ago[#3730] Update meson.sh to pull latest
Andrei Pavel [Thu, 20 Feb 2025 13:33:23 +0000 (15:33 +0200)] 
[#3730] Update meson.sh to pull latest

5 months ago[#3730] Moved .libs to @dotlibs@
Francis Dupont [Thu, 20 Feb 2025 15:28:43 +0000 (16:28 +0100)] 
[#3730] Moved .libs to @dotlibs@

5 months ago[#3730] Added generate parser
Francis Dupont [Thu, 20 Feb 2025 00:02:16 +0000 (01:02 +0100)] 
[#3730] Added generate parser

5 months ago[#3730] Added generate messages
Francis Dupont [Wed, 19 Feb 2025 21:51:36 +0000 (22:51 +0100)] 
[#3730] Added generate messages

5 months ago[#3730] Shell tests, src/bin, doc
Francis Dupont [Tue, 18 Feb 2025 14:54:20 +0000 (15:54 +0100)] 
[#3730] Shell tests, src/bin, doc

5 months ago[#3683] Addressed comments
Francis Dupont [Fri, 21 Feb 2025 16:23:10 +0000 (17:23 +0100)] 
[#3683] Addressed comments

5 months ago[#3683] Updated meson support
Francis Dupont [Fri, 21 Feb 2025 09:48:37 +0000 (10:48 +0100)] 
[#3683] Updated meson support

5 months ago[#3683] Fixed typo
Francis Dupont [Thu, 6 Feb 2025 23:54:27 +0000 (00:54 +0100)] 
[#3683] Fixed typo

5 months ago[#3683] Finished update
Francis Dupont [Thu, 6 Feb 2025 21:56:38 +0000 (22:56 +0100)] 
[#3683] Finished update

5 months ago[#3683] Checkpoint: update after rebase
Francis Dupont [Thu, 6 Feb 2025 21:48:48 +0000 (22:48 +0100)] 
[#3683] Checkpoint: update after rebase

5 months ago[#3683] Added registered lease state
Francis Dupont [Fri, 27 Dec 2024 10:16:24 +0000 (11:16 +0100)] 
[#3683] Added registered lease state

5 months ago[#3683] Added addr-reg-enable
Francis Dupont [Thu, 19 Dec 2024 12:15:07 +0000 (13:15 +0100)] 
[#3683] Added addr-reg-enable

5 months ago[#3463] Added note to ARM
Thomas Markwalder [Wed, 19 Feb 2025 18:16:49 +0000 (13:16 -0500)] 
[#3463] Added note to ARM

modified:   arm/hooks-lease-cmds.rst

5 months ago[#3463] Addressed review comments
Thomas Markwalder [Wed, 19 Feb 2025 15:12:34 +0000 (10:12 -0500)] 
[#3463] Addressed review comments

/src/hooks/dhcp/lease_cmds/lease_cmds.cc
    Add null lease checks

/src/lib/dhcpsrv/lease.cc
    Lease4::decline() - wipe user context

/src/lib/dhcpsrv/tests/lease_unittest.cc
    TEST_F(Lease4Test, decline) - verify user context
    is wiped

5 months ago[#3463] Spelling
Francis Dupont [Wed, 19 Feb 2025 10:27:18 +0000 (11:27 +0100)] 
[#3463] Spelling

5 months ago[#3463] Spelling
Francis Dupont [Wed, 19 Feb 2025 10:24:46 +0000 (11:24 +0100)] 
[#3463] Spelling

5 months ago[#3463] Updated meson.build files
Francis Dupont [Wed, 19 Feb 2025 10:20:01 +0000 (11:20 +0100)] 
[#3463] Updated meson.build files

5 months ago[#3463] Fixed JSON error in ARM
Thomas Markwalder [Tue, 18 Feb 2025 19:24:17 +0000 (14:24 -0500)] 
[#3463] Fixed JSON error in ARM

5 months ago[#3463] Addressed most of review comments
Thomas Markwalder [Tue, 18 Feb 2025 18:52:50 +0000 (13:52 -0500)] 
[#3463] Addressed most of review comments

5 months ago[#3463} Fix Changelog indent
Thomas Markwalder [Mon, 10 Feb 2025 13:26:06 +0000 (08:26 -0500)] 
[#3463} Fix Changelog indent

5 months ago[#3464} Fix ARM again
Thomas Markwalder [Mon, 10 Feb 2025 13:03:18 +0000 (08:03 -0500)] 
[#3464} Fix ARM again

Added missing blank line.

5 months ago[#3463] Fix JSON in ARM
Thomas Markwalder [Mon, 10 Feb 2025 12:54:18 +0000 (07:54 -0500)] 
[#3463] Fix JSON in ARM

modified:   hooks-lease-cmds.rst

5 months ago[#3463] Updated ARM
Thomas Markwalder [Fri, 7 Feb 2025 18:53:47 +0000 (13:53 -0500)] 
[#3463] Updated ARM

new file:
    changelog_unreleased/3463-optionally-store-response-dhcp-options-in-lease-user-context

modified:
    doc/sphinx/arm/hooks-lease-cmds.rst

5 months ago[#3463] V6 UTs working
Thomas Markwalder [Thu, 6 Feb 2025 20:22:29 +0000 (15:22 -0500)] 
[#3463] V6 UTs working

Finished V6 UTs. Also re-organized tests so those
that rely on loading the library are now in libloadtests:
    tests/lease_cmds4_unittest.cc -> libloadtests/lease_cmds4_unittest.cc
    tests/lease_cmds6_unittest.cc -> libloadtests/lease_cmds6_unittest.cc
    tests/lease_cmds_unittest.cc -> libloadtests/lease_cmds_unittest.cc
    tests/lease_cmds_unittest.h -> libloadtests/lease_cmds_unittest.h

Create new files to house new callout handler tests which rely on
the library being linked in so functions are visible:

new file:   tests/lease_cmds_func4_unittest.cc
new file:   tests/lease_cmds_func6_unittest.cc
new file:   tests/lease_cmds_func_unittest.h

/src/hooks/dhcp/lease_cmds/lease_cmds.cc
    LeaseCmdsImpl::leases6Committed() - track but don't
    throw on leases that fail so all leases are attempted

/src/hooks/dhcp/lease_cmds/lease_cmds_messages.mes
    Tweaked and reordered

/src/hooks/dhcp/lease_cmds/libloadtests/Makefile.am
    Added lease_cmds_unittest* here since they rely on
    loading the library

/src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds4_unittest.cc
/src/hooks/dhcp/lease_cmds/libloadtests/lease_cmds6_unittest.cc
    removed new code relating to callout handler tests as they
    use lib functions directly

/src/hooks/dhcp/lease_cmds/tests/Makefile.am
    Removed lease_cmds*_unittest.* (now in libloadatests)
    Added lease_cmds_func*_unittest.*

/src/hooks/dhcp/lease_cmds/tests/binding_variables_unittest.cc
    Moved BindingVariableHandlerTest code into
    lease_cmds_func*_unittest.*

5 months ago[#3463] Added v6 implementation
Thomas Markwalder [Wed, 5 Feb 2025 17:10:37 +0000 (12:10 -0500)] 
[#3463] Added v6 implementation

/src/bin/dhcp6/dhcp6_srv.cc
    Dhcpv6Srv::processLocalizedQuery6() - add response6 to leases6_committed
    callout arguments

/src/bin/dhcp6/tests/hooks_unittest.cc
    Update tests to expect with response6

/src/hooks/dhcp/lease_cmds/lease_cmds.*
    Add leases6Committed() handler

/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc
    Add leases6_committed()callout

/src/hooks/dhcp/lease_cmds/lease_cmds_messages.mes
    LEASE_CMDS_LEASES6_COMMITTED_FAILED - new message

/src/hooks/dhcp/lease_cmds/tests/lease_cmds6_unittest.cc
    TEST_F(Lease6CmdsTest, validLeases6Committed)
    TEST_F(Lease6CmdsTest, validLeases6CommittedMultiThreading)
    TEST_F(Lease6CmdsTest, nopLeases6Committed)
    TEST_F(Lease6CmdsTest, nopLeases6CommittedMultiThreading)
    - new tests

5 months ago[#3463] Add response4 to V4 callout arguments
Thomas Markwalder [Mon, 3 Feb 2025 20:00:23 +0000 (15:00 -0500)] 
[#3463] Add response4 to V4 callout arguments

/src/bin/dhcp4/dhcp4_srv.cc
    Dhcpv4Srv::processLocalizedQuery4(AllocEngine::ClientContext4Ptr& ctx,
    - Added response4 argument to lease4_offer and leases4_committed callout_handles.

/src/bin/dhcp4/tests/hooks_unittest.cc
    Updated tests

/src/hooks/dhcp/lease_cmds/lease_cmds.*
    lease4_offer() handling

/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc
    added lease4_offer callout

/src/hooks/dhcp/lease_cmds/libloadtests/load_unload_unittests.cc
    TEST_F(LeaseCmdsCbLibLoadTest, verifyCallouts4)
    TEST_F(LeaseCmdsCbLibLoadTest, verifyCallouts6) - new tests

/src/hooks/dhcp/lease_cmds/tests/lease_cmds4_unittest.cc
    TEST_F(Lease4CmdsTest, validLease4Offer)
    TEST_F(Lease4CmdsTest, validLease4OfferMultiThreading)
    TEST_F(Lease4CmdsTest, nopLeases4Committed)
    TEST_F(Lease4CmdsTest, nopLeases4CommittedMultiThreading)
    - new tests

5 months ago[#3463] Implementd leases4_committed callout
Thomas Markwalder [Fri, 31 Jan 2025 16:29:20 +0000 (11:29 -0500)] 
[#3463]  Implementd leases4_committed callout

/src/hooks/dhcp/lease_cmds/binding_variables.cc
    BindingVariableMgr::evaluateVariables()
    - Add a throw if query,response, or lease are empty

/src/hooks/dhcp/lease_cmds/lease_cmds.*
    LeaseCmdsImpl::leases4Committed()
    LeaseCmds::leases4Committed()
    - implemented callout handler

/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc
    leases4_committed(CalloutHandle& handle) - new callout

/src/hooks/dhcp/lease_cmds/lease_cmds_messages.mes
    LEASE_CMDS_LEASES4_COMMITTED_NOTHING_TO_UPDATE
    LEASE_CMDS_LEASES4_COMMITTED_FAILED processing - new messages

/src/hooks/dhcp/lease_cmds/tests/lease_cmds4_unittest.cc
    void Lease4CmdsTest::testValidLeases4Committed()
    TEST_F(Lease4CmdsTest, validLeases4Committed)
    TEST_F(Lease4CmdsTest, validLeases4CommittedMultiThreading)
    - new tests

5 months ago[#3463] Add evaluateVariables UTs
Thomas Markwalder [Thu, 30 Jan 2025 18:47:04 +0000 (13:47 -0500)] 
[#3463] Add evaluateVariables UTs

/src/hooks/dhcp/lease_cmds/binding_variables.cc
    BindingVariableMgr::evaluateVariables() - store empty
    evaluated variable values

/src/hooks/dhcp/lease_cmds/tests/binding_variables_unittest.cc
    TEST(BindingVariableMgrTest, evaluateVariables4)  - new test
    TEST(BindingVariableMgrTest, evaluateVariables6)  - new test

src/lib/dhcpsrv/lease.cc
    fixed spacing

5 months ago[#3463] Add BindingVariableMgr::evaluateVariables
Thomas Markwalder [Tue, 28 Jan 2025 20:52:54 +0000 (15:52 -0500)] 
[#3463] Add BindingVariableMgr::evaluateVariables

/src/hooks/dhcp/lease_cmds/binding_variables.*
    BindingVariableMgr::evaluateVariables() - initial implementation

/src/lib/dhcpsrv/alloc_engine.cc
    AllocEngine::updateLease4ExtendedInfo()
    AllocEngine::updateLease6ExtendedInfo()
    - use Lease::updateUserContextISC()

/src/lib/dhcpsrv/lease.*
    bool Lease::updateUserContextISC() - new function that
    adds/updates an element in the "ISC" map in the lease's
    user-context.

5 months ago[#3463] Added BindingVariableMgr
Thomas Markwalder [Tue, 28 Jan 2025 15:13:46 +0000 (10:13 -0500)] 
[#3463] Added BindingVariableMgr

Library can now be configured with binding variables.

/src/hooks/dhcp/lease_cmds/binding_variables.*
    Adding BindingVariableMgr class

/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc
    Adding manager singleton, created and configured
    in load()

/src/hooks/dhcp/lease_cmds/libloadtests/load_unload_unittests.cc
    Added valid configuration to load tests

/src/hooks/dhcp/lease_cmds/tests/binding_variables_unittest.cc
    TEST(BindingVariableMgrTest, validConfigure)
    TEST(BindingVariableMgrTest, clearOnConfigure)
    TEST(BindingVariableMgrTest, invalidConfigure) - new tests

/src/lib/dhcpsrv/testutils/lib_load_test_fixture.h
    Added check of load/unload lib functions to catch
    config errors.

5 months ago[#3463] Added parsing to BindingVariable
Thomas Markwalder [Mon, 27 Jan 2025 14:34:31 +0000 (09:34 -0500)] 
[#3463] Added parsing to BindingVariable

/src/hooks/dhcp/lease_cmds/binding_variables.*
    BindingVariable::parse() - added simple parsing
    function

/src/hooks/dhcp/lease_cmds/tests/binding_variables_unittest.cc
    TEST(BindingVariableTest, validParsing)
    TEST(BindingVariableTest, invalidParsing) - new tests