]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Wed, 1 May 2013 08:41:25 +0000 (14:11 +0530)]
[2850] Test resetting a ZoneTableSegmentMapped in READ_WRITE mode when the file exists
Mukund Sivaraman [Wed, 1 May 2013 08:12:10 +0000 (13:42 +0530)]
[2850] Add API documentation
Mukund Sivaraman [Wed, 1 May 2013 05:04:14 +0000 (10:34 +0530)]
[2850] Define and implement ZoneTableSegmentMapped
Mukund Sivaraman [Wed, 1 May 2013 05:03:41 +0000 (10:33 +0530)]
[2850] Add ZoneTableSegment::isWritable() method
Mukund Sivaraman [Wed, 1 May 2013 04:38:35 +0000 (10:08 +0530)]
[1909] Move sqlite3 check to m4macros/ dir
JINMEI Tatuya [Wed, 1 May 2013 03:37:47 +0000 (20:37 -0700)]
[2906] a bit more comment about test setup
JINMEI Tatuya [Wed, 1 May 2013 03:34:13 +0000 (20:34 -0700)]
[2906] some more comments about ZoneSpec::index.
JINMEI Tatuya [Wed, 1 May 2013 03:17:48 +0000 (20:17 -0700)]
[2906] added zone table accessor implementations
JINMEI Tatuya [Tue, 30 Apr 2013 22:10:08 +0000 (15:10 -0700)]
[2903] corrected a minor typo in doxygen doc
JINMEI Tatuya [Tue, 30 Apr 2013 18:21:16 +0000 (11:21 -0700)]
[2903] largely updated close() related log messages
providing more detailed explanations in some cases, revisiting message ID
to be more concise and appropriate. reconsider one log level.
Marcin Siodelski [Tue, 30 Apr 2013 17:38:18 +0000 (19:38 +0200)]
[2902] Corrected some doxygen errors.
JINMEI Tatuya [Tue, 30 Apr 2013 17:05:26 +0000 (10:05 -0700)]
[2903] explicitly initialize a couple of member variables of SyncUDPServer.
it shouldn't have caused a real trouble because of how they are used,
but style-wise it's cleaner, and it suppresses warning from static analyzers.
Marcin Siodelski [Tue, 30 Apr 2013 16:32:58 +0000 (18:32 +0200)]
[2902] Include in_systm.h when ip.h is included.
If in_systm.h is not included before ip.h it will cause compilation error
on NetBSD and OpenBSD. Compiler will complain that n_time is undefined
but used in ip.h.
Marcin Siodelski [Tue, 30 Apr 2013 15:49:56 +0000 (17:49 +0200)]
[2902] Cleanup in comments.
Michal 'vorner' Vaner [Tue, 30 Apr 2013 15:06:59 +0000 (17:06 +0200)]
[2836] Minor docs fixes
Stephen Morris [Tue, 30 Apr 2013 12:57:22 +0000 (13:57 +0100)]
[2467] Miscellaneous minor changes as a result of review
Marcin Siodelski [Tue, 30 Apr 2013 10:41:17 +0000 (12:41 +0200)]
[2902] Source HW address is an interface MAC address.
Marcin Siodelski [Tue, 30 Apr 2013 10:07:23 +0000 (12:07 +0200)]
[2902] Use default HW address if not specified.
Marcin Siodelski [Tue, 30 Apr 2013 09:12:22 +0000 (11:12 +0200)]
[2902] Pass packet object to the function creating ethernet header.
Mukund Sivaraman [Tue, 30 Apr 2013 08:11:14 +0000 (13:41 +0530)]
[1909] Check for presence of sqlite3 program before using it
JINMEI Tatuya [Tue, 30 Apr 2013 07:11:56 +0000 (00:11 -0700)]
[2823] renamed b10-XXX_test to XXX_test, for consistency with other test files
JINMEI Tatuya [Tue, 30 Apr 2013 07:10:08 +0000 (00:10 -0700)]
[2823] renamed "SimpleXXX" classes to "MyXXX", as they are not really simple.
JINMEI Tatuya [Tue, 30 Apr 2013 07:07:11 +0000 (00:07 -0700)]
[2823] removed thread-related beasts from utils.py. they are now unused.
Michal 'vorner' Vaner [Tue, 30 Apr 2013 07:06:46 +0000 (09:06 +0200)]
Merge #2871
Fake work for resolution models testing.
(The correct version of branch now)
Michal 'vorner' Vaner [Tue, 30 Apr 2013 07:05:34 +0000 (09:05 +0200)]
Revert "Merge #2871"
This reverts commit
33e10c84c8b6ab274c157816ba81e6d2fc8ba628 , reversing
changes made to
3a382331f1308099930d6b653dd6d11b70da8e22 .
Revert the merge of wrong version of branch.
Michal 'vorner' Vaner [Tue, 30 Apr 2013 06:56:22 +0000 (08:56 +0200)]
Merge #2871
Fake work for resolution models testing.
JINMEI Tatuya [Tue, 30 Apr 2013 06:47:34 +0000 (23:47 -0700)]
[master] update AC_MSG_ERROR about shared memory support with disabling switch.
JINMEI Tatuya [Tue, 30 Apr 2013 06:40:22 +0000 (23:40 -0700)]
[2823] re-enable w/o from_source test, adjusted test_init_hterr accordingly.
see the added comments about the issue.
Naoki Kambe [Tue, 30 Apr 2013 06:30:46 +0000 (15:30 +0900)]
[2252] add exceptional cases for checking initial statistics of Xfrout
.Xfrout.socket.unixdomain.open should be 1 immediately after Xfrout started.
But Stats could not have the latest statistics of Xfrout if it requests until
Xfrout is ready for accepting a statistics request from Stats. Thus in that
case, Stats would show that .Xfrout.socket.unixdomain.open is 1. For checking
exactly that .Xfrout.socket.unixdomain.open is 1 here, it waits for the second
time until Stats requests all modules which are Auth, Init, and Xfrout. The
Stats configuration "poll-interval" is changed to one second so that timeout in
the lettuce test is avoided.
JINMEI Tatuya [Tue, 30 Apr 2013 06:23:32 +0000 (23:23 -0700)]
[2823] updated command/config tests for stats httpd using new mock class.
JINMEI Tatuya [Tue, 30 Apr 2013 06:20:02 +0000 (23:20 -0700)]
[2823] updated open_template test for stats httpd with new mock class
JINMEI Tatuya [Tue, 30 Apr 2013 06:00:36 +0000 (23:00 -0700)]
[2823] updated nofailure_with_errno_EINTR stats httpd test with new mock.
also prevented open sockets leaving open at the of tests (for supressing
warnings)
Mukund Sivaraman [Tue, 30 Apr 2013 05:48:57 +0000 (11:18 +0530)]
[2850] Make getZoneWriter() non-virtual
This also makes ZoneWriter a concrete class (and removes
ZoneWriterLocal).
JINMEI Tatuya [Tue, 30 Apr 2013 05:11:00 +0000 (22:11 -0700)]
[2823] updated select_error test for stats httpd using new mock class
JINMEI Tatuya [Tue, 30 Apr 2013 05:02:08 +0000 (22:02 -0700)]
[master] Merge branch 'trac2831'
Mukund Sivaraman [Tue, 30 Apr 2013 04:59:53 +0000 (10:29 +0530)]
Merge remote-tracking branch 'origin/trac2831' into trac2850_2
JINMEI Tatuya [Tue, 30 Apr 2013 04:18:20 +0000 (21:18 -0700)]
[2823] updated running test for stats httpd using the new mock class.
this case is a bit tricky. we need to fake select.select() and delegate
test sub test cases (about command handling) to specific test cases;
other than that the sense of the test should be preserved.
for clarity the failure case was extracted into a separate test method.
JINMEI Tatuya [Tue, 30 Apr 2013 03:42:58 +0000 (20:42 -0700)]
[2823] updated httpd_xxx tests for stats httpd using new mock class.
Naoki Kambe [Tue, 30 Apr 2013 01:49:39 +0000 (10:49 +0900)]
[2252] update description of xfrsuccess to the same one as the man doc
JINMEI Tatuya [Tue, 30 Apr 2013 00:51:08 +0000 (17:51 -0700)]
[2823] updtaed stats-httpd mccs test using new mock class
JINMEI Tatuya [Tue, 30 Apr 2013 00:48:51 +0000 (17:48 -0700)]
[2823] updated openclose_mccs test for stats httpd using the new mock class
JINMEI Tatuya [Tue, 30 Apr 2013 00:40:15 +0000 (17:40 -0700)]
[2823] updated init_hterr test for stats httpd using the new mock class
JINMEI Tatuya [Tue, 30 Apr 2013 00:32:54 +0000 (17:32 -0700)]
[2823] updated TestStatsHttpd init test without using threads.
some asserts were simplified at an (I hope) acceptable level. In particular,
I didn't think we need to check the response from CfgMgr: it should be more
than enough if the module name is the expected one.
JINMEI Tatuya [Tue, 30 Apr 2013 00:06:16 +0000 (17:06 -0700)]
[2823] updated TestHttpHandler using new mock httpd class.
it now doesn't depend on the clumsy thread stuff (except for http server
and client).
JINMEI Tatuya [Tue, 30 Apr 2013 00:03:03 +0000 (17:03 -0700)]
[2823] introduced "SimpleStatsHttpd" mock class.
JINMEI Tatuya [Mon, 29 Apr 2013 23:28:43 +0000 (16:28 -0700)]
[2903] updated coment about SyncUDPServer::answer_.
JINMEI Tatuya [Mon, 29 Apr 2013 23:00:57 +0000 (16:00 -0700)]
[2903] logged other errors from asio.
JINMEI Tatuya [Mon, 29 Apr 2013 21:39:32 +0000 (14:39 -0700)]
[2903] clarified one case after YIELD where the error shouldn't happen.
use assert() rather than ignoring it; we should be able to assert it safely
in this case.
JINMEI Tatuya [Mon, 29 Apr 2013 21:05:44 +0000 (14:05 -0700)]
[2903] added more detailed explanation of when post() can throw
Marcin Siodelski [Mon, 29 Apr 2013 17:42:58 +0000 (19:42 +0200)]
[2902] Do not swap local and remote HW address when sending response.
JINMEI Tatuya [Mon, 29 Apr 2013 17:22:43 +0000 (10:22 -0700)]
[2521] style cleanup: removed a space after EOL
Marcin Siodelski [Mon, 29 Apr 2013 17:05:22 +0000 (19:05 +0200)]
[2902] Set valid destination HW address when replying to the DHCP4 client.
Marcin Siodelski [Mon, 29 Apr 2013 15:26:49 +0000 (17:26 +0200)]
[2902] Added data fields storing src/dest HW Address in Pkt4 class.
Marcin Siodelski [Mon, 29 Apr 2013 11:16:45 +0000 (13:16 +0200)]
[2902] Corrected error in the namespace name.
Marcin Siodelski [Mon, 29 Apr 2013 11:15:11 +0000 (13:15 +0200)]
[2902] LPF: receive DHCP traffic only.
Marcin Siodelski [Mon, 29 Apr 2013 09:00:22 +0000 (11:00 +0200)]
[2902] Direct traffic is optional in the Dhcp4Srv to allow unit testing.
Mukund Sivaraman [Mon, 29 Apr 2013 07:41:37 +0000 (13:11 +0530)]
[2831] Make a minor comment update about additional case
JINMEI Tatuya [Sat, 27 Apr 2013 03:22:58 +0000 (20:22 -0700)]
[2823] completely get rid of threads from stats tests.
test_command_show and test_polling cases were a bit tricky.
they are now separated into several independent sub tests, and in each case
we use faked data that would be provided as if they came from other modules.
JINMEI Tatuya [Fri, 26 Apr 2013 21:39:13 +0000 (14:39 -0700)]
[2903] make some more repeatedly-used variables class members.
this will be slightly more efficient as we can avoid construction overhead
per call. also use asio::mutable_buffers_1() instead of asio::buffer();
the latter is a wrapper for the former, so the direct call should be
(in theory) more efficient.
Paul Selkirk [Fri, 26 Apr 2013 19:31:46 +0000 (15:31 -0400)]
[2521] remove erroneous whitespace in RRCollator test data
Paul Selkirk [Fri, 26 Apr 2013 19:29:08 +0000 (15:29 -0400)]
[2521] more DHCID unit tests
Marcin Siodelski [Fri, 26 Apr 2013 17:52:27 +0000 (19:52 +0200)]
[2902] Fixed remote address setting in the unit tests.
Marcin Siodelski [Fri, 26 Apr 2013 17:13:15 +0000 (19:13 +0200)]
[2902] Added missing headers.
JINMEI Tatuya [Fri, 26 Apr 2013 16:28:14 +0000 (09:28 -0700)]
[master] changelog for #2712
JINMEI Tatuya [Fri, 26 Apr 2013 16:11:52 +0000 (09:11 -0700)]
[master] Merge branch 'trac2712'
Marcin Siodelski [Fri, 26 Apr 2013 14:48:59 +0000 (16:48 +0200)]
[2902] Do not allow to set new packet filter when there are sockets open.
Marcin Siodelski [Fri, 26 Apr 2013 12:36:56 +0000 (14:36 +0200)]
[2902] Implemented selective closure of sockets (e.g. only v4 sockets).
Michal 'vorner' Vaner [Fri, 26 Apr 2013 08:13:48 +0000 (10:13 +0200)]
Merge #2738
Clarify high-level design of IPC
Michal 'vorner' Vaner [Fri, 26 Apr 2013 08:13:21 +0000 (10:13 +0200)]
[2738] Minor wording fixes.
JINMEI Tatuya [Fri, 26 Apr 2013 07:49:20 +0000 (00:49 -0700)]
[2903] more documentation updates
JINMEI Tatuya [Fri, 26 Apr 2013 07:19:14 +0000 (00:19 -0700)]
[2903] more cleanups for SyncUDPServer: avoid constructing objs for each cback.
JINMEI Tatuya [Fri, 26 Apr 2013 06:33:19 +0000 (23:33 -0700)]
[master] changelog for #2887
JINMEI Tatuya [Fri, 26 Apr 2013 06:22:52 +0000 (23:22 -0700)]
[master] Merge branch 'trac2887'
Naoki Kambe [Fri, 26 Apr 2013 06:07:18 +0000 (15:07 +0900)]
[2252] Merge branch 'master' of git://git.bind10.isc.org/bind10 into trac2252
Conflicts:
tests/lettuce/features/xfrin_notify_handling.feature
Paul Selkirk [Fri, 26 Apr 2013 05:18:52 +0000 (01:18 -0400)]
[2521] RFC4034 only allows unsigned int in the RRSIG Original TTL field
Paul Selkirk [Fri, 26 Apr 2013 04:15:32 +0000 (00:15 -0400)]
[2521] more RRSIG unit tests
JINMEI Tatuya [Fri, 26 Apr 2013 04:09:43 +0000 (21:09 -0700)]
[2903] further simplify SyncUDPServer: now remove checkin and answer callbacks.
Its constructor and member variables are also simplified accordingly.
Naoki Kambe [Fri, 26 Apr 2013 02:28:57 +0000 (11:28 +0900)]
[2252] adjust lettuce tests; xfrin_notify_handling.feature
The defect #2879 has been fixed (merged into the master branch). So
cares for that would be no more needed if this branch is merged. The
counters are adjusted to correct and the notes are removed.
Naoki Kambe [Fri, 26 Apr 2013 02:08:51 +0000 (11:08 +0900)]
[2252] replace ending tags
Paul Selkirk [Fri, 26 Apr 2013 01:44:49 +0000 (21:44 -0400)]
[2521] Handle space-separated base-64 digest in DHCID, per Jinmei's review.
Also added more DHCID base-64 unittest cases.
Paul Selkirk [Fri, 26 Apr 2013 01:40:57 +0000 (21:40 -0400)]
[2521] Rearrange RRSIG parser error handling, per Jinmei's review.
Also handle space-separated base-64 in RRSIG signature field.
Also add more RRSIG unittest cases.
Paul Selkirk [Fri, 26 Apr 2013 00:38:13 +0000 (20:38 -0400)]
[2521] doc cleanup for OPT, per Jinmei's review
JINMEI Tatuya [Fri, 26 Apr 2013 00:02:00 +0000 (17:02 -0700)]
[2903] more simplify SyncUDPServer: don't use checkin_callback.
JINMEI Tatuya [Thu, 25 Apr 2013 23:48:01 +0000 (16:48 -0700)]
[2903] more (unrelated) cleanups for SyncUDPServer, removing dead code.
also, it now rejects NULL lookup callback explicitly as it doesn't make
sense for this class. It will also help make the receive handler code
simpler.
JINMEI Tatuya [Thu, 25 Apr 2013 23:16:27 +0000 (16:16 -0700)]
[2903] an unrelated small optimization: use const_buffers_1 for send.
asio::buffer is internally converted to this form, so this is (in theory)
more efficient.
JINMEI Tatuya [Thu, 25 Apr 2013 23:09:44 +0000 (16:09 -0700)]
[2903] same change as the previous commit for SyncUDPServer.
also made some other small cleanups.
JINMEI Tatuya [Thu, 25 Apr 2013 22:56:00 +0000 (15:56 -0700)]
[2903] make sure UDPServer don't die due to a failure of close().
also don't stop receiving due to errors from async_receive_from().
some other minor cleanups are made too.
JINMEI Tatuya [Thu, 25 Apr 2013 21:01:46 +0000 (14:01 -0700)]
[2712] updated docstring for ignore_failure so it'll be less confusing.
JINMEI Tatuya [Thu, 25 Apr 2013 20:56:49 +0000 (13:56 -0700)]
[2712] corrected a typo in a comment line.
JINMEI Tatuya [Thu, 25 Apr 2013 20:54:40 +0000 (13:54 -0700)]
[2712] removed a meaningless test case.
it's a leftover of an intermediate attempt of testing the case; on a closer
look, testing send_command turned out to be better and sufficient.
JINMEI Tatuya [Thu, 25 Apr 2013 20:38:32 +0000 (13:38 -0700)]
[master] changelog for #2879
JINMEI Tatuya [Thu, 25 Apr 2013 20:33:15 +0000 (13:33 -0700)]
[master] Merge branch 'trac2879'
JINMEI Tatuya [Thu, 25 Apr 2013 20:32:35 +0000 (13:32 -0700)]
[2879] tweak docstring wording as suggested in review
JINMEI Tatuya [Thu, 25 Apr 2013 20:25:39 +0000 (13:25 -0700)]
[2252] suggested clarification on xfrsuccess in case of "uptodate"
JINMEI Tatuya [Thu, 25 Apr 2013 19:28:57 +0000 (12:28 -0700)]
[2252] style nit: unify short lines
Marcin Siodelski [Thu, 25 Apr 2013 18:42:53 +0000 (20:42 +0200)]
[2902] Do not use the broadcast address as source in server's response.
Marcin Siodelski [Thu, 25 Apr 2013 17:32:28 +0000 (19:32 +0200)]
[2902] DHCPv4 server will try to use 'direct response' feature if possible.
Michal 'vorner' Vaner [Thu, 25 Apr 2013 13:07:35 +0000 (15:07 +0200)]
[2738] Describe behavior of clients
Michal 'vorner' Vaner [Thu, 25 Apr 2013 12:06:47 +0000 (14:06 +0200)]
[2738] Some wording & clarifications
Michal 'vorner' Vaner [Thu, 25 Apr 2013 11:37:02 +0000 (13:37 +0200)]
[2738] Clarify blocking & fast operations