]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
3 years ago[#2454] Compilation fix
Tomek Mrugalski [Wed, 20 Jul 2022 20:32:36 +0000 (22:32 +0200)] 
[#2454] Compilation fix

3 years ago[#2454] Renamed ctrl socket template to appease doxygen
Tomek Mrugalski [Wed, 20 Jul 2022 07:49:10 +0000 (09:49 +0200)] 
[#2454] Renamed ctrl socket template to appease doxygen

3 years ago[#2454] More Doxygen warnings fixed
Tomek Mrugalski [Fri, 8 Jul 2022 15:32:40 +0000 (17:32 +0200)] 
[#2454] More Doxygen warnings fixed

3 years ago[#2454] doxygen tags added
Tomek Mrugalski [Fri, 8 Jul 2022 15:23:54 +0000 (17:23 +0200)] 
[#2454] doxygen tags added

3 years ago[#2454] Doxygen fixes
Tomek Mrugalski [Fri, 8 Jul 2022 14:37:20 +0000 (16:37 +0200)] 
[#2454] Doxygen fixes

3 years ago[#1781] spelling
Francis Dupont [Wed, 20 Jul 2022 13:00:24 +0000 (15:00 +0200)] 
[#1781] spelling

3 years ago[#1781] Additional review comments
Thomas Markwalder [Tue, 19 Jul 2022 20:15:58 +0000 (16:15 -0400)] 
[#1781] Additional review comments

src/hooks/dhcp/high_availability/query_filter.h
    Added commentary

src/hooks/dhcp/high_availability/tests/query_filter_unittest.cc
    Added commentary

3 years ago[#1781] spelling
Francis Dupont [Tue, 19 Jul 2022 15:57:09 +0000 (17:57 +0200)] 
[#1781] spelling

3 years ago[#1781] Addressed initial review comments
Thomas Markwalder [Tue, 19 Jul 2022 14:37:04 +0000 (10:37 -0400)] 
[#1781] Addressed initial review comments

doc/sphinx/arm/hooks.rst
    Added paragraph about hook library ordering

src/hooks/dhcp/high_availability/query_filter.cc
    Added comment

src/hooks/dhcp/high_availability/tests/query_filter_unittest.cc
    Test beyond enum EOF.

3 years ago[#1781] spelling
Francis Dupont [Mon, 18 Jul 2022 14:57:11 +0000 (16:57 +0200)] 
[#1781] spelling

3 years ago[#1781] Removed whitespace
Thomas Markwalder [Wed, 13 Jul 2022 11:59:08 +0000 (07:59 -0400)] 
[#1781] Removed whitespace

3 years ago[#1781] HA now load balances only specific message types
Thomas Markwalder [Tue, 12 Jul 2022 20:40:39 +0000 (16:40 -0400)] 
[#1781] HA now load balances only specific message types

Added a ChangeLog

src/hooks/dhcp/high_availability/query_filter.*
    QueryFilter::isHaType(const dhcp::Pkt4Ptr& query4)
    QueryFilter::isHaType(const dhcp::Pkt6Ptr& query6)
    - new functions

    QueryFilter::inScope() - uses new functions to balance
    and scope messages of specific types

src/hooks/dhcp/high_availability/tests/query_filter_unittest.cc
    TEST_F(QueryFilterTest, loadBalancingHaTypes4)
    TEST_F(QueryFilterTest, loadBalancingHaTypes4MultiThreading)
    TEST_F(QueryFilterTest, loadBalancingHaTypes6)
    TEST_F(QueryFilterTest, loadBalancingHaTypes6MultiThreading)
    - new tests

src/lib/dhcp/dhcp6.h
    Uncommented v6 message types.

3 years ago[#2491] Add hammer support for alpine 3.16
Dan Theisen [Wed, 29 Jun 2022 21:23:25 +0000 (14:23 -0700)] 
[#2491] Add hammer support for alpine 3.16

3 years ago[#2437] ARM style change: render literals in black and underline xrefs
Andrei Pavel [Wed, 20 Jul 2022 06:48:19 +0000 (09:48 +0300)] 
[#2437] ARM style change: render literals in black and underline xrefs

3 years agoApply 1 suggestion(s) to 1 file(s)
Marcin Godzina [Mon, 10 Jan 2022 17:13:13 +0000 (17:13 +0000)] 
Apply 1 suggestion(s) to 1 file(s)

3 years agoUpdate doc/sphinx/arm/hooks-lease-cmds.rst
Marcin Godzina [Mon, 10 Jan 2022 17:08:23 +0000 (17:08 +0000)] 
Update doc/sphinx/arm/hooks-lease-cmds.rst

3 years ago[#2487] Toned down message ID and text
Thomas Markwalder [Mon, 11 Jul 2022 15:34:26 +0000 (11:34 -0400)] 
[#2487] Toned down message ID and text

Removed the word FAILED/failed and toned down log messages added in #2352
so they will not be mistaken for error conditions.

src/lib/dhcpsrv/cfg_subnets4.cc
src/lib/dhcpsrv/cfg_subnets6.cc

src/lib/dhcpsrv/dhcpsrv_messages.cc b/src/lib/dhcpsrv/dhcpsrv_messages.cc
src/lib/dhcpsrv/dhcpsrv_messages.h b/src/lib/dhcpsrv/dhcpsrv_messages.h
src/lib/dhcpsrv/dhcpsrv_messages.h b/src/lib/dhcpsrv/dhcpsrv_messages.me

3 years ago[#2469] moved upload to cloudsmith step later in the process, addressed review comments
Wlodek Wencel [Thu, 14 Jul 2022 11:08:32 +0000 (13:08 +0200)] 
[#2469] moved upload to cloudsmith step later in the process, addressed review comments

3 years ago[#2469] updates to release checklist
Wlodek Wencel [Thu, 14 Jul 2022 10:10:52 +0000 (12:10 +0200)] 
[#2469] updates to release checklist

3 years ago[#2481] Added ChangeLog entry
Thomas Markwalder [Tue, 12 Jul 2022 11:18:00 +0000 (07:18 -0400)] 
[#2481] Added ChangeLog entry

3 years ago[#2481] Addressed review comments
Thomas Markwalder [Tue, 12 Jul 2022 11:14:42 +0000 (07:14 -0400)] 
[#2481] Addressed review comments

3 years agoApply 17 suggestion(s) to 3 file(s)
Suzanne Goldlust [Tue, 12 Jul 2022 11:08:37 +0000 (11:08 +0000)] 
Apply 17 suggestion(s) to 3 file(s)

3 years ago[#2481] unrelated - respect naming convention for structs
Andrei Pavel [Mon, 11 Jul 2022 11:09:46 +0000 (14:09 +0300)] 
[#2481] unrelated - respect naming convention for structs

3 years ago[#2481] document lease limits in the ARM
Andrei Pavel [Sun, 10 Jul 2022 12:49:19 +0000 (15:49 +0300)] 
[#2481] document lease limits in the ARM

3 years ago[#2083] addressed comments
Razvan Becheriu [Mon, 11 Jul 2022 16:09:06 +0000 (19:09 +0300)] 
[#2083] addressed comments

3 years ago[#2083] addressed comments
Razvan Becheriu [Mon, 11 Jul 2022 16:05:06 +0000 (19:05 +0300)] 
[#2083] addressed comments

3 years ago[#2083] addressed comments
Razvan Becheriu [Mon, 11 Jul 2022 15:51:59 +0000 (18:51 +0300)] 
[#2083] addressed comments

3 years ago[#2083] fixed documentation
Razvan Becheriu [Fri, 1 Jul 2022 15:40:11 +0000 (18:40 +0300)] 
[#2083] fixed documentation

3 years ago[#2083] fixed ha rst documntation by adding quotation marcs and fixing indentation
Razvan Becheriu [Thu, 30 Jun 2022 13:10:10 +0000 (16:10 +0300)] 
[#2083] fixed ha rst documntation by adding quotation marcs and fixing indentation

3 years ago[#2419] Make suggested changes from Code Review
Dan Theisen [Fri, 8 Jul 2022 18:20:51 +0000 (12:20 -0600)] 
[#2419] Make suggested changes from Code Review

3 years ago[#2419] Add changelog entry for reservation conflicts stat
Dan Theisen [Thu, 7 Jul 2022 21:00:01 +0000 (15:00 -0600)] 
[#2419] Add changelog entry for reservation conflicts stat

3 years ago[#2419] Add changelog entry for reservation conflicts stat
Dan Theisen [Thu, 7 Jul 2022 20:55:12 +0000 (14:55 -0600)] 
[#2419] Add changelog entry for reservation conflicts stat

3 years ago[#2419] Begin adding stats to track HR assignment conflicts
Dan Theisen [Sun, 3 Jul 2022 19:28:27 +0000 (12:28 -0700)] 
[#2419] Begin adding stats to track HR assignment conflicts

Resolved merge conflict

3 years ago[#2419] Modify existing unit tests that cause reservation conflicts to ensure stats...
Dan Theisen [Thu, 7 Jul 2022 20:49:01 +0000 (14:49 -0600)] 
[#2419] Modify existing unit tests that cause reservation conflicts to ensure stats are working

3 years ago[#2419] Add documentation for v4-reservation-conflicts
Dan Theisen [Wed, 6 Jul 2022 23:15:13 +0000 (17:15 -0600)] 
[#2419] Add documentation for v4-reservation-conflicts

3 years ago[#2419] Fix statistics (add v4-reservation-conflicts) unit tests for dhcp4
Dan Theisen [Wed, 6 Jul 2022 19:36:08 +0000 (13:36 -0600)] 
[#2419] Fix statistics (add v4-reservation-conflicts) unit tests for dhcp4

3 years ago[#2419] Begin adding stats to track HR assignment conflicts
Dan Theisen [Sun, 3 Jul 2022 19:28:27 +0000 (12:28 -0700)] 
[#2419] Begin adding stats to track HR assignment conflicts

3 years ago[#2432] Added a note about no longer needing autogeneration
Tomek Mrugalski [Fri, 8 Jul 2022 14:04:10 +0000 (16:04 +0200)] 
[#2432] Added a note about no longer needing autogeneration

3 years ago[#2432] solve warning: std::binary_function is deprecated
Andrei Pavel [Thu, 30 Jun 2022 14:07:26 +0000 (17:07 +0300)] 
[#2432] solve warning: std::binary_function is deprecated

3 years ago[#2432] solve warning: std::unary_function is deprecated
Andrei Pavel [Thu, 30 Jun 2022 14:07:19 +0000 (17:07 +0300)] 
[#2432] solve warning: std::unary_function is deprecated

3 years ago[#2432] solve warning: unused variable ‘err’
Andrei Pavel [Thu, 30 Jun 2022 14:00:47 +0000 (17:00 +0300)] 
[#2432] solve warning: unused variable ‘err’

3 years ago[#2448] add NEXT_STEP_DROP test cases to dhcpX_srv_configured unit test
Andrei Pavel [Thu, 7 Jul 2022 07:01:41 +0000 (10:01 +0300)] 
[#2448] add NEXT_STEP_DROP test cases to dhcpX_srv_configured unit test

3 years ago[#2448] make NEXT_STEP_DROP in dhcpX_srv_configured lead to DHCPX_CONFIG_LOAD_FAIL
Andrei Pavel [Wed, 6 Jul 2022 19:33:37 +0000 (22:33 +0300)] 
[#2448] make NEXT_STEP_DROP in dhcpX_srv_configured lead to DHCPX_CONFIG_LOAD_FAIL

3 years ago[#2448] add virtual in LeaseMgr methods
Andrei Pavel [Wed, 6 Jul 2022 12:56:23 +0000 (15:56 +0300)] 
[#2448] add virtual in LeaseMgr methods

3 years ago[#2448] solve unused parameter warning
Andrei Pavel [Wed, 6 Jul 2022 10:10:38 +0000 (13:10 +0300)] 
[#2448] solve unused parameter warning

3 years ago[#2448] add "limits" to header regex in .clang-format
Andrei Pavel [Mon, 4 Jul 2022 13:10:25 +0000 (16:10 +0300)] 
[#2448] add "limits" to header regex in .clang-format

3 years ago[#2448] add ClientClasses::toElement()
Andrei Pavel [Mon, 4 Jul 2022 08:17:12 +0000 (11:17 +0300)] 
[#2448] add ClientClasses::toElement()

3 years ago[#2448] add C++ template adapters to LeaseXPtr
Andrei Pavel [Fri, 1 Jul 2022 15:06:16 +0000 (18:06 +0300)] 
[#2448] add C++ template adapters to LeaseXPtr

3 years ago[#2448] make class counter methods virtual in LeaseMgr
Andrei Pavel [Mon, 4 Jul 2022 18:34:01 +0000 (21:34 +0300)] 
[#2448] make class counter methods virtual in LeaseMgr

3 years ago[#2448] add MultiThreadingLock
Andrei Pavel [Tue, 28 Jun 2022 14:46:00 +0000 (17:46 +0300)] 
[#2448] add MultiThreadingLock

3 years ago[#2448] add Element::create(uint32_t)
Andrei Pavel [Tue, 28 Jun 2022 14:56:43 +0000 (17:56 +0300)] 
[#2448] add Element::create(uint32_t)

3 years ago[#2473] added ChangeLog
Razvan Becheriu [Wed, 6 Jul 2022 15:31:53 +0000 (18:31 +0300)] 
[#2473] added ChangeLog

3 years ago[#2473] add continuation for ScopedCalloutHandleState
Razvan Becheriu [Mon, 4 Jul 2022 19:42:59 +0000 (22:42 +0300)] 
[#2473] add continuation for ScopedCalloutHandleState

3 years ago[#2470] fix formatting tools on premium or other repos
Andrei Pavel [Fri, 1 Jul 2022 15:55:59 +0000 (18:55 +0300)] 
[#2470] fix formatting tools on premium or other repos

3 years ago[#2461] remove SHA2-256 from hash generated by openssl command to keep backwards...
Andrei Pavel [Thu, 30 Jun 2022 14:34:00 +0000 (17:34 +0300)] 
[#2461] remove SHA2-256 from hash generated by openssl command to keep backwards compatibility

3 years ago[#2379] add ChangeLog entry
Andrei Pavel [Fri, 1 Jul 2022 15:36:22 +0000 (18:36 +0300)] 
[#2379] add ChangeLog entry

3 years ago[#2379] add tools/check-for-missing-api-commands.sh
Andrei Pavel [Fri, 1 Jul 2022 15:23:33 +0000 (18:23 +0300)] 
[#2379] add tools/check-for-missing-api-commands.sh

3 years ago[#2447] added ChangeLog
Razvan Becheriu [Fri, 1 Jul 2022 12:34:48 +0000 (15:34 +0300)] 
[#2447] added ChangeLog

3 years ago[#2447] fixed documentation
Razvan Becheriu [Thu, 30 Jun 2022 14:37:53 +0000 (17:37 +0300)] 
[#2447] fixed documentation

3 years ago[#2445] add the proper data types to function arguments in dhcpdb_drop.pgsql
Andrei Pavel [Wed, 29 Jun 2022 18:00:51 +0000 (21:00 +0300)] 
[#2445] add the proper data types to function arguments in dhcpdb_drop.pgsql

3 years ago[#2445] change lease_type to smallint in PostgreSQL trigger functions
Andrei Pavel [Wed, 29 Jun 2022 17:59:50 +0000 (20:59 +0300)] 
[#2445] change lease_type to smallint in PostgreSQL trigger functions

3 years ago[#2445] trim double quotes from classes in PostgreSQL update triggers
Andrei Pavel [Wed, 29 Jun 2022 17:58:54 +0000 (20:58 +0300)] 
[#2445] trim double quotes from classes in PostgreSQL update triggers

3 years ago[#2445] add getClassLeaseCount() for MySQL and PostgreSQL
Andrei Pavel [Wed, 29 Jun 2022 17:56:45 +0000 (20:56 +0300)] 
[#2445] add getClassLeaseCount() for MySQL and PostgreSQL

3 years ago[#2445] add ChangeLog entry
Andrei Pavel [Wed, 29 Jun 2022 12:52:20 +0000 (15:52 +0300)] 
[#2445] add ChangeLog entry

3 years ago[#2445] use PgSqlExchange::getColumnValue() to fetch limits
Andrei Pavel [Wed, 29 Jun 2022 11:05:07 +0000 (14:05 +0300)] 
[#2445] use PgSqlExchange::getColumnValue() to fetch limits

3 years ago[#2445] fix PgSqlLeaseMgr::isJsonSupported() from always returning true
Andrei Pavel [Tue, 28 Jun 2022 07:46:30 +0000 (10:46 +0300)] 
[#2445] fix PgSqlLeaseMgr::isJsonSupported() from always returning true

3 years ago[#2445] PostgreSQL lease manager tests
Andrei Pavel [Mon, 27 Jun 2022 08:07:53 +0000 (11:07 +0300)] 
[#2445] PostgreSQL lease manager tests

3 years ago[#2445] implement PostgreSQL lease manager methods for limit checking
Andrei Pavel [Mon, 27 Jun 2022 08:08:33 +0000 (11:08 +0300)] 
[#2445] implement PostgreSQL lease manager methods for limit checking

3 years ago[#2445] tests for PostgreSQL lease counting
Andrei Pavel [Mon, 20 Jun 2022 10:26:12 +0000 (13:26 +0300)] 
[#2445] tests for PostgreSQL lease counting

3 years ago[#2445] PostgreSQL schema changes in support of lease limiting
Andrei Pavel [Mon, 20 Jun 2022 10:17:24 +0000 (13:17 +0300)] 
[#2445] PostgreSQL schema changes in support of lease limiting

3 years ago[#2436] Added virtual to getCLassLeaseCount
Thomas Markwalder [Wed, 29 Jun 2022 12:21:56 +0000 (08:21 -0400)] 
[#2436] Added virtual to getCLassLeaseCount

modified:   memfile_lease_mgr.h

3 years ago[#2436] Added ChangeLog entry
Thomas Markwalder [Wed, 29 Jun 2022 12:17:03 +0000 (08:17 -0400)] 
[#2436] Added ChangeLog entry

3 years ago[#2436] Addressed review comments
Thomas Markwalder [Tue, 28 Jun 2022 18:34:11 +0000 (14:34 -0400)] 
[#2436] Addressed review comments

src/lib/dhcpsrv/memfile_lease_limits.cc
    ClassLeaseCounter::getLeaseClientClasses()
    - improved error handling

src/lib/dhcpsrv/memfile_lease_limits.h
    ClassLeaseCounter::getLeaseClientClasses()
    - changed from const to static

src/lib/dhcpsrv/memfile_lease_mgr.cc
    Memfile_LeaseMgr::checkLimits4() fixed count type
    Memfile_LeaseMgr::checkLimits6() fixed exception

dhcpsrv/memfile_lease_mgr.h
    fixed typos

src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
    GenericLeaseMgrTest::testLeaseLimits4()
    GenericLeaseMgrTest::testLeaseLimits6()
    - removed unecesary CfgMgr logic

src/lib/dhcpsrv/tests/memfile_lease_limits_unittest.cc
    TEST_F(ClassLeaseCounterTest, adjustClassCountsTest4)
    TEST_F(ClassLeaseCounterTest, adjustClassCountsTest6)
    TEST_F(ClassLeaseCounterTest, getLeaseClientClassesTest)
    - new tests

src/lib/dhcpsrv/memfile_lease_mgr.cc
    Memfile_LeaseMgr::getClassLeaseCount() - added mutex

src/lib/dhcpsrv/memfile_lease_mgr.h
    Added thread-safe comments

3 years ago[#2426] Addressed review comments
Thomas Markwalder [Tue, 28 Jun 2022 18:05:23 +0000 (14:05 -0400)] 
[#2426] Addressed review comments

src/lib/dhcpsrv/memfile_lease_limits.cc
    ClassLeaseCounter::getLeaseClientClasses()
    - improved error handling

src/lib/dhcpsrv/memfile_lease_limits.h
    ClassLeaseCounter::getLeaseClientClasses()
    - changed from const to static

src/lib/dhcpsrv/memfile_lease_mgr.cc
    Memfile_LeaseMgr::checkLimits4() fixed count type
    Memfile_LeaseMgr::checkLimits6() fixed exception

dhcpsrv/memfile_lease_mgr.h
    fixed typos

src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
    GenericLeaseMgrTest::testLeaseLimits4()
    GenericLeaseMgrTest::testLeaseLimits6()
    - removed unecesary CfgMgr logic

src/lib/dhcpsrv/tests/memfile_lease_limits_unittest.cc
    TEST_F(ClassLeaseCounterTest, adjustClassCountsTest4)
    TEST_F(ClassLeaseCounterTest, adjustClassCountsTest6)
    TEST_F(ClassLeaseCounterTest, getLeaseClientClassesTest)
    - new tests

3 years ago[#2436] Implemement Memfile_LeaseMgr:checkLimitsX functions
Thomas Markwalder [Mon, 27 Jun 2022 14:14:08 +0000 (10:14 -0400)] 
[#2436] Implemement Memfile_LeaseMgr:checkLimitsX functions

src/lib/dhcpsrv/lease_mgr.h
    Make LeaseMgr::getClassLeaseCount() const

src/lib/dhcpsrv/memfile_lease_limits.*
    Add ClassLeaseCounter()::getConstCountMap()
    make  size() const

src/lib/dhcpsrv/memfile_lease_mgr.*
    make Memfile_LeaseMgr::getClassLeaseCount() const
    Memfile_LeaseMgr::checkLimits4()
    Memfile_LeaseMgr::checkLimits6()
    Memfile_LeaseMgr::getSubnetStat()
    Memfile_LeaseMgr::getLeaseLimit() - new functions

src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
    GenericLeaseMgrTest::testLeaseLimits4()
    GenericLeaseMgrTest::testLeaseLimits6()
    - use CfgMgr to update subent stats

src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
    Enable checkLimits tests

3 years ago[#2436] More review comments
Thomas Markwalder [Fri, 24 Jun 2022 14:54:00 +0000 (10:54 -0400)] 
[#2436]  More review comments

Use "client-classes" not "classes" in user-context

src/lib/dhcpsrv/memfile_lease_limits.cc
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
src/lib/dhcpsrv/tests/memfile_lease_limits_unittest.cc

3 years ago[#2436] Fixed broken generic lease mgr test
Thomas Markwalder [Thu, 23 Jun 2022 19:31:39 +0000 (15:31 -0400)] 
[#2436] Fixed broken generic lease mgr test

src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
    GenericLeaseMgrTest::testLeaseLimits6() - fixed error created
    one I originally split testLeaseLimits()

src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
   split TEST_F(MySqlLeaseMgrTest, checkLimits) into v4 and v6 tests

3 years ago[#2436] Rebased and added generic tests
Thomas Markwalder [Thu, 23 Jun 2022 18:14:17 +0000 (14:14 -0400)] 
[#2436] Rebased and added generic tests

src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.*
    Split GenericLeaseMgrTest::testLeaseLimits() into:
        GenericLeaseMgrTest::testLeaseLimits4()
        GenericLeaseMgrTest::testLeaseLimits6()

src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
    TEST_F(MemfileLeaseMgrTest, isJsonSupported4)
    TEST_F(MemfileLeaseMgrTest, isJsonSupported6)
    TEST_F(MemfileLeaseMgrTest, DISABLED_checkLimitsNull4)
    TEST_F(MemfileLeaseMgrTest, DISABLED_checkLimitsNull6)
    TEST_F(MemfileLeaseMgrTest, DISABLED_checkLimits4)
    TEST_F(MemfileLeaseMgrTest, DISABLED_checkLimits6) - new tests

src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
    TEST_F(MySqlLeaseMgrTest, DISABLED_classLeaseCount4)
    TEST_F(MySqlLeaseMgrTest, DISABLED_classLeaseCount6_NA)
    TEST_F(MySqlLeaseMgrTest, DISABLED_classLeaseCount6_PD) - new tests

3 years ago[#2436] More review comments pre-rebase
Thomas Markwalder [Thu, 23 Jun 2022 15:11:03 +0000 (11:11 -0400)] 
[#2436] More review comments pre-rebase

src/lib/dhcpsrv/memfile_lease_limits.h
    Commentary fixes

rc/lib/dhcpsrv/memfile_lease_mgr.cc
    Memfile_LeaseMgr::updateLease4Internal()
    Memfile_LeaseMgr::updateLease6Internal() - adjust counts
    after replacing the lease in store

    Memfile_LeaseMgr::recountClassLeases4()
    Memfile_LeaseMgr::recountClassLeases6() - remove use of index

src/lib/dhcpsrv/tests/memfile_lease_limits_unittest.cc
    Fix wrong lease states.

3 years ago[#2436] Addressed most review comments prior to rebase
Thomas Markwalder [Thu, 23 Jun 2022 14:36:03 +0000 (10:36 -0400)] 
[#2436] Addressed most review comments prior to rebase

src/lib/dhcpsrv/memfile_lease_limits.cc
    ClassLeaseCounter::getLeaseClientClasses() - looks for classes in "ISC"

src/lib/dhcpsrv/memfile_lease_limits.h
    ClassCountMap& getCountMap() - reordered return logic

src/lib/dhcpsrv/memfile_lease_mgr.h
    override and virtual use correction

src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.*
    GenericLeaseMgrTest::makeContextWithClasses() - embed in "ISC" element

src/lib/dhcpsrv/tests/memfile_lease_limits_unittest.cc
    makeContextWithClasses() - embed in "ISC" element

src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
    add using namespace data

3 years agoApply 3 suggestion(s) to 2 file(s)
Andrei Pavel [Thu, 23 Jun 2022 13:59:17 +0000 (13:59 +0000)] 
Apply 3 suggestion(s) to 2 file(s)

3 years agoApply 1 suggestion(s) to 1 file(s)
Andrei Pavel [Thu, 23 Jun 2022 13:58:09 +0000 (13:58 +0000)] 
Apply 1 suggestion(s) to 1 file(s)

3 years ago[#2436] Removed unecessary added include
Thomas Markwalder [Wed, 22 Jun 2022 14:33:05 +0000 (10:33 -0400)] 
[#2436] Removed unecessary added include

modified:   memfile_lease_mgr_unittest.cc

3 years ago[#2436] Make class lease count tests generic
Thomas Markwalder [Wed, 22 Jun 2022 13:49:03 +0000 (09:49 -0400)] 
[#2436] Make class lease count tests generic

Moved tests from memfile_lease_mgr_unittests.* to
generic_lease_mgr_unitest.*

3 years ago[#2436] Remove class lease recount definitions from LeaseMgr
Thomas Markwalder [Wed, 22 Jun 2022 12:57:26 +0000 (08:57 -0400)] 
[#2436] Remove class lease recount definitions from LeaseMgr

3 years ago[#2436] Memfile_LeaseMgr now counts class leases
Thomas Markwalder [Tue, 21 Jun 2022 19:42:54 +0000 (15:42 -0400)] 
[#2436] Memfile_LeaseMgr now counts class leases

src/lib/dhcpsrv/lease_mgr.*
    LeaseMgr - added virtual methods:
    ::recountClassLeases4()
    ::recountClassLeases6()
    ::getClassLeaseCount()

src/lib/dhcpsrv/memfile_lease_mgr.*
    Memfile_LeaseMgr
    ::addLeaseInternal()
    ::updateLeaseXInternal()
    ::deleteLeaseInternal(const Lease4Ptr& lease) {
    - added calls to add/remove leases from count map

    ::recountClassLeases4()
    ::recountClassLeases6()
    ::getClassLeaseCount()

src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
    Added boolean flag to makeLease4 and makeLease6

src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
    New tests:
    TEST_F(MemfileLeaseMgrTest, classLeaseCount4)
    TEST_F(MemfileLeaseMgrTest, classLeaseCount6_NA)
    TEST_F(MemfileLeaseMgrTest, classLeaseCount6_PD)
    TEST_F(MemfileLeaseMgrTest, classLeaseRecount4)
    TEST_F(MemfileLeaseMgrTest, classLeaseRecount6)

3 years ago[#2436] Added ClassLeaseCounter container
Thomas Markwalder [Thu, 16 Jun 2022 13:52:35 +0000 (09:52 -0400)] 
[#2436] Added ClassLeaseCounter container

Implemented dhcp::ClassLeaseCounter, a container for
managing lease counts per class

src/lib/dhcpsrv/memfile_lease_limits.h
src/lib/dhcpsrv/memfile_lease_limits.cc
    New files that support class lease counting

src/lib/dhcpsrv/Makefile.am
    added memfile_lease_limits.cc, memfile_lease_limits.h

src/lib/dhcpsrv/lease.h
    added Lease::getType() because I am sick of it not existing

src/lib/dhcpsrv/memfile_lease_limits_unittest.cc
    New file

src/lib/dhcpsrv/tests/Makefile.am
    added memfile_lease_limits_unittest.cc

3 years agoUpdate configure.ac
Marcin Godzina [Tue, 28 Jun 2022 14:22:07 +0000 (14:22 +0000)] 
Update configure.ac

3 years agoUpdate platforms.rst Kea-2.1.7
Marcin Godzina [Mon, 27 Jun 2022 17:02:30 +0000 (17:02 +0000)] 
Update platforms.rst

3 years agoUpdate platforms.rst
Marcin Godzina [Mon, 27 Jun 2022 16:55:13 +0000 (16:55 +0000)] 
Update platforms.rst

3 years agoUpdate platforms.rst
Marcin Godzina [Mon, 27 Jun 2022 16:51:17 +0000 (16:51 +0000)] 
Update platforms.rst

3 years agospell check, sphnx config change for RHEL9
Marcin Godzina [Mon, 27 Jun 2022 16:21:06 +0000 (18:21 +0200)] 
spell check, sphnx config change for RHEL9

3 years agoSpell check
Marcin Godzina [Mon, 27 Jun 2022 16:19:18 +0000 (18:19 +0200)] 
Spell check

3 years ago[#2463] release changes
Marcin Godzina [Mon, 27 Jun 2022 16:08:34 +0000 (18:08 +0200)] 
[#2463] release changes

3 years ago[#2457] fill vector with zeros in SecBuf without referencing potentially unallocated...
Andrei Pavel [Mon, 27 Jun 2022 14:53:43 +0000 (17:53 +0300)] 
[#2457] fill vector with zeros in SecBuf without referencing potentially unallocated first element

3 years ago[#2458] added missing package for pdf documentation in ubuntu 22
Wlodek Wencel [Mon, 27 Jun 2022 11:34:41 +0000 (13:34 +0200)] 
[#2458] added missing package for pdf documentation in ubuntu 22

3 years ago[#2455] bump lib versions for 2.1.7
Razvan Becheriu [Sat, 25 Jun 2022 08:51:28 +0000 (11:51 +0300)] 
[#2455] bump lib versions for 2.1.7

3 years ago[#2266] updated doxygen
Razvan Becheriu [Sat, 25 Jun 2022 09:21:05 +0000 (12:21 +0300)] 
[#2266] updated doxygen

3 years ago[#2266] fixed indentation
Razvan Becheriu [Sat, 25 Jun 2022 08:36:39 +0000 (11:36 +0300)] 
[#2266] fixed indentation

3 years ago[#2266] addressed comments
Razvan Becheriu [Fri, 24 Jun 2022 18:13:10 +0000 (21:13 +0300)] 
[#2266] addressed comments