]>
git.ipfire.org Git - thirdparty/kea.git/log
JINMEI Tatuya [Mon, 1 Apr 2013 22:40:33 +0000 (15:40 -0700)]
[2833] added begin/end to CacheConfig instead of getZoneConfig.
that would be better abstraction. also remove getLoadAction for now as
we won't implement it in this task.
JINMEI Tatuya [Mon, 1 Apr 2013 22:09:59 +0000 (15:09 -0700)]
[2833] added test cases where 'allowed' is false
JINMEI Tatuya [Mon, 1 Apr 2013 20:56:45 +0000 (13:56 -0700)]
[2833] some cleanup
JINMEI Tatuya [Mon, 1 Apr 2013 20:52:52 +0000 (13:52 -0700)]
[2833] pass CacheConfig to DataSourceClient and maintain it there.
also simplified the constructor interface; we actually don't need the
other one.
JINMEI Tatuya [Mon, 1 Apr 2013 20:16:06 +0000 (13:16 -0700)]
[2833] update/clarify the (new) meaning of DATASRC_LIST_NOT_CACHED
it now doesn't log it for each zone but only warns about the entire data
source.
JINMEI Tatuya [Mon, 1 Apr 2013 19:59:03 +0000 (12:59 -0700)]
[2833] cleanup: removed now-unnecessary variable
JINMEI Tatuya [Mon, 1 Apr 2013 19:32:05 +0000 (12:32 -0700)]
[2833] pass allow_cache to CacheConfig
JINMEI Tatuya [Mon, 1 Apr 2013 18:09:56 +0000 (11:09 -0700)]
[2833] renamed ZoneTableConfig to CacheConfig
as details are implemented the latter now seems more appropriate for the
responsibility of this class.
JINMEI Tatuya [Mon, 1 Apr 2013 17:32:53 +0000 (10:32 -0700)]
[2833] consolidate some cache related config checks in ZoneTableConfig.
this eliminated the need for if-else cases in
ConfigurableClientList::configure(). to make it possible getDataSourceClient()
was slightly updated so that it recognizes "MasterFiles".
Thomas Markwalder [Mon, 1 Apr 2013 15:19:24 +0000 (11:19 -0400)]
[2634] Replaced DhcpConfigParser template function getParam<> with new
template class ValueStorage in lib/dhcpsrv, dhcp4, and dhcp6. Added unit
tests for new class in dhcpsrv/tests.
Mukund Sivaraman [Mon, 1 Apr 2013 14:00:43 +0000 (19:30 +0530)]
[2387] Update test data to be more consistent
Mukund Sivaraman [Mon, 1 Apr 2013 11:36:00 +0000 (17:06 +0530)]
[2387] Fix key digest to match the test data
Mukund Sivaraman [Mon, 1 Apr 2013 10:49:57 +0000 (16:19 +0530)]
[2387] Add DNSKEY support in wire data generator
Also convert some existing DNSKEY test data to use wire data generated
from spec files.
Mukund Sivaraman [Mon, 1 Apr 2013 09:51:15 +0000 (15:21 +0530)]
[2387] Move string construction out of loop
Mukund Sivaraman [Mon, 1 Apr 2013 09:49:59 +0000 (15:19 +0530)]
[2387] Remove unnecessary checks
Mukund Sivaraman [Mon, 1 Apr 2013 07:20:31 +0000 (12:50 +0530)]
[2198] Remove unnecessary text from API documentation
... as the methods are private anyway.
Thomas Markwalder [Fri, 29 Mar 2013 12:13:17 +0000 (08:13 -0400)]
[2721] Added entry for new unit tests, #2721
Thomas Markwalder [Fri, 29 Mar 2013 11:52:56 +0000 (07:52 -0400)]
Merge branch 'trac2721' - Review comments addressed. Adds missing unit tests
for trac 2719 in b10-dhcp6.
Naoki Kambe [Thu, 28 Mar 2013 09:09:09 +0000 (18:09 +0900)]
[2252] change to better names; s/lastest/last/i
JINMEI Tatuya [Fri, 29 Mar 2013 02:28:23 +0000 (19:28 -0700)]
[2833] (unrelated) corrected a trivial typo
JINMEI Tatuya [Fri, 29 Mar 2013 02:15:03 +0000 (19:15 -0700)]
[2833] make ZoneTableSegment::create generic so it checks segment type.
the actually behavior is still same: it only supports the "local" segment.
JINMEI Tatuya [Thu, 28 Mar 2013 23:10:52 +0000 (16:10 -0700)]
[2833] added ZoneTableConfig::getSegmentType() interface.
JINMEI Tatuya [Thu, 28 Mar 2013 22:45:45 +0000 (15:45 -0700)]
[2833] revise ZoneTableSegment::create() so it takes ZoneTableConfig
some non trivial adjusments were needed for its users.
JINMEI Tatuya [Thu, 28 Mar 2013 21:55:03 +0000 (14:55 -0700)]
[2387] style fix: folded a long line.
JINMEI Tatuya [Thu, 28 Mar 2013 21:54:05 +0000 (14:54 -0700)]
[2387] added toWireBuffer tests for DNSKEY and NSEC3PARAM.
not in the scope of this ticket, but should be easy enough.
JINMEI Tatuya [Thu, 28 Mar 2013 20:51:11 +0000 (13:51 -0700)]
[master] changelog for #2562
JINMEI Tatuya [Thu, 28 Mar 2013 20:33:27 +0000 (13:33 -0700)]
[master] Merge branch 'trac2562'
Marcin Siodelski [Thu, 28 Mar 2013 19:10:30 +0000 (20:10 +0100)]
[991] Removed trash debug messages.
Marcin Siodelski [Thu, 28 Mar 2013 18:49:36 +0000 (19:49 +0100)]
[991] Set socket options that enable broadcast traffic.
Tomek Mrugalski [Thu, 28 Mar 2013 15:17:47 +0000 (16:17 +0100)]
[master] Merge branch 'trac2723' (too short/null DUIDs handing)
Conflicts:
ChangeLog
src/lib/dhcpsrv/mysql_lease_mgr.cc
Marcin Siodelski [Thu, 28 Mar 2013 15:16:28 +0000 (16:16 +0100)]
[991] Server responds with broadcast if direct response not supported.
Michal 'vorner' Vaner [Thu, 28 Mar 2013 12:06:09 +0000 (13:06 +0100)]
[2738] Limitations
Michal 'vorner' Vaner [Thu, 28 Mar 2013 11:57:32 +0000 (12:57 +0100)]
[2738] Ways to communicate
Thomas Markwalder [Thu, 28 Mar 2013 11:01:48 +0000 (07:01 -0400)]
[2770] Added $(DESTDIR) to DHCP_DATA_DIR directory installation in
lib/dhcpsrv/Makefile.am.
Naoki Kambe [Thu, 28 Mar 2013 10:30:42 +0000 (19:30 +0900)]
[2252] Merge branch 'master' of git://git.bind10.isc.org/bind10 into trac2252
Conflicts:
tests/lettuce/features/xfrin_notify_handling.feature
JINMEI Tatuya [Thu, 28 Mar 2013 03:08:20 +0000 (20:08 -0700)]
[2833] tightened param validation in zt config ctor with dedicated tests.
JINMEI Tatuya [Thu, 28 Mar 2013 02:50:52 +0000 (19:50 -0700)]
[2562] added a test case where zonemgr is not running when notify comes.
Mukund Sivaraman [Thu, 28 Mar 2013 02:48:35 +0000 (08:18 +0530)]
[2387] Unify code from MX constructors
This is an offshoot from #2391. There's no need to create yet another
ticket for it.
JINMEI Tatuya [Thu, 28 Mar 2013 02:48:37 +0000 (19:48 -0700)]
[2562] set want_answer to true in group_sendmsg() for notify handling.
without this we can't catch the case where zonemgr isn't running timely.
a unit test is updated to check that condition, too.
JINMEI Tatuya [Thu, 28 Mar 2013 02:47:07 +0000 (19:47 -0700)]
[2562] extended mock session to inspect last value of "want_answer"
also made some methods const member functions as they don't have to be
mutable.
Mukund Sivaraman [Thu, 28 Mar 2013 02:28:09 +0000 (07:58 +0530)]
[2387] Unify NSEC3PARAM string and lexer constructor tests
Mukund Sivaraman [Thu, 28 Mar 2013 02:08:38 +0000 (07:38 +0530)]
[2387] Remove some redundant variables that shadow the member variable
Mukund Sivaraman [Thu, 28 Mar 2013 01:48:06 +0000 (07:18 +0530)]
[2387] Rewrite unified NSEC3 tests using helper methods
JINMEI Tatuya [Tue, 19 Mar 2013 21:34:57 +0000 (14:34 -0700)]
[2833] introduced ZoneTableConfig
it's intended to be used as an interface between ClientList and
ZoneTableSegment.
JINMEI Tatuya [Mon, 18 Mar 2013 22:10:07 +0000 (15:10 -0700)]
[2833] refactoring: create ZoneTableSegment per data source.
in fact, we shouldn't have shared the same segment even before; the header
part should be created per data source. So this is actually a bug fix.
JINMEI Tatuya [Wed, 27 Mar 2013 22:33:21 +0000 (15:33 -0700)]
[2833] refactoring: extract MockDataSourceClient into a separate file
so it can be shared by multiple tests.
JINMEI Tatuya [Mon, 18 Mar 2013 22:06:01 +0000 (15:06 -0700)]
[2833] cleanup: removed now-unused declaration of ZoneTableSegment::create.
Paul Selkirk [Wed, 27 Mar 2013 15:25:50 +0000 (11:25 -0400)]
Merge branch 'trac1831'
Paul Selkirk [Wed, 27 Mar 2013 14:55:47 +0000 (10:55 -0400)]
Update ChangeLog for #2386 and #2391
Paul Selkirk [Wed, 27 Mar 2013 14:22:48 +0000 (10:22 -0400)]
Merge branch 'trac2391'
Michal 'vorner' Vaner [Wed, 27 Mar 2013 09:14:58 +0000 (10:14 +0100)]
Merge #2835
The interface to get cache properties from the client list.
Michal 'vorner' Vaner [Wed, 27 Mar 2013 09:10:48 +0000 (10:10 +0100)]
[2835] (minor) Docs, comments
JINMEI Tatuya [Wed, 27 Mar 2013 06:40:34 +0000 (23:40 -0700)]
[2562] (unrelated) added notes that rpcCall wouldn't work until #2804 is fixed.
so others won't waste their time by trying to use it...
same note applies to groupRecvMsg, so added the same note.
JINMEI Tatuya [Wed, 27 Mar 2013 06:33:20 +0000 (23:33 -0700)]
[2562] in processNotify, catch the "no recpt" case and log it at debug level.
the behavior itself is the same, but it suppresses noise level in case
it's intentional configuration. descriptions of other log messages in
this method were not really correct, so they were fixed, too.
also, it now asserts xfrin_session_ is non null; this should never be null
in the production code (even tests don't set it to null right now).
JINMEI Tatuya [Wed, 27 Mar 2013 06:27:38 +0000 (23:27 -0700)]
[2562] update notifyWithoutSession test for the case where zonemgr not running.
resetting "xfrin session" to NULL doesn't make much sense because it shouldn't
happen in production case, so I simply updated the existing test case
(and renamed it) rather than adding a new one.
JINMEI Tatuya [Wed, 27 Mar 2013 05:43:55 +0000 (22:43 -0700)]
[2835] style fix: name variables with lower+_ per convention
JINMEI Tatuya [Wed, 27 Mar 2013 05:39:55 +0000 (22:39 -0700)]
[2835] fixed a trivial typo
JINMEI Tatuya [Wed, 27 Mar 2013 03:51:25 +0000 (20:51 -0700)]
[2252] cleanup: removed unnecessary backslash
JINMEI Tatuya [Tue, 26 Mar 2013 22:49:57 +0000 (15:49 -0700)]
[2252] editorial cleanups: removed unnecessary backslash, combine short lines
JINMEI Tatuya [Tue, 26 Mar 2013 22:34:03 +0000 (15:34 -0700)]
[2252] explicitly check if something is None, not just eval it as boolean.
Mukund Sivaraman [Tue, 26 Mar 2013 14:27:48 +0000 (19:57 +0530)]
[2387] Update coding style
Mukund Sivaraman [Tue, 26 Mar 2013 14:26:58 +0000 (19:56 +0530)]
[2387] Rewrite unified tests using helper methods
Mukund Sivaraman [Tue, 26 Mar 2013 14:13:09 +0000 (19:43 +0530)]
[2387] Unify string and lexer constructor tests
Mukund Sivaraman [Tue, 26 Mar 2013 13:55:27 +0000 (19:25 +0530)]
[2387] Rearrange some code
Jelte Jansen [Tue, 26 Mar 2013 11:30:54 +0000 (12:30 +0100)]
[master] Update changelog for merge of #1086
Jelte Jansen [Tue, 26 Mar 2013 10:17:21 +0000 (11:17 +0100)]
[master] Merge branch 'trac1086'
Michal 'vorner' Vaner [Tue, 26 Mar 2013 09:13:29 +0000 (10:13 +0100)]
Merge branch 'master' of git+ssh://git.bind10.isc.org/var/bind10/git/bind10
Jelte Jansen [Tue, 26 Mar 2013 09:05:51 +0000 (10:05 +0100)]
[2790] Short-term workaround for the blocking read loop in zonemgr
In the end we'll need to address the threading model in zonemgr, but this should be a good short-term workaround for the problem.
Michal 'vorner' Vaner [Tue, 26 Mar 2013 08:45:53 +0000 (09:45 +0100)]
Merge #2737
Using of constants from proto_defs instead of hard-coded magic keywords.
Jelte Jansen [Tue, 26 Mar 2013 08:44:02 +0000 (09:44 +0100)]
[1086] Fix wrong addressformatter call
and add test for it
Mukund Sivaraman [Tue, 26 Mar 2013 04:51:17 +0000 (10:21 +0530)]
Merge branch 'trac2826'
Mukund Sivaraman [Tue, 26 Mar 2013 04:50:56 +0000 (10:20 +0530)]
[2826] Add note that the BIND 10 libraries' API/ABI may change
Paul Selkirk [Mon, 25 Mar 2013 19:11:20 +0000 (15:11 -0400)]
[2391] add afsdb to gen-rdatacode.py.in
Also fix typos in afsdb_18.cc doxygen comments.
Thomas Markwalder [Mon, 25 Mar 2013 17:14:39 +0000 (13:14 -0400)]
[2721] Added test of post Option6IA fetch in Dhcpv6SrvTest::checkIA_NA()
per review comments.
Michal 'vorner' Vaner [Mon, 25 Mar 2013 15:50:47 +0000 (16:50 +0100)]
[2738] Primitives of the low-level IPC
Jelte Jansen [Mon, 25 Mar 2013 15:27:28 +0000 (16:27 +0100)]
[master] Merge branch 'trac2583'
Mukund Sivaraman [Mon, 25 Mar 2013 14:45:36 +0000 (20:15 +0530)]
[2387] Add NSEC3PARAM test for bad base32 hex sequence
Thomas Markwalder [Mon, 25 Mar 2013 14:43:10 +0000 (10:43 -0400)]
Merge branch 'trac2789' - Addressed review comments
Mukund Sivaraman [Mon, 25 Mar 2013 14:39:52 +0000 (20:09 +0530)]
[2387] Add number vs non-number tests
Jeremy C. Reed [Mon, 25 Mar 2013 14:37:50 +0000 (09:37 -0500)]
[master] also have clean remove the python optimized byte-compiled file
It has been failing on distclean for around a week at least
due to file left around.
Newer python's keep under __pycache__ which was already handled.
Reviewed on jabber.
Jeremy C. Reed [Mon, 25 Mar 2013 14:36:15 +0000 (09:36 -0500)]
[master] clean also remove python optimized byte-compiled file
This is ticket http://bind10.isc.org/ticket/2747
It has been failing on distclean for long time
due to file left around.
Newer python's keep under __pycache__ which was already handled.
Reviewed on jabber.
Jeremy C. Reed [Mon, 25 Mar 2013 14:34:16 +0000 (09:34 -0500)]
[master] remove some python optimized byte-compiled files
msgq_run_test.py uses src/lib/python/isc/cc/proto_defs.py which
uses cc_generated version which created some .pyo files:
./src/lib/python/isc/cc/cc_generated/__init__.pyo
./src/lib/python/isc/cc/cc_generated/proto_defs.pyo
which are left over after distclean.
quick review via jabber
Thomas Markwalder [Mon, 25 Mar 2013 14:34:03 +0000 (10:34 -0400)]
[2789] Updated copyright dates.
Thomas Markwalder [Mon, 25 Mar 2013 14:03:54 +0000 (10:03 -0400)]
[2721] Updated copyright dates.
Mukund Sivaraman [Mon, 25 Mar 2013 13:42:30 +0000 (19:12 +0530)]
[2387] Use a slightly more efficent getString()
Thomas Markwalder [Mon, 25 Mar 2013 12:13:43 +0000 (08:13 -0400)]
[2721] Addressed review comments. Corrected spacing, function descriptions,
and replaced use of local variable tmp in checkNakResponse.
Thomas Markwalder [Mon, 25 Mar 2013 12:09:00 +0000 (08:09 -0400)]
Revert "[2721] Added unit test change comment"
This reverts commit
e07f341d540ce584b3edc424a8cf9a8f1b9a542c .
Thomas Markwalder [Mon, 25 Mar 2013 11:30:49 +0000 (07:30 -0400)]
[2789] Removed the private member, Pool6::prefix_len_. It was created
to support prefix delegation which has not been designed yet.
Mukund Sivaraman [Mon, 25 Mar 2013 10:40:08 +0000 (16:10 +0530)]
[2387] Support empty bitmaps in buildBitmapsFromLexer()
This avoids an extra ungetToken() and cuts down on some code too.
Mukund Sivaraman [Mon, 25 Mar 2013 10:19:44 +0000 (15:49 +0530)]
[2387] Add a code comment
Mukund Sivaraman [Mon, 25 Mar 2013 09:54:36 +0000 (15:24 +0530)]
[2387] Keep extracting strings until end-of-input, and throw otherwise
Michal 'vorner' Vaner [Mon, 25 Mar 2013 08:25:26 +0000 (09:25 +0100)]
[2737] Few more occurrences
Few more occurrences of the magic keywords scattered through the code
replaced by constants.
Mukund Sivaraman [Mon, 25 Mar 2013 07:50:06 +0000 (13:20 +0530)]
[2387] Unify constructor API documentation
JINMEI Tatuya [Fri, 22 Mar 2013 21:46:04 +0000 (14:46 -0700)]
[2252] folded long line, and a bit of doc clarification
JINMEI Tatuya [Fri, 22 Mar 2013 16:11:38 +0000 (09:11 -0700)]
[master] changelog for #1938
JINMEI Tatuya [Fri, 22 Mar 2013 15:56:40 +0000 (08:56 -0700)]
[master] Merge branch 'trac1938'
JINMEI Tatuya [Fri, 22 Mar 2013 15:53:28 +0000 (08:53 -0700)]
[1938] corrected a non-expected keyword in a lettuce test
(it didn't make sense before this branch, but now it could cause regression
as we remove the 'new' qualifier).
JINMEI Tatuya [Fri, 22 Mar 2013 15:35:58 +0000 (08:35 -0700)]
[master] Merge branch 'trac1938'
Jelte Jansen [Fri, 22 Mar 2013 15:19:41 +0000 (16:19 +0100)]
[2583] add LETTUCE_KEEP_OUTPUT options/env var
Michal 'vorner' Vaner [Fri, 22 Mar 2013 10:13:11 +0000 (11:13 +0100)]
[2835] Use string for segment type
Instead of hard-coded enum type. The data source should be agnostic to
the type.