]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Fri, 8 Nov 2019 11:29:00 +0000 (12:29 +0100)]
[897-add-infinite-valid-lifetime-for-bootp] Added comments about T1/T2 vs infinite valid lifetime
Francis Dupont [Sun, 22 Sep 2019 22:24:31 +0000 (00:24 +0200)]
[897-add-infinite-valid-lifetime-for-bootp] Added BOOTP client class
Francis Dupont [Sun, 22 Sep 2019 17:23:40 +0000 (19:23 +0200)]
[897-add-infinite-valid-lifetime-for-bootp] Reported previous changes
Wlodek Wencel [Tue, 29 Oct 2019 05:58:59 +0000 (12:58 +0700)]
[#974] slightly changed documentation about netconf
Wlodek Wencel [Tue, 29 Oct 2019 05:50:29 +0000 (06:50 +0100)]
Merge branch '974-1-7-1-release' of https://gitlab.isc.org/isc-projects/kea into 974-1-7-1-release
Wlodek Wencel [Tue, 29 Oct 2019 05:49:44 +0000 (06:49 +0100)]
[#974] parsers regenerated for 1.7.1
Wlodek Wencel [Tue, 29 Oct 2019 05:42:11 +0000 (06:42 +0100)]
[#974] copy right dates, mes files Changelog prepared for release
Wlodek Wencel [Tue, 29 Oct 2019 05:42:11 +0000 (06:42 +0100)]
[#971] copy right dates, mes files Changelog prepared for release
Wlodek Wencel [Mon, 28 Oct 2019 13:55:33 +0000 (20:55 +0700)]
[#971] bumped up lib versions for 1.7.1
Francis Dupont [Mon, 28 Oct 2019 14:02:06 +0000 (15:02 +0100)]
[fix-904-2] Fixed rebase failures
Francis Dupont [Mon, 28 Oct 2019 12:49:31 +0000 (13:49 +0100)]
[fix-904] Removed extra argument
Francis Dupont [Mon, 28 Oct 2019 10:43:51 +0000 (11:43 +0100)]
[904-add-ability-to-force-a-cb-update-remotely] Fixed typo
Francis Dupont [Mon, 28 Oct 2019 09:32:32 +0000 (10:32 +0100)]
[904-add-ability-to-force-a-cb-update-remotely] Updated Changelog entry
Francis Dupont [Sun, 27 Oct 2019 18:44:24 +0000 (19:44 +0100)]
[904-add-ability-to-force-a-cb-update-remotely] Used "on demand" instead of pull at the exception of the command name
Francis Dupont [Fri, 25 Oct 2019 21:07:25 +0000 (23:07 +0200)]
[904-add-ability-to-force-a-cb-update-remotely] Added ChangeLog entry for config-backend-pull
Francis Dupont [Fri, 25 Oct 2019 20:47:24 +0000 (22:47 +0200)]
[904-add-ability-to-force-a-cb-update-remotely] Addressed last comments
Francis Dupont [Fri, 25 Oct 2019 16:15:42 +0000 (18:15 +0200)]
[904-add-ability-to-force-a-cb-update-remotely] Addressed comments for the v4 part
Francis Dupont [Fri, 25 Oct 2019 14:50:59 +0000 (16:50 +0200)]
[904-add-ability-to-force-a-cb-update-remotely] Addressed comments but still command to update
Francis Dupont [Sun, 6 Oct 2019 23:51:06 +0000 (01:51 +0200)]
[904-add-ability-to-force-a-cb-update-remotely] Added server-update command
Tomek Mrugalski [Mon, 28 Oct 2019 01:07:24 +0000 (02:07 +0100)]
[#752] AUTHORS, ChangeLog updated.
Tomek Mrugalski [Mon, 28 Oct 2019 01:01:10 +0000 (02:01 +0100)]
[#752] Updated alloc_engine_messages.mes
Kristoffer Larsen [Mon, 16 Sep 2019 05:03:25 +0000 (07:03 +0200)]
Add log message containing classes during allocation failure
Francis Dupont [Wed, 23 Oct 2019 13:25:42 +0000 (15:25 +0200)]
[965-fix-doxygen-warnings] Fixed trivial doxygen warnings
Francis Dupont [Fri, 25 Oct 2019 15:40:07 +0000 (17:40 +0200)]
[393-global-search-through-leases-by-mac-or-hostname-w-o-specifying-a-subnet-id] Added ChangeLog entry for leases by hostname and co (2)
Francis Dupont [Fri, 25 Oct 2019 15:30:07 +0000 (17:30 +0200)]
[393-global-search-through-leases-by-mac-or-hostname-w-o-specifying-a-subnet-id] Added ChangeLog entry for leases by hostname and co
Francis Dupont [Fri, 25 Oct 2019 13:54:34 +0000 (15:54 +0200)]
[393-global-search-through-leases-by-mac-or-hostname-w-o-specifying-a-subnet-id] Addressed comments
Francis Dupont [Wed, 16 Oct 2019 22:35:24 +0000 (00:35 +0200)]
[393-global-search-through-leases-by-mac-or-hostname-w-o-specifying-a-subnet-id] Added unit tests for new commands
Francis Dupont [Wed, 16 Oct 2019 21:10:01 +0000 (23:10 +0200)]
[393-global-search-through-leases-by-mac-or-hostname-w-o-specifying-a-subnet-id] Added new command docs
Francis Dupont [Wed, 16 Oct 2019 20:08:34 +0000 (22:08 +0200)]
[393-global-search-through-leases-by-mac-or-hostname-w-o-specifying-a-subnet-id] Implemented new commands
Francis Dupont [Wed, 16 Oct 2019 17:02:43 +0000 (19:02 +0200)]
[393-global-search-through-leases-by-mac-or-hostname-w-o-specifying-a-subnet-id] Added get leases 4 and 4 by hostname to the API
Francis Dupont [Wed, 16 Oct 2019 14:54:16 +0000 (16:54 +0200)]
[393-global-search-through-leases-by-mac-or-hostname-w-o-specifying-a-subnet-id] Moves lease hostnames to lower case
Tomek Mrugalski [Fri, 25 Oct 2019 14:41:21 +0000 (16:41 +0200)]
[869] ChangeLog updated.
Francis Dupont [Mon, 7 Oct 2019 19:26:12 +0000 (21:26 +0200)]
[869-add-ability-to-retrieve-configure-command-line-from-binaries] Moved configure arguments block
Francis Dupont [Mon, 7 Oct 2019 19:19:40 +0000 (21:19 +0200)]
[869-add-ability-to-retrieve-configure-command-line-from-binaries] Added configure arguments to config.report
Tomek Mrugalski [Fri, 25 Oct 2019 14:20:51 +0000 (16:20 +0200)]
[#795] ChangeLog updated.
Wlodek Wencel [Tue, 10 Sep 2019 07:10:09 +0000 (09:10 +0200)]
[#795] unit tests tweaked for new configuration
Wlodek Wencel [Mon, 9 Sep 2019 16:58:30 +0000 (18:58 +0200)]
[#795] sockets paths unified between examples and default configs
Francis Dupont [Fri, 25 Oct 2019 12:25:34 +0000 (14:25 +0200)]
[remove-unused-variable-
20191025 -2] [fix2] Removed unused variables
Francis Dupont [Fri, 25 Oct 2019 12:14:59 +0000 (14:14 +0200)]
[remove-unused-variable-
20191025 ] [fix] Removed unused variables
Francis Dupont [Fri, 25 Oct 2019 09:26:05 +0000 (11:26 +0200)]
[219-allow-an-option-value-to-be-set-from-an-expression] Added ChangeLog for options from expressions
Francis Dupont [Thu, 10 Oct 2019 23:15:39 +0000 (01:15 +0200)]
[219-allow-an-option-value-to-be-set-from-an-expression] Addressed comments
Francis Dupont [Fri, 4 Oct 2019 19:46:14 +0000 (21:46 +0200)]
[219-allow-an-option-value-to-be-set-from-an-expression] Added new tests and an example
Francis Dupont [Fri, 4 Oct 2019 18:02:58 +0000 (20:02 +0200)]
[219-allow-an-option-value-to-be-set-from-an-expression] Checkout: adding call tests
Francis Dupont [Wed, 2 Oct 2019 19:57:31 +0000 (21:57 +0200)]
[219-allow-an-option-value-to-be-set-from-an-expression] Added docs
Francis Dupont [Wed, 2 Oct 2019 16:03:40 +0000 (18:03 +0200)]
[219-allow-an-option-value-to-be-set-from-an-expression] Checkpoint: code and test done, todo docs
Francis Dupont [Wed, 2 Oct 2019 10:35:56 +0000 (12:35 +0200)]
[219-allow-an-option-value-to-be-set-from-an-expression] Checkpoint: to do add action logs and doc
Francis Dupont [Tue, 1 Oct 2019 23:22:09 +0000 (01:22 +0200)]
[219-allow-an-option-value-to-be-set-from-an-expression] Checkpoint: almost finished
Francis Dupont [Tue, 1 Oct 2019 15:37:21 +0000 (17:37 +0200)]
[219-allow-an-option-value-to-be-set-from-an-expression] Checkpoint: wrote flex option code, to do tests, to finish doc
Francis Dupont [Fri, 25 Oct 2019 08:53:22 +0000 (10:53 +0200)]
[677-kea4-not-honouring-the-p-switch] Added ChangeLog for -p switch improvement
Francis Dupont [Fri, 11 Oct 2019 12:46:00 +0000 (14:46 +0200)]
[677-kea4-not-honouring-the-p-switch] Improved -p support
Francis Dupont [Wed, 23 Oct 2019 15:18:52 +0000 (17:18 +0200)]
[962-implement-the-multi_threading_mgr-h-idea] Added ChangeLog entry for MultiThreadingMgr
Francis Dupont [Wed, 23 Oct 2019 12:59:31 +0000 (14:59 +0200)]
[962-implement-the-multi_threading_mgr-h-idea] Fixed doxygen
Francis Dupont [Wed, 23 Oct 2019 12:52:20 +0000 (14:52 +0200)]
[962-implement-the-multi_threading_mgr-h-idea] Addressed comments
Francis Dupont [Wed, 23 Oct 2019 12:38:52 +0000 (14:38 +0200)]
[962-implement-the-multi_threading_mgr-h-idea] Merged into one class
Francis Dupont [Tue, 22 Oct 2019 20:45:42 +0000 (22:45 +0200)]
[962-implement-the-multi_threading_mgr-h-idea] Fixed trivial typo in comment
Francis Dupont [Tue, 22 Oct 2019 10:51:29 +0000 (12:51 +0200)]
[962-implement-the-multi_threading_mgr-h-idea] Added the Multi Threading Manager
Thomas Markwalder [Wed, 23 Oct 2019 12:58:47 +0000 (08:58 -0400)]
[#900,!561] Updated ChangeLog
Thomas Markwalder [Tue, 22 Oct 2019 14:46:10 +0000 (10:46 -0400)]
[#900,!561] Addressed review comments
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 [Mon, 21 Oct 2019 14:38:53 +0000 (10:38 -0400)]
[#900,!561] kea-dhcp4/6 now quietly drop empty or all-null string options
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)
Francis Dupont [Tue, 22 Oct 2019 07:46:45 +0000 (09:46 +0200)]
[919-bind1st-and-bind2nd-were-deprecated] Added ChangeLog entry for bind1st/bind2nd
Francis Dupont [Sat, 21 Sep 2019 16:40:15 +0000 (18:40 +0200)]
[919-bind1st-and-bind2nd-were-deprecated] Updated bind1st/bind2nd with bind or lambda
Francis Dupont [Thu, 3 Oct 2019 07:15:17 +0000 (09:15 +0200)]
[868-the-examples-directory-in-main-dir-not-doc-examples-is-useless-and-should-be-removed] Removes topdir examples
Francis Dupont [Fri, 18 Oct 2019 22:10:06 +0000 (00:10 +0200)]
[master] Fixed ChangeLog last inserted entry
Francis Dupont [Mon, 7 Oct 2019 09:26:50 +0000 (11:26 +0200)]
[937-doc-should-mention-rfc8357-relay-port-as-supported] Added RFC 8357 support in doc
Francis Dupont [Sun, 6 Oct 2019 19:53:12 +0000 (21:53 +0200)]
[497-kea-uses-deprecated-header] Fixed boost/{integer,math}/common_factor.h
Francis Dupont [Sun, 6 Oct 2019 16:41:25 +0000 (18:41 +0200)]
[497-kea-uses-deprecated-header] Revert "[497-kea-uses-deprecated-header] Reverted the -isystem"
This reverts commit
9c1ab2136422d20d916338d210708074a412d502 .
Francis Dupont [Fri, 4 Oct 2019 22:19:56 +0000 (00:19 +0200)]
[497-kea-uses-deprecated-header] Reverted the -isystem
Thomas Markwalder [Fri, 18 Oct 2019 14:40:31 +0000 (10:40 -0400)]
[#754,!558] Addressed belated review comment
Thomas Markwalder [Fri, 18 Oct 2019 14:28:36 +0000 (10:28 -0400)]
[#754,!558] Updated ChangeLog
Thomas Markwalder [Fri, 18 Oct 2019 12:49:36 +0000 (08:49 -0400)]
[#754,!558] Update v6 lease data for dynamic leases with HRs
src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::allocateLeases6(ClientContext6& ctx) - add call to
updateLeaseData() to case 3.
src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
TEST_F(AllocEngine6Test, hostDynamicAddress)
TEST_F(AllocEngine6Test, globalHostDynamicAddress) - revamped to
verify assignment and update for REQUESTs
Wlodek Wencel [Wed, 16 Oct 2019 06:42:07 +0000 (13:42 +0700)]
[#955] revert changes to hammer that removed repository_url
Francis Dupont [Tue, 15 Oct 2019 09:49:27 +0000 (11:49 +0200)]
[392-search-of-reservations-by-hostname] Added ChangeLog entry for HR by hostname
Francis Dupont [Tue, 15 Oct 2019 09:44:55 +0000 (11:44 +0200)]
[392-search-of-reservations-by-hostname] Added a reference in reservation-get-by-hostname to admin/MySQL
Francis Dupont [Mon, 14 Oct 2019 14:30:18 +0000 (16:30 +0200)]
[392-search-of-reservations-by-hostname] Addressed some comments
Francis Dupont [Fri, 11 Oct 2019 23:04:53 +0000 (01:04 +0200)]
[392-search-of-reservations-by-hostname] Addressed comments
Francis Dupont [Mon, 30 Sep 2019 14:06:03 +0000 (16:06 +0200)]
[392-search-of-reservations-by-hostname] Finished core stuff
Francis Dupont [Mon, 30 Sep 2019 13:33:57 +0000 (15:33 +0200)]
[392-search-of-reservations-by-hostname] Checkpoint: did tests, todo doc and hook
Francis Dupont [Sun, 29 Sep 2019 21:01:44 +0000 (23:01 +0200)]
[392-search-of-reservations-by-hostname] Checkpoint: updated shcemas, todo tests
Francis Dupont [Sun, 29 Sep 2019 07:28:13 +0000 (09:28 +0200)]
[392-search-of-reservations-by-hostname] Checkpont: add new methods - tests to write
Wlodek Wencel [Mon, 14 Oct 2019 15:59:54 +0000 (22:59 +0700)]
[#934,!531] kea-centos-8 for virtualbox and lxc uploaded and available
Wlodek Wencel [Mon, 14 Oct 2019 14:18:13 +0000 (21:18 +0700)]
[#934,!531] lxc-centos-8 available
Wlodek Wencel [Mon, 14 Oct 2019 12:03:46 +0000 (19:03 +0700)]
[#934,!531] added support for centos8 rpm
Thomas Markwalder [Thu, 10 Oct 2019 13:00:34 +0000 (09:00 -0400)]
[#35,!517] Updated ChangeLog
Thomas Markwalder [Thu, 10 Oct 2019 12:29:57 +0000 (08:29 -0400)]
[#35,!517] Addressed final review comments
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
Fixed indentations in defaults list
Francis Dupont [Thu, 10 Oct 2019 09:03:35 +0000 (11:03 +0200)]
[35-local-d2-dhcp-ddns-client-config] Moved = sign
Francis Dupont [Thu, 10 Oct 2019 08:58:21 +0000 (10:58 +0200)]
[35-local-d2-dhcp-ddns-client-config] Caught a dhcp4 reference in dhcp6 doc
Francis Dupont [Thu, 10 Oct 2019 08:50:20 +0000 (10:50 +0200)]
[35-local-d2-dhcp-ddns-client-config] Updated kea6/with-ddns.json example
Francis Dupont [Thu, 10 Oct 2019 08:44:32 +0000 (10:44 +0200)]
[35-local-d2-dhcp-ddns-client-config] Updated enable-updates description
Thomas Markwalder [Wed, 9 Oct 2019 19:08:19 +0000 (15:08 -0400)]
[#35,!517] Addressed review comments
Addressed a myriad of minor typos and wording issues.
modified:
ChangeLog
doc/examples/kea4/all-keys.json
doc/examples/kea6/all-keys.json
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/d2_unittest.cc
src/bin/dhcp6/tests/fqdn_unittest.cc
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.h
src/lib/dhcpsrv/d2_client_cfg.h
src/lib/dhcpsrv/parsers/base_network_parser.cc
src/lib/dhcpsrv/srv_config.h
Francis Dupont [Wed, 9 Oct 2019 15:42:27 +0000 (17:42 +0200)]
[35-local-d2-dhcp-ddns-client-config] Disabled YANG checks with with-ddnes.json examples
Thomas Markwalder [Tue, 8 Oct 2019 13:21:03 +0000 (09:21 -0400)]
[#35,!517] Updated ARM and example confings
Updated:
doc/examples/kea4/all-keys.json
doc/examples/kea4/with-ddns.json
doc/examples/kea6/all-keys.json
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
Added ChangeLogEntry
Thomas Markwalder [Mon, 7 Oct 2019 14:36:45 +0000 (10:36 -0400)]
[#35,!517] Removed ddns params from INHERIT_TO_SUBNETX lists
src/bin/dhcp4/tests/get_config_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
regenerated tests
src/lib/dhcpsrv/parsers/simple_parser4.cc
Removed DDNS params from INHERIT_TO_SUBNET4 list
src/lib/dhcpsrv/parsers/simple_parser6.cc
Removed DDNS params from INHERIT_TO_SUBNET6 list
Thomas Markwalder [Fri, 4 Oct 2019 19:56:52 +0000 (15:56 -0400)]
[#35,!517] Added v6 scope test
src/bin/dhcp6/tests/fqdn_unittest.cc
TEST_F(FqdnDhcpv6SrvTest, ddnsScopeTest) - new test
Thomas Markwalder [Fri, 4 Oct 2019 18:23:55 +0000 (14:23 -0400)]
[#35,!517] Rework kea-dhcp6 parsing and server
src/bin/dhcp6/ctrl_dhcp6_srv.cc
Removed setting D2ClientCfg fetch function
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
ddns-send-updates
ddns-override-no-update
ddns-override-client-update
ddns-replace-client-name
ddns-generated-prefix
ddns-qualifying-suffix
- added to DHCP4,SHARED_NETWORK,SUBNET4
hostname-char-set
hostname-char-replacement
- added to SHARED_NETWORK,SUBNET4
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::processClientFqdn()
Dhcpv6Srv::createNameChangeRequests()
Dhcpv6Srv::updateReservedFqdn()
- use cxt.getDdnsParams()
src/bin/dhcp6/json_config_parser.cc
configureDhcp6Server()
- use SrvConfig::moveDdnsParams() to move dhcp-ddns parameters
- handle new "ddns-" globals
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/fqdn_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
Updated tests
Thomas Markwalder [Thu, 3 Oct 2019 19:11:07 +0000 (15:11 -0400)]
[#35,!517] Rework kea-dhcp4 parsing and server
src/bin/dhcp4/ctrl_dhcp4_srv.cc
Removed setting D2ClientCfg fetch function
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
ddns-send-updates
ddns-override-no-update
ddns-override-client-update
ddns-replace-client-name
ddns-generated-prefix
ddns-qualifying-suffix
- added to DHCP4,SHARED_NETWORK,SUBNET4
hostname-char-set
hostname-char-replacement
- added to SHARED_NETWORK,SUBNET4
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processClientFqdnOption()
Dhcpv4Srv::processHostnameOption()
Dhcpv4Srv::assignLease()
Use scoped DdnsParams from context to make decisions, pass
into D2ClientMgr functions, and supply hostname sanitizer
src/bin/dhcp4/json_config_parser.cc
configureDhcp4Server()
- use SrvConfig::moveDdnsParams() to move dhcp-ddns parameters
- handle new "ddns-" globals
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/d2_unittest.cc
src/bin/dhcp4/tests/dhcp4_test_utils.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
src/bin/dhcp4/tests/get_config_unittest.cc
Updated and new tests
Thomas Markwalder [Thu, 3 Oct 2019 18:19:33 +0000 (14:19 -0400)]
[#35,!517] Added getDdnsParams() to AllocEngine::ClientContext4/6
src/lib/dhcpsrv/alloc_engine.*
AllocEngine::ClientContext6::getDdnsParams()
AllocEngine::ClientContext4::getDdnsParams() - new
methods which return a DdnsParams instance scoped by
currently selected subnet
Replaced direct references to context::ddns_params_ with
new getter methods.
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
Removed global defaults for hostname-char-set/replacement
Thomas Markwalder [Wed, 2 Oct 2019 14:37:57 +0000 (10:37 -0400)]
[#35,!517] Changed moveDdnsParams to modify element map instead of SrvConfig
Moving the parameters needs to be done before defaults are applied to the
config, so moveDdnsParams was changed to modify a mutable top level
element map instead of SrvConfig contents.
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
Change ddns-send-updates default to true.
src/lib/dhcpsrv/srv_config.*
SrvConfig::getConfiguredGlobal() - new method to fetch a
global by name
SrvConfig::moveDdnsParams() - changed to accept/modify
a top-level Element map
src/lib/dhcpsrv/tests/srv_config_unittest.cc
updated unit tests accordingly
Thomas Markwalder [Mon, 30 Sep 2019 17:53:40 +0000 (13:53 -0400)]
[#35,!517] Added function to move of DDNS cfg elements to global scope to SrvConfig
src/lib/dhcpsrv/dhcpsrv_messages.*
DHCPSRV_CFGMGR_DDNS_PARAMETER_IGNORED
DHCPSRV_CFGMGR_DDNS_PARAMETER_MOVED
src/lib/dhcpsrv/srv_config.*
SrvConfig::moveDdnsParams() - new method to move
parameters from dhcp-ddns to configured globals.
src/lib/dhcpsrv/tests/srv_config_unittest.cc
TEST_F(SrvConfigTest, moveDdnsParamsTest) - new test
Thomas Markwalder [Fri, 27 Sep 2019 19:52:28 +0000 (15:52 -0400)]
[#35,!517] Added hostname-char-set to hostname-char-replacement network/subnet scopes
src/lib/dhcpsrv/d2_client_cfg.*
Added hostname-char-set and hostname-char-replacement to DdnsParms
DdnsParams::getHostnameSanitizer() - new function to return a sanitizer
src/lib/dhcpsrv/d2_client_mgr.h
D2ClientMgr::adjustDomainName() - now gets sanitizer from ddns_params
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
Added hostname-char-set and hostname-char-replacement to networks and subnets
Thomas Markwalder [Thu, 26 Sep 2019 19:32:40 +0000 (15:32 -0400)]
[#35,!517] Added fetch of scoped DDNS parameters to SrvConfig
src/lib/dhcpsrv/srv_config.*
SrvConfig::getDdnsParams() - new method to fetch
scoped DDNS parameters based on a given subnet
src/lib/dhcpsrv/tests/srv_config_unittest.cc
TEST_F(SrvConfigTest, getDdnsParamsTest4)
TEST_F(SrvConfigTest, getDdnsParamsTest6) - new tests