]>
git.ipfire.org Git - thirdparty/kea.git/log
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
Thomas Markwalder [Mon, 29 Jul 2019 11:01:25 +0000 (07:01 -0400)]
[#730,!2] Addressed review comment
src/lib/exceptions/isc_assert.h - clarified commentary
Thomas Markwalder [Wed, 24 Jul 2019 19:00:33 +0000 (15:00 -0400)]
[#730,!2] Addressed review comments
ChangeLog - added an entry
src/bin/dhcp4/tests/fqdn_unittest.cc
TEST_F(NameDhcpv4SrvTest, serverUpdateMalformedHostname) - added
commentary
src/lib/exceptions/isc_assert.h
commentary changes
src/lib/exceptions/tests/exceptions_unittest.cc
TEST(IscThrowAssert, checkMessage) - replace use of explicit line number
Thomas Markwalder [Fri, 12 Jul 2019 11:01:01 +0000 (07:01 -0400)]
[#730,!2] Corrected assertion failure on malformed hostname from kea-dhcp4
src/lib/exceptions/isc_assert.h
New file that defines isc_assert_throw()
src/lib/exceptions/Makefile.am
added isc_asssert.h
src/lib/exceptions/tests/exceptions_unittest.cc
TEST(IscThrowAssert, checkMessage) - new test
src/lib/dns/labelsequence.cc
src/lib/dns/name.cc
Replaced assert() calls with isc_throw_assert() calls
src/lib/dns/tests/name_unittest.cc
TEST_F(NameTest, unexpectedParseError) - new unit test
for hostname option content based on fuzz test failure
src/lib/dhcp_ddns/ncr_msg.cc
Removed unnecessary include of dns/name.h
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processHostnameOption() - added try catch
around OptionDataTypeUtil::getLabelCount() call
src/bin/dhcp4/dhcp4_messages.*
added new log message DHCP4_CLIENT_HOSTNAME_MALFORMED
src/bin/dhcp4/tests/fqdn_unittest.cc
TEST_F(NameDhcpv4SrvTest, serverUpdateMalformedHostname) -
renamed test and augmented it to include the packet of death
produced by fuzz testing.
Thomas Markwalder [Fri, 16 Aug 2019 20:13:22 +0000 (16:13 -0400)]
[#722,!1-p] Updated ChangeLog
Thomas Markwalder [Wed, 14 Aug 2019 17:26:41 +0000 (13:26 -0400)]
[#722,!1] Addressed review comments
revamped Dhpc6srv::sanityCheckDuid() per review comments on
1.4.0 version.
Thomas Markwalder [Fri, 12 Jul 2019 17:10:48 +0000 (13:10 -0400)]
[#722,!2] Added ChangeLog Entry
Thomas Markwalder [Tue, 9 Jul 2019 14:13:33 +0000 (10:13 -0400)]
[#722,!1] Addressed review comments
Added test to ensure DUID size constant(s) are RFC compliant
Thomas Markwalder [Mon, 8 Jul 2019 12:28:12 +0000 (08:28 -0400)]
[#722,!1] Addressed review comments
src/lib/dhcp/duid.cc - improved log message
Thomas Markwalder [Wed, 3 Jul 2019 18:24:04 +0000 (14:24 -0400)]
[#722] kea-dhcp6 sanity checking of inbound DUID options improved
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::sanityCheckDUID() - modified to attempt to construct
a DUID instance as final sanity check
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
TEST_F(Dhcpv6SrvTest, sanityCheckClientId)
TEST_F(Dhcpv6SrvTest, sanityCheckServerId) - revamped tests
to check against max and max + 1
src/bin/dhcp6/tests/dhcp6_test_utils.h
A little refactoring to ease option creation
src/lib/dhcp/duid.cc
DUID::DUID(const std::vector<uint8_t>& duid)
DUID::DUID(const uint8_t* data, size_t len) - updated
error log to show actual sizes
Marcin Siodelski [Fri, 16 Aug 2019 19:41:40 +0000 (21:41 +0200)]
[#841,!490] Added ChangeLog for #841.
Marcin Siodelski [Fri, 16 Aug 2019 19:01:39 +0000 (21:01 +0200)]
[#841,!490] Corrected library version number for dhcp_ddns.
Marcin Siodelski [Fri, 16 Aug 2019 18:46:29 +0000 (20:46 +0200)]
[#841,!490] Corrected libdhcpsrv library version number.
Marcin Siodelski [Fri, 16 Aug 2019 17:35:14 +0000 (19:35 +0200)]
[#841,!490] Bumped up libraries version numbers.
Tomek Mrugalski [Fri, 16 Aug 2019 18:01:09 +0000 (20:01 +0200)]
[#810,!471] AUTHORS, ChangeLog updated
Tomek Mrugalski [Fri, 16 Aug 2019 17:58:41 +0000 (19:58 +0200)]
[#810,!471] Changed title levels in hooks-*.rst files
- mostly --- to ~~~
Tomek Mrugalski [Fri, 16 Aug 2019 17:10:56 +0000 (19:10 +0200)]
[#810,!471] Compilation fixes in the API files
Suzanne Goldlust [Tue, 13 Aug 2019 18:11:45 +0000 (14:11 -0400)]
Edited header underlines to try to get all the hooks libraries at the same TOC level in the docs
Suzanne Goldlust [Sat, 10 Aug 2019 05:14:11 +0000 (01:14 -0400)]
Fix JSON errors
Suzanne Goldlust [Fri, 9 Aug 2019 22:02:02 +0000 (18:02 -0400)]
A few more text/formatting edits
Suzanne Goldlust [Fri, 9 Aug 2019 21:16:47 +0000 (17:16 -0400)]
Fix grammar, typos, a few JSON errors
Razvan Becheriu [Fri, 9 Aug 2019 06:59:16 +0000 (09:59 +0300)]
[#810, !471] reverted changes added by mistake
Razvan Becheriu [Fri, 9 Aug 2019 06:46:38 +0000 (09:46 +0300)]
[#810, !471] fixed sphinx docs
Razvan Becheriu [Thu, 8 Aug 2019 23:25:41 +0000 (02:25 +0300)]
[#810, !471] fixed sphinx docs
Razvan Becheriu [Thu, 8 Aug 2019 23:09:41 +0000 (02:09 +0300)]
[#810, !471] fixed sphinx docs
Suzanne Goldlust [Thu, 8 Aug 2019 21:39:51 +0000 (17:39 -0400)]
Fix JSON syntax errors, miscellaneous typos and grammatical errors in API docs
Razvan Becheriu [Thu, 8 Aug 2019 18:18:38 +0000 (21:18 +0300)]
[#810, !471] fixed sphinx docs
Tomek Mrugalski [Fri, 16 Aug 2019 16:34:13 +0000 (18:34 +0200)]
[#659,!387] ChangeLog updated.
Marcin Siodelski [Fri, 16 Aug 2019 11:19:29 +0000 (13:19 +0200)]
[#659,!387] Addressed two review comments.
- Return after finding the first pool.
- Corrected excluded prefix length stored in the db.
Marcin Siodelski [Fri, 16 Aug 2019 09:45:17 +0000 (11:45 +0200)]
[#659,!387] Update doc: excluded prefix is support for CB.
Marcin Siodelski [Tue, 13 Aug 2019 14:37:20 +0000 (16:37 +0200)]
[#659,!387] Changed "fields" to "columns" in the MySQL creation script.
As a result of review.
Francis Dupont [Tue, 13 Aug 2019 11:38:23 +0000 (13:38 +0200)]
[659-how-configure-client-class-for-pools-in-db] Reported dhcp[46] guide updates
Francis Dupont [Tue, 13 Aug 2019 09:47:36 +0000 (11:47 +0200)]
[659-how-configure-client-class-for-pools-in-db] Addressed not doc comments
Francis Dupont [Fri, 26 Jul 2019 17:25:35 +0000 (19:25 +0200)]
[659-how-configure-client-class-for-pools-in-db] Post-rebase fixes
Francis Dupont [Sun, 16 Jun 2019 22:28:54 +0000 (00:28 +0200)]
[659-how-configure-client-class-for-pools-in-db] Made getPool methods handle server selector
Francis Dupont [Sun, 16 Jun 2019 22:03:49 +0000 (00:03 +0200)]
[659-how-configure-client-class-for-pools-in-db] Added tests
Francis Dupont [Sat, 15 Jun 2019 19:07:26 +0000 (21:07 +0200)]
[659-how-configure-client-class-for-pools-in-db] Checkpoint: code done, todo new unit tests
Tomek Mrugalski [Fri, 16 Aug 2019 10:56:37 +0000 (12:56 +0200)]
[#837,!487] all-keys-{current,stable} renamed
Michal Nowikowski [Fri, 16 Aug 2019 12:28:40 +0000 (14:28 +0200)]
sphinx docs: increased recursion level limit
Wlodek Wencel [Fri, 16 Aug 2019 10:04:29 +0000 (12:04 +0200)]
[#654] extended perfdhcp output when no packets received
Tomek Mrugalski [Thu, 15 Aug 2019 19:36:15 +0000 (21:36 +0200)]
[#625,!485] Fixed detection of log4plus in non-standard location
Tomek Mrugalski [Thu, 15 Aug 2019 18:41:24 +0000 (20:41 +0200)]
[#625,!485] Fixed conditional intialization detection for log4cplus
Tomek Mrugalski [Thu, 15 Aug 2019 16:50:57 +0000 (18:50 +0200)]
[#625,!485] Conditional explicit initialization done.
Tomek Mrugalski [Thu, 15 Aug 2019 15:48:18 +0000 (17:48 +0200)]
[#625,!485] Explicit log4cplus initialization by @tcely
Imported from commit apline linux PR#8011:
https://github.com/alpinelinux/aports/pull/8011
Tomek Mrugalski [Thu, 15 Aug 2019 19:21:56 +0000 (21:21 +0200)]
[#496,!483] ChangeLog updated.
Marcin Siodelski [Tue, 13 Aug 2019 13:17:24 +0000 (15:17 +0200)]
[#496,!483] Updated ARM section about selectors usage with shared networks.
Tomek Mrugalski [Thu, 15 Aug 2019 16:12:50 +0000 (18:12 +0200)]
[#823,!477] ChangeLog updated
Francis Dupont [Mon, 12 Aug 2019 15:08:15 +0000 (17:08 +0200)]
[823-last-update-yang-models] Updated yang models & code for logger and database syntax updates to come
Thomas Markwalder [Thu, 15 Aug 2019 15:42:53 +0000 (11:42 -0400)]
[#761,!447] Updated ChangeLog
Thomas Markwalder [Thu, 15 Aug 2019 15:03:12 +0000 (11:03 -0400)]
[#761,!447] Updated doc and added ChangeLog
Thomas Markwalder [Thu, 1 Aug 2019 18:40:49 +0000 (14:40 -0400)]
[#761,!447] Binary option data parser now accepts strings
src/lib/dhcpsrv/parsers/option_data_parser.cc
OptionDataParser::createOption() - added logic to support
parsing "'text'" into binary option data
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
TEST_F(ParseConfigTest, stringOrHexBinaryData) - new unit test
Tomek Mrugalski [Thu, 15 Aug 2019 15:06:40 +0000 (17:06 +0200)]
[#721,!466] ChangeLog updated.
Tomek Mrugalski [Thu, 15 Aug 2019 15:02:52 +0000 (11:02 -0400)]
Apply suggestion to doc/sphinx/arm/dhcp6-srv.rst
Tomek Mrugalski [Thu, 15 Aug 2019 15:02:47 +0000 (11:02 -0400)]
Apply suggestion to doc/sphinx/arm/dhcp4-srv.rst
Francis Dupont [Wed, 7 Aug 2019 12:33:18 +0000 (14:33 +0200)]
[727-reservation-client-classes-too-late-later-as-documented-for-depending-classes] Amended misleading notes
Tomek Mrugalski [Thu, 15 Aug 2019 14:15:42 +0000 (16:15 +0200)]
[#721,!480] Changelog updated.
Tomek Mrugalski [Thu, 15 Aug 2019 14:15:00 +0000 (16:15 +0200)]
[#721,!480] --with-site-packages must be specified with parameters.
Tomek Mrugalski [Thu, 15 Aug 2019 14:14:21 +0000 (16:14 +0200)]
[#721,!480] Documentation updated.
Michal Nowikowski [Tue, 13 Aug 2019 14:26:14 +0000 (16:26 +0200)]
added ability to indicate site-packages dir that is different in case of deb packages
Tomek Mrugalski [Wed, 14 Aug 2019 20:56:28 +0000 (22:56 +0200)]
[#826,!479] ChangeLog updated
Tomek Mrugalski [Wed, 14 Aug 2019 20:53:50 +0000 (22:53 +0200)]
[#826,!479] Reworded the API description slightly.
Marcin Siodelski [Wed, 14 Aug 2019 13:19:48 +0000 (15:19 +0200)]
[#826,!479] Moved list of new cb_cmds out of the Makefile.am.
Marcin Siodelski [Wed, 14 Aug 2019 12:37:27 +0000 (14:37 +0200)]
[#826,!479] Removed empty section title.
Marcin Siodelski [Wed, 14 Aug 2019 12:24:56 +0000 (14:24 +0200)]
[#826,!479] Updated cb_cmds hooks doc describing the embedded option cmds.
Marcin Siodelski [Wed, 14 Aug 2019 09:49:23 +0000 (11:49 +0200)]
[#826,!479] Corrected some little errors in the new API files.
Remove repeated lines and corrected some of the descriptions.
Francis Dupont [Tue, 13 Aug 2019 09:03:00 +0000 (11:03 +0200)]
[826-documentation-of-cb_cmds-embedded-commands] Added API files
Michal Nowikowski [Wed, 14 Aug 2019 12:24:44 +0000 (14:24 +0200)]
added pattern field to config files in src/bin/keactrl/*conf.pre but commented to be used for deb/rpm packaging
Tomek Mrugalski [Wed, 14 Aug 2019 09:40:50 +0000 (11:40 +0200)]
[#665,!460] Updated ChangeLog with commit-id
Tomek Mrugalski [Wed, 14 Aug 2019 09:36:46 +0000 (11:36 +0200)]
[#665] Regenerated parsers using bison 3.4.1
Thomas Markwalder [Thu, 8 Aug 2019 19:15:49 +0000 (15:15 -0400)]
[#665,!460] Added ChangeLog entry
Thomas Markwalder [Thu, 8 Aug 2019 19:10:52 +0000 (15:10 -0400)]
[#665,!460] Implemented support in netconf agent
doc/examples/netconf/simple-dhcp4.json
doc/examples/netconf/simple-dhcp6.json
src/bin/netconf/netconf_lexer.ll
src/bin/netconf/netconf_parser.yy
src/bin/netconf/location.hh
src/bin/netconf/netconf_lexer.cc
src/bin/netconf/netconf_parser.cc
src/bin/netconf/netconf_parser.h
src/bin/netconf/position.hh
src/bin/netconf/stack.hh
Thomas Markwalder [Thu, 8 Aug 2019 17:50:02 +0000 (13:50 -0400)]
[#665,!460] Implemented support in agent
doc/examples/agent/simple.json
src/bin/agent/agent_lexer.ll
src/bin/agent/agent_parser.yy
src/bin/agent/agent_lexer.cc
src/bin/agent/agent_parser.cc
src/bin/agent/agent_parser.h
src/bin/agent/location.hh
src/bin/agent/position.hh
src/bin/agent/stack.hh
Thomas Markwalder [Thu, 8 Aug 2019 17:39:24 +0000 (13:39 -0400)]
[#665,!460] Implemented support in D2
doc/examples/ddns/sample1.json
doc/examples/kea4/advanced.json
src/bin/d2/d2_lexer.ll
src/bin/d2/d2_parser.yy
src/bin/d2/d2_lexer.cc
src/bin/d2/d2_parser.cc
src/bin/d2/d2_parser.h
src/bin/d2/location.hh
src/bin/d2/position.hh
src/bin/d2/stack.hh
src/bin/d2/tests/testdata/get_config.json
Thomas Markwalder [Thu, 8 Aug 2019 17:34:05 +0000 (13:34 -0400)]
[#665,!460] Implemented support in kea-dhcp6
doc/examples/kea6/advanced.json
doc/examples/kea6/all-keys-current.json
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/dhcp6_lexer.cc
src/bin/dhcp6/dhcp6_parser.cc
src/bin/dhcp6/dhcp6_parser.h
src/bin/dhcp6/location.hh
src/bin/dhcp6/position.hh
src/bin/dhcp6/stack.hh
Thomas Markwalder [Thu, 8 Aug 2019 14:07:08 +0000 (10:07 -0400)]
[#665,!460] Updated following preliminary review
doc/examples/kea4/all-keys-current.json
Added pattern
doc/sphinx/arm/logging.rst
Revamped a bit
src/lib/process/tests/log_parser_unittests.cc
Updated to test pattern parsing
Thomas Markwalder [Wed, 7 Aug 2019 12:40:08 +0000 (08:40 -0400)]
[#665,!460] Addressed review comments
alloc_engine6_unittest.cc
Removed extraneous spaces.
Thomas Markwalder [Tue, 6 Aug 2019 13:44:21 +0000 (09:44 -0400)]
[#665,!460] Updated ARM
Thomas Markwalder [Mon, 5 Aug 2019 14:25:15 +0000 (10:25 -0400)]
[#665,!460] Initial implementation, kea-dhcp4 only
Added an optional "pattern" parameter to logger output options. It supports
any combination of content described here:
https://log4cplus.sourceforge.io/docs/html/classlog4cplus_1_1PatternLayout.html
src/lib/log/output_option.*
Added constants to define default patterns:
OutputOption::DEFAULT_CONSOLE_PATTERN = "%D{%Y-%m-%d %H:%M:%S.%q} %-5p [%c/%i] %m\n";
OutputOption::DEFAULT_FILE_PATTERN = "%D{%Y-%m-%d %H:%M:%S.%q} %-5p [%c/%i] %m\n";
OutputOption::DEFAULT_SYSLOG_PATTERN = "%-5p [%c] %m\n";
OutputOption::pattern_ - new member for conveying pattern string
src/lib/log/logger_manager_impl.*
LoggerManagerImpl::createConsoleAppender()
LoggerManagerImpl::createFileAppender()
LoggerManagerImpl::createSyslogAppender() uses either
paramater, option.pattern, or the appropriate default pattern
LoggerManagerImpl::setAppenderLayout() - new, common method to
set the layout, accepts a pattern string parameter
LoggerManagerImpl::setConsoleAppenderLayout()
LoggerManagerImpl::setSyslogAppenderLayout() - deleted
src/lib/process/log_parser.cc
LogConfigParser::parseOutputOptions() - now supports pattern
src/lib/process/logging_info.*
LoggingDestination::pattern_ - new member for conveying pattern string
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
Added "pattern" to the parser grammar