]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Thu, 15 Oct 2020 16:33:53 +0000 (18:33 +0200)]
[#1450] Added KEA_LOG_CHECK_VERBOSE env var
Francis Dupont [Thu, 15 Oct 2020 14:29:46 +0000 (16:29 +0200)]
[#1450] Reverted response_creator_unittests.cc
Francis Dupont [Thu, 15 Oct 2020 12:50:06 +0000 (14:50 +0200)]
[#1450] Fixed ChangeLog
Francis Dupont [Thu, 15 Oct 2020 08:06:45 +0000 (10:06 +0200)]
[#1450] Added LOG_CHECK_VERBOSE flag for review
Francis Dupont [Thu, 15 Oct 2020 07:35:47 +0000 (09:35 +0200)]
[#1450] Moved authorized log to INFO
Andrei Pavel [Mon, 5 Oct 2020 14:39:33 +0000 (17:39 +0300)]
[#1454] fix PDExclude fields in example JSONs
excluded prefix length should be higher in value (smaller in address space)
Razvan Becheriu [Fri, 16 Oct 2020 08:02:07 +0000 (11:02 +0300)]
[#1469] fixed warnings
Razvan Becheriu [Fri, 16 Oct 2020 07:53:44 +0000 (10:53 +0300)]
[#1469] addressed comments
Razvan Becheriu [Tue, 13 Oct 2020 10:34:20 +0000 (13:34 +0300)]
[#1469] added missing entries
Razvan Becheriu [Tue, 13 Oct 2020 10:18:20 +0000 (13:18 +0300)]
[#1469] added missing entries
Razvan Becheriu [Tue, 13 Oct 2020 10:07:13 +0000 (13:07 +0300)]
[#1469] added missing entries
Marcin Siodelski [Tue, 13 Oct 2020 16:04:17 +0000 (18:04 +0200)]
[#1468] Corrected typo in ChangeLog
Marcin Siodelski [Tue, 13 Oct 2020 11:25:17 +0000 (13:25 +0200)]
[#1468] Added ChangeLog for #1468
Marcin Siodelski [Tue, 13 Oct 2020 11:22:27 +0000 (13:22 +0200)]
[#1468] Fixed compilation of cfg_db_access tests
Marcin Siodelski [Mon, 12 Oct 2020 16:20:58 +0000 (18:20 +0200)]
[#1428] Addressed review comments
Marcin Siodelski [Mon, 12 Oct 2020 10:37:25 +0000 (12:37 +0200)]
[#1428] Added ChangeLog for #1428
Marcin Siodelski [Mon, 12 Oct 2020 10:29:39 +0000 (12:29 +0200)]
[#1428] Updated HR for DHCPv6
Described the use of ip-reservations-unique global parameter. In addition,
the corresponding DHCPv4 section was slightly updated.
Marcin Siodelski [Mon, 12 Oct 2020 09:00:56 +0000 (11:00 +0200)]
[#1428] Updated ARM for DHCPv4
Added a section to the DHCPv4 host reservations section which describes
how to enable using multiple reservations for the same IP address.
Andrei Pavel [Mon, 5 Oct 2020 09:04:09 +0000 (12:04 +0300)]
[#1451] allow linking with libgtest.so
Francis Dupont [Fri, 9 Oct 2020 17:46:37 +0000 (19:46 +0200)]
[#1385] Wrapped new ChangeLog entry (2)
Francis Dupont [Fri, 9 Oct 2020 17:32:19 +0000 (19:32 +0200)]
[#1385] Wrapped new ChangeLog entry
Francis Dupont [Fri, 9 Oct 2020 14:55:44 +0000 (14:55 +0000)]
[#1385] Regen flex/bison
Francis Dupont [Fri, 9 Oct 2020 12:44:12 +0000 (12:44 +0000)]
[#1385] Regen flex/bison
Thomas Markwalder [Thu, 8 Oct 2020 18:33:13 +0000 (14:33 -0400)]
[#1385] Updated ARM and added a ChangeLog
Thomas Markwalder [Thu, 8 Oct 2020 17:45:36 +0000 (13:45 -0400)]
[#1385] kea-dhcp6 supports ddns-update-on-renew
(Parsers need to be regenerated)
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/json_config_parser.cc
added ddns-update-on-renew parameter
src/bin/dhcp6/dhcp6_srv.*
Dhcpv4Srv::createNameChangeRequests() - modified to
use ddns-update-on-renew in logic
src/bin/dhcp6/tests/fqdn_unittest.cc
TEST_F(FqdnDhcpv6SrvTest, processRequestRenew) - new test
src/bin/dhcp6/tests/get_config_unittest.cc
Updated
doc/examples/kea4/all-keys.json
doc/examples/kea6/all-keys.json
added ddns-update-on-renew parameter
Thomas Markwalder [Tue, 6 Oct 2020 19:21:25 +0000 (15:21 -0400)]
[#1385] kea-dhcp4 supporst ddns-update-on-renew
(Parsers need to be regenerated)
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
added ddns-update-on-renew parameter
src/bin/dhcp4/dhcp4_srv.*
Dhcpv4Srv::createNameChangeRequests() - added DdnsParams
argument and modified to use ddns-update-on-renew in logic
src/bin/dhcp4/tests/fqdn_unittest.cc
TEST_F(NameDhcpv4SrvTest, createNameChangeRequestsUpdateOnRenew)
- new test
src/bin/dhcp4/tests/get_config_unittest.cc
Updated
src/lib/dhcpsrv/network.*
src/lib/dhcpsrv/parsers/base_network_parser.cc
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
src/lib/dhcpsrv/srv_config.*
Added ddns-update-on-renew
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
src/lib/dhcpsrv/tests/network_unittest.cc
src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
src/lib/dhcpsrv/tests/shared_network_unittest.cc
src/lib/dhcpsrv/tests/srv_config_unittest.cc
src/lib/dhcpsrv/tests/subnet_unittest.cc
updated tests
Francis Dupont [Fri, 9 Oct 2020 14:00:57 +0000 (16:00 +0200)]
[#1464] Addressed comments
Francis Dupont [Fri, 9 Oct 2020 08:23:07 +0000 (10:23 +0200)]
[#1464] Added RAII tool to fill holes
Marcin Siodelski [Fri, 9 Oct 2020 13:51:01 +0000 (15:51 +0200)]
[#1428] Make test class destructor virtual
Also, committed regenerated dhcpsrv_messages.[cc|h].
Marcin Siodelski [Fri, 9 Oct 2020 11:02:02 +0000 (13:02 +0200)]
[#1428] Addressed review comments
- Note that IP reservations are unique with a subnet in several places
- Put back const in createManagers function
- Aligned log arguments.
- Added missing commentary in v6 config fetch routine.
Francis Dupont [Thu, 8 Oct 2020 13:47:00 +0000 (13:47 +0000)]
[#1428] Regen flex/bison
Marcin Siodelski [Thu, 8 Oct 2020 11:37:55 +0000 (13:37 +0200)]
[#1428] Added ip-reservations-unique to all-keys
Marcin Siodelski [Wed, 7 Oct 2020 17:14:22 +0000 (19:14 +0200)]
[#1428] Added warn when switch ip-reservations-unique
Marcin Siodelski [Tue, 6 Oct 2020 15:33:41 +0000 (17:33 +0200)]
[#1428] Regenerated parsers for DHCP
Marcin Siodelski [Tue, 6 Oct 2020 13:31:03 +0000 (15:31 +0200)]
[#1428] Setting ip-reservations-unique via CB
Marcin Siodelski [Tue, 6 Oct 2020 04:47:34 +0000 (06:47 +0200)]
[#1428] Extend createManagers function tests
Extended the tests of the createManagers function which instantiates
configured host backends. It now checks that it is possible to use
ip-reservations-unique for MySQL and Postgres but this setting is refused
for CQL.
Marcin Siodelski [Mon, 5 Oct 2020 17:28:27 +0000 (19:28 +0200)]
[#1428] Use ip-reservations-unique in alloc engine
Marcin Siodelski [Sun, 4 Oct 2020 18:22:22 +0000 (20:22 +0200)]
[#1428] Configure unique IP in HostMgr
The CfgDbAccess class configures HostMgr according to the setting of the
ip-reservations-unique.
Marcin Siodelski [Fri, 2 Oct 2020 15:36:31 +0000 (17:36 +0200)]
[#1428] Basic support for ip-reservations-unique
The DHCPv4 and DHCPv6 servers accept ip-reservations-unique configuration
for IP addresses specified in the configuration file.
Marcin Siodelski [Thu, 1 Oct 2020 17:14:55 +0000 (19:14 +0200)]
[#1428] Added ip-reservations-unique parameter
Also regenerated parsers.
Tomek Mrugalski [Wed, 7 Oct 2020 08:49:20 +0000 (10:49 +0200)]
[#1441] AUTHORS file updated
Andrei Pavel [Mon, 5 Oct 2020 13:32:54 +0000 (16:32 +0300)]
[#1441] add ChangeLog entry
Andrei Pavel [Fri, 2 Oct 2020 09:38:39 +0000 (12:38 +0300)]
[#1441] document various MAC formats for RADIUS
Andrei Pavel [Fri, 2 Oct 2020 16:31:37 +0000 (19:31 +0300)]
[#1441] fix invalid ARM mysql code-block
not getting validated by pygmentize 2.7.1 or higher versions
Marcin Siodelski [Mon, 5 Oct 2020 10:35:31 +0000 (12:35 +0200)]
[#1428] Fixed nits as a result of review
Marcin Siodelski [Sun, 4 Oct 2020 19:16:25 +0000 (21:16 +0200)]
[#1428] Removed tests dedicated for cache
Since we have removed support for getAllX(subnet_id, address) the
tests that validate them were also removed. These tests were recently
added when there was a concept that getAllX behaves the same as getX,
but that is no longer true.
Marcin Siodelski [Sun, 4 Oct 2020 18:53:30 +0000 (20:53 +0200)]
[#1428] Renamed some unit tests
As a result of review.
Marcin Siodelski [Sun, 4 Oct 2020 18:50:55 +0000 (20:50 +0200)]
[#1428] Copied missing PgSQL host tests
Marcin Siodelski [Sun, 4 Oct 2020 18:46:48 +0000 (20:46 +0200)]
[#1428] Removed spurious blank line
As a result of review.
Marcin Siodelski [Sun, 4 Oct 2020 18:45:50 +0000 (20:45 +0200)]
[#1428] Fixed comment in a new test
As a result of review.
Marcin Siodelski [Sun, 4 Oct 2020 18:28:36 +0000 (20:28 +0200)]
[#1428] Modified query to use lower case table name
As a result of review.
Marcin Siodelski [Sun, 4 Oct 2020 18:26:40 +0000 (20:26 +0200)]
[#1428] Added missing comment
As a result of review.
Marcin Siodelski [Sat, 3 Oct 2020 07:02:35 +0000 (09:02 +0200)]
[#1428] Final code cleanup
- Removed caching from getAllX functions in HostMgr
- Renamed setIPReservationUnique to setIPReservationsUnique
Marcin Siodelski [Fri, 2 Oct 2020 19:47:45 +0000 (21:47 +0200)]
[#1428] Extended host tests
The tests getting host by subnet_id/address were now extended to also
use the getAll4 and getAll6 variants.
Marcin Siodelski [Fri, 2 Oct 2020 17:40:56 +0000 (19:40 +0200)]
[#1428] Fixed read only tests in MySQL and PgSQL
Per review comments.
Marcin Siodelski [Fri, 2 Oct 2020 17:40:30 +0000 (19:40 +0200)]
[#1428] Added override in CQL backend
Marcin Siodelski [Fri, 2 Oct 2020 17:34:11 +0000 (19:34 +0200)]
[#1428] Set unique hosts in backend tests
Per review comments.
Marcin Siodelski [Fri, 2 Oct 2020 17:19:25 +0000 (19:19 +0200)]
[#1428] Renamed test function
testAddDuplicate4 to testAddDuplicateIPv4 per review comments.
Marcin Siodelski [Fri, 2 Oct 2020 17:02:51 +0000 (19:02 +0200)]
[#1428] Removed spurious blank lines
As a result of review.
Marcin Siodelski [Fri, 2 Oct 2020 16:57:00 +0000 (18:57 +0200)]
[#1428] Improve non-unique reservations tests
The tests now verify that returned hosts are different. Also added a test
for prefixes. As a result of review.
Marcin Siodelski [Fri, 2 Oct 2020 15:58:09 +0000 (17:58 +0200)]
[#1428] Fixed comments in pgsql hosts
Addressed minor comments in PgSQL host data source and added LIMIT 1 to
optimize a query.
Marcin Siodelski [Fri, 2 Oct 2020 15:52:51 +0000 (17:52 +0200)]
[#1428] Fixed line break
As a result of review.
Marcin Siodelski [Thu, 1 Oct 2020 11:59:39 +0000 (13:59 +0200)]
[#1428] Use SQL select 1 consistently
The new INSERT SELECT statements are also better described to explain why
SELECT 1 is used as a result of the review.
Marcin Siodelski [Thu, 1 Oct 2020 11:45:09 +0000 (13:45 +0200)]
[#1428] Added comment for HostMgr::del func
The comment explains that only hosts from the first alternate source will
be deleted - per review comments.
Marcin Siodelski [Thu, 1 Oct 2020 11:14:19 +0000 (13:14 +0200)]
[#1428] Added comments in MySQL and PgSQL backends
Marcin Siodelski [Thu, 1 Oct 2020 11:05:06 +0000 (13:05 +0200)]
[#1428] Replaced 'including' with 'having' in msgs
Also added a new line per review comments.
Marcin Siodelski [Thu, 1 Oct 2020 11:02:42 +0000 (13:02 +0200)]
[#1428] Simplified return statement
Marcin Siodelski [Thu, 1 Oct 2020 10:49:11 +0000 (12:49 +0200)]
[#1428] Fixed some typos
- regarless -> regardless
- faciliate -> facilitate
- removed spurious blank line
as a result of review.
Marcin Siodelski [Wed, 30 Sep 2020 16:50:56 +0000 (18:50 +0200)]
[#1428] Delete multiple hosts by subnet/addr
Adjusted behavior of the del(subnet_id, addr) function in MySQL and
Postgres to delete multiple hosts having the same IPv4 or IPv6 address.
The MySQL schema had to be updated to use CASCADE action rather than
trigger to remove dependent options and IPv6 reservations.
Marcin Siodelski [Wed, 30 Sep 2020 13:16:30 +0000 (15:16 +0200)]
[#1428] Calls to fetch many hosts by id/address
The new calls have been added to the host backends to retrieve multiple
hosts by subnet_id and address.
Marcin Siodelski [Fri, 25 Sep 2020 12:12:14 +0000 (14:12 +0200)]
[#1428] Allow non-unique IPs in MySQL and PgSQL
Introduced new host API function which allows for configuring selected
backends to accept non-unique IP reservations for multiple hosts. Support
for it was added in MySQL, Postgres and Kea config file. It is not
supported in Cassandra. New migrations for MySQL and Postgres have been
created.
Francis Dupont [Mon, 5 Oct 2020 12:19:09 +0000 (14:19 +0200)]
[#1418] Fixed ChangeLog number
Francis Dupont [Fri, 2 Oct 2020 15:43:19 +0000 (17:43 +0200)]
[#1418] Finished renames
Francis Dupont [Fri, 2 Oct 2020 15:10:30 +0000 (15:10 +0000)]
[#1418] Regen flex/bison
Francis Dupont [Fri, 2 Oct 2020 15:10:31 +0000 (17:10 +0200)]
[#1418] Checkpoint: more renames
Francis Dupont [Fri, 2 Oct 2020 15:00:36 +0000 (17:00 +0200)]
[#1418] Checkpoint: renamed cache-max
Francis Dupont [Fri, 25 Sep 2020 14:52:16 +0000 (14:52 +0000)]
[#1418] Regen flex
Francis Dupont [Fri, 25 Sep 2020 14:52:30 +0000 (16:52 +0200)]
[#1418] Typo: regen again
Francis Dupont [Fri, 25 Sep 2020 14:49:21 +0000 (14:49 +0000)]
[#1418] Regen flex/bison
Francis Dupont [Fri, 25 Sep 2020 14:48:15 +0000 (16:48 +0200)]
[#1418] Checkpoint: updated library, a syntax regen is required
Francis Dupont [Fri, 25 Sep 2020 09:30:59 +0000 (11:30 +0200)]
[#1418] Checkpoint: updated for 1.9.1
Francis Dupont [Mon, 14 Sep 2020 15:32:59 +0000 (17:32 +0200)]
[#1418] Checkpoint: adding syntax
Tomek Mrugalski [Fri, 18 Sep 2020 08:52:20 +0000 (10:52 +0200)]
[#1422] Compilation warning removed.
Michal Nowikowski [Thu, 1 Oct 2020 08:46:04 +0000 (10:46 +0200)]
[#1440] wrapped ChangeLog to 73 characters
Michal Nowikowski [Wed, 23 Sep 2020 15:50:08 +0000 (17:50 +0200)]
[#1429] hammer: added support for building Kea on Alpine 3.12
Suzanne Goldlust [Wed, 30 Sep 2020 14:31:44 +0000 (14:31 +0000)]
Add documentation update task for Marketing
Michal Nowikowski [Mon, 28 Sep 2020 13:16:12 +0000 (15:16 +0200)]
[#1426] regenerated messages files
Michal Nowikowski [Mon, 28 Sep 2020 11:52:00 +0000 (11:52 +0000)]
[#1426] regenerated bison parsers
Michal Nowikowski [Mon, 28 Sep 2020 10:37:52 +0000 (12:37 +0200)]
[#1426] release changes
- added release entry in ChangeLog
- updated copyright dates
- sorted messages
Michal Nowikowski [Wed, 23 Sep 2020 11:45:18 +0000 (13:45 +0200)]
[#1426] cleanup in release checklist template and in hammer
Razvan Becheriu [Mon, 28 Sep 2020 11:29:40 +0000 (14:29 +0300)]
[#1373] Addressed comment
Francis Dupont [Mon, 28 Sep 2020 10:37:49 +0000 (12:37 +0200)]
[#1373] Addressed comment
Francis Dupont [Sun, 27 Sep 2020 22:08:00 +0000 (00:08 +0200)]
[#1373] Updated csv-format stuff
Francis Dupont [Mon, 28 Sep 2020 09:55:07 +0000 (11:55 +0200)]
[#1400] Addressed comments
Razvan Becheriu [Fri, 25 Sep 2020 21:23:58 +0000 (00:23 +0300)]
[#1400] bumped hooks version for 1.9.0
Razvan Becheriu [Fri, 25 Sep 2020 17:27:35 +0000 (20:27 +0300)]
[#1400] bumped hooks version for 1.9.0
Francis Dupont [Fri, 25 Sep 2020 12:14:26 +0000 (14:14 +0200)]
[#1400] Bumped hook version
Francis Dupont [Fri, 25 Sep 2020 12:13:15 +0000 (14:13 +0200)]
[#1400] Bumped versions
Razvan Becheriu [Fri, 25 Sep 2020 15:59:46 +0000 (18:59 +0300)]
[#1373] fixed unittests
Razvan Becheriu [Fri, 25 Sep 2020 15:14:50 +0000 (18:14 +0300)]
[#1373] addressed review