]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Sun, 7 Jul 2013 06:50:20 +0000 (12:20 +0530)]
[3040] Fix PlantUML class diagram syntax
This is so that auto-layout is done fully (and looks better than before,
and more importantly, doesn't hang PlantUML in some extreme cases due to
incorrect syntax). The update was suggested by PlantUML developers.
Mukund Sivaraman [Mon, 8 Jul 2013 02:49:31 +0000 (08:19 +0530)]
[3039] Detect build failures due to BOOST_STATIC_ASSERT during configure
Kazunori Fujiwara [Mon, 8 Jul 2013 02:43:54 +0000 (11:43 +0900)]
[3015] Rewrote to use boost::lexical cast to convert string to values
Mukund Sivaraman [Mon, 8 Jul 2013 02:35:59 +0000 (08:05 +0530)]
[3039] Fix name of test variable
Tomek Mrugalski [Fri, 5 Jul 2013 18:24:52 +0000 (20:24 +0200)]
[2995] Merge branch 'trac2980' into trac2995
- Also code updated to match changes from 2980
Conflicts:
src/lib/hooks/callout_handle.h
Mukund Sivaraman [Fri, 5 Jul 2013 13:15:05 +0000 (18:45 +0530)]
[master] Don't buffer anything in Popen()
Marcin Siodelski [Fri, 5 Jul 2013 12:47:05 +0000 (14:47 +0200)]
[2977] Addressed review comments.
In particular, added a doUpdate version which supports TSIG. It is also
possible to specify Transport layer protocol preferred.
Tomek Mrugalski [Fri, 5 Jul 2013 12:23:17 +0000 (14:23 +0200)]
[2995] First set of changes after review.
Mukund Sivaraman [Fri, 5 Jul 2013 11:21:47 +0000 (16:51 +0530)]
[2856] Add "load" command handler
Mukund Sivaraman [Fri, 5 Jul 2013 11:10:32 +0000 (16:40 +0530)]
[2856] Pass tuples in the command queue
Mukund Sivaraman [Fri, 5 Jul 2013 11:08:25 +0000 (16:38 +0530)]
[2856] Move command handlers into their own methods
Mukund Sivaraman [Fri, 5 Jul 2013 11:07:44 +0000 (16:37 +0530)]
[2856] Extend SegmentInfo and add some basic tests
This is according to the description in #2856, but it needs further
testing and also documentation. These will be added in future commits
after handling "load" command in the MemorySegmentBuilder.
Paul Selkirk [Fri, 5 Jul 2013 02:51:21 +0000 (22:51 -0400)]
[master] Merge branch 'trac2967'
Stephen Morris [Thu, 4 Jul 2013 11:53:09 +0000 (12:53 +0100)]
[2980] Made LibraryHandle copy constructor and assignment operator private.
This reduces the risk of someone taking a copy and being left with
a "dangling pointer" to a callout manager.
Stephen Morris [Thu, 4 Jul 2013 11:24:47 +0000 (12:24 +0100)]
[2980] Final set of changes resulting from the first review
Michal 'vorner' Vaner [Thu, 4 Jul 2013 10:04:59 +0000 (12:04 +0200)]
[2861] Handle the callbacks
Michal 'vorner' Vaner [Thu, 4 Jul 2013 09:18:03 +0000 (11:18 +0200)]
[2861] Create a socket pair
Michal 'vorner' Vaner [Thu, 4 Jul 2013 08:50:12 +0000 (10:50 +0200)]
[2861] Test the main thread part of callbacks
Marcin Siodelski [Thu, 4 Jul 2013 08:20:56 +0000 (10:20 +0200)]
[2977] Disable logger initialization in the D2 controller when unit testing
When logger initialization was disabled for a unit test, a few NULL pointer
assertions came up. This was because, some module commands were executed
without arguments (NULL pointer objects). NULL pointers were not checked
before logging arguments. This led to assertions. NULL pointers are now
checked and "(no arg)" string is logged if present.
Michal 'vorner' Vaner [Thu, 4 Jul 2013 07:40:59 +0000 (09:40 +0200)]
Merge #2931
Receiving notifications in python
Marcin Siodelski [Thu, 4 Jul 2013 06:41:33 +0000 (08:41 +0200)]
[2977] Log debug message if the received DNS Update response is invalid.
Marcin Siodelski [Thu, 4 Jul 2013 06:40:33 +0000 (08:40 +0200)]
[2977] Fixed a typo in unit test DNSClient unit test.
Naoki Kambe [Thu, 4 Jul 2013 02:02:42 +0000 (11:02 +0900)]
[master] Add ChangeLog for #2884
Naoki Kambe [Thu, 4 Jul 2013 01:55:43 +0000 (10:55 +0900)]
[master] Merge branch 'trac2884'
Paul Selkirk [Wed, 3 Jul 2013 22:16:11 +0000 (18:16 -0400)]
[2967] refactoring: get rid of embedded format_zone_str()
Paul Selkirk [Wed, 3 Jul 2013 22:06:45 +0000 (18:06 -0400)]
[2967] update
f623694 : override SOA rdata rather than find() method
Mukund Sivaraman [Wed, 3 Jul 2013 21:44:10 +0000 (03:14 +0530)]
[master] Add missing include to fix build error
Mukund Sivaraman [Wed, 3 Jul 2013 21:42:36 +0000 (03:12 +0530)]
[master] Fix cppcheck report about inefficient code
Thomas Markwalder [Wed, 3 Jul 2013 20:17:58 +0000 (16:17 -0400)]
[master] Merge branch 'trac3030'. Fixes link issue on some systems
caused by merge of trac3007.
Thomas Markwalder [Wed, 3 Jul 2013 20:14:03 +0000 (16:14 -0400)]
[3030] Removed #if 0s, that should not have been in there.
Thomas Markwalder [Wed, 3 Jul 2013 19:24:30 +0000 (15:24 -0400)]
[3030] Replaced use of boost::posix_time with isc::util::time_utilities.
Stephen Morris [Wed, 3 Jul 2013 19:13:39 +0000 (20:13 +0100)]
[2980] Various changes as a result of review
Stephen Morris [Wed, 3 Jul 2013 12:58:54 +0000 (13:58 +0100)]
[2980] Updated as a result of the second part of the review.
Marcin Siodelski [Wed, 3 Jul 2013 11:15:42 +0000 (13:15 +0200)]
[2977] Implemented tests covering concurrent DNSUpdate send.
Marcin Siodelski [Wed, 3 Jul 2013 09:48:01 +0000 (11:48 +0200)]
[2977] Separated DNSClient interface from implementation.
Michal 'vorner' Vaner [Wed, 3 Jul 2013 08:30:51 +0000 (10:30 +0200)]
[2861] interface: Add IOService parameter to the manager
It'll be needed to watch over the descriptor. Added one from the real
server, and added a trick to provide one automatically in the tests.
Kazunori Fujiwara [Wed, 3 Jul 2013 08:08:12 +0000 (17:08 +0900)]
[3015] Type of IntElement is changed from long int to int64_t.
Element::create accepts char, short, int, long, long long, int32_t and int64_t.
IntElement->intValue() returns int64_t.
IntElement->getValue() and IntElement->setValue() accept int64_t only.
Naoki Kambe [Wed, 3 Jul 2013 06:15:22 +0000 (15:15 +0900)]
[2884] add a note for _add_counter()
Naoki Kambe [Wed, 3 Jul 2013 04:32:02 +0000 (13:32 +0900)]
[2884] s/TEST_RRCLASS.to_text()/TEST_RRCLASS_STR/g
Naoki Kambe [Wed, 3 Jul 2013 04:24:38 +0000 (13:24 +0900)]
[2884] do not reuse the string of format
for avoiding an unexpected behavior if '%s' or some special character for
python formatting is included in the examined string.
Naoki Kambe [Wed, 3 Jul 2013 04:18:31 +0000 (13:18 +0900)]
[2884] s/class name/RR class name/ig
Paul Selkirk [Tue, 2 Jul 2013 23:12:34 +0000 (19:12 -0400)]
[2967] increase NO_SOA logging message level to 'warn'
Paul Selkirk [Tue, 2 Jul 2013 23:11:03 +0000 (19:11 -0400)]
[2967] cleanup: remove unneeded parentheses in conditionals
Paul Selkirk [Tue, 2 Jul 2013 23:09:20 +0000 (19:09 -0400)]
[2967] cleanup: remove unneeded line continuation backslashes
Paul Selkirk [Tue, 2 Jul 2013 23:07:48 +0000 (19:07 -0400)]
[2967] cleanup: remove unneeded testcase tearDown() method
Paul Selkirk [Tue, 2 Jul 2013 23:05:48 +0000 (19:05 -0400)]
[2967] slightly better way of overriding the default mock SOA rdata
Marcin Siodelski [Tue, 2 Jul 2013 22:39:15 +0000 (00:39 +0200)]
[2977] Implemented DNS Update response parsing.
Marcin Siodelski [Tue, 2 Jul 2013 22:21:35 +0000 (00:21 +0200)]
[2977] Implemented unit test checking DNS Update send and receive.
Paul Selkirk [Thu, 27 Jun 2013 22:48:32 +0000 (18:48 -0400)]
[2967] fixed an unpythonic emptyness test
Paul Selkirk [Wed, 26 Jun 2013 23:42:36 +0000 (19:42 -0400)]
[2967] removed Auth/database_file from lettuce slave configs
but not master configs or xfrin_bind10.feature, since xfrout hasn't
been converted to the general data source yet
Paul Selkirk [Wed, 26 Jun 2013 23:39:56 +0000 (19:39 -0400)]
[2967] cleanup: removed unneeded AUTH_MODULE_NAME
Paul Selkirk [Tue, 25 Jun 2013 18:43:27 +0000 (14:43 -0400)]
[2967] cleanup and slight refactoring
Paul Selkirk [Thu, 20 Jun 2013 20:25:17 +0000 (16:25 -0400)]
[2967] convert to general datasrc config
Paul Selkirk [Sun, 16 Jun 2013 04:24:42 +0000 (00:24 -0400)]
[2967] refactoring: remove unneeded ZonemgrRefresh._zone_mgr_is_empty
Paul Selkirk [Sun, 16 Jun 2013 04:09:56 +0000 (00:09 -0400)]
[2967] fix line wrap problems, no code changes
Thomas Markwalder [Tue, 2 Jul 2013 20:53:49 +0000 (16:53 -0400)]
[master] Added ChangeLog entry 637.
Thomas Markwalder [Tue, 2 Jul 2013 20:51:40 +0000 (16:51 -0400)]
[master] Merge branch 'trac3007'. Adds DHCP-DDNS
request message class, NameChangeRequest.
Thomas Markwalder [Tue, 2 Jul 2013 19:09:12 +0000 (15:09 -0400)]
[master] Fixed broken build in src/bin/d2/d_test_stubs.h,
and logger check failure in src/bin/d2/d2_messages.mes
Thomas Markwalder [Tue, 2 Jul 2013 14:34:38 +0000 (10:34 -0400)]
[master] Added ChangeLog entry 636.
Thomas Markwalder [Tue, 2 Jul 2013 14:30:47 +0000 (10:30 -0400)]
[master] Merged branch 'trac2957'. This adds configuration parsing
support for DHCP-DDNS.
Marcin Siodelski [Tue, 2 Jul 2013 14:22:17 +0000 (16:22 +0200)]
[3007] Trivial: fixed whitespaces in ncr_msg.cc.
Marcin Siodelski [Tue, 2 Jul 2013 13:59:49 +0000 (15:59 +0200)]
[2975] Stub implementation of the DNSClient class.
Stephen Morris [Tue, 2 Jul 2013 13:04:35 +0000 (14:04 +0100)]
[2957] Minor modifications during review.
Stephen Morris [Tue, 2 Jul 2013 12:41:26 +0000 (13:41 +0100)]
[2980] Changes as a result for the first part of the review
Michal 'vorner' Vaner [Tue, 2 Jul 2013 11:29:58 +0000 (13:29 +0200)]
[2861] Pass the callbacks and wake up the thread
Pass the finished callbacks when the tasks are complete and wake up the
remote (main) thread by writing to the socket.
Michal 'vorner' Vaner [Tue, 2 Jul 2013 11:05:10 +0000 (13:05 +0200)]
[2861] Test the callbacks are sent back
Test the work thread sends the callbacks back when commands are
completed and the wake file descriptor is written to.
Thomas Markwalder [Tue, 2 Jul 2013 10:36:25 +0000 (06:36 -0400)]
[2957] Additional review-related changes. Replaced TODO with todo
and corrected doxygen errors.
Michal 'vorner' Vaner [Tue, 2 Jul 2013 09:22:15 +0000 (11:22 +0200)]
[2861] Share a file descriptor and finished queue
Pass the file descriptor to wake up the main thread and the queue to put
the callbacks into to the worker thread. The real socket is not yet
created, nor it is used.
Michal 'vorner' Vaner [Tue, 2 Jul 2013 08:13:06 +0000 (10:13 +0200)]
[2861] Use structure for the command
Replace std::pair with our own structure and add the callback there too.
Update code to match the change. No functional change.
Michal 'vorner' Vaner [Tue, 2 Jul 2013 07:56:33 +0000 (09:56 +0200)]
[2861] Add callback for finished command to the interface
The callback is just stub now, it is passed but not stored, nor called.
This is just a (backward compatible) interface change.
Marcin Siodelski [Mon, 1 Jul 2013 19:52:18 +0000 (21:52 +0200)]
[master] Added ChangeLog entry for #2796.
Thomas Markwalder [Mon, 1 Jul 2013 18:43:58 +0000 (14:43 -0400)]
[3007] Merged 3007 into local 3007.
Thomas Markwalder [Mon, 1 Jul 2013 18:40:25 +0000 (14:40 -0400)]
[3007] A few more review changes.
Marcin Siodelski [Mon, 1 Jul 2013 17:00:06 +0000 (19:00 +0200)]
[master] Merge branch 'trac2976'
Mukund Sivaraman [Mon, 1 Jul 2013 15:12:04 +0000 (20:42 +0530)]
[master] Use alternate syntax for shallow copy
This is recommended by:
http://docs.python.org/3/library/copy.html
Mukund Sivaraman [Mon, 1 Jul 2013 15:07:42 +0000 (20:37 +0530)]
[master] Use list() instead of .copy() (as it is a Python 3.3 feature)
Suggested by Michal.
Thomas Markwalder [Mon, 1 Jul 2013 14:59:16 +0000 (10:59 -0400)]
[2957] A few more review comment changes.
Thomas Markwalder [Mon, 1 Jul 2013 12:11:05 +0000 (08:11 -0400)]
[2957] Made forward and reverse ddns elements optional, altered clone
method to return smart pointer.
Michal 'vorner' Vaner [Mon, 1 Jul 2013 11:49:30 +0000 (13:49 +0200)]
[2931] Allow unsubscribing from notifications
Includes minor test fixes.
Michal 'vorner' Vaner [Mon, 1 Jul 2013 11:28:30 +0000 (13:28 +0200)]
[2931] Process incoming notifications
Mukund Sivaraman [Mon, 1 Jul 2013 10:09:22 +0000 (15:39 +0530)]
Merge branch 'trac2855_2'
Mukund Sivaraman [Mon, 1 Jul 2013 09:33:46 +0000 (15:03 +0530)]
[2855] Don't use clear() on lists (as it is a Python 3.3 feature)
Michal 'vorner' Vaner [Mon, 1 Jul 2013 09:17:05 +0000 (11:17 +0200)]
[2931] Subscribe to notifications
Michal 'vorner' Vaner [Mon, 1 Jul 2013 08:48:49 +0000 (10:48 +0200)]
[2931] Test receiving notifications
Test for subscribing to, unsubscribing and receiving CC notifications in
python.
Mukund Sivaraman [Sun, 30 Jun 2013 18:40:57 +0000 (00:10 +0530)]
[master] Fix Python API compatibility issue with CPython < 3.3.0
The 'p' format for booleans is not available before Python 3.3 API. So
we use the previously used fallback in these cases ('i' for C int).
Mukund Sivaraman [Sun, 30 Jun 2013 16:15:33 +0000 (21:45 +0530)]
[2855] Use the same lock in the condition variable too
Mukund Sivaraman [Thu, 27 Jun 2013 01:59:16 +0000 (07:29 +0530)]
[2855] Notify on the socket if a response is ready
Mukund Sivaraman [Tue, 25 Jun 2013 08:32:36 +0000 (14:02 +0530)]
[2855] Fix comments
Mukund Sivaraman [Mon, 24 Jun 2013 09:28:08 +0000 (14:58 +0530)]
[2855] Move code out of lock region
Mukund Sivaraman [Sun, 23 Jun 2013 20:44:09 +0000 (02:14 +0530)]
[2855] Make the response a tuple
This is for some kind of compatibility with future tickets, but the
exact format of the response list is currently not decided.
Mukund Sivaraman [Sun, 23 Jun 2013 18:57:11 +0000 (00:27 +0530)]
[2855] Add more code comments
Mukund Sivaraman [Sun, 23 Jun 2013 18:49:59 +0000 (00:19 +0530)]
[2855] Test what happens when a bad command is passed
Mukund Sivaraman [Sun, 23 Jun 2013 18:38:07 +0000 (00:08 +0530)]
[2855] Add more code comments
Mukund Sivaraman [Sun, 23 Jun 2013 18:35:40 +0000 (00:05 +0530)]
[2855] Add class documentation
Mukund Sivaraman [Sun, 23 Jun 2013 18:24:45 +0000 (23:54 +0530)]
[2855] Add builder module tests
Mukund Sivaraman [Fri, 21 Jun 2013 14:50:49 +0000 (20:20 +0530)]
[2855] Add a basic builder thread that understands the shutdown command
Mukund Sivaraman [Fri, 21 Jun 2013 13:59:15 +0000 (19:29 +0530)]
[2855] Update comment
Mukund Sivaraman [Fri, 21 Jun 2013 13:51:54 +0000 (19:21 +0530)]
[2855] Add BIND10Server._shutdown_module() method for shutdown processing
Mukund Sivaraman [Fri, 21 Jun 2013 13:47:16 +0000 (19:17 +0530)]
[2855] Fix typos
Mukund Sivaraman [Fri, 21 Jun 2013 09:53:37 +0000 (15:23 +0530)]
[2855] Add BIND10Server.watch_fileno() method