]>
git.ipfire.org Git - thirdparty/kea.git/log
Stephen Morris [Thu, 13 Dec 2012 11:41:42 +0000 (11:41 +0000)]
[2546] Merge branch 'master' into trac2546
Stephen Morris [Thu, 13 Dec 2012 11:38:21 +0000 (11:38 +0000)]
[2546] Merge branch 'master' into trac2546
Conflicts:
doc/devel/mainpage.dox
src/bin/dhcp4/ctrl_dhcp4_srv.h
src/bin/dhcp4/dhcp4_srv.h
src/bin/dhcp6/dhcp6.dox
Also modified the following files during the
resolution of the merge issues:
src/bin/dhcp4/config_parser.cc
src/bin/dhcp4/ctrl_dhcp4_srv.cc
src/bin/dhcp4/dhcp4.dox
src/bin/dhcp6/config_parser.cc
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
src/lib/dhcp/option_custom.h
src/lib/dhcp/pkt4.h
src/lib/dhcpsrv/database_backends.dox
Michal 'vorner' Vaner [Thu, 13 Dec 2012 11:32:38 +0000 (12:32 +0100)]
[2428] Interface to get count of sources in lexer
And use it in the master loader, instead of keeping it separately there.
Michal 'vorner' Vaner [Thu, 13 Dec 2012 11:12:37 +0000 (12:12 +0100)]
[2428] Test two more error cases
Shorter and longer version of INCLUDE.
Michal 'vorner' Vaner [Thu, 13 Dec 2012 11:09:17 +0000 (12:09 +0100)]
[2428] Put internal exception to anonymous namespace
Michal 'vorner' Vaner [Thu, 13 Dec 2012 11:02:05 +0000 (12:02 +0100)]
[2378] Fix ZoneLoader after merge
There were some small changes in the behaviour of MasterLoader as a
result of review, this is update do ZoneLoader and its tests to
incorporate that.
Michal 'vorner' Vaner [Thu, 13 Dec 2012 10:34:55 +0000 (11:34 +0100)]
Merge doxygen tweaks
Reviewed as part of #2378, but merged as a separate branch.
Michal 'vorner' Vaner [Thu, 13 Dec 2012 10:34:22 +0000 (11:34 +0100)]
Merge #2378
The Zone loader class (glue class between zone updater and MasterLoader).
Michal 'vorner' Vaner [Fri, 7 Dec 2012 13:09:05 +0000 (14:09 +0100)]
[2378] Simplify the loadIncremental code
Some of the code can be shared between the variants, saving some code.
Michal 'vorner' Vaner [Fri, 7 Dec 2012 13:00:49 +0000 (14:00 +0100)]
[2378] Note about late detection of end
Jelte Jansen [Wed, 5 Dec 2012 22:42:31 +0000 (23:42 +0100)]
[2378] minor doc and comment fixes
Michal 'vorner' Vaner [Tue, 4 Dec 2012 12:57:50 +0000 (13:57 +0100)]
[2378] Fixes of ZoneLoader and tests
After the rebase on top of working 2377. The most significant - don't
access updater if it doesn't exist.
Michal 'vorner' Vaner [Thu, 29 Nov 2012 14:26:42 +0000 (15:26 +0100)]
[2378] Implement the master file loading
Michal 'vorner' Vaner [Thu, 29 Nov 2012 14:25:49 +0000 (15:25 +0100)]
[2378] It would throw at load(), not constructor
There's no way to know the master file would be broken in the
constructor. So update the documentation to say it'd throw from the
load() and loadIncremental().
Michal 'vorner' Vaner [Thu, 29 Nov 2012 14:21:40 +0000 (15:21 +0100)]
[2378] Detect class mismatch with copy mode
Michal 'vorner' Vaner [Tue, 27 Nov 2012 13:36:47 +0000 (14:36 +0100)]
[2378] Tests for the loading from file
They are similar to the ones for copy mode. Should they be unified in
some way?
Michal 'vorner' Vaner [Tue, 27 Nov 2012 13:14:10 +0000 (14:14 +0100)]
[2378] Consider masterfile errors in ZoneLoader docs
Michal 'vorner' Vaner [Tue, 27 Nov 2012 13:03:44 +0000 (14:03 +0100)]
[2378] Test throwing when missing zone
Michal 'vorner' Vaner [Tue, 27 Nov 2012 12:35:29 +0000 (13:35 +0100)]
[2378] Test loading signed zone
Michal 'vorner' Vaner [Tue, 27 Nov 2012 12:34:41 +0000 (13:34 +0100)]
[2378] Fix InMemory iterator
Not directly related, but it breaks tests of the ZoneLoader. The NSEC3
namespace and all RRSIGs were missing from the returned data.
Michal 'vorner' Vaner [Tue, 27 Nov 2012 10:34:56 +0000 (11:34 +0100)]
[2378] Basic test for incremental loading
Michal 'vorner' Vaner [Tue, 27 Nov 2012 10:28:23 +0000 (11:28 +0100)]
[2378] Check attempt to load past the end
Michal 'vorner' Vaner [Tue, 27 Nov 2012 10:22:21 +0000 (11:22 +0100)]
[2378] The copy mode of ZoneLoader
At least its basic version. Error handling must still be tested and done.
Michal 'vorner' Vaner [Tue, 27 Nov 2012 09:39:09 +0000 (10:39 +0100)]
[Dox] Run doxygen -u
To update the Doxyfile. It no longer complains about obsolete options.
Conflicts:
doc/Doxyfile
Michal 'vorner' Vaner [Tue, 27 Nov 2012 09:33:37 +0000 (10:33 +0100)]
[Dox] Some Doxyfile tweaks
Michal 'vorner' Vaner [Thu, 13 Dec 2012 10:30:39 +0000 (11:30 +0100)]
Merge #2377
The isc::dns::MasterLoader class and its basic implementation. Further handling
is going to be added in future branches, this handles just the simplest form of
master files.
Jelte Jansen [Tue, 11 Dec 2012 11:36:00 +0000 (12:36 +0100)]
[2542] Add create_zone to datasrc python wrapper
JINMEI Tatuya [Thu, 13 Dec 2012 08:33:29 +0000 (00:33 -0800)]
[2429] introduce a no-throw factor of RRTTL and use it in the loader.
JINMEI Tatuya [Thu, 13 Dec 2012 07:42:42 +0000 (23:42 -0800)]
[2429] played with max allowable TTL (2^31-1).
JINMEI Tatuya [Thu, 13 Dec 2012 06:48:18 +0000 (22:48 -0800)]
[2429] handled even more minor cases. added some more comments.
JINMEI Tatuya [Thu, 13 Dec 2012 04:36:20 +0000 (20:36 -0800)]
[2429] handled various corner cases.
JINMEI Tatuya [Thu, 13 Dec 2012 02:49:37 +0000 (18:49 -0800)]
[2429] refactoring: extracted TTL detection code into a separate method.
also making most of helper methods private, and reordered them a bit.
JINMEI Tatuya [Thu, 13 Dec 2012 02:19:19 +0000 (18:19 -0800)]
[2429] warn when no default TTL is available and the TTL of the last RR is used
JINMEI Tatuya [Wed, 12 Dec 2012 23:18:04 +0000 (15:18 -0800)]
[2429] use SOA's minimum TTL as a last resort default TTL
JINMEI Tatuya [Wed, 12 Dec 2012 04:45:34 +0000 (20:45 -0800)]
[2429] some other cases with $TTL, including more than one $TTL w/ change val.
JINMEI Tatuya [Wed, 12 Dec 2012 04:33:37 +0000 (20:33 -0800)]
[2429] handle case of extra garbage after $TTL
JINMEI Tatuya [Wed, 12 Dec 2012 02:57:33 +0000 (18:57 -0800)]
[2429] added basic support for $TTL
JINMEI Tatuya [Wed, 12 Dec 2012 23:10:03 +0000 (15:10 -0800)]
[2429] added getMinimum() method for SOA Rdata; needed for TTL-guess handling.
Michal 'vorner' Vaner [Wed, 12 Dec 2012 09:43:57 +0000 (10:43 +0100)]
[2428] Use iequals instead of strncasecmp
It has nicer interface and should be slightly less peculiar.
Michal 'vorner' Vaner [Wed, 12 Dec 2012 09:35:43 +0000 (10:35 +0100)]
[2428] Code simplification
We don't need that intermediate variable
Michal 'vorner' Vaner [Wed, 12 Dec 2012 09:33:33 +0000 (10:33 +0100)]
[2428] Check quoted "$INCLUDE" is accepted too
Jelte Jansen [Wed, 12 Dec 2012 22:25:29 +0000 (23:25 +0100)]
[2541] Update in-code comment
Jelte Jansen [Wed, 12 Dec 2012 22:18:59 +0000 (23:18 +0100)]
[2541] Add two more tests to database_unittest
JINMEI Tatuya [Wed, 12 Dec 2012 22:16:24 +0000 (14:16 -0800)]
[2470] reordered dns/ header files to check independence of rrcollator.h
as suggested in the review.
JINMEI Tatuya [Wed, 12 Dec 2012 22:13:24 +0000 (14:13 -0800)]
[2470] check and reject ampty add-RRset callback.
JINMEI Tatuya [Wed, 12 Dec 2012 22:04:54 +0000 (14:04 -0800)]
[2470] provide RR collator with issue callbacks
JINMEI Tatuya [Wed, 12 Dec 2012 22:01:37 +0000 (14:01 -0800)]
[2470] added a framework to report different TTLs via an optional callback.
the constructor was extended to have the additional callbacks.
Jelte Jansen [Wed, 12 Dec 2012 21:57:29 +0000 (22:57 +0100)]
[2541] Use other fixture and startUpdateZone in locked test
Tomek Mrugalski [Wed, 12 Dec 2012 19:04:00 +0000 (20:04 +0100)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Tomek Mrugalski [Wed, 12 Dec 2012 19:03:47 +0000 (20:03 +0100)]
[master] Dhcp4Parser.testUint32Parser temporarily disabled
JINMEI Tatuya [Wed, 12 Dec 2012 19:00:11 +0000 (11:00 -0800)]
[2470] initialize test Rdata for RRCollatorTest in member init list.
as a bonus we can make them const.
JINMEI Tatuya [Wed, 12 Dec 2012 18:55:27 +0000 (10:55 -0800)]
[2470] renamed RRCollator::finish() to flush() as suggested in review.
JINMEI Tatuya [Wed, 12 Dec 2012 18:52:37 +0000 (10:52 -0800)]
[2470] completed doc for RRCollator::AddRRsetCallback.
JINMEI Tatuya [Wed, 12 Dec 2012 18:47:36 +0000 (10:47 -0800)]
[2470] make RRCollator noncopyable, add some doc about the rationale.
JINMEI Tatuya [Wed, 12 Dec 2012 18:35:20 +0000 (10:35 -0800)]
[2470] removed redundant #include
JINMEI Tatuya [Wed, 12 Dec 2012 18:02:42 +0000 (10:02 -0800)]
[2470] defined getNullCallbacks and its trivial callback function.
JINMEI Tatuya [Wed, 12 Dec 2012 17:31:12 +0000 (09:31 -0800)]
[2541] editorial cleanup: spacing
JINMEI Tatuya [Wed, 12 Dec 2012 17:11:06 +0000 (09:11 -0800)]
[master] update the doc for MasterToken::StringRegion to match the latest code.
the removed part was obsolete due to a later change (which is described
in the next paragraph of the doc). keeping the sentence will just
confuse readers.
should be trivial enough, so I'm committing this at my discretion.
JINMEI Tatuya [Wed, 12 Dec 2012 17:03:18 +0000 (09:03 -0800)]
[2541] unrelated cleanup: specify 'virtual' for ~SQLite3Accessor explicitly.
per convention.
Stephen Morris [Wed, 12 Dec 2012 15:30:31 +0000 (15:30 +0000)]
[2546] Address further issues pointed out in review
Jelte Jansen [Wed, 12 Dec 2012 14:15:01 +0000 (15:15 +0100)]
[2541] Address more comments; add tests and update docs
Tomek Mrugalski [Wed, 12 Dec 2012 13:50:38 +0000 (14:50 +0100)]
[2270] Merge branch 'master' into trac2270
Conflicts:
ChangeLog
doc/devel/02-dhcp.dox
src/bin/dhcp4/ctrl_dhcp4_srv.cc
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/dhcp4_srv.h
src/bin/dhcp6/config_parser.cc
src/bin/dhcp6/config_parser.h
Stephen Morris [Wed, 12 Dec 2012 13:44:07 +0000 (13:44 +0000)]
[2546] Address some cppcheck issues
Tomek Mrugalski [Wed, 12 Dec 2012 13:04:58 +0000 (14:04 +0100)]
[master] Merge branch 'master' into trac2325 (RENEW support in DHCPv6)
Conflicts:
ChangeLog
Tomek Mrugalski [Wed, 12 Dec 2012 12:02:40 +0000 (13:02 +0100)]
[2270] Headers reordered.
Jelte Jansen [Wed, 12 Dec 2012 10:43:13 +0000 (11:43 +0100)]
[2541] Use c++-style doxygen
Jelte Jansen [Wed, 12 Dec 2012 10:30:56 +0000 (11:30 +0100)]
[2541] Catch and log exception in transaction rollback
Stephen Morris [Wed, 12 Dec 2012 10:16:57 +0000 (10:16 +0000)]
[2325] Rephrased a couple of debug messages
Yoshitaka Aharen [Wed, 12 Dec 2012 10:13:11 +0000 (19:13 +0900)]
[2157] add test for generated XML file
Jelte Jansen [Wed, 12 Dec 2012 10:12:07 +0000 (11:12 +0100)]
[2541] Move method implementations in client.h to client.cc
Michal 'vorner' Vaner [Wed, 12 Dec 2012 09:43:57 +0000 (10:43 +0100)]
[2428] Use iequals instead of strncasecmp
It has nicer interface and should be slightly less peculiar.
Michal 'vorner' Vaner [Wed, 12 Dec 2012 09:35:43 +0000 (10:35 +0100)]
[2428] Code simplification
We don't need that intermediate variable
Michal 'vorner' Vaner [Wed, 12 Dec 2012 09:33:33 +0000 (10:33 +0100)]
[2428] Check quoted "$INCLUDE" is accepted too
Marcin Siodelski [Wed, 12 Dec 2012 08:08:42 +0000 (09:08 +0100)]
[2526] Cleanup: removed unused definition and added doxygen for a function.
Mukund Sivaraman [Wed, 12 Dec 2012 01:13:05 +0000 (06:43 +0530)]
[master] Update ChangeLog for #2503
Mukund Sivaraman [Wed, 12 Dec 2012 00:39:15 +0000 (06:09 +0530)]
Merge branch 'master' into trac2503
Conflicts:
src/lib/datasrc/tests/memory/testdata/Makefile.am
JINMEI Tatuya [Tue, 11 Dec 2012 21:06:19 +0000 (13:06 -0800)]
[2429] Merge remote-tracking branch 'origin/trac2428' into trac2429
resolving conflicts in:
src/lib/dns/master_loader.cc
JINMEI Tatuya [Tue, 11 Dec 2012 21:03:46 +0000 (13:03 -0800)]
[2429] Merge branch 'trac2377' into trac2429
JINMEI Tatuya [Tue, 11 Dec 2012 19:11:28 +0000 (11:11 -0800)]
[2541] style and editorial: folded a long line; corrected a typo
Marcin Siodelski [Tue, 11 Dec 2012 19:03:21 +0000 (20:03 +0100)]
[2526] Removed static keyword from declarations.
JINMEI Tatuya [Tue, 11 Dec 2012 18:55:01 +0000 (10:55 -0800)]
[2541] editorial: removed unnecessary ';'
Michal 'vorner' Vaner [Tue, 11 Dec 2012 18:54:12 +0000 (19:54 +0100)]
[2428] Placeholder for origin handling
The $INCLUDE can contain a name meaning origin. We don't handle origin
yet, that's #2427, but we at least mark the place where it should be
linked.
Marcin Siodelski [Tue, 11 Dec 2012 17:28:32 +0000 (18:28 +0100)]
[master] Explicitly initialize all struct members.
This change is to satisfy Solaris which issues warning about some struct
members being uninitialized and causing build to fail.
Michal 'vorner' Vaner [Tue, 11 Dec 2012 18:49:24 +0000 (19:49 +0100)]
[2428] Handle garbage after the include
Jelte Jansen [Tue, 11 Dec 2012 17:09:34 +0000 (18:09 +0100)]
[master] Fix variable name use in TSIGKeyRingTest
Tomek Mrugalski [Tue, 11 Dec 2012 17:07:37 +0000 (18:07 +0100)]
[2270] Changes after review.
Tomek Mrugalski [Tue, 11 Dec 2012 17:06:19 +0000 (18:06 +0100)]
[2270] dhcp6 now handles reconfigures better (reverted clear() on defaults)
Jelte Jansen [Tue, 11 Dec 2012 16:40:16 +0000 (17:40 +0100)]
[master] Updated changelog entry
Added * (it's a backwards-incompatible change)
JINMEI Tatuya [Tue, 11 Dec 2012 16:37:51 +0000 (08:37 -0800)]
[master] updated changelog for #2504, clarifying failure scenarios
okayed on jabber
Marcin Siodelski [Tue, 11 Dec 2012 16:31:34 +0000 (17:31 +0100)]
[2526] Use V4 option definitions when unpacking an option.
Some of the unit tests had to be modified after this change. This is
because they used to create options which data length did not match the
actual std options' formats.
Tomek Mrugalski [Tue, 11 Dec 2012 15:11:27 +0000 (16:11 +0100)]
[2325] Unknown renew is now logged in dhcp6
Tomek Mrugalski [Tue, 11 Dec 2012 14:57:45 +0000 (15:57 +0100)]
[2325] Changes after review.
Michal 'vorner' Vaner [Tue, 11 Dec 2012 14:20:11 +0000 (15:20 +0100)]
[2428] Test and fix error handling in $INCLUDE
Tomek Mrugalski [Tue, 11 Dec 2012 14:13:58 +0000 (15:13 +0100)]
[2325] Option7 IA unittest improvement.
Marcin Siodelski [Tue, 11 Dec 2012 14:00:30 +0000 (15:00 +0100)]
[2526] Renamed consts in std_option_defs.h to conform with coding style.
Marcin Siodelski [Tue, 11 Dec 2012 13:45:16 +0000 (14:45 +0100)]
[2526] Corrected expected option types in DHCPv4 std options unit test.
Jelte Jansen [Tue, 11 Dec 2012 13:29:56 +0000 (14:29 +0100)]
[master] Update changelog for merge of #1351
Jelte Jansen [Tue, 11 Dec 2012 13:19:25 +0000 (14:19 +0100)]
[master] Merge branch 'trac1351'
Michal 'vorner' Vaner [Tue, 11 Dec 2012 12:45:16 +0000 (13:45 +0100)]
[2428] Do pop even after error
Marcin Siodelski [Tue, 11 Dec 2012 10:04:31 +0000 (11:04 +0100)]
[2526] Added unit tests for V4 option holding an array of integers.