]>
git.ipfire.org Git - thirdparty/kea.git/log
Razvan Becheriu [Wed, 29 Jul 2020 17:20:47 +0000 (20:20 +0300)]
[#1354] bump lib versions
Michal Nowikowski [Fri, 24 Jul 2020 11:25:47 +0000 (13:25 +0200)]
[#1343] bumped kea version to 1.6.3
Michal Nowikowski [Fri, 24 Jul 2020 11:25:26 +0000 (13:25 +0200)]
[#1343] updated copyright dates, added release entry to changelog
Tomek Mrugalski [Thu, 16 Jul 2020 13:54:34 +0000 (15:54 +0200)]
[#1141] ChangeLog added.
Tomek Mrugalski [Thu, 16 Jul 2020 13:25:32 +0000 (15:25 +0200)]
[#1124] Reversed order for v6 also
modified:
alloc_engine.cc
# Conflicts:
# src/lib/dhcpsrv/alloc_engine.cc
Thomas Markwalder [Tue, 3 Mar 2020 13:51:13 +0000 (08:51 -0500)]
[#1124] Addressed v4 code review
Minor cleanup in alloc_engine.cc.
Thomas Markwalder [Thu, 20 Feb 2020 20:39:15 +0000 (15:39 -0500)]
[#1124] Change the order of HR vs lease lookup during v4 lease allocation
src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::allocateUnreservedLease4() - rather than first testing for a
host reservation and then looking for an existing lease, we reverse the
order, thus worrying about HRs only if there is no existing lease.
Marcin Siodelski [Mon, 6 Jul 2020 06:11:39 +0000 (08:11 +0200)]
[#1258] Fix ChangeLog to prevent CI errors
Added stable/development to the existing release dates in the changelog.
Marcin Siodelski [Mon, 6 Jul 2020 05:22:53 +0000 (07:22 +0200)]
[#1258] Remove comment about thread count
Per review comments.
Francis Dupont [Fri, 26 Jun 2020 16:38:25 +0000 (18:38 +0200)]
[#1258] spelling
Marcin Siodelski [Wed, 24 Jun 2020 10:28:30 +0000 (12:28 +0200)]
[#1258] Adjusted status-get description in ARM
Removed references to passive-backup mode, removed references to 1.7.x
versions of Kea etc.
Marcin Siodelski [Tue, 23 Jun 2020 17:44:14 +0000 (19:44 +0200)]
[#1258] Added ChangeLog entry for #1258
Marcin Siodelski [Thu, 14 May 2020 15:52:30 +0000 (17:52 +0200)]
[#1258] Ported 1.7.8 changes to status-get
Marcin Siodelski [Tue, 23 Jun 2020 15:24:51 +0000 (17:24 +0200)]
[#1258] Ported ha-status cmd from 1.7.3
Marcin Siodelski [Tue, 23 Jun 2020 12:40:18 +0000 (14:40 +0200)]
[#1258] Ported basic status-get
The status-get command support was ported without High Availability status.
Marcin Siodelski [Thu, 19 Mar 2020 12:29:45 +0000 (13:29 +0100)]
[#1155] Backported #1139 from master
This is an enhancement to client classification in DHCPv4
and DHCPv6 servers. The client classes spefified in the
host database are taken into account in evaluation of the
client classes specified within the configuration files.
This works both for the global reservations and for the
non-global reservations when the selected subnet belongs
to a shared network. It can be used to influence subnet
selection within a shared network using host reservations
or pool selection within a subnet that doesn't necessarily
belong to a shared network.
Wlodek Wencel [Fri, 21 Feb 2020 09:32:46 +0000 (10:32 +0100)]
[lib-bump-up-1-6-2] lib version update for 1.6.2
Wlodek Wencel [Wed, 19 Feb 2020 07:38:26 +0000 (08:38 +0100)]
[v1_6_0] pre 1.6.2 release changes
Thomas Markwalder [Tue, 4 Feb 2020 16:30:02 +0000 (11:30 -0500)]
[#1111] DHCP Option 43 PAD END bug fix
Backport #950,!552 changes to v1_6_0
Changes:
src/bin/dhcp4/dhcp4_messages.cc
src/bin/dhcp4/dhcp4_messages.h
src/bin/dhcp4/dhcp4_messages.mes
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/tests/vendor_opts_unittest.cc
Thomas Markwalder [Tue, 4 Feb 2020 16:08:16 +0000 (11:08 -0500)]
[#1111] Option 43 work-around for Cisco Meraki router Clients
Backport #950,!661 changes to v1_6_0
modified:
ChangeLog
doc/sphinx/arm/dhcp4-srv.rst
src/lib/dhcp/libdhcp++.cc
src/lib/dhcp/libdhcp++.h
src/lib/dhcp/option.cc
src/lib/dhcp/pkt4.cc
src/lib/dhcp/tests/libdhcp++_unittest.cc
Thomas Markwalder [Tue, 4 Feb 2020 15:01:48 +0000 (10:01 -0500)]
[#1110] Reset sbu-component trackers during CB data fetches
Backports #1093 to v1_6_0
modified:
ChangeLog
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc
Thomas Markwalder [Tue, 4 Feb 2020 18:28:10 +0000 (13:28 -0500)]
[#1112] Include client-supplied ciaddr in dhcpinform ack
Backport #992 changes to v1_6_0
Changes:
ChangeLog
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/tests/inform_unittest.cc
Thomas Markwalder [Thu, 6 Feb 2020 19:57:07 +0000 (14:57 -0500)]
[#1114] Servers execute shutdown on unrecoverable DBs
Backprot #1108 changes to v1_6_0.
Added ChangeLog entry
src/bin/dhcp4/ctrl_dhcp4_srv.*
ControlledDhcpv4Srv::dbLostCallback() - schedules a shutdown
once retries have been exhausted/disableld
src/bin/dhcp6/ctrl_dhcp6_srv.*
ControlledDhcpv6Srv::dbLostCallback() - schedules a shutdown
once retries have been exhausted/disableld
src/lib/database/database_connection.h
class DbUnrecoverableError - new exception
src/lib/mysql/mysql_connection.h
MySqlConnection::check_error() - throws DbUnrecoverableError
instead of calling exit()
src/lib/pgsql/pgsql_connection.*
PgSqlConnection::checkStatementError() - throws DbUnrecoverableError
instead of calling exit()
Thomas Markwalder [Mon, 10 Feb 2020 13:21:54 +0000 (08:21 -0500)]
[#1113] Updated ChangeLog
Thomas Markwalder [Tue, 4 Feb 2020 19:49:05 +0000 (14:49 -0500)]
[#1113] CommandMgr now handles orphaned control sockets
Backport #1097 changes to v1_6_0.
Changes:
ChangeLog
src/lib/config/command_mgr.cc
src/lib/config/tests/command_mgr_unittests.cc
Thomas Markwalder [Tue, 19 Nov 2019 14:19:34 +0000 (09:19 -0500)]
[#1019] Bumped lib versions for 1.6.1
Both libs should have bumped by current, but to avoid
collisions with master libs, they bumped only revision.
src/lib/dhcp/Makefile.am -> 13:2:0
src/lib/http/Makefile.am -> 6:2:0
Michal Nowikowski [Mon, 18 Nov 2019 09:16:39 +0000 (10:16 +0100)]
[#1014] updated copyrights, added ChangeLog entry
Michal Nowikowski [Mon, 18 Nov 2019 09:12:57 +0000 (10:12 +0100)]
[#1014] bumped version to 1.6.1
Thomas Markwalder [Tue, 12 Nov 2019 20:41:54 +0000 (15:41 -0500)]
[#900,!587] Addressed review comments
src/lib/testutils/Makefile.am
Added gtest_utils.h
Thomas Markwalder [Wed, 6 Nov 2019 19:35:41 +0000 (14:35 -0500)]
[#900,!587] Added ChangeLog entry
Thomas Markwalder [Wed, 6 Nov 2019 19:32:51 +0000 (14:32 -0500)]
[#900,!561] Addressed review comments
Cherry picked master
c75a7c10bde74f59d481a7717b4e03b9cb2268a6
src/lib/dhcp/libdhcp++.cc
Cleaned up necessary exception decls
src/lib/dhcp/option.h
Added commentary for SkipThisOptionError
src/lib/dhcp/option_definition.cc
Cleaned up unnecessary exception decls
src/lib/dhcp/option_string.cc
Replaced NULL with nul
src/lib/testutils/gtest_utils.h
Added emissions of exception type name
Thomas Markwalder [Wed, 6 Nov 2019 19:31:35 +0000 (14:31 -0500)]
[#900,!561] kea-dhcp4/6 now quietly drop empty or all-null string options
Cherry picked from master
a917e4ae7e36e1273d3be5c370a1d3d705ded22b
src/lib/dhcp/option.h
class SkipThisOptionError - new exception type
src/lib/dhcp/libdhcp++.cc
LibDHCP::unpackOptions4()
LibDHCP::unpackOptions6() - explicitly catches and handles
SkipThisOptionError expceptions
src/lib/dhcp/option_definition.cc
OptionDefinition::optionFactory() - now rethrows SkipThisOptionError
src/lib/dhcp/option_int.h
OptionInt::unpack() - altered ambiguous exception text
src/lib/dhcp/option_int_array.h
OptionIntArray::unpack() - altered ambiguous exception text
src/lib/dhcp/option_string.cc
OptionString::unpack() - now throws SkipThisOptionError if option, once
trimmed, is empty
src/lib/dhcp/tests/option_string_unittest.cc
Updated tests
src/lib/dhcp/tests/pkt4_unittest.cc
TEST_F(Pkt4Test, testSkipThisOptionError) - new test
src/lib/dhcp/tests/pkt6_unittest.cc
TEST_F(Pkt6Test, testSkipThisOptionError) - new test
src/lib/dhcpsrv/tests/cfg_option_unittest.cc
Updated expected exception text
src/lib/testutils/gtest_utils.h
Added two macros to emit exception info on throws.
#define EXPECT_NO_THROW_LOG(statement)
#define ASSERT_NO_THROW_LOG(statement)
Thomas Markwalder [Tue, 12 Nov 2019 18:42:30 +0000 (13:42 -0500)]
[#964] Addressed review comments
Fixed typo in ChangeLog.
Thomas Markwalder [Wed, 6 Nov 2019 19:00:10 +0000 (14:00 -0500)]
[#964] Applied patch from master to fix HA stuck socket spin
Tomek Mrugalski [Thu, 29 Aug 2019 10:04:49 +0000 (12:04 +0200)]
Merge remote-tracking branch 'private/v1_6_0' into v1_6_0
Wlodek Wencel [Mon, 26 Aug 2019 20:27:39 +0000 (22:27 +0200)]
[v1_6_0] pre release changes
Thomas Markwalder [Mon, 26 Aug 2019 13:40:35 +0000 (09:40 -0400)]
[#853, !26-p] Updated ChangeLog
Thomas Markwalder [Mon, 26 Aug 2019 13:26:56 +0000 (09:26 -0400)]
Apply suggestion to doc/sphinx/arm/admin.rst
Thomas Markwalder [Mon, 26 Aug 2019 13:26:53 +0000 (09:26 -0400)]
Apply suggestion to doc/sphinx/arm/admin.rst
Thomas Markwalder [Mon, 26 Aug 2019 12:55:03 +0000 (08:55 -0400)]
[#853, !26-p] Updated ARM
doc/sphinx/arm/admin.rst
Thomas Markwalder [Mon, 26 Aug 2019 11:54:10 +0000 (07:54 -0400)]
[#853, !26-p] Addressed review comments
src/bin/admin/kea-admin.in
Fixed printfs
mysql_can_create() - removed logic to
skip test based on MySQL version.
Marcin Siodelski [Mon, 26 Aug 2019 10:06:03 +0000 (12:06 +0200)]
[#853, !26-p] Fixed a query selecting pd pool specific options.
The options must be ordered by pd option id.
Thomas Markwalder [Sun, 25 Aug 2019 19:23:35 +0000 (15:23 -0400)]
[#853, !26-p] Added user permissions check to kea-admin
src/bin/admin/kea-admin.in
mysql_can_create() - new function to verify user's ability
to create functions
mysql_init()
mysql_upgrade() - modified to call mysql_can_create
Thomas Markwalder [Fri, 23 Aug 2019 16:08:26 +0000 (12:08 -0400)]
[#853, !26-p] Added ChangeLog entry
Thomas Markwalder [Fri, 23 Aug 2019 14:45:02 +0000 (10:45 -0400)]
[#853, !26-p] Update MySQL CB SQL statements
src/hooks/dhcp/mysql_cb/mysql_query_macros_dhcp.h
Changed column names to is_array
Thomas Markwalder [Fri, 23 Aug 2019 14:11:57 +0000 (10:11 -0400)]
[#853, !26-p] Update schema scripts and tests
src/bin/admin/tests/mysql_tests.sh.in
Updated expected column names
Added check of column names for 8.0 to 8.2 upgrade
src/share/database/scripts/mysql/dhcpdb_create.mysql
Changed array column to is_array in dhcp4/6_option_def tables
src/share/database/scripts/mysql/dhcpdb_drop.mysql
Added missing drops for createOptionAuditDHCP4/6
src/share/database/scripts/mysql/upgrade_6.0_to_7.0.sh.in
Changed array column to is_array in dhcp4/6_option_def tables
src/share/database/scripts/mysql/upgrade_8.1_to_8.2.sh.in
Added logic to conditionally change column names
Suzanne Goldlust [Thu, 22 Aug 2019 16:35:51 +0000 (12:35 -0400)]
Changed hooks library name in table from user_chk to User Check to maintain consistency
Suzanne Goldlust [Thu, 22 Aug 2019 16:32:52 +0000 (12:32 -0400)]
Changed duplicate reference from kea-dhcp4.options to kea-dhcp6.options
Razvan Becheriu [Sat, 24 Aug 2019 07:42:21 +0000 (10:42 +0300)]
[#840, !27-p] fixed freebsd unittests
Marcin Siodelski [Fri, 23 Aug 2019 13:04:58 +0000 (15:04 +0200)]
[#851,!24-p] Added ChangeLog for #851.
Tomek Mrugalski [Fri, 23 Aug 2019 12:25:47 +0000 (14:25 +0200)]
[#851,!24-p] Make sure we're not trying to dereference after vector end
Marcin Siodelski [Thu, 22 Aug 2019 18:40:27 +0000 (20:40 +0200)]
[#851,!24-p] Make sure that string is null terminated after strncpy.
Marcin Siodelski [Thu, 22 Aug 2019 15:48:39 +0000 (17:48 +0200)]
[#851,!24-p] Address issue in use of strcpy.
Marcin Siodelski [Thu, 22 Aug 2019 08:29:27 +0000 (10:29 +0200)]
[#851,!24-p] Avoid referencing out of bounds vector element in MySQL conn.
Marcin Siodelski [Wed, 21 Aug 2019 19:33:20 +0000 (21:33 +0200)]
[#851,!24-p] Avoid referencing out of bounds element of binding array.
MySQL host manager issue.
Marcin Siodelski [Wed, 21 Aug 2019 18:59:09 +0000 (20:59 +0200)]
[#851,!24-p] Avoid accessing out of bound vector value in DUID factory.
Marcin Siodelski [Wed, 21 Aug 2019 18:33:27 +0000 (20:33 +0200)]
[#851,!24-p] Avoid using empty buffer in the MySQL binding.
Prior to this change, the out of bound vector element would be referenced
and could lead to undefined behavior.
Marcin Siodelski [Wed, 21 Aug 2019 15:34:01 +0000 (17:34 +0200)]
[#851,!24-p] Created unit test for MySQL binding holding empty string.
Marcin Siodelski [Tue, 20 Aug 2019 17:54:19 +0000 (19:54 +0200)]
[#847,!23-p] Added ChangeLog for #847.
Marcin Siodelski [Tue, 20 Aug 2019 16:20:55 +0000 (18:20 +0200)]
[#847,!23-p] Fixed example of the remote-option6-pd-pool-set command.
Marcin Siodelski [Tue, 20 Aug 2019 16:15:22 +0000 (18:15 +0200)]
[#847,!23-p] Addressed issues with creating/deleting pool options in CB.
Marcin Siodelski [Tue, 20 Aug 2019 11:58:19 +0000 (13:58 +0200)]
[#845] Added ChangeLog entry for #845.
Marcin Siodelski [Tue, 20 Aug 2019 11:53:18 +0000 (13:53 +0200)]
[#845] Addressed review comments.
Added better commentary in the dhcpdb_create.mysql script and the 8.2
upgrade script.
Tomek Mrugalski [Tue, 20 Aug 2019 10:41:59 +0000 (12:41 +0200)]
[#845] Fixes in kea-admin/mysql.upgrade unit-test
Marcin Siodelski [Tue, 20 Aug 2019 05:52:41 +0000 (07:52 +0200)]
[#845] New version of MySQL CB queries which update DHCP options.
The updated queries support subnet, shared network and pool level options
unassigned to servers.
Marcin Siodelski [Tue, 20 Aug 2019 05:50:33 +0000 (07:50 +0200)]
[#845] Changes to MySQL to update parent object when option is set.
Prior to this change, when an option is set or deleted, the owning subnet,
shared network or pool would not update its modification timestamp. As a
result, the server would not fecth the updated configuration.
Michal Nowikowski [Mon, 19 Aug 2019 14:24:57 +0000 (16:24 +0200)]
added api README, _template.json, generate-templates and cmds-list to EXTRA_DIST
Michal Nowikowski [Mon, 19 Aug 2019 13:26:20 +0000 (15:26 +0200)]
added missing api files
Tomek Mrugalski [Mon, 19 Aug 2019 15:00:57 +0000 (17:00 +0200)]
Fixed error in api2doc.py
- the default response had unnecessary quotes
Tomek Mrugalski [Mon, 19 Aug 2019 15:00:35 +0000 (17:00 +0200)]
Fixed server-tag-get docs
Michal Nowikowski [Mon, 19 Aug 2019 16:15:03 +0000 (18:15 +0200)]
changed pointed docs in INSTALL file from doc/sphinx to doc/sphinx/arm/install.rst
Michal Nowikowski [Mon, 19 Aug 2019 15:39:09 +0000 (17:39 +0200)]
replaced links to old docs to https://kea.readthedocs.io/
Michal Nowikowski [Mon, 19 Aug 2019 12:47:31 +0000 (12:47 +0000)]
regenerated parsers for 1.6.0 final
Michal Nowikowski [Mon, 19 Aug 2019 07:13:14 +0000 (09:13 +0200)]
fixed release date
Michal Nowikowski [Mon, 19 Aug 2019 06:37:07 +0000 (08:37 +0200)]
update release entry in ChangeLog, updated copyright dates
Michal Nowikowski [Mon, 19 Aug 2019 04:55:18 +0000 (06:55 +0200)]
fixed errors in ChangeLog
Michal Nowikowski [Mon, 19 Aug 2019 04:48:34 +0000 (06:48 +0200)]
Merge branch 'master' into v1_6_0
Thomas Markwalder [Fri, 16 Aug 2019 22:36:23 +0000 (18:36 -0400)]
[#805,!6-p] Updated ChangeLog
Thomas Markwalder [Thu, 15 Aug 2019 14:39:12 +0000 (10:39 -0400)]
[#805,!6-p] Fixed copyright dates and whitespacing
Thomas Markwalder [Thu, 15 Aug 2019 13:08:00 +0000 (09:08 -0400)]
[#805,!6-p] added kea-dhcp6 to ChangeLog entry
Thomas Markwalder [Thu, 15 Aug 2019 13:03:15 +0000 (09:03 -0400)]
[#805,!6-p] Addressed review comment
src/lib/dhcpsrv/csv_lease_file6.cc
Added check for null duid_ ptr in lease6
Marcin Siodelski [Wed, 14 Aug 2019 16:23:36 +0000 (18:23 +0200)]
[#805,!6-p] Added missing space in the log message.
Thomas Markwalder [Wed, 14 Aug 2019 14:18:26 +0000 (10:18 -0400)]
[#805,!6-p] Addressed review comments
src/lib/dhcpsrv/csv_lease_file4.*
src/lib/dhcpsrv/tests/csv_lease_file4_unittest.cc
- minor cleanup
src/lib/dhcpsrv/csv_lease_file6.*
CSVLeaseFile6::append() - now throws if DUID is empty and
state is not STATE_DECLINED
src/lib/dhcpsrv/tests/csv_lease_file6_unittest.cc
Updated tests to verify duid/state logic
Thomas Markwalder [Mon, 12 Aug 2019 19:46:36 +0000 (15:46 -0400)]
[#805,!6-p] CSVLeaseFile4 ensures either hwaddr or client id for non-declined leases
Declined leases are expected to have neither hardware address nor client
id. All others have must have at least one of them.
src/lib/dhcpsrv/csv_lease_file4.cc
CSVLeaseFile4::append() - throws if a lease has no hardware address,
no client id and is not in STATE_DECLINED
CSVLeaseFile4::next(Lease4Ptr& lease) - discards rows if they have
neither hardware addr nor client id and are not in STATE_DECLINED
src/lib/dhcpsrv/tests/csv_lease_file4_unittest.cc
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
src/bin/lfc/tests/lfc_controller_unittests.cc
Updated tests.
Razvan Becheriu [Fri, 9 Aug 2019 15:23:47 +0000 (18:23 +0300)]
[#805, !6-p] check for null or empty hwaddr before writing to memfile (v4)
Thomas Markwalder [Fri, 16 Aug 2019 22:03:29 +0000 (18:03 -0400)]
[#805,!5-p] Updated ChangeLog and conflicted parsers
Thomas Markwalder [Fri, 16 Aug 2019 16:12:39 +0000 (12:12 -0400)]
[#805,!5-p] Addressed more review comments
More cleanup following 1.4 and 1.5 branch reviews
doc/sphinx/arm/dhcp6-srv.rst
src/lib/dhcpsrv/memfile_lease_mgr.cc
Thomas Markwalder [Fri, 16 Aug 2019 14:59:27 +0000 (10:59 -0400)]
[#805,!5-p] Updated ChangeLog to security, added CVE #
Thomas Markwalder [Tue, 13 Aug 2019 20:31:11 +0000 (16:31 -0400)]
[#805,!5-p] Addressed review comments
Minor cleanup and commentary.
Thomas Markwalder [Fri, 9 Aug 2019 19:59:40 +0000 (15:59 -0400)]
[#805,!5-p] Updated the ARM
Updated the ARM and added a ChangeLog entry.
Thomas Markwalder [Fri, 9 Aug 2019 15:45:39 +0000 (11:45 -0400)]
[#805,!5-p] Updated example confs
Thomas Markwalder [Fri, 9 Aug 2019 15:18:35 +0000 (11:18 -0400)]
[#805,!5-p] kea-dhcp6 now supports max-row-errors parameter
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
Added max-row-errors
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
TEST_F(LeaseFileLoaderTest, maxRowErrors6) - new unit test
to verify max-row-errors operation
Thomas Markwalder [Fri, 9 Aug 2019 14:03:07 +0000 (10:03 -0400)]
[#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
Added max-row-errors
src/lib/database/database_connection.*
src/lib/database/dbaccess_parser.*
Added max-row-errors
src/lib/database/tests/dbaccess_parser_unittest.cc
New tests for max-row-errors
src/lib/dhcpsrv/lease_file_loader.h
Changed logic value of 0 means unlimited
src/lib/dhcpsrv/memfile_lease_mgr.cc
Memfile_LeaseMgr::loadLeasesFromFiles() - now uses
connection parmater value for max-row-errors or 0
if not specified
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
TEST_F(LeaseFileLoaderTest, maxRowErrors4) - new unit test
to verify max-row-errors operation
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
TEST_F(MemfileLeaseMgrTest, constructor) - added tests for
max-row-errors
Thomas Markwalder [Fri, 9 Aug 2019 15:45:39 +0000 (11:45 -0400)]
[#805,!5-p] Updated example confs
Thomas Markwalder [Fri, 9 Aug 2019 15:18:35 +0000 (11:18 -0400)]
[#805,!5-p] kea-dhcp6 now supports max-row-errors parameter
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
Added max-row-errors
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
TEST_F(LeaseFileLoaderTest, maxRowErrors6) - new unit test
to verify max-row-errors operation
Thomas Markwalder [Fri, 9 Aug 2019 14:03:07 +0000 (10:03 -0400)]
[#805,!5-p] Memfile and kea-dhcp4 now suppor max-row-errors parameter
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
Added max-row-errors
src/lib/database/database_connection.*
src/lib/database/dbaccess_parser.*
Added max-row-errors
src/lib/database/tests/dbaccess_parser_unittest.cc
New tests for max-row-errors
src/lib/dhcpsrv/lease_file_loader.h
Changed logic value of 0 means unlimited
src/lib/dhcpsrv/memfile_lease_mgr.cc
Memfile_LeaseMgr::loadLeasesFromFiles() - now uses
connection parmater value for max-row-errors or 0
if not specified
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
TEST_F(LeaseFileLoaderTest, maxRowErrors4) - new unit test
to verify max-row-errors operation
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
TEST_F(MemfileLeaseMgrTest, constructor) - added tests for
max-row-errors
Thomas Markwalder [Thu, 15 Aug 2019 21:02:29 +0000 (17:02 -0400)]
[#730,!2-p] Addressed review comments
Minor cleanup
ChangeLog
src/bin/dhcp4/dhcp4_messages.mes
src/bin/dhcp4/dhcp4_srv.cc
src/lib/dns/tests/name_unittest.cc
Thomas Markwalder [Tue, 13 Aug 2019 18:17:10 +0000 (14:17 -0400)]
[#730,!2-p] Updated ChangeLog entry
Thomas Markwalder [Tue, 13 Aug 2019 17:46:41 +0000 (13:46 -0400)]
[#730,!2-p] Minor edit in ChangeLog entry
Thomas Markwalder [Wed, 31 Jul 2019 10:41:21 +0000 (06:41 -0400)]
[#730,!2] Reworded ChangeLog entry