]>
git.ipfire.org Git - thirdparty/kea.git/log
Thomas Markwalder [Wed, 11 Jan 2017 20:22:30 +0000 (15:22 -0500)]
[5033] - kea-dhcp6 now uses new D2ClientConfigParser
src/bin/dhcp6/json_config_parser.cc
createGlobalDhcp6ConfigParser()
- added clause to invoke new D2ClientConfigParser to
set staging config
- added clause to apply staged D2ClientConfig (formerly done
by parser commit
src/bin/dhcp6/parser_context.h
src/bin/dhcp6/parser_context.cc
aded PARSER_DHCP_DDNS context
src/bin/dhcp4/simple_parser6.h
src/bin/dhcp4/simple_parser6.cc
defined SimpleParser6::D2_CLIENT_CONFIG_DEFAULTS
SimpleParser6::setAllDefaults() - now sets defaults
for D2ClientConfig
src/bin/dhcp6/tests/d2_unittest.cc
src/bin/dhcp6/tests/fqdn_unittest.cc
Updated replace-name-mode values and tests
(true/false no longer supported)
doc/guide/dhcp6-srv.xml
Updated, replace-client-name no longer accepts booleans
Thomas Markwalder [Wed, 11 Jan 2017 18:47:39 +0000 (13:47 -0500)]
[5033] - migrated D2ClientConfigParser to SimpleParser, kea-dhcp4 uses it
src/bin/dhcp4/json_config_parser.cc
createGlobalDhcp4ConfigParser()
- added clause to invoke new D2ClientConfigParser to
set staging config
- added clause to apply staged D2ClientConfig (formerly done
by parser commit
src/bin/dhcp4/parser_context.h
src/bin/dhcp4/parser_context.cc
aded PARSER_DHCP_DDNS context
src/bin/dhcp4/simple_parser4.h
src/bin/dhcp4/simple_parser4.cc
defined SimpleParser4::D2_CLIENT_CONFIG_DEFAULTS
SimpleParser4::setAllDefaults() - now sets defaults
for D2ClientConfig
src/bin/dhcp4/tests/d2_unittest.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
Updated replace-name-mode values (true/false no longer supported)
src/lib/dhcpsrv/parsers/dhcp_parsers.h
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
D2ClientConfig now derives from SimpleParser
src/lib/dhcpsrv/srv_config.h
src/lib/dhcpsrv/srv_config.cc
Added a D2ClientConfigPtr member to SrvConfig.
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
Updated tests to set D2 client config defaults
doc/guide/dhcp4-srv.xml
Updated, replace-client-name no longer accepts booleans
Thomas Markwalder [Wed, 4 Jan 2017 20:50:17 +0000 (15:50 -0500)]
[master] Added Changelog entry 1201 for #5046.
Thomas Markwalder [Wed, 4 Jan 2017 20:46:12 +0000 (15:46 -0500)]
[master] Implement set-config command in kea-dhcp4/6
Merges in branch 'trac5046'
Thomas Markwalder [Tue, 3 Jan 2017 13:25:33 +0000 (08:25 -0500)]
[5046] Pickup Francis' changes
Thomas Markwalder [Tue, 3 Jan 2017 13:23:44 +0000 (08:23 -0500)]
[5046] Addressed review comments
Added memfile without persistence to set_config unit tests. This eliminates
the tests attempting to create the csv file.
Updated copyrights.
Fixed misspelling.
Tomek Mrugalski [Mon, 2 Jan 2017 23:21:10 +0000 (00:21 +0100)]
[master] Merge branch 'trac5021' (fixes after 5039)
Tomek Mrugalski [Mon, 2 Jan 2017 23:20:01 +0000 (00:20 +0100)]
[trac5021] Merge branch 'trac5021' of ssh://git.kea.isc.org/git/kea into trac5021
Tomek Mrugalski [Mon, 2 Jan 2017 23:19:27 +0000 (00:19 +0100)]
[5021] Unnecessary method removed.
Francis Dupont [Wed, 28 Dec 2016 23:18:24 +0000 (00:18 +0100)]
[5021] Added boost:: for const_pointer_cast
Tomek Mrugalski [Wed, 28 Dec 2016 16:27:59 +0000 (17:27 +0100)]
[5021] One more spelling correction.
Tomek Mrugalski [Wed, 28 Dec 2016 16:09:22 +0000 (17:09 +0100)]
[5021] Doxygen documentation cleaned up
- There's new section Kea Libraries
Tomek Mrugalski [Wed, 28 Dec 2016 16:07:45 +0000 (17:07 +0100)]
[5021] Changes after review:
- using const_pointer_cast in dhcp{4,6}/json_config_parser.cc
- removed obsolete comment from dhcp_parsers_unittest.cc
- updated simple_parser.h comments
- added include <vector> in simple_parser.h
Tomek Mrugalski [Wed, 28 Dec 2016 13:41:05 +0000 (14:41 +0100)]
[5021] SimpleParser unit-tests now use bison parser.
Francis Dupont [Wed, 28 Dec 2016 13:32:43 +0000 (14:32 +0100)]
[master] Added vector include (reported by Marcin)
Francis Dupont [Wed, 28 Dec 2016 13:15:12 +0000 (14:15 +0100)]
[master] typo (reported by Marcin)
Francis Dupont [Tue, 27 Dec 2016 23:57:42 +0000 (00:57 +0100)]
[master] spelling
Francis Dupont [Tue, 27 Dec 2016 23:38:46 +0000 (00:38 +0100)]
[master] Restored AM_CXXFLAGS lost during merge
Francis Dupont [Tue, 27 Dec 2016 23:36:02 +0000 (00:36 +0100)]
[master] Restored @endcode lost during merge
Tomek Mrugalski [Tue, 27 Dec 2016 18:25:31 +0000 (19:25 +0100)]
[master] Merge branch 'trac5039' (SimpleParser)
# Conflicts:
# src/bin/dhcp4/Makefile.am
# src/bin/dhcp4/json_config_parser.cc
# src/bin/dhcp6/Makefile.am
# src/bin/dhcp6/dhcp6.dox
# src/bin/dhcp6/json_config_parser.cc
# src/bin/dhcp6/tests/Makefile.am
Francis Dupont [Sat, 24 Dec 2016 13:20:36 +0000 (14:20 +0100)]
[5039] spelling (and a ~ file)
Francis Dupont [Sat, 24 Dec 2016 13:01:50 +0000 (14:01 +0100)]
[5039] spelling
Tomek Mrugalski [Fri, 23 Dec 2016 15:33:32 +0000 (16:33 +0100)]
[5039] Comments for default parameters added.
Francis Dupont [Thu, 22 Dec 2016 23:55:48 +0000 (00:55 +0100)]
[5046] Set set-config command and fixed "be be" typo
Francis Dupont [Thu, 22 Dec 2016 22:28:50 +0000 (23:28 +0100)]
[5046] Removed spurious spaces
Thomas Markwalder [Thu, 22 Dec 2016 19:37:59 +0000 (14:37 -0500)]
[master] Added Changelog entry 1200 for 3238
Thomas Markwalder [Thu, 22 Dec 2016 19:35:46 +0000 (14:35 -0500)]
[master] kea-dhcp4/6 support libreload command
Merge branch 'trac3238'
Thomas Markwalder [Thu, 22 Dec 2016 18:38:00 +0000 (13:38 -0500)]
[5046] CommandMgr dups the connection socket prior to executing command
src/lib/config/command_mgr.cc
CommandMgr::commandReader(int sockfd) - duplicates the connection
socket to use for repsonding in case the command closes the channel.
src/lib/testutils/io_utils.cc
fileExists() - now uses stat() function so one can use it on any
type of file, like a unix socket
updated unit tests accordingly
Tomek Mrugalski [Thu, 22 Dec 2016 18:35:04 +0000 (19:35 +0100)]
[5039] getNonConst method is now const.
Tomek Mrugalski [Thu, 22 Dec 2016 18:10:07 +0000 (19:10 +0100)]
[5039] Doc updated, doxygen warnings removed.
Tomek Mrugalski [Thu, 22 Dec 2016 17:43:21 +0000 (18:43 +0100)]
[5039] Changes after review:
- address_family_, default ctor removed from two parsers
- copyright year updated
- Element::getNonConst is now documented
- user's guide is now clear about csv-format default value is now true
Tomek Mrugalski [Thu, 22 Dec 2016 15:36:28 +0000 (16:36 +0100)]
[5039] Element::getMutableMap implemented
Tomek Mrugalski [Thu, 22 Dec 2016 15:21:16 +0000 (16:21 +0100)]
[5039] Failing unit-tests fixed
Tomek Mrugalski [Thu, 22 Dec 2016 15:20:34 +0000 (16:20 +0100)]
[5039] SimpleParser is now split into cc/SimpleParser and SimpleParser{4,6}
Thomas Markwalder [Thu, 22 Dec 2016 14:24:35 +0000 (09:24 -0500)]
[5046] Added documentation to the admin guide for set-config
Tomek Mrugalski [Thu, 22 Dec 2016 10:57:32 +0000 (11:57 +0100)]
[5039] Unit-tests for SimpleParser added.
Tomek Mrugalski [Thu, 22 Dec 2016 10:55:55 +0000 (11:55 +0100)]
[5039] Simple parser moved to lib/cc
Thomas Markwalder [Wed, 21 Dec 2016 20:51:24 +0000 (15:51 -0500)]
[5046] Undo a couple of minor nits
Tomek Mrugalski [Tue, 20 Dec 2016 21:10:16 +0000 (22:10 +0100)]
[master] ChangeLog updated after 5017 merge
Tomek Mrugalski [Tue, 20 Dec 2016 21:08:33 +0000 (22:08 +0100)]
[master] Merge branch 'trac5017' (dhcp4 bison parser)
# Conflicts:
# doc/examples/kea4/classify.json
Tomek Mrugalski [Tue, 20 Dec 2016 21:05:57 +0000 (22:05 +0100)]
[5017] Addressed two minor comments:
- removed "Linux" from advanced.json
- corrected one typo
Francis Dupont [Tue, 20 Dec 2016 17:31:28 +0000 (17:31 +0000)]
trac5017: regen dhcp4 lexer
Francis Dupont [Tue, 20 Dec 2016 17:12:50 +0000 (17:12 +0000)]
trac5017: regen parsers
Tomek Mrugalski [Tue, 20 Dec 2016 15:25:51 +0000 (16:25 +0100)]
[5017] missing advanced.json example added
Tomek Mrugalski [Tue, 20 Dec 2016 15:25:35 +0000 (16:25 +0100)]
[5017] DHCP{4,6} parsers regenerated
Tomek Mrugalski [Tue, 20 Dec 2016 15:25:01 +0000 (16:25 +0100)]
[5017] version parameter removed from both Dhcp4 and Dhcp6 parsers
Tomek Mrugalski [Tue, 20 Dec 2016 15:16:06 +0000 (16:16 +0100)]
[5017] Parser unit-tests cleanup:
- removed almost redundant functions
- added comments
Tomek Mrugalski [Tue, 20 Dec 2016 14:54:23 +0000 (15:54 +0100)]
[5017] dhcp-socket-type is now supported
- added doc/examples/kea4/advanced.json
- unit-tests now remove comments before passing to legacy JSON parser
Tomek Mrugalski [Tue, 20 Dec 2016 13:29:52 +0000 (14:29 +0100)]
[5017] Updated regenerated dhcp4_lexer.cc
Tomek Mrugalski [Tue, 20 Dec 2016 13:27:47 +0000 (14:27 +0100)]
[5017] Revert "[5017] Fixed one unit-test."
This reverts commit
bc6502b3cafa5e2fb5eee12ca5b9286c52003491 .
Tomek Mrugalski [Tue, 20 Dec 2016 13:27:32 +0000 (14:27 +0100)]
[5017] Split slash unicode into separate test.
Francis Dupont [Mon, 19 Dec 2016 18:43:11 +0000 (19:43 +0100)]
[master] Fixed a trivial typo which does not always crash?
Tomek Mrugalski [Mon, 19 Dec 2016 18:13:16 +0000 (19:13 +0100)]
[5017] Added previously deleted dhcp6_lexer.cc
Tomek Mrugalski [Mon, 19 Dec 2016 18:04:07 +0000 (19:04 +0100)]
[5017] Fixed one unit-test.
Francis Dupont [Mon, 19 Dec 2016 17:28:49 +0000 (18:28 +0100)]
[master] Adding a comment marking readPsid & co issue origin
Francis Dupont [Mon, 19 Dec 2016 17:20:54 +0000 (18:20 +0100)]
[master] All chars are <= 127 shouts g++
Marcin Siodelski [Mon, 19 Dec 2016 16:10:17 +0000 (17:10 +0100)]
[master] Merge branch 'trac5077'
Francis Dupont [Mon, 19 Dec 2016 15:31:06 +0000 (16:31 +0100)]
[master] Commented unused arguments
Marcin Siodelski [Mon, 19 Dec 2016 13:49:01 +0000 (14:49 +0100)]
[master] Added ChangeLog entry for #5075.
Marcin Siodelski [Mon, 19 Dec 2016 13:48:05 +0000 (14:48 +0100)]
[master] Merge branch 'trac5075'
Marcin Siodelski [Mon, 19 Dec 2016 13:41:56 +0000 (14:41 +0100)]
[5077] Addressed two additional review comments.
- Type cast to char, rather than uint8_t
- Return tag in the doxygen documentation
Marcin Siodelski [Mon, 19 Dec 2016 11:04:04 +0000 (12:04 +0100)]
[5077] Provided unit test for extraneous data in the HTTP request.
Marcin Siodelski [Mon, 19 Dec 2016 10:07:17 +0000 (11:07 +0100)]
[5075] Addressed review comments and removed spurious += from Makefile.
Francis Dupont [Sun, 18 Dec 2016 08:59:12 +0000 (09:59 +0100)]
[5017] Distribute new example files
Francis Dupont [Sat, 17 Dec 2016 22:21:07 +0000 (23:21 +0100)]
[5017] Added parser_context_decl.h to *_SOURCES for distcheck
Francis Dupont [Sat, 17 Dec 2016 14:56:56 +0000 (14:56 +0000)]
trac5017: regen parser
Francis Dupont [Sat, 17 Dec 2016 14:51:22 +0000 (15:51 +0100)]
[5017] Finished config_parser_unittest.cc files
Francis Dupont [Sat, 17 Dec 2016 12:11:44 +0000 (13:11 +0100)]
[5017] More parseDHCP4 (unfinished)
Francis Dupont [Sat, 17 Dec 2016 00:05:26 +0000 (01:05 +0100)]
[5017] Some fixes (including a not yet detected error in classify CONFIG[0]) using parser
Francis Dupont [Fri, 16 Dec 2016 22:17:48 +0000 (23:17 +0100)]
[5017] Fixed port from dhcp6
Francis Dupont [Fri, 16 Dec 2016 22:02:12 +0000 (23:02 +0100)]
[5017] 6->4 in comments
Francis Dupont [Fri, 16 Dec 2016 21:53:23 +0000 (22:53 +0100)]
[5017] 6->4 in comments
Francis Dupont [Fri, 16 Dec 2016 21:31:28 +0000 (22:31 +0100)]
[5017] 6->4 in a comment
Francis Dupont [Fri, 16 Dec 2016 21:24:19 +0000 (22:24 +0100)]
[5017] Swapped Dhcp[46] tokens
Tomek Mrugalski [Fri, 16 Dec 2016 17:58:06 +0000 (18:58 +0100)]
[5017] dhcp4_lexer.cc regenerated.
Tomek Mrugalski [Fri, 16 Dec 2016 17:57:48 +0000 (18:57 +0100)]
[5017] Examples for echo-client-id and match-client-id added.
Tomek Mrugalski [Fri, 16 Dec 2016 17:47:27 +0000 (18:47 +0100)]
[5017] flex/bison files regenerated
Tomek Mrugalski [Fri, 16 Dec 2016 17:45:14 +0000 (18:45 +0100)]
[5017] 4o6-interface-id support implemented
Tomek Mrugalski [Fri, 16 Dec 2016 17:33:23 +0000 (18:33 +0100)]
[5017] Support for several v4 specific keywords implemented:
- next-server, server-hostname, boof-file-name, echo-client-id,
match-client-id
Thomas Markwalder [Fri, 16 Dec 2016 16:02:04 +0000 (11:02 -0500)]
[5046] Added set-config command handler test to dhcp4 unit tests
Francis Dupont [Fri, 16 Dec 2016 13:15:57 +0000 (14:15 +0100)]
[5077] Reverted not trivial auto
Tomek Mrugalski [Fri, 16 Dec 2016 12:25:51 +0000 (13:25 +0100)]
[5017] Copyright years updated.
Francis Dupont [Fri, 16 Dec 2016 12:01:55 +0000 (13:01 +0100)]
[5077] Added lambda (and auto as a side effect) C++ feature check
Francis Dupont [Fri, 16 Dec 2016 11:49:04 +0000 (12:49 +0100)]
[5077] indent
Francis Dupont [Fri, 16 Dec 2016 11:43:19 +0000 (12:43 +0100)]
[5077] Replaced auto
Francis Dupont [Thu, 15 Dec 2016 23:14:46 +0000 (00:14 +0100)]
[5077] Fixed LDADDs
Francis Dupont [Thu, 15 Dec 2016 23:11:02 +0000 (00:11 +0100)]
[5077] spelling & co (i.e., only cosmetics)
Francis Dupont [Thu, 15 Dec 2016 23:00:03 +0000 (00:00 +0100)]
[5075] Fixed LDADDs
Francis Dupont [Thu, 15 Dec 2016 21:46:06 +0000 (22:46 +0100)]
[5077] reindent
Thomas Markwalder [Thu, 15 Dec 2016 21:15:26 +0000 (16:15 -0500)]
[5046] Move apply logging and config commit from processConfig to set-config handler
src/bin/dhcp4/ctrl_dhcp4_srv.cc
commandConfigReloadHandler() - use commandSetConfigHandler()
instead of processConfig() to account for logging config
commandSetConfigHandler() - apply logging config and commit config here instead of
in processConfig()
src/bin/dhcp4/tests/dhcp4_test_utils.h
~NakedDhcpv4Srv() - removed unecesary initLogger call
src/bin/dhcp4/tests/kea_controller_unittest.cc
~JSONFileBackendTest() - removed unecessary call to setDefaultLogging
src/bin/dhcp6/ctrl_dhcp6_srv.cc
commandConfigReloadHandler() - use commandSetConfigHandler()
instead of processConfig() to account for logging config
commandSetConfigHandler() - apply logging config and commit config here instead of
in processConfig()
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
createUnixChannelServer() - added config commit so command channel behavior
is correct
TEST_F(CtrlDhcpv6SrvTest, configReload)
Wrap configuration in Dhcp6 element
TEST_F(CtrlChannelDhcpv6SrvTest, set_config)
Turn off timers in config
src/lib/dhcpsrv/srv_config.cc
SrvConfig::applyLoggingCfg() - remove logic added to not call manager.process
when there are no specs.
Francis Dupont [Thu, 15 Dec 2016 21:13:01 +0000 (22:13 +0100)]
[5075] spelling
Francis Dupont [Thu, 15 Dec 2016 20:49:33 +0000 (21:49 +0100)]
[5075] spelling
Francis Dupont [Thu, 15 Dec 2016 20:21:25 +0000 (21:21 +0100)]
[3238] spelling
Tomek Mrugalski [Thu, 15 Dec 2016 16:57:24 +0000 (17:57 +0100)]
[master] ChangeLog updated.
Tomek Mrugalski [Thu, 15 Dec 2016 15:54:01 +0000 (16:54 +0100)]
[5017] Added generated flex/bison files.
Tomek Mrugalski [Thu, 15 Dec 2016 15:53:35 +0000 (16:53 +0100)]
[5017] Doc updated, doxygen warnings removed.
Tomek Mrugalski [Thu, 15 Dec 2016 14:21:47 +0000 (15:21 +0100)]
[5072] Two small corrections in example configs.
Tomek Mrugalski [Thu, 15 Dec 2016 14:05:56 +0000 (15:05 +0100)]
[5072] lfc-interval has been added to the example configs.
Tomek Mrugalski [Wed, 14 Dec 2016 23:17:56 +0000 (00:17 +0100)]
[5017] The new parser is now being used.
Tomek Mrugalski [Wed, 14 Dec 2016 23:15:49 +0000 (00:15 +0100)]
[5017] Dhcp4 bison parser implemented.