]>
git.ipfire.org Git - thirdparty/kea.git/log
Stephen Morris [Mon, 10 Jun 2013 11:33:01 +0000 (12:33 +0100)]
[2974] CalloutManager now maintains c oncept of "current library"
The responsibility of maintaining this information has been moved
from the LibraryHandle. As a result, LibraryHandle is now a shell
providing a restricted access to the CalloutManager, ensuring that
callouts can only register/deregister callouts within their own
library.
Mukund Sivaraman [Mon, 10 Jun 2013 09:53:51 +0000 (15:23 +0530)]
[2968] Document the sed command
Stephen Morris [Mon, 10 Jun 2013 09:38:51 +0000 (10:38 +0100)]
[2974] Updated CalloutManager tests.
Mukund Sivaraman [Mon, 10 Jun 2013 08:32:23 +0000 (14:02 +0530)]
[2853] Update ZoneWriter documentation from C++ docs using doxygen XML output
Michal 'vorner' Vaner [Mon, 10 Jun 2013 08:12:37 +0000 (10:12 +0200)]
[2908] Minor: whitespace cleanup
Thomas Markwalder [Fri, 7 Jun 2013 20:54:14 +0000 (16:54 -0400)]
[2978] Split D2 logging up into base class log messages and DHCP-DDNS specific
log messages. Log name is also now "dctl".
Stephen Morris [Fri, 7 Jun 2013 16:34:06 +0000 (17:34 +0100)]
[2974] Split out CalloutManager and LibraryHandle into separate files
Stephen Morris [Fri, 7 Jun 2013 16:07:11 +0000 (17:07 +0100)]
[2974] Created CalloutManager
The LibraryHandleCollection, as a result of comments, has morphed
into the general class for handling callouts. This commit reflects
that change.
Thomas Markwalder [Fri, 7 Jun 2013 14:09:21 +0000 (10:09 -0400)]
[2972] Added explicit transaction start and commit to create schema
SQL statement. This corrects a MySQL flush timing issue that causes
the checkVersion unit test to fail under some Debian VMs.
Thomas Markwalder [Fri, 7 Jun 2013 12:41:55 +0000 (08:41 -0400)]
[master] Added entry 626, for trac2956.
Thomas Markwalder [Fri, 7 Jun 2013 12:36:25 +0000 (08:36 -0400)]
[master] Merge of 2956, missed module rename in spec file.
Stephen Morris [Fri, 7 Jun 2013 11:27:22 +0000 (12:27 +0100)]
[2974] ServerHooks::getIndex now throws an exception for unknown hook
Prior to this, if the hook name was invalid, an index of -1 was returned.
Thomas Markwalder [Fri, 7 Jun 2013 10:30:27 +0000 (06:30 -0400)]
[master] Merge branch 2956 which adds DControllerBase and D2Controller
classes to bin/src/D2.
Thomas Markwalder [Fri, 7 Jun 2013 10:22:44 +0000 (06:22 -0400)]
[2956] Re-review comment addressed. Restored "const" function type on
controller bool methods.
Mukund Sivaraman [Fri, 7 Jun 2013 07:45:28 +0000 (13:15 +0530)]
[2853] Add Python binding for getStatus() method
Mukund Sivaraman [Fri, 7 Jun 2013 07:23:14 +0000 (12:53 +0530)]
[2853] Return any error message returned by ZoneWriter::load()
Mukund Sivaraman [Fri, 7 Jun 2013 07:22:49 +0000 (12:52 +0530)]
[2853] Use Py_RETURN_NONE macro instead of returning PyNone directly
JINMEI Tatuya [Thu, 6 Jun 2013 23:48:20 +0000 (05:18 +0530)]
[2853] Add Doxyfile-xml
Mukund Sivaraman [Thu, 6 Jun 2013 23:45:15 +0000 (05:15 +0530)]
[2853] Skip running test_find_mapped() where shared memory is not available
Mukund Sivaraman [Thu, 6 Jun 2013 23:36:51 +0000 (05:06 +0530)]
[2853] Update comment
JINMEI Tatuya [Thu, 6 Jun 2013 23:34:01 +0000 (05:04 +0530)]
[2853] Make sure the ZoneWriter object is cleared before the mapfile is removed
Mukund Sivaraman [Thu, 6 Jun 2013 23:34:17 +0000 (05:04 +0530)]
Revert "[2853] Add another unittest (that crashes currently)"
This reverts commit
c5352f69e7fe7b9071066b4ce40d47c2d7948a1f .
JINMEI Tatuya [Thu, 6 Jun 2013 22:45:52 +0000 (04:15 +0530)]
[2853] Add another unittest (that crashes currently)
Mukund Sivaraman [Thu, 6 Jun 2013 22:45:21 +0000 (04:15 +0530)]
[2853] Acquire a ref on the ConfigurableClientList object when creating a ZoneWriter
This is so that the client list is kept alive as long as the ZoneWriter is.
JINMEI Tatuya [Thu, 6 Jun 2013 22:33:40 +0000 (15:33 -0700)]
[2853] removed unnecessary reinterpret_cast from the template output.
JINMEI Tatuya [Thu, 6 Jun 2013 22:32:01 +0000 (15:32 -0700)]
[2853] provided more helpful and detailed doc for doxygen2pydoc.py
Mukund Sivaraman [Thu, 6 Jun 2013 20:07:58 +0000 (01:37 +0530)]
[2853] Cleanup the mapped file after tests are run
JINMEI Tatuya [Thu, 6 Jun 2013 20:03:18 +0000 (01:33 +0530)]
[2853] Add the doxygen2pydoc.py tool
Mukund Sivaraman [Thu, 6 Jun 2013 19:51:25 +0000 (01:21 +0530)]
[2853] Wrap some long lines
Mukund Sivaraman [Thu, 6 Jun 2013 19:49:14 +0000 (01:19 +0530)]
[2853] Remove redundant code
Mukund Sivaraman [Thu, 6 Jun 2013 19:45:28 +0000 (01:15 +0530)]
[2853] Fix compile warnings
JINMEI Tatuya [Thu, 6 Jun 2013 19:44:42 +0000 (01:14 +0530)]
[2853] Use our regular CXXFLAGS when compiling Python bindings
JINMEI Tatuya [Thu, 6 Jun 2013 19:29:19 +0000 (12:29 -0700)]
[master] changelog for #2946
JINMEI Tatuya [Thu, 6 Jun 2013 19:18:04 +0000 (12:18 -0700)]
[master] Merge branch 'trac2964'
Mukund Sivaraman [Thu, 6 Jun 2013 19:16:36 +0000 (00:46 +0530)]
[2853] Add some more assertions
Mukund Sivaraman [Thu, 6 Jun 2013 19:13:43 +0000 (00:43 +0530)]
[2853] Call reset_memory_segment() again with READ_ONLY mode after using the ZoneWriter
JINMEI Tatuya [Thu, 6 Jun 2013 16:36:33 +0000 (09:36 -0700)]
[2853] make sure to return None (Py_None) for py methods returning None.
Thomas Markwalder [Thu, 6 Jun 2013 16:12:36 +0000 (12:12 -0400)]
[2956] Addtional review corrections.
Marcin Siodelski [Thu, 6 Jun 2013 14:28:53 +0000 (16:28 +0200)]
[2979] Update the current packet pointer when removing timed out packet.
perfdhcp tracks sent packets. If it finds timed out packet it is removed
from the list of sent packets. This change updates the internal pointer
tracking next packet for which response from a server is expected. When
this is not done, it may lead to use of pointer to the removed element
and crash.
Jeremy C. Reed [Thu, 6 Jun 2013 12:46:32 +0000 (07:46 -0500)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org//var/bind10/git/bind10
typos in ChangeLog fixed
Jeremy C. Reed [Thu, 6 Jun 2013 12:46:10 +0000 (07:46 -0500)]
[master] fix some misspelling typos
Mukund Sivaraman [Thu, 6 Jun 2013 11:34:09 +0000 (17:04 +0530)]
[2968] Split into multiple lines
Mukund Sivaraman [Thu, 6 Jun 2013 11:29:32 +0000 (16:59 +0530)]
[2968] Fix canonical schema generation to work with SQLite 3.7.17 output
Stephen Morris [Thu, 6 Jun 2013 11:14:20 +0000 (12:14 +0100)]
[2974] Added hook function registration code
Added HookRegistrationFunction class to allow hook registration
functions to registered with the relevant server.
Mukund Sivaraman [Thu, 6 Jun 2013 10:44:49 +0000 (16:14 +0530)]
[2853] Add a testcase using reset_memory_segment() and get_cached_zone_writer()
This test currently causes a segmentation fault. From a core,
it seems to be inside ZoneWriter::install(). See the lines which
modify that method as part of this commit. getHeader() segfaults.
Stephen Morris [Thu, 6 Jun 2013 09:53:18 +0000 (10:53 +0100)]
[2974] Removed library context area after review
The review correctly pointed out there there is no need for a
library-specific data area - the library can declare its own
global data. This change removed that section.
Yoshitaka Aharen [Thu, 6 Jun 2013 05:16:30 +0000 (14:16 +0900)]
[2796] compare with Opcode object instead of a numeric code
Yoshitaka Aharen [Thu, 6 Jun 2013 04:50:38 +0000 (13:50 +0900)]
[2796] revert
fdb231c partially: check for log messages
Make sure that Auth received 'getstats' command and replied to it.
Paul Selkirk [Thu, 6 Jun 2013 02:30:36 +0000 (22:30 -0400)]
[2908] numerous fixes from review
- remove ZoneTableIterator.next, is_last
- rename get_zone_table -> get_zone_table_accessor
- rename get_zones -> get_iterator
- allow get_zone_table_accessor(None) instead of "" for "any data source"
- add s_ZoneTableAccessor.base_obj to ensure in-order destruction
- get_current returns Name instead of string
- additional test cases for iterator
- general code cleanup and doc cleanup
Thomas Markwalder [Wed, 5 Jun 2013 19:01:24 +0000 (15:01 -0400)]
[2956] Changes to address review comments. Note that the module name is
now b10-dhcp-ddns.
Mukund Sivaraman [Wed, 5 Jun 2013 12:12:21 +0000 (17:42 +0530)]
[2853] Fix call
Mukund Sivaraman [Wed, 5 Jun 2013 12:12:08 +0000 (17:42 +0530)]
[2853] Initialize ZoneWriter module part
Mukund Sivaraman [Wed, 5 Jun 2013 11:51:18 +0000 (17:21 +0530)]
[2853] Add Python wrappers around ZoneWriter methods
Mukund Sivaraman [Wed, 5 Jun 2013 11:33:54 +0000 (17:03 +0530)]
[2853] Add Python wrapper for getCachedZoneWriter()
Mukund Sivaraman [Wed, 5 Jun 2013 10:58:36 +0000 (16:28 +0530)]
[2853] Wrap to 79 cols
Mukund Sivaraman [Wed, 5 Jun 2013 10:58:09 +0000 (16:28 +0530)]
[2853] Add shell of ZoneWriter class
In the context of Python bindings, ZoneWriter cannot be directly
constructed and must be obtained using getCachedZoneWriter() on a
ConfigurableClientList.
Mukund Sivaraman [Wed, 5 Jun 2013 10:38:27 +0000 (16:08 +0530)]
[2853] Use getCachedZoneWriter() in prepareCache()
Marcin Siodelski [Wed, 5 Jun 2013 07:22:34 +0000 (09:22 +0200)]
[master] Merge branch 'trac2987'
Paul Selkirk [Wed, 5 Jun 2013 06:14:33 +0000 (02:14 -0400)]
[2908] get_accessor -> get_zone_table, get_iterator -> get_zones
JINMEI Tatuya [Wed, 5 Jun 2013 05:44:58 +0000 (22:44 -0700)]
[master] trivial cleanup: removed b10-loadzone.py from .gitignore.
it's not generated anymore.
Paul Selkirk [Wed, 5 Jun 2013 05:38:13 +0000 (01:38 -0400)]
[2908] add Python wrappers for ZoneTableAccessor and friends
JINMEI Tatuya [Tue, 4 Jun 2013 23:40:15 +0000 (16:40 -0700)]
[2964] clarify ZoneJournalReader can be created from a separate thread.
JINMEI Tatuya [Tue, 4 Jun 2013 21:44:33 +0000 (14:44 -0700)]
[2964] update a comment, hopefully making it clearer
JINMEI Tatuya [Tue, 4 Jun 2013 21:41:28 +0000 (14:41 -0700)]
[2964] updated log and error messages in case of unknown datasrc.
JINMEI Tatuya [Tue, 4 Jun 2013 21:31:24 +0000 (14:31 -0700)]
[2964] corrected a minor typo in docstring
JINMEI Tatuya [Tue, 4 Jun 2013 21:29:29 +0000 (14:29 -0700)]
[2964] added thread-related note to xfrin_start()
JINMEI Tatuya [Tue, 4 Jun 2013 21:21:59 +0000 (14:21 -0700)]
[2964] updated comments on DataSrcClientsMgr.__map_lock
JINMEI Tatuya [Tue, 4 Jun 2013 21:15:41 +0000 (14:15 -0700)]
[2964] updated doc for DataSrcClientsMgr, mainly about thread considerations.
JINMEI Tatuya [Tue, 4 Jun 2013 20:51:08 +0000 (13:51 -0700)]
[2964] updated doc for loadzone -e so it more focuses on creating empty zone.
Marcin Siodelski [Tue, 4 Jun 2013 15:34:16 +0000 (17:34 +0200)]
[2987] Changes as a result of the review.
Mukund Sivaraman [Tue, 4 Jun 2013 05:47:26 +0000 (11:17 +0530)]
Merge branch 'trac2852_3'
Conflicts:
src/lib/datasrc/client_list.h
JINMEI Tatuya [Tue, 4 Jun 2013 05:38:56 +0000 (22:38 -0700)]
[2964] distcheck fix: use a local copy of datasrc.spec for tests.
JINMEI Tatuya [Tue, 4 Jun 2013 00:51:33 +0000 (17:51 -0700)]
[2964] updated guide regarding xfrin changes, especially initial setup.
JINMEI Tatuya [Tue, 4 Jun 2013 00:28:58 +0000 (17:28 -0700)]
[2964] (unrelated) cleanup: removed now-unused class attribute.
JINMEI Tatuya [Tue, 4 Jun 2013 00:28:37 +0000 (17:28 -0700)]
[2964] (unrelated) cleanup: removed the check for pydnspp module.
it doesn't make sense in practice and should better be cleaned up.
JINMEI Tatuya [Tue, 4 Jun 2013 00:11:10 +0000 (17:11 -0700)]
[2964] cleanup: removed any reference to db_file command params
JINMEI Tatuya [Tue, 4 Jun 2013 00:04:21 +0000 (17:04 -0700)]
[2964] cleanup: remove any reference to auth/database_file config.
JINMEI Tatuya [Tue, 4 Jun 2013 00:00:40 +0000 (17:00 -0700)]
[2964] make sure to catch exception from DataSrcClientsMgr.reconfigure.
JINMEI Tatuya [Mon, 3 Jun 2013 23:36:21 +0000 (16:36 -0700)]
[2964] updated _get_zone_soa so it won't auto create a new zone anymore.
test cases were adjusted. in particular, test_do_axfrin_nozone_sqlite3
was simply removed; it's okay as it only intended to the old behavior
itself.
JINMEI Tatuya [Mon, 3 Jun 2013 23:14:09 +0000 (16:14 -0700)]
[2964] use DataSrcClientsMgr to identify the data source for xfr.
from this point, xfrin stops auto-create a new zone; the admin must explicitly
create empty zone using b10-loadzone -e.
JINMEI Tatuya [Mon, 3 Jun 2013 22:09:16 +0000 (15:09 -0700)]
[2964] added helper python module DataSrcClientsMgr.
JINMEI Tatuya [Mon, 3 Jun 2013 20:53:52 +0000 (13:53 -0700)]
[2964] before intial 'retransfer', make sure create an empty zone w/ loadzone
this is a backward compatible change, and is currently no-op in effect, but
will be crucial with main changes of this branch that are coming.
JINMEI Tatuya [Mon, 3 Jun 2013 20:26:30 +0000 (13:26 -0700)]
[2964] added -e (empty zone) option to b10-loadzone.
it'll soon be impossible to assume a specific data source for the very
initial transfer, we need to extract the zone creation part from b10-xfrin
(which should be the right course anyway). the new loadzone option is
my proposed way to do this. I think this option itself is of some use, too.
JINMEI Tatuya [Mon, 3 Jun 2013 19:58:53 +0000 (12:58 -0700)]
[master] changelog for #1622
JINMEI Tatuya [Mon, 3 Jun 2013 19:53:45 +0000 (12:53 -0700)]
[master] Merge branch 'trac1622'
Marcin Siodelski [Mon, 3 Jun 2013 16:24:03 +0000 (18:24 +0200)]
[2987] Fixed issues reported by valgrind in libdhcp++.
Michal 'vorner' Vaner [Mon, 3 Jun 2013 12:05:13 +0000 (14:05 +0200)]
[2292] Unrelated: fix possible in None bug (not reproduced)
In case the EINTR would happen, the reads variable would contain None,
making the in operator fail.
Michal 'vorner' Vaner [Mon, 3 Jun 2013 12:02:12 +0000 (14:02 +0200)]
[2292] Unrelated: remove unused import
Michal 'vorner' Vaner [Mon, 3 Jun 2013 12:01:30 +0000 (14:01 +0200)]
[2292] Send the notifications
Also, make sure we don't block long time on a function holding a mutex.
We use select for that.
Mukund Sivaraman [Mon, 3 Jun 2013 11:45:13 +0000 (17:15 +0530)]
[2852] Parameterize ListTest.* and run it with both local and memory segments
Also make the memory segment tests run only where shared memory is available.
Mukund Sivaraman [Mon, 3 Jun 2013 11:11:39 +0000 (16:41 +0530)]
[2852] Rename local variable (don't use member variable syntax)
Mukund Sivaraman [Mon, 3 Jun 2013 11:11:11 +0000 (16:41 +0530)]
[2852] Delete DataSourceClient objects before clearing the vector
Michal 'vorner' Vaner [Mon, 3 Jun 2013 11:05:05 +0000 (13:05 +0200)]
[2922] Tests for sending notifications
Checking there are no problems with threads (and it seems there are).
Mukund Sivaraman [Mon, 3 Jun 2013 09:12:51 +0000 (14:42 +0530)]
[master] Update .gitignore files
Mukund Sivaraman [Mon, 3 Jun 2013 08:57:40 +0000 (14:27 +0530)]
Merge branch 'trac2850_4'
Conflicts:
src/lib/datasrc/memory/zone_table.cc
src/lib/datasrc/memory/zone_writer.cc
src/lib/datasrc/memory/zone_writer.h
JINMEI Tatuya [Mon, 3 Jun 2013 05:43:21 +0000 (11:13 +0530)]
[2850] Handle MemorySegmentGrown when creating the segment object holder
JINMEI Tatuya [Mon, 3 Jun 2013 05:41:43 +0000 (11:11 +0530)]
[2850] Assert that the segment is not grown during allMemoryDeallocated()
Thomas Markwalder [Sun, 2 Jun 2013 11:49:04 +0000 (07:49 -0400)]
[2956] Created the initial, implementation of DHCP-DDNS service controller
class, D2Controller, the base class DControllerBase, and unit tests.
JINMEI Tatuya [Sat, 1 Jun 2013 00:39:38 +0000 (17:39 -0700)]
[2964] refactoring: create datasrc_client before starting session thread.
we're going to use stored client retrieved from a client list. at that point
we need to ensure zone finders are only used by a single thread (updaters can
run concurrently by multiple threads).
no behavior change.
Michal 'vorner' Vaner [Fri, 31 May 2013 10:47:18 +0000 (12:47 +0200)]
[2922] Send notifications on implicit unsubscribe