]>
git.ipfire.org Git - thirdparty/kea.git/log
Razvan Becheriu [Fri, 22 Mar 2019 19:26:38 +0000 (21:26 +0200)]
added serial consistency to all queries
Francis Dupont [Mon, 11 Mar 2019 21:00:43 +0000 (22:00 +0100)]
[524-using-sh-and-wrong-syntax-in-if-statements-breaks-ubuntu-build] Changed source for .
Francis Dupont [Mon, 11 Mar 2019 17:24:08 +0000 (18:24 +0100)]
[524-using-sh-and-wrong-syntax-in-if-statements-breaks-ubuntu-build] Changed == into =
Marcin Siodelski [Fri, 29 Mar 2019 14:47:34 +0000 (15:47 +0100)]
[#490,!293] Do not throw from the getHostReservationMode function.
Marcin Siodelski [Fri, 29 Mar 2019 13:35:31 +0000 (14:35 +0100)]
[#490,!293] Corrected broken unit test.
Marcin Siodelski [Fri, 29 Mar 2019 10:29:35 +0000 (11:29 +0100)]
[#490,!293] Corrected an issue with global reservation-mode inheritance.
Marcin Siodelski [Wed, 27 Mar 2019 20:31:44 +0000 (21:31 +0100)]
[master] Added ChangeLog entry for #490.
Marcin Siodelski [Wed, 27 Mar 2019 20:20:50 +0000 (21:20 +0100)]
[#490,!284] Corrected v6 get-config unit tests.
Marcin Siodelski [Wed, 27 Mar 2019 19:36:43 +0000 (20:36 +0100)]
[#490,!284] Extended commentary per review comments.
Marcin Siodelski [Wed, 27 Mar 2019 19:11:28 +0000 (20:11 +0100)]
[#490,!284] Renamed ElementExtractor to ElementValue.
Per review comments.
Marcin Siodelski [Wed, 27 Mar 2019 18:31:17 +0000 (19:31 +0100)]
[#490,!284] Addressed review comments.
Marcin Siodelski [Wed, 27 Mar 2019 12:19:05 +0000 (13:19 +0100)]
[#490,!284] Regenerated parser tests.
Marcin Siodelski [Wed, 27 Mar 2019 10:55:10 +0000 (11:55 +0100)]
[#490,!284] Enable dynamic inheritance for networks in config file.
Marcin Siodelski [Wed, 27 Mar 2019 09:43:31 +0000 (10:43 +0100)]
[#490,!284] Corrected compilation issue on CentOS.
Marcin Siodelski [Wed, 27 Mar 2019 09:08:23 +0000 (10:08 +0100)]
[#490,!284] Enable inheritance of globals upon config merge.
Marcin Siodelski [Wed, 27 Mar 2019 08:21:09 +0000 (09:21 +0100)]
[#490,!284] Finished implementation of the inheritance for v4 and v6.
Marcin Siodelski [Tue, 26 Mar 2019 10:19:58 +0000 (11:19 +0100)]
[#490,!284] Use inheritance for all optional parameters in Network.
Marcin Siodelski [Mon, 25 Mar 2019 16:18:27 +0000 (17:18 +0100)]
[#490,!284] Working PoC of inheritance in networks and globals.
Marcin Siodelski [Mon, 25 Mar 2019 15:59:19 +0000 (16:59 +0100)]
[#490,!284] Created ElementExtractor template.
Marcin Siodelski [Fri, 22 Mar 2019 06:38:08 +0000 (07:38 +0100)]
[#490,!284] Basic refactoring of the Network class.
Thomas Markwalder [Wed, 27 Mar 2019 16:02:55 +0000 (12:02 -0400)]
[master] Added ChangeLog entry 1549
Thomas Markwalder [Wed, 27 Mar 2019 14:31:03 +0000 (10:31 -0400)]
[master] kea-dhcp6 can now be configured to fetch from config backends
Merge branch '104-cb-add-periodic-fetch-of-the-incremental-dhcpv6-configuration-changes'
Note: Fetch upon reconfig and periodic update mechanics work,
fetched data is not yet used.
Thomas Markwalder [Wed, 27 Mar 2019 14:12:14 +0000 (10:12 -0400)]
[#104,!290] Addressed review comments
Thomas Markwalder [Tue, 26 Mar 2019 19:12:06 +0000 (15:12 -0400)]
[#104,!290] kea-dhcpv6 now supports fetching config from backends
Infrastructure has been added to kea-dhcp6 such that it can
now be configured to fetch full and then periodic updates
from config backends.
Merging the actual fetched content will be done under subsequent
issues.
src/bin/dhcp6
ctrl_dhcp6_srv.*
- ControlledDhcpv6Srv::processConfig() - added logic to schedule CB update timer
- ControlledDhcpv6Srv::cbFetchUpdates() - new callback function for CB updates
dhcp6_lexer.ll
dhcp6_parser.yy
- Added config-fetch-wait-time
dhcp6_messages.mes
- New log messages
dhcp6_srv.*
- Dhcpv6Srv::cb_control_ - new member for config backend access
- Dhcpv6Srv::inTestMode() - new function to test for unit test mode
json_config_parser.cc
- configureDhcp6Server() - invokes full fetch from config backend
src/bin/dhcp6/tests
config_backend_unittest.cc - new file/tests for config backend testing
config_parser_unittest.cc - updated
get_config_unittest.cc - rebuild tests
kea_controller_unittest.cc - added CB control/timer tests
src/lib/dhcpsrv/
dhcpsrv_messages.mes - added log message
cb_ctl_dhcp6.* - new files that provide v6 impl of config backend controller
doc/examples/kea6/all-keys-current.json - added config-fetch-wait-time
Marcin Siodelski [Tue, 26 Mar 2019 10:18:16 +0000 (10:18 +0000)]
[#103,!277] Regenerated bison files.
Marcin Siodelski [Tue, 26 Mar 2019 06:49:11 +0000 (07:49 +0100)]
[#103,!277] Address two minor review comments.
Marcin Siodelski [Mon, 25 Mar 2019 19:31:39 +0000 (20:31 +0100)]
[#103,!277] Add failure count for the CB fetch timer.
Marcin Siodelski [Mon, 25 Mar 2019 18:28:53 +0000 (19:28 +0100)]
[#103,!277] Use enum instead of boolean in databaseConfigFetch.
As a result of review.
Marcin Siodelski [Mon, 25 Mar 2019 17:50:41 +0000 (18:50 +0100)]
[#103,!277] Added Dhcpv4Srv::inTestMode as a result of review.
Marcin Siodelski [Mon, 25 Mar 2019 17:35:25 +0000 (18:35 +0100)]
[#103,!277] Addressed minor review comments.
Marcin Siodelski [Thu, 21 Mar 2019 15:36:59 +0000 (16:36 +0100)]
[#103,!277] Fixing compilation issue on Ubuntu.
Marcin Siodelski [Thu, 21 Mar 2019 14:43:28 +0000 (15:43 +0100)]
[#103,!277] Fixed unused variable warning.
Marcin Siodelski [Thu, 21 Mar 2019 10:39:50 +0000 (11:39 +0100)]
[#103,!277] Updated all-keys-current.json example.
Marcin Siodelski [Thu, 21 Mar 2019 10:36:49 +0000 (11:36 +0100)]
[#103,!277] Extended unit tests for databaseConfigApply in DHCPv4.
Marcin Siodelski [Wed, 20 Mar 2019 12:36:48 +0000 (13:36 +0100)]
[#103,!277] Revert last audit entry time in case of merge failure.
Marcin Siodelski [Wed, 20 Mar 2019 11:56:44 +0000 (12:56 +0100)]
[#103,!277] Update statistics when the configuration is merged into current.
Marcin Siodelski [Wed, 20 Mar 2019 11:07:40 +0000 (12:07 +0100)]
[#103,!277] Fixed failing unit test.
Marcin Siodelski [Wed, 20 Mar 2019 10:36:34 +0000 (11:36 +0100)]
[#103,!277] Setup timer for CB config fetch in the DHCPv4 server.
Marcin Siodelski [Tue, 19 Mar 2019 16:33:38 +0000 (17:33 +0100)]
[#103,!277] Added support for config-fetch-wait-time parameter.
Marcin Siodelski [Tue, 19 Mar 2019 12:58:08 +0000 (13:58 +0100)]
[#103,!277] Reset CBControl upon DHCPv4 serverreconfiguration.
Marcin Siodelski [Tue, 19 Mar 2019 12:53:10 +0000 (13:53 +0100)]
[#103,!277] Implemented CBControlBase::reset function.
Marcin Siodelski [Tue, 19 Mar 2019 12:26:00 +0000 (13:26 +0100)]
[#103,!277] DHCPv4 server is using CBControlDHCPv4.
Marcin Siodelski [Tue, 19 Mar 2019 12:25:28 +0000 (13:25 +0100)]
[#103,!277] Implemented the CBControlDHCPv4::databaseConfigApply.
Marcin Siodelski [Tue, 19 Mar 2019 12:03:26 +0000 (13:03 +0100)]
[#103,!277] Added CBControlBase::fetchConfigElement function.
Marcin Siodelski [Tue, 19 Mar 2019 12:02:07 +0000 (13:02 +0100)]
[#103,!277] Use composite key for audit entry object type searches.
Marcin Siodelski [Tue, 19 Mar 2019 09:19:33 +0000 (10:19 +0100)]
[#103,!277] Regenerated message files.
Marcin Siodelski [Mon, 18 Mar 2019 13:55:24 +0000 (14:55 +0100)]
[#103,!277] Added stub CBControlDHCPv4.
Marcin Siodelski [Mon, 18 Mar 2019 13:54:41 +0000 (14:54 +0100)]
[#103,!277] Disconnect CBs in the CBControlBase destructor.
Marcin Siodelski [Mon, 18 Mar 2019 11:36:13 +0000 (12:36 +0100)]
[#103,!277] Include cb_ctl_base.h in the Makefile.am
Marcin Siodelski [Mon, 18 Mar 2019 09:58:52 +0000 (10:58 +0100)]
[#103,!277] Implemented CBControlBase class.
Francis Dupont [Sat, 23 Mar 2019 14:44:46 +0000 (14:44 +0000)]
[master] regen flex/bison
Razvan Becheriu [Fri, 22 Mar 2019 14:19:31 +0000 (16:19 +0200)]
updated ChangeLog
Razvan Becheriu [Fri, 22 Mar 2019 13:58:10 +0000 (15:58 +0200)]
updated timestamps
Razvan Becheriu [Fri, 22 Mar 2019 13:48:13 +0000 (15:48 +0200)]
generated parsers
Razvan Becheriu [Thu, 21 Mar 2019 16:27:19 +0000 (18:27 +0200)]
removed consistency parameters from translator
Razvan Becheriu [Tue, 19 Mar 2019 15:50:24 +0000 (17:50 +0200)]
changes after review
Razvan Becheriu [Mon, 18 Mar 2019 15:04:04 +0000 (17:04 +0200)]
added supported values and link to documentation
Razvan Becheriu [Mon, 11 Mar 2019 10:18:25 +0000 (12:18 +0200)]
updated examples and models
Razvan Becheriu [Mon, 11 Mar 2019 09:24:33 +0000 (11:24 +0200)]
configure serial consistency as well
Razvan Becheriu [Mon, 11 Mar 2019 05:40:07 +0000 (07:40 +0200)]
fixed compilation with unittests
Razvan Becheriu [Sat, 9 Mar 2019 06:50:00 +0000 (08:50 +0200)]
renamed parameter
Razvan Becheriu [Thu, 7 Mar 2019 14:20:35 +0000 (16:20 +0200)]
added cql-consistency parameter
Francis Dupont [Thu, 21 Mar 2019 11:57:07 +0000 (12:57 +0100)]
[master] Updated ChangeLog entry 1541 for reporters
Francis Dupont [Thu, 21 Mar 2019 11:30:16 +0000 (12:30 +0100)]
[master] Added ChangeLog entry for sip-ua-cs-domains doc fix
Francis Dupont [Thu, 14 Mar 2019 21:41:45 +0000 (22:41 +0100)]
[536-typo-in-arm-for-option-sip-ua-cs-domains] Fixed sip-ua-cs-domains code point
Thomas Markwalder [Wed, 20 Mar 2019 19:13:38 +0000 (15:13 -0400)]
[master] Updated ChangeLog entry 1542.
Thomas Markwalder [Wed, 20 Mar 2019 19:09:54 +0000 (15:09 -0400)]
[master] Postgresql unit tests now support wipe-data only
Merge branch '531-improve-postgresql-unit-test-time-by-implementing-a-wipe-data-only-mechanism'
Francis Dupont [Wed, 20 Mar 2019 15:23:05 +0000 (16:23 +0100)]
[531-improve-postgresql-unit-test-time-by-implementing-a-wipe-data-only-mechanism] spelling
Francis Dupont [Wed, 20 Mar 2019 15:18:00 +0000 (16:18 +0100)]
[531-improve-postgresql-unit-test-time-by-implementing-a-wipe-data-only-mechanism] Grammar
Francis Dupont [Wed, 20 Mar 2019 15:16:31 +0000 (16:16 +0100)]
[531-improve-postgresql-unit-test-time-by-implementing-a-wipe-data-only-mechanism] Better fix
Francis Dupont [Wed, 20 Mar 2019 15:15:38 +0000 (16:15 +0100)]
[531-improve-postgresql-unit-test-time-by-implementing-a-wipe-data-only-mechanism] spelling
Francis Dupont [Tue, 19 Mar 2019 18:24:09 +0000 (19:24 +0100)]
[474-optionally-disable-collection-host-lookups] Addressed comments
Francis Dupont [Thu, 14 Mar 2019 10:43:47 +0000 (11:43 +0100)]
[474-optionally-disable-collection-host-lookups] Removed srandomdev
Francis Dupont [Wed, 27 Feb 2019 10:31:56 +0000 (11:31 +0100)]
[474-optionally-disable-collection-host-lookups] Added a host manager flag to disable getAll() in alloc engine
Francis Dupont [Sun, 17 Mar 2019 09:16:42 +0000 (10:16 +0100)]
[481-er-foreign-duplicate-key-with-child-info] Completed duplicate foreign key errors
Francis Dupont [Fri, 15 Mar 2019 23:00:39 +0000 (00:00 +0100)]
[481-er-foreign-duplicate-key-with-child-info] Made ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO optional
Michal Nowikowski [Tue, 19 Mar 2019 17:05:45 +0000 (18:05 +0100)]
hammer: added note to hammer guide about ccache limitation to lxc only
Michal Nowikowski [Fri, 15 Mar 2019 14:38:03 +0000 (15:38 +0100)]
added description of ccache feature in hammer in user guide
Michal Nowikowski [Thu, 14 Mar 2019 15:37:12 +0000 (16:37 +0100)]
added CCache support to Hammer
Thomas Markwalder [Mon, 18 Mar 2019 19:37:18 +0000 (15:37 -0400)]
[master] Added entry 1546.
Thomas Markwalder [Mon, 18 Mar 2019 19:36:04 +0000 (15:36 -0400)]
[master] kea-dhcp4 uses options from config backends
Merge branch '401-merge-dhcpv4-options-fetched-from-the-cb-into-the-configuration'
Thomas Markwalder [Mon, 18 Mar 2019 18:31:42 +0000 (14:31 -0400)]
[#401,!254] Further review work.
Removed use of Option::toText from tests:
src/lib/dhcpsrv/tests/cfg_option_unittest.cc
TEST_F(CfgOptionTest, replace)
TEST_F(CfgOptionTest, mergeTo)
TEST_F(CfgOptionTest, createDescriptorOptionValid)
src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc
TEST(CfgSubnets4Test, mergeSubnets)
Marcin Siodelski [Mon, 18 Mar 2019 16:31:58 +0000 (17:31 +0100)]
[#401,!254] Added space in the error message.
Thomas Markwalder [Mon, 18 Mar 2019 15:30:05 +0000 (11:30 -0400)]
[#401,!254] Addressed more review comments.
Marcin Siodelski [Mon, 18 Mar 2019 11:51:04 +0000 (12:51 +0100)]
[#401,!254] Use three slashes between todo in the SrvConfig.
Francis Dupont [Mon, 18 Mar 2019 10:16:03 +0000 (11:16 +0100)]
[master] Added a ChangeLog entry for data-directory
Francis Dupont [Fri, 15 Mar 2019 23:50:41 +0000 (00:50 +0100)]
[430-configure-location-of-datadir] Fixed another post rebase issue
Francis Dupont [Fri, 15 Mar 2019 23:48:45 +0000 (00:48 +0100)]
[430-configure-location-of-datadir] Better clear in CfgMgrTest
Francis Dupont [Fri, 15 Mar 2019 23:29:39 +0000 (23:29 +0000)]
[#430,!263] regen bison
Francis Dupont [Fri, 15 Mar 2019 23:26:09 +0000 (00:26 +0100)]
[430-configure-location-of-datadir] Updated keywords list
Francis Dupont [Fri, 15 Mar 2019 23:20:34 +0000 (00:20 +0100)]
[430-configure-location-of-datadir] Added some unit tests
Francis Dupont [Fri, 15 Mar 2019 22:31:36 +0000 (23:31 +0100)]
[430-configure-location-of-datadir] Fixed quotes in data-directory example
Francis Dupont [Mon, 11 Mar 2019 17:15:07 +0000 (18:15 +0100)]
[430-configure-location-of-datadir] Reverted to CfgMgr. Made Optional
Francis Dupont [Mon, 11 Mar 2019 15:01:04 +0000 (16:01 +0100)]
[430-configure-location-of-datadir] Forked all-keys.json files into stable and current versions
Francis Dupont [Mon, 11 Mar 2019 13:22:22 +0000 (14:22 +0100)]
[430-configure-location-of-datadir] Do not export data-directory tests
Francis Dupont [Wed, 6 Mar 2019 17:34:22 +0000 (18:34 +0100)]
[430-configure-location-of-datadir] Moved datadir to server config and use it for v6
Francis Dupont [Wed, 6 Mar 2019 11:45:07 +0000 (11:45 +0000)]
[#480,!263] regen flex/bison
Francis Dupont [Wed, 6 Mar 2019 11:39:27 +0000 (12:39 +0100)]
[430-configure-location-of-datadir] Extended syntax
Thomas Markwalder [Fri, 15 Mar 2019 14:34:38 +0000 (10:34 -0400)]
[#401,!254] Implemented CfgOption::replace
src/lib/dhcpsrv/cfg_option.*
CfgOption::replace() - new method to update an OptionDescriptor
CfgOption::createDescriptorOption() - new returns a bool indicating
whether or not the option_ instance was replaced
Thomas Markwalder [Fri, 15 Mar 2019 12:26:35 +0000 (08:26 -0400)]
[#401,!254] Options are now created when merging subnets
src/lib/dhcpsrv/cfg_subnets4.*
CfgSubnets4::merge() - added cfg_def, now
creates options for each subnet and their pools.
src/lib/dhcpsrv/srv_config.cc
SrvConfig::merge4() - passes merged option defs
into subnets merge.
src/lib/dhcpsrv/subnet.h
Subnet::getPoolsWritable() - changed to public.