]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Wed, 4 Nov 2015 04:55:49 +0000 (05:55 +0100)]
[master] Merged trac3927 (default in option-def)
Marcin Siodelski [Wed, 4 Nov 2015 04:09:13 +0000 (13:09 +0900)]
[4106] Added new exception Dhcp4o6IpcError.
Francis Dupont [Wed, 4 Nov 2015 04:02:40 +0000 (05:02 +0100)]
[3927] Fixed typo in previous change
Marcin Siodelski [Wed, 4 Nov 2015 04:01:29 +0000 (13:01 +0900)]
[4106] Added additional tests for opening and closing IPC.
Marcin Siodelski [Wed, 4 Nov 2015 02:31:57 +0000 (11:31 +0900)]
[3259] Corrected a typo.
Francis Dupont [Wed, 4 Nov 2015 02:24:03 +0000 (03:24 +0100)]
[3927] Addressed minor comments
Francis Dupont [Wed, 4 Nov 2015 02:11:33 +0000 (03:11 +0100)]
[4094] Added evaluate() unit tests
Francis Dupont [Wed, 4 Nov 2015 01:07:32 +0000 (02:07 +0100)]
[4094] Added evaluate function
Francis Dupont [Wed, 4 Nov 2015 00:20:01 +0000 (01:20 +0100)]
[4116] Define EvalNotBoolError
Thomas Markwalder [Tue, 3 Nov 2015 19:51:21 +0000 (14:51 -0500)]
[3601] Added discussion of memfile lease file upgrading to admin guide
Thomas Markwalder [Tue, 3 Nov 2015 19:21:02 +0000 (14:21 -0500)]
[3601] Added unit tests for automatic LFC upgrade
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
Added two new unit tests to verify lease file upgrade
via automatic LFC invocation:
TEST_F(MemfileLeaseMgrTest, leaseUpgrade4)
TEST_F(MemfileLeaseMgrTest, leaseUpgrade6)
Thomas Markwalder [Tue, 3 Nov 2015 15:53:28 +0000 (10:53 -0500)]
[3601] Memfile_LeaseMgr now runs LFC automatically if lease files need upgrading
Memfile_LeaseMgr loads the lease files during instantiation. If it detects
that any of the files loaded are out of date, it will invoke LFC directly,
whether or not LFC is enabled.
src/lib/dhcpsrv/dhcpsrv_messages.mes
added two new log messages:
DHCPRSV_MEMFILE_UPGRADING_LEASE_FILES
DHCPSRV_MEMFILE_NEEDS_UPGRADING
src/lib/dhcpsrv/lease_file_loader.h
LeaseFileLoader::load() - emits DHCPSRV_MEMFILE_NEEDS_UPGRADING log
when an out of date file is detected
src/lib/dhcpsrv/memfile_lease_mgr.cc
LFCSetup::setup() - added run_once_now parameter, which causes the
method to invoke the LFC callback immediately, regardless of the value
of LFC interval.
Memfile_LeaseMgr::Memfile_LeaseMgr() - added logic to track if
files loaded need upgrading and pass that into lfcSetup()
Memfile_LeaseMgr::loadLeasesFromFiles() - change to return a boolean
true if any of the files loaded need upgrading.
Memfile_LeaseMgr::lfcSetup() - added upgrade_needed parameter, which
is passed through to LFCSetup::setup() as "run_once_now"
Thomas Markwalder [Tue, 3 Nov 2015 15:03:26 +0000 (10:03 -0500)]
[3601] Added methods to VersionedCSVFile for tracking when updating is needed
src/lib/util/csv_file.h
Made recreate() virtual
src/lib/util/versioned_csv_file.h
src/lib/util/versioned_csv_file.cc
Added several methods to VersionedCSVFile:
getValidColumnCount() - returns number of valid columns in header
recreate() - wraps base class method, ensuring valid column
count gets set to number of defined columns for new files
needsUpgrading() - returns bool true if file schema is out of date
getInputSchemaVersion() - returns schema version found in file
getSchemaVersion() - returns current schema version
getVersionedColumn() - returns the column definition for a given index
src/lib/util/tests/versioned_csv_file_unittest.cc
Added checks for new methods to existing tests
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.
Thomas Markwalder [Mon, 2 Nov 2015 16:14:56 +0000 (11:14 -0500)]
[3601] CSVLeaseFile4 and CSVLeaseFile6 now derive from VersionedCSVFile
src/lib/dhcpsrv/csv_lease_file4.h
src/lib/dhcpsrv/csv_lease_file4.cc
- CSVLeaseFile4 now derives from VersionedCSVFile
- initializes schema metadata not just column names
- uses VersionedCSVFile methods rather than CSVFile methods
src/lib/dhcpsrv/csv_lease_file6.h
src/lib/dhcpsrv/csv_lease_file6.cc
- CSVLeaseFile6 now derives from VersionedCSVFile
- initializes schema metadata not just column names
- uses VersionedCSVFile methods rather than CSVFile methods
src/lib/dhcpsrv/tests/csv_lease_file4_unittest.cc
- Added new unit tests:
TEST_F(CSVLeaseFile4Test, mixedSchemaload)
TEST_F(CSVLeaseFile4Test, tooFewHeaderColumns)
TEST_F(CSVLeaseFile4Test, invalidHeaderColumn)
TEST_F(CSVLeaseFile4Test, tooManyHeaderColumns)
src/lib/dhcpsrv/tests/csv_lease_file6_unittest.cc
- Added new unit tests:
TEST_F(CSVLeaseFile6Test, mixedSchemaLoad)
TEST_F(CSVLeaseFile6Test, tooFewHeaderColumns)
TEST_F(CSVLeaseFile6Test, invalidHeaderColumn)
TEST_F(CSVLeaseFile6Test, tooManyHeaderColumns)
Thomas Markwalder [Mon, 2 Nov 2015 15:49:40 +0000 (10:49 -0500)]
[3601] Added isc::util::VersionedCSVFile
src/lib/util/versioned_csv_file.h
src/lib/util/versioned_csv_file.cc
New files which implement VersionedCSVFile, CSV file which can
support mulitple schema versions
src/lib/util/tests/versioned_csv_file_unittest.h
src/lib/util/tests/versioned_csv_file_unittest.cc
new files for Unit tests for VersionedCSVFile
src/lib/util/Makefile.am
added new files
src/lib/util/csv_file.cc
includes read error message if header fails to validate
src/lib/util/csv_file.h
removed @todo for 3626, no longer applicable
src/lib/util/tests/Makefile.am
added versioned_csv_file_unittest.cc
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.
Marcin Siodelski [Mon, 2 Nov 2015 02:15:25 +0000 (11:15 +0900)]
[4106] Cleanup in the DHCPv4o6 IPC class.
Marcin Siodelski [Sun, 1 Nov 2015 06:41:59 +0000 (15:41 +0900)]
[4106] Improvements and comments to the DHCPv4o6 IPC tests.
Marcin Siodelski [Sun, 1 Nov 2015 03:29:36 +0000 (12:29 +0900)]
[4106] Added unit test for the DHCP4o6 IPC.
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 08:02:00 +0000 (09:02 +0100)]
[4106] Changed to use the private options
Francis Dupont [Sat, 31 Oct 2015 03:56:08 +0000 (04:56 +0100)]
[4106] Ported DHCPv4-over-DHCPv6 IPC code from fd4o6 private branch
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
Tomek Mrugalski [Fri, 30 Oct 2015 14:55:38 +0000 (23:55 +0900)]
[4088] Added flex/bison generated files.
Tomek Mrugalski [Fri, 30 Oct 2015 13:18:19 +0000 (22:18 +0900)]
[4088] Minor tweaks in lexer.ll
Tomek Mrugalski [Fri, 30 Oct 2015 10:53:56 +0000 (19:53 +0900)]
[4088] Lexer improvements, TokenOption now working
Tomek Mrugalski [Fri, 30 Oct 2015 08:22:23 +0000 (17:22 +0900)]
[4088] Makefile updated to easier regenerate flex/bison files.
Tomek Mrugalski [Fri, 30 Oct 2015 07:00:07 +0000 (16:00 +0900)]
[4088] Minor tweaks in EvalContext
Tomek Mrugalski [Thu, 29 Oct 2015 00:13:14 +0000 (01:13 +0100)]
[4088] string handling improved.
Tomek Mrugalski [Thu, 29 Oct 2015 00:02:57 +0000 (01:02 +0100)]
[4088] strings, options and equal tokens are now instantiated
Tomek Mrugalski [Wed, 28 Oct 2015 23:29:43 +0000 (00:29 +0100)]
[4088] Replaced example grammar with client classification expressions
Tomek Mrugalski [Wed, 28 Oct 2015 19:53:40 +0000 (20:53 +0100)]
[4088] Moved yy to isc::eval namespace
Tomek Mrugalski [Wed, 28 Oct 2015 19:48:14 +0000 (20:48 +0100)]
[4088] EvalContext unit-test added.
Tomek Mrugalski [Wed, 28 Oct 2015 19:37:12 +0000 (20:37 +0100)]
[4088] Classes renamed to Kea nomenclature
Tomek Mrugalski [Wed, 28 Oct 2015 19:13:59 +0000 (20:13 +0100)]
[4088] Bison example integrated.
Tomek Mrugalski [Tue, 27 Oct 2015 15:34:34 +0000 (16:34 +0100)]
[4081] Stub documentation added.
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.
Stephen Morris [Thu, 29 Oct 2015 17:51:12 +0000 (17:51 +0000)]
[3259] Ensure hooks example configuration files are copied on an install
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
Stephen Morris [Thu, 29 Oct 2015 15:03:48 +0000 (15:03 +0000)]
[3259] Changes after review
Francis Dupont [Wed, 28 Oct 2015 16:10:01 +0000 (17:10 +0100)]
[master] Changed string.h for cstring (cf #4089)
Stephen Morris [Wed, 28 Oct 2015 13:54:39 +0000 (13:54 +0000)]
[3259] Updates to handle new syntax only
As some incompatible changes have already been made to the hooks
interface (removal of the setSkip method), it seems pointless to
support both old and new hoos-libraries syntax. These modifications
remove support for the old syntax.
Stephen Morris [Wed, 28 Oct 2015 13:18:57 +0000 (13:18 +0000)]
[3259] Corrections to the documentation
Stephen Morris [Wed, 28 Oct 2015 11:38:21 +0000 (11:38 +0000)]
[3259] Fixed errors in .spec files.
Stephen Morris [Wed, 28 Oct 2015 11:27:12 +0000 (11:27 +0000)]
[3259] Add test to check that mixed syntax element is rejected
Stephen Morris [Wed, 28 Oct 2015 11:26:48 +0000 (11:26 +0000)]
[3259] Updating non-dhcpsrv test with new hooks library syntax
Stephen Morris [Wed, 28 Oct 2015 11:24:27 +0000 (11:24 +0000)]
[3259] Update .spec files with new hooks-libraries syntax
Stephen Morris [Wed, 28 Oct 2015 11:23:03 +0000 (11:23 +0000)]
[3259] Update documentation with new syntax
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.
Stephen Morris [Tue, 27 Oct 2015 16:37:07 +0000 (16:37 +0000)]
[3259] Added capability to interpret old and new hooks library syntax
Tomek Mrugalski [Tue, 27 Oct 2015 15:34:34 +0000 (16:34 +0100)]
[4081] Stub documentation added.