]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Thu, 19 Nov 2015 00:08:49 +0000 (01:08 +0100)]
[4096] Fixed spelling fixes
Thomas Markwalder [Wed, 18 Nov 2015 20:04:55 +0000 (15:04 -0500)]
[4096] Addressed review comments
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/config_parser_unittest.cc
src/lib/dhcpsrv/client_class_def.h
Fixed spellings and spacing.
src/lib/dhcpsrv/Makefile.am
src/lib/dhcpsrv/tests/Makefile.am
Move eval lib up in the link order
Francis Dupont [Wed, 18 Nov 2015 16:29:36 +0000 (17:29 +0100)]
[4096] speliing
Francis Dupont [Wed, 18 Nov 2015 15:48:03 +0000 (16:48 +0100)]
[4096] spaces & spelling
Francis Dupont [Wed, 18 Nov 2015 15:32:15 +0000 (16:32 +0100)]
[4096] Added a space for readability
Francis Dupont [Wed, 18 Nov 2015 15:30:50 +0000 (16:30 +0100)]
[4096] Added a space for readability
Francis Dupont [Wed, 18 Nov 2015 15:15:44 +0000 (16:15 +0100)]
[4096] spelling
Thomas Markwalder [Tue, 17 Nov 2015 19:33:50 +0000 (14:33 -0500)]
[4096] Move libeval up in lib/Makefile.am
Now that libdhcpsrv depends on libeval, eval must be built first.
Thomas Markwalder [Tue, 17 Nov 2015 18:46:02 +0000 (13:46 -0500)]
[4096] kea-dhcp6 now parses client class definitions list
src/bin/dhcp6/json_config_parser.cc
- createGlobalDhcp6ConfigParser() - creates ClientClassDefListParser
for "client-classes" element
- configureDhcp6Server() - runs the ClientClassDefListParser against
the "client-classes" element
src/bin/dhcp6/tests/config_parser_unittest.cc
Added new tests for parsing client class definitions:
TEST_F(Dhcp6ParserTest, clientClassDictionary)
TEST_F(Dhcp6ParserTest, invalidClientClassDictionary)
src/bin/dhcp6/dhcp6.spec
Added global "client-classes" element
Thomas Markwalder [Tue, 17 Nov 2015 18:28:40 +0000 (13:28 -0500)]
[4096] kea-dhcp4 now parses client class definitions list
src/bin/dhcp4/json_config_parser.cc
- createGlobalDhcp4ConfigParser() - creates ClientClassDefListParser
for "client-classes" element
- configureDhcp4Server() - runs the ClientClassDefListParser against
the "client-classes" element
src/bin/dhcp4/tests/config_parser_unittest.cc
Added new tests for parsing client class definitions:
TEST_F(Dhcp4ParserTest, clientClassDictionary)
TEST_F(Dhcp4ParserTest, invalidClientClassDictionary)
src/bin/dhcp4/dhcp4.spec
Added global "client-classes" element
Thomas Markwalder [Tue, 17 Nov 2015 15:53:05 +0000 (10:53 -0500)]
[4096] Added client class dictionary to SrvConfig
src/lib/dhcpsrv/parsers/client_class_def_parser.cc
ClientClassDefListParser::commit() - pushes the newly built local
dictionary to CfgMgr staging
src/lib/dhcpsrv/srv_config.h
src/lib/dhcpsrv/srv_config.cc
Added client class dictionary member to SrvConfig
src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
TEST_F(ClientClassDefListParserTest, simpleValidList) - now
verifies that ClientClassDefListParser::commit() pushes its
local dictionary to CfgMgr staging.
src/lib/dhcpsrv/tests/srv_config_unittest.cc
Added support to test new client class dictionary member
Thomas Markwalder [Tue, 17 Nov 2015 14:07:54 +0000 (09:07 -0500)]
[4096] Added copy constructors and equality tools to client class storage
In anticipation adding client class storage to SrvConfig:
src/lib/dhcpsrv/client_class_def.h
src/lib/dhcpsrv/client_class_def.cc
added copy contructor, equals() method, ==, != operators
To ClientClassDef and ClientClassDictionary
src/lib/dhcpsrv/tests/client_class_def_unittest.cc
Added copyAndEquality tests for ClientClassDef and
ClientClassDictionary
Thomas Markwalder [Mon, 16 Nov 2015 18:27:16 +0000 (13:27 -0500)]
[4096] Added parsers for client class definitions
New Files:
parsers/client_class_def_parser.cc
parsers/client_class_def_parser.h
tests/client_class_def_parser_unittest.cc
src/lib/dhcpsrv/parsers/Makefile.am
Added entries for new files
Added EXTRA_DIST entries for several files that were missing.
src/lib/dhcpsrv/parsers/dhcp_parsers.h
Added typedef for OptionDataListParserPtr
src/lib/dhcpsrv/tests/Makefile.am
Added entries for new unitest file
src/lib/dhcpsrv/tests/client_class_def_unittest.cc
Fixed broken unit test TEST(ClientClassDef, cfgOptionBasics)
Thomas Markwalder [Fri, 13 Nov 2015 15:16:11 +0000 (10:16 -0500)]
[4096] ClientClassDef now stores CfgOption not OptionCollection
The initial choice for storing options as an OptionCollection
in the ClientClassDef was incorrect. They are now stored within
a CfgOption which is symmetrical with how they are stored globally
and in subnets.
Thomas Markwalder [Wed, 11 Nov 2015 16:23:44 +0000 (11:23 -0500)]
[master] Added ChangeLog entry 1045 for #4095
Thomas Markwalder [Wed, 11 Nov 2015 16:05:28 +0000 (11:05 -0500)]
[master] Added client class storgae classes to libdhcpsrv
Merged in #4095.
Francis Dupont [Wed, 11 Nov 2015 16:02:12 +0000 (17:02 +0100)]
[master] Added a check on rcode avoiding unused errors
Francis Dupont [Wed, 11 Nov 2015 15:21:04 +0000 (16:21 +0100)]
[4095] reindent
Francis Dupont [Wed, 11 Nov 2015 15:11:15 +0000 (16:11 +0100)]
[4095] spelling & co
Francis Dupont [Wed, 11 Nov 2015 15:01:01 +0000 (16:01 +0100)]
[4095] spelling
Francis Dupont [Wed, 11 Nov 2015 14:56:56 +0000 (15:56 +0100)]
[master] Updated git hash (forgotten)
Stephen Morris [Wed, 11 Nov 2015 14:08:25 +0000 (14:08 +0000)]
[master] Merge remote-tracking branch 'github/master'
Merged in change made to GitHub for ticket trac4111.
Francis Dupont [Wed, 11 Nov 2015 12:52:55 +0000 (13:52 +0100)]
[master] Finished merge of trac4060a (Kea multi-threaded)
Francis Dupont [Wed, 11 Nov 2015 12:50:07 +0000 (13:50 +0100)]
[master] Merged trac4060a (Kea multi-threaded)
Thomas Markwalder [Tue, 10 Nov 2015 20:40:00 +0000 (15:40 -0500)]
[4095] Implemented new classes for storing client class definitions
src/lib/dhcpsrv/client_class_def.cc
src/lib/dhcpsrv/client_class_def.h
src/lib/dhcpsrv/tests/client_class_def_unittest.cc
New files that define client class storage classes and tests
src/lib/dhcp/classify.h
Amended commentary to reflect how these classes are now being used.
src/lib/dhcp/option.h
Added typedefs:
boost::shared_ptr<Option> OptionPtr;
boost::shared_ptr<OptionCollection> OptionCollectionPtr;
src/lib/dhcpsrv/Makefile.am
Added entries for new files
src/lib/dhcpsrv/tests/Makefile.am
Added entries for new file
src/lib/eval/token.h b/src/lib/eval/token.h
Added typedef:
boost::shared_ptr<Expression> ExpressionPtr;
Francis Dupont [Thu, 5 Nov 2015 22:40:42 +0000 (23:40 +0100)]
[master] Updated git hash
Francis Dupont [Thu, 5 Nov 2015 22:37:26 +0000 (23:37 +0100)]
[master] Finished merge of trac4091 (hex strings)
Francis Dupont [Thu, 5 Nov 2015 22:35:24 +0000 (23:35 +0100)]
[master] Merged trac4091 (hex strings)
Francis Dupont [Thu, 5 Nov 2015 22:32:15 +0000 (23:32 +0100)]
[4091] Changed to require at least one hexdigit
Francis Dupont [Thu, 5 Nov 2015 01:39:28 +0000 (02:39 +0100)]
[4091] Addressed comments (0x prefix, deciding in constructor)
Francis Dupont [Thu, 5 Nov 2015 00:58:13 +0000 (01:58 +0100)]
[4091] Better odd check
Francis Dupont [Wed, 4 Nov 2015 22:41:05 +0000 (23:41 +0100)]
[4091] Missed changes
Francis Dupont [Wed, 4 Nov 2015 05:14:54 +0000 (06:14 +0100)]
[master] Updated git hash
Francis Dupont [Wed, 4 Nov 2015 05:13:50 +0000 (06:13 +0100)]
[master] Finished merge of trac3927 (default in option-def)
Francis Dupont [Wed, 4 Nov 2015 04:55:49 +0000 (05:55 +0100)]
[master] Merged trac3927 (default in option-def)
Francis Dupont [Wed, 4 Nov 2015 04:02:40 +0000 (05:02 +0100)]
[3927] Fixed typo in previous change
Francis Dupont [Wed, 4 Nov 2015 02:24:03 +0000 (03:24 +0100)]
[3927] Addressed minor comments
Francis Dupont [Tue, 3 Nov 2015 09:25:17 +0000 (10:25 +0100)]
[4091] Implemented, need tests
Francis Dupont [Tue, 3 Nov 2015 08:48:11 +0000 (09:48 +0100)]
[4091] Renamed main (cf #4114)
Francis Dupont [Tue, 3 Nov 2015 06:10:38 +0000 (07:10 +0100)]
[4060a] Cleaned up (partially, i.e., keep ugly but working code)
Shawn Routhier [Tue, 3 Nov 2015 00:40:38 +0000 (16:40 -0800)]
Merge branch 'trac4090' Add support for OptionSubstring to the eval code
Shawn Routhier [Tue, 3 Nov 2015 00:38:50 +0000 (16:38 -0800)]
[trac4090] Update per second set of review comments
Remove change log entry as it isn't needed
Update eval log description in user guide.
Shawn Routhier [Mon, 2 Nov 2015 21:25:34 +0000 (13:25 -0800)]
[trac4090] Add the forgotten eval_log.c and eval_log.h files
Shawn Routhier [Mon, 2 Nov 2015 21:10:06 +0000 (13:10 -0800)]
[trac4090] Setup logger for eval
Shawn Routhier [Mon, 2 Nov 2015 19:22:23 +0000 (11:22 -0800)]
[trac4090] Update per review comments.
Update per the review comments except for the logging
stuff which will be done next.
Francis Dupont [Mon, 2 Nov 2015 04:10:45 +0000 (05:10 +0100)]
[master] Fixed 4o6subnetInterfaceId for not 64 bit machines (from hackathon94)
Marcin Siodelski [Mon, 2 Nov 2015 03:30:58 +0000 (12:30 +0900)]
[master] Use LeaseMgrFactory::instance() rather than constructor.
This fixes issues reported by the coverity scans recently.
JINMEI Tatuya [Sun, 1 Nov 2015 02:19:24 +0000 (11:19 +0900)]
Merge branch 'trac4111'
JINMEI Tatuya [Sun, 1 Nov 2015 02:02:02 +0000 (11:02 +0900)]
[4111] constify
Francis Dupont [Sun, 1 Nov 2015 01:10:57 +0000 (02:10 +0100)]
[4111] Added an emptyOptionData unit test
Francis Dupont [Sun, 1 Nov 2015 01:08:58 +0000 (02:08 +0100)]
[4111] Style in checkEmpty
Francis Dupont [Sun, 1 Nov 2015 00:41:15 +0000 (01:41 +0100)]
[3927] Added a defaultSpaceOptionDefTest unit test
Francis Dupont [Sun, 1 Nov 2015 00:14:11 +0000 (01:14 +0100)]
[3927] Fixed spurious 4 in DHCPv6 guide
JINMEI Tatuya [Sat, 31 Oct 2015 23:51:51 +0000 (08:51 +0900)]
[4111] added a test case for an empty Option6AddrLst.
also renamed a local variable to coform to coding guideline (don't use
the camel style for variables)
Tomek Mrugalski [Sat, 31 Oct 2015 11:55:34 +0000 (20:55 +0900)]
[master] AUTHORS updated after recent changes.
Tomek Mrugalski [Sat, 31 Oct 2015 11:36:55 +0000 (20:36 +0900)]
[master] Merge branch 'trac4105' (4o6 configuration parameters)
Tomek Mrugalski [Sat, 31 Oct 2015 11:34:38 +0000 (20:34 +0900)]
[4105] Grammar fixed.
Tomek Mrugalski [Sat, 31 Oct 2015 11:33:29 +0000 (20:33 +0900)]
[4105] config parser now uses getOptionalParam() methods.
Tomek Mrugalski [Sat, 31 Oct 2015 11:24:04 +0000 (20:24 +0900)]
[4105] Changes after review:
- getters/setters implemented in Cfg4o6.
- extra space removed.
Francis Dupont [Sat, 31 Oct 2015 10:40:42 +0000 (11:40 +0100)]
[master] Finished trac4027 aka Pkt4o6 merge
Tomek Mrugalski [Sat, 31 Oct 2015 10:32:06 +0000 (19:32 +0900)]
[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Tomek Mrugalski [Sat, 31 Oct 2015 10:31:13 +0000 (19:31 +0900)]
[master] Merge remote-tracking branch 'github/master'
JINMEI Tatuya [Sat, 31 Oct 2015 10:02:23 +0000 (19:02 +0900)]
[4027] removed an unused variable
(besides, this type of file-static definition is dangerious - it can lead to
static initialization fiasco).
JINMEI Tatuya [Sat, 31 Oct 2015 10:01:02 +0000 (19:01 +0900)]
[4027] added some explanatory comments for Pkt4o6::pack().
JINMEI Tatuya [Sat, 31 Oct 2015 09:57:59 +0000 (18:57 +0900)]
[4027] added some references
JINMEI Tatuya [Sat, 31 Oct 2015 09:49:53 +0000 (18:49 +0900)]
Merge branch 'trac4027' of github.com:isc-projects/kea into trac4027
with resolving conflict (the HEAD version wasn't complete)
src/lib/dhcp/tests/pkt4o6_unittest.cc
Tomek Mrugalski [Sat, 31 Oct 2015 09:49:07 +0000 (18:49 +0900)]
[4027] Minor corrections.
JINMEI Tatuya [Sat, 31 Oct 2015 09:47:03 +0000 (18:47 +0900)]
[4027] use a single underscore version of uint8_t for consistency
(and perhaps the double-underscore version is non-standard)
Francis Dupont [Sat, 31 Oct 2015 08:52:34 +0000 (09:52 +0100)]
[master] Merged trac4107 (HCPv4-over-DHCPv6 message and option definitions)
Tomek Mrugalski [Sat, 31 Oct 2015 08:32:28 +0000 (17:32 +0900)]
[4107] Added several comments.
JINMEI Tatuya [Sat, 31 Oct 2015 08:22:49 +0000 (17:22 +0900)]
[4027] added some more comments for tests
JINMEI Tatuya [Sat, 31 Oct 2015 08:20:25 +0000 (17:20 +0900)]
[4027] added unit tests for Pkt4o6Test
(with other some small cleanups)
Tomek Mrugalski [Sat, 31 Oct 2015 08:19:37 +0000 (17:19 +0900)]
[4107] Minor comments update for options 100-102
Tomek Mrugalski [Sat, 31 Oct 2015 07:47:51 +0000 (16:47 +0900)]
[4105] Implement 4o6-interface-id parameter.
Francis Dupont [Sat, 31 Oct 2015 05:53:34 +0000 (06:53 +0100)]
[4107] Added new standard options in the guide table
Francis Dupont [Sat, 31 Oct 2015 05:35:23 +0000 (06:35 +0100)]
[4107] Added the 2 private options (now update the doc)
Tomek Mrugalski [Sat, 31 Oct 2015 05:08:01 +0000 (14:08 +0900)]
[4105] Subnet4 parser updated to accept 4o6-interface, 4o6-subnet parameters
Francis Dupont [Sat, 31 Oct 2015 04:47:08 +0000 (05:47 +0100)]
[4107] Ported changes from fd4o6 (so not finished)
JINMEI Tatuya [Sat, 31 Oct 2015 04:46:05 +0000 (13:46 +0900)]
[4027] enable DHCP4o6 option macros
Francis Dupont [Thu, 8 Oct 2015 03:15:28 +0000 (05:15 +0200)]
[fd4o6] Adjusted Pkt6 pointer type
JINMEI Tatuya [Sat, 31 Oct 2015 04:29:05 +0000 (13:29 +0900)]
[4027] incorporated part of
c0044e3 from fd4o6 branch
(not cherry-picking it because the commit has other irrelevant changes)
Francis Dupont [Mon, 14 Sep 2015 14:36:42 +0000 (16:36 +0200)]
[fd4o6] Added DHCPv4-over-DHCPv6 packet class
Tomek Mrugalski [Sat, 31 Oct 2015 04:20:31 +0000 (13:20 +0900)]
[4105] 4o6 configuration structure, unit-tests implemented
Shawn Routhier [Fri, 30 Oct 2015 07:20:48 +0000 (00:20 -0700)]
[trac4090] Add support for TokenSubstring
Add support and testing for TokenSubstring. This token
takes three paramaters (string, start and length) and produces
a new string based on the original string. It allows negative
values for start and length causing it to count from the end
of the string for start and to get characters before the start
point for length.
Tomek Mrugalski [Thu, 29 Oct 2015 16:59:22 +0000 (01:59 +0900)]
[master] ChangeLog updated.
Tomek Mrugalski [Thu, 29 Oct 2015 16:46:16 +0000 (01:46 +0900)]
[master] Merge branch 'trac4081' (src/lib/eval added)
Tomek Mrugalski [Thu, 29 Oct 2015 16:39:12 +0000 (01:39 +0900)]
[4081] Added LOG4CPLUS_LIBS to src/lib/eval/tests/Makefile.am
Tomek Mrugalski [Thu, 29 Oct 2015 16:19:33 +0000 (01:19 +0900)]
[4081] Changes after review:
- Copyright years corrected
- Additional AM_CXXFLAGS for gcc added
- LOG4CPLUS libs added to LDFLAGS
- New unit-test for optionString for IPv6 packets added
- Several comments in token.h clarified/corrected
- Exception message extended slightly
Francis Dupont [Wed, 28 Oct 2015 16:10:01 +0000 (17:10 +0100)]
[master] Changed string.h for cstring (cf #4089)
Shawn Routhier [Wed, 28 Oct 2015 06:55:09 +0000 (23:55 -0700)]
[trac 4081] Add eval to the doxyfile and fix some typos
Thomas Markwalder [Tue, 27 Oct 2015 19:20:56 +0000 (15:20 -0400)]
[master] Added ChangeLog entry 1040 for #3780
Thomas Markwalder [Tue, 27 Oct 2015 19:04:41 +0000 (15:04 -0400)]
[master] Servers now exit if MySQL or PostgreSQL connectivity is lost
Merge branch 'trac3780'
Thomas Markwalder [Tue, 27 Oct 2015 19:02:36 +0000 (15:02 -0400)]
[3780] Addressed review comments
Fixed misspelling in log message.
Tomek Mrugalski [Tue, 27 Oct 2015 15:34:34 +0000 (16:34 +0100)]
[4081] Stub documentation added.
Marcin Siodelski [Tue, 27 Oct 2015 15:04:55 +0000 (16:04 +0100)]
[master] Added ChangeLog entry for #3979.
Marcin Siodelski [Tue, 27 Oct 2015 15:02:30 +0000 (16:02 +0100)]
[master] Merge branch 'trac3979'
Marcin Siodelski [Tue, 27 Oct 2015 14:46:40 +0000 (15:46 +0100)]
[3979] Corrected a typos in the user guide.
Marcin Siodelski [Tue, 27 Oct 2015 14:37:40 +0000 (15:37 +0100)]
[3979] Corrected order of parameters in the lease-expiration.json.
This is a result of the review. This change was suggested so as
the order of lease expiration specific parameters follows the
order in which they are described.
Thomas Markwalder [Tue, 27 Oct 2015 14:15:54 +0000 (10:15 -0400)]
[3979] Fixed a broken <para> oops
Thomas Markwalder [Tue, 27 Oct 2015 14:03:06 +0000 (10:03 -0400)]
[3979] Did some clean up and rewording