]>
git.ipfire.org Git - thirdparty/kea.git/log
Michal 'vorner' Vaner [Thu, 15 Aug 2013 09:28:45 +0000 (11:28 +0200)]
[2857] Read the notifications from builder threads
Read and clear them from the synchronized queue. Don't act upon them
yet.
Michal 'vorner' Vaner [Thu, 15 Aug 2013 08:55:20 +0000 (10:55 +0200)]
[2857] Initialize the segments
Michal 'vorner' Vaner [Thu, 15 Aug 2013 06:43:26 +0000 (08:43 +0200)]
Don't fail with nonexistent files
When the script does not exist, because it was not generated due to some
configure switch or environmental condition, don't try to check if it
gets renamed. That would fail even when the situation is completely OK
and expected.
Naoki Kambe [Thu, 15 Aug 2013 04:24:16 +0000 (13:24 +0900)]
[2781] add two logging IDs to skip polling and collecting statistics
Then all IDs have been reordered by reorder_message_file.py.
Naoki Kambe [Thu, 15 Aug 2013 05:06:12 +0000 (14:06 +0900)]
[2781] implement skipping collecting and polling statistics to stats
The stats module logs STATS_SKIP_POLLING when it catches an InitSessionTimeout
exception while initially receiving modules information from the init
module. Also, the stats module logs STATS_SKIP_COLLECTING including the name of
the module unable to collect when it catches a SessionTimeout exception while
collecting statistics from that module.
Marcin Siodelski [Wed, 14 Aug 2013 17:40:48 +0000 (19:40 +0200)]
[3082] Address review comments.
Marcin Siodelski [Wed, 14 Aug 2013 15:56:10 +0000 (17:56 +0200)]
[2981] Corrected a typo made with the previous change.
Stephen Morris [Wed, 14 Aug 2013 15:31:12 +0000 (16:31 +0100)]
[2981] Minor changes as a result of review.
Tomek Mrugalski [Wed, 14 Aug 2013 14:15:09 +0000 (16:15 +0200)]
[3036] Logging fix (test used to fail with --enable-logger-checks)
Tomek Mrugalski [Wed, 14 Aug 2013 14:14:35 +0000 (16:14 +0200)]
[3036] Botan compilation fixes in dhcp-ddns
Mukund Sivaraman [Wed, 14 Aug 2013 10:34:41 +0000 (16:04 +0530)]
[master] Disable lettuce tests for resolver when the resolver is not available
Also fix configure argument name to match help documentation.
Stephen Morris [Wed, 14 Aug 2013 12:46:05 +0000 (13:46 +0100)]
[3063] First draft of a Hooks Framework maintenance manual
Michal 'vorner' Vaner [Wed, 14 Aug 2013 12:04:51 +0000 (14:04 +0200)]
Merge #3079
Conflicts:
src/bin/Makefile.am
Tomek Mrugalski [Wed, 14 Aug 2013 12:02:42 +0000 (14:02 +0200)]
[2952] Proposed ChangeLog entry added.
Tomek Mrugalski [Wed, 14 Aug 2013 12:02:27 +0000 (14:02 +0200)]
[2952] LeaseMgr pointer is now initialized properly.
Tomek Mrugalski [Wed, 14 Aug 2013 11:48:19 +0000 (13:48 +0200)]
[2952] MySQL LeaseMgr unit-tests refactored
Michal 'vorner' Vaner [Wed, 14 Aug 2013 11:33:42 +0000 (13:33 +0200)]
[2690] Test the run_select
And adjust the main code so it is possible to test it.
Marcin Siodelski [Wed, 14 Aug 2013 11:19:19 +0000 (13:19 +0200)]
[3036] Represent FQDN Option domain-name in the downcase format.
Marcin Siodelski [Wed, 14 Aug 2013 11:08:33 +0000 (13:08 +0200)]
[3036] Address further review comments.
Michal 'vorner' Vaner [Wed, 14 Aug 2013 11:02:59 +0000 (13:02 +0200)]
[2690] Don't skip tests
We no longer depend on poll-related constants.
Michal 'vorner' Vaner [Wed, 14 Aug 2013 10:41:21 +0000 (12:41 +0200)]
[2690] Remove unused message IDs
Tomek Mrugalski [Wed, 14 Aug 2013 10:22:37 +0000 (12:22 +0200)]
[2952] getLease4() methods implemented in Memfile_LeaseMgr
- Patch by dclink
- Fixes and clean-up by Tomek Mrugalski
Signed-off-by: Tomek Mrugalski <tomasz@isc.org>
Michal 'vorner' Vaner [Wed, 14 Aug 2013 09:26:38 +0000 (11:26 +0200)]
[2857] New config -> _init_segments
Call the initialization of memory segments in the memory manager when
new configuration is applied.
Stephen Morris [Wed, 14 Aug 2013 09:11:10 +0000 (10:11 +0100)]
[3092] Install some .h files in installation directory
These files are to allow the authors of hooks callouts to compile
their code. At the moment only the DHCP files are installed; the
DNS files will be added once hooks have been added to the DNS servers.
Marcin Siodelski [Tue, 13 Aug 2013 18:02:12 +0000 (20:02 +0200)]
[3036] Address review comments.
Marcin Siodelski [Tue, 13 Aug 2013 16:59:53 +0000 (18:59 +0200)]
[3036] Merge branch 'master' into trac3036
Conflicts:
src/bin/dhcp6/dhcp6_messages.mes
src/bin/dhcp6/dhcp6_srv.cc
src/bin/dhcp6/dhcp6_srv.h
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
src/lib/dhcp_ddns/tests/ncr_unittests.cc
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.h
src/lib/dhcpsrv/tests/alloc_engine_unittest.cc
Michal 'vorner' Vaner [Tue, 13 Aug 2013 14:13:33 +0000 (16:13 +0200)]
[3079] Don't compile code requiring shared memory
In case it is turned off, don't link against stuff requiring shared
memory, in particular mapped segment creator in tests. It is not used,
but causes link errors, as it is in a virtual method.
Michal 'vorner' Vaner [Tue, 13 Aug 2013 13:55:19 +0000 (15:55 +0200)]
Changelogs
Michal 'vorner' Vaner [Tue, 13 Aug 2013 13:50:59 +0000 (15:50 +0200)]
Merge #3064
Disable building resolver by default
Conflicts:
configure.ac
Michal 'vorner' Vaner [Tue, 13 Aug 2013 13:37:10 +0000 (15:37 +0200)]
[3079] Fix typo in directory name
Kazunori Fujiwara [Tue, 13 Aug 2013 13:32:29 +0000 (22:32 +0900)]
[3016] Added ChangeLog entry
Michal 'vorner' Vaner [Tue, 13 Aug 2013 13:28:19 +0000 (15:28 +0200)]
[3079] Don't enter to the makefiles
Do the condition at one level higher.
Michal 'vorner' Vaner [Tue, 13 Aug 2013 13:03:10 +0000 (15:03 +0200)]
Merge #3025
Detect old versions of boost and suggest either disabling shared memory
for them or upgrading.
Mukund Sivaraman [Tue, 13 Aug 2013 12:42:16 +0000 (18:12 +0530)]
[3064] AC_SUBST is also not required
... as we only use it in an automake condition.
Mukund Sivaraman [Tue, 13 Aug 2013 12:26:10 +0000 (17:56 +0530)]
[3064] AC_DEFINE is unnecessary as it's used in Makefiles only
Mukund Sivaraman [Tue, 13 Aug 2013 12:22:22 +0000 (17:52 +0530)]
[3064] Don't even enter resolver directories if experimental resolver is disabled
Stephen Morris [Tue, 13 Aug 2013 12:14:38 +0000 (13:14 +0100)]
[2981] Changes as a result of review.
Mukund Sivaraman [Tue, 13 Aug 2013 12:06:45 +0000 (17:36 +0530)]
Merge branch 'trac3067'
Mukund Sivaraman [Tue, 13 Aug 2013 11:53:00 +0000 (17:23 +0530)]
Merge branch 'trac3068'
Mukund Sivaraman [Tue, 13 Aug 2013 11:50:47 +0000 (17:20 +0530)]
[3025] Update description for BOOST_OFFSET_PTR_OLD
Mukund Sivaraman [Tue, 13 Aug 2013 11:50:24 +0000 (17:20 +0530)]
[3025] Don't use # character in m4 messages
This has caused issues in the past (see other error messages for example),
and escaping with \ doesn't seem to help in those cases.
Michal 'vorner' Vaner [Tue, 13 Aug 2013 10:50:34 +0000 (12:50 +0200)]
[3064] NSAS is used by auth's query-bench
So don't disable it by default.
Michal 'vorner' Vaner [Tue, 13 Aug 2013 10:29:17 +0000 (12:29 +0200)]
[3064] Disable building the resover without the flag
Don't build the resolver and its libraries (lib/resolve and lib/libnsas)
in case the --enable-experimental-resolver is not set.
Michal 'vorner' Vaner [Tue, 13 Aug 2013 10:22:38 +0000 (12:22 +0200)]
Revert "[3064] Add a switch to enable resolver"
This reverts commit
2092528ae67cf42002c2aef17140d95cbcab8a54 .
It should not go to master yet. Reverting until it is through
review.
Michal 'vorner' Vaner [Tue, 13 Aug 2013 10:20:10 +0000 (12:20 +0200)]
[3064] Add a switch to enable resolver
The switch doesn't have an effect yet.
Michal 'vorner' Vaner [Tue, 13 Aug 2013 08:39:40 +0000 (10:39 +0200)]
[3079] Disable the memory manager if no shared memory
Just ifdef out the whole makefiles.
Naoki Kambe [Tue, 13 Aug 2013 06:48:31 +0000 (15:48 +0900)]
[2781] modify test_start()
add checking self.stats.mccs.stopped after stats stopped
Naoki Kambe [Tue, 13 Aug 2013 06:28:55 +0000 (15:28 +0900)]
[2781] add more tests for _check_command() and start() (not related to this ticket)
add test_check_command_sessiontimeout() and test_start_set_next_polltime()
Naoki Kambe [Mon, 19 Nov 2012 05:31:36 +0000 (14:31 +0900)]
[2781] modify mock classes in test_utils.py
add check_command_without_recvmsg() into MyModuleCCSession and add default
values into args of __group_recvmsg(). These changes are for referring and
executing from the unit tests.
Naoki Kambe [Fri, 9 Aug 2013 09:00:47 +0000 (18:00 +0900)]
[2781] add new tests for each method broken from do_polling()
test_polling_update_lasttime_poll()
test_get_multi_module_list()
test_get_multi_module_list_rpcrecipientmissing()
test_get_multi_module_list_rpcerror()
test_query_statistics()
test_collect_statistics()
test_collect_statistics_nodata()
test_collect_statistics_nonzero_rcode()
test_collect_statistics_sessiontimeout()
test_refresh_statistics()
Michal 'vorner' Vaner [Mon, 12 Aug 2013 14:31:25 +0000 (16:31 +0200)]
[2939] Check for python sqlite3 module
Michal 'vorner' Vaner [Mon, 12 Aug 2013 10:07:09 +0000 (12:07 +0200)]
[3025] Update the error message for old boost
Tell more details about what the problem is.
Michal 'vorner' Vaner [Mon, 12 Aug 2013 10:03:09 +0000 (12:03 +0200)]
[3025] Rename variable
The bug is in offset pointer, not in the red-black tree.
Marcin Siodelski [Mon, 12 Aug 2013 10:01:56 +0000 (12:01 +0200)]
[3082] Return instance of the Option4ClientFqdn for option 81.
Naoki Kambe [Mon, 12 Aug 2013 05:29:01 +0000 (14:29 +0900)]
[2781] make MyStats.__seq visible for testing purpose
Naoki Kambe [Fri, 9 Aug 2013 07:40:34 +0000 (16:40 +0900)]
[2781] import create_answer instead of its shortcut
Naoki Kambe [Fri, 9 Aug 2013 07:20:58 +0000 (16:20 +0900)]
[2781] add test_refresh_statistics_broken_statistics_data()
add test_refresh_statistics_broken_statistics_data() by reusing test_polling2()
Naoki Kambe [Thu, 8 Aug 2013 08:33:51 +0000 (17:33 +0900)]
[2781] break do_polling() into some internal methods:
_get_multi_module_list()
_query_statistics()
_collect_statistics()
_refresh_statistics()
Naoki Kambe [Thu, 8 Aug 2013 09:39:03 +0000 (18:39 +0900)]
[2781] unify similar outputs of STATS_RECEIVED_INVALID_STATISTICS_DATA
This change is rather for #2944 (duplicate log ID in stats).
Marcin Siodelski [Mon, 12 Aug 2013 09:10:12 +0000 (11:10 +0200)]
[3082] Minor: editorial changes in the doxygen doc.
Naoki Kambe [Thu, 8 Aug 2013 08:20:09 +0000 (17:20 +0900)]
[2781] correct inappropriate condition (not related to this ticket)
correct inappropriate condition in the internal function and add
related tests, and update the copyright years
Marcin Siodelski [Fri, 9 Aug 2013 17:29:39 +0000 (19:29 +0200)]
[3082] Add support for ASCII domain name encoding and decoding.
Tomek Mrugalski [Fri, 9 Aug 2013 15:10:08 +0000 (17:10 +0200)]
[master] Merge branch 'trac2984' (additional DHCPv6 hooks)
Conflicts:
ChangeLog
src/bin/dhcp6/dhcp6_srv.cc
Marcin Siodelski [Fri, 9 Aug 2013 14:17:42 +0000 (16:17 +0200)]
[3082] Set E flag in Option4ClientFqdn unit tests by default.
Naoki Kambe [Wed, 7 Aug 2013 10:05:54 +0000 (19:05 +0900)]
[2883] no need to clear all counters before each test
Naoki Kambe [Wed, 7 Aug 2013 07:07:03 +0000 (16:07 +0900)]
[2883] add counters arguments into XfrinConnection class and its related methods
Naoki Kambe [Wed, 7 Aug 2013 07:52:21 +0000 (16:52 +0900)]
[2883] add a test specfile for using a counters object in TestNotifyOut class
Naoki Kambe [Wed, 7 Aug 2013 06:19:52 +0000 (15:19 +0900)]
[2883] add counters as a keyword argument into NotifyOut
Naoki Kambe [Wed, 7 Aug 2013 08:05:36 +0000 (17:05 +0900)]
[2883] add counters argument into each related classes
and create a Counters object in XfroutServer class
Naoki Kambe [Thu, 8 Aug 2013 04:56:06 +0000 (13:56 +0900)]
[2883] additional statistics tests (not directory related)
Naoki Kambe [Wed, 7 Aug 2013 08:33:54 +0000 (17:33 +0900)]
[2883] no need to reload module and do tearDown in test classes
The counters object doesn't have a static statistics object
Naoki Kambe [Wed, 7 Aug 2013 08:19:50 +0000 (17:19 +0900)]
[2883] remove TestDummyNotifyOut
TestDummyXfroutServer class contains similar tests
Naoki Kambe [Wed, 7 Aug 2013 06:55:43 +0000 (15:55 +0900)]
[2883] create a counters object once in the test class
and pass to each class via class argument
Naoki Kambe [Wed, 7 Aug 2013 09:58:34 +0000 (18:58 +0900)]
[2883] spec_file_name argument of Counters class is reqiured
Naoki Kambe [Wed, 7 Aug 2013 06:25:15 +0000 (15:25 +0900)]
[2883] remove _statistics class attribute
and define statistics data and spec inside instance scope
Kazunori Fujiwara [Thu, 8 Aug 2013 07:21:56 +0000 (16:21 +0900)]
[3016] 64bit value requires "LL" suffix
Kazunori Fujiwara [Thu, 8 Aug 2013 02:47:23 +0000 (11:47 +0900)]
Merge branch 'trac3015' into trac3016
Mukund Sivaraman [Wed, 7 Aug 2013 21:45:40 +0000 (03:15 +0530)]
[master] Fix const_reverse_iterator comparison with operator!= on Solaris GCC
Thomas Markwalder [Wed, 7 Aug 2013 19:15:58 +0000 (15:15 -0400)]
[master] Corrected valgrind error reported in D2UpdateMgr unit test.
D2UpdateMgr::checkFinishedTransaction was issuing an invalid read
when attempting to prefix increment an iterator used in an std::map erase
call. This was flagged by valgrind and also core dumped under FreeBSD10.
Marcin Siodelski [Wed, 7 Aug 2013 16:54:52 +0000 (18:54 +0200)]
[3082] Implemented DHCPv4 Client FQDN Option.
Thomas Markwalder [Wed, 7 Aug 2013 15:16:58 +0000 (11:16 -0400)]
[master] Added ChangeLog entry 655.
Tomek Mrugalski [Wed, 7 Aug 2013 14:42:09 +0000 (16:42 +0200)]
[2984] Hooks tests use scoped_ptr to Dhcpv6Srv
Tomek Mrugalski [Wed, 7 Aug 2013 14:37:47 +0000 (16:37 +0200)]
[2984] Changes after review:
- unknown message log added
- comments fixed
Thomas Markwalder [Wed, 7 Aug 2013 14:13:54 +0000 (10:13 -0400)]
[master] Merge branch 'trac3059'
Adds initial implementation of D2UpdateMgr class to
src/bin/d2.
Thomas Markwalder [Wed, 7 Aug 2013 12:34:48 +0000 (08:34 -0400)]
[3059] Additional review related changes.
D2UpdateMgr members were rescoped to be more appropriate
and unit tests adjusted accordingly. Other minor changes.
Michal 'vorner' Vaner [Wed, 7 Aug 2013 10:50:52 +0000 (12:50 +0200)]
[3025] Abort with shared memory & old boost
After trying to persuade automake to disable optimisations selectively
on the library or object file and trying desperate ways like
https://lists.gnu.org/archive/html/automake/2006-09/msg00038.html,
it produced a different kind of segfault with that version of boost.
It's likely that part of boost was not matured in that version yet, so
require new boost for the shared memory support.
Stephen Morris [Wed, 7 Aug 2013 10:29:11 +0000 (11:29 +0100)]
[master] ChangeLog entry for #3050
Stephen Morris [Wed, 7 Aug 2013 10:25:33 +0000 (11:25 +0100)]
[master] Merge branch 'trac3050'
Kazunori Fujiwara [Wed, 7 Aug 2013 09:56:42 +0000 (18:56 +0900)]
[3015] Added Notes about the use of int64_t, long long, long and int
Michal 'vorner' Vaner [Wed, 7 Aug 2013 07:57:52 +0000 (09:57 +0200)]
[3025] Detect a too old version of boost
With old version of boost and some versions of gcc, the RBTree
implementation is not stable with optimisations turned on. Detect the
old boost if we use gcc (no idea how to trigger it with the whole
machinery of the crashing test, so testing against the version).
Fail in that case now, we'll do something more drastic in following
commits.
Marcin Siodelski [Wed, 7 Aug 2013 07:43:09 +0000 (09:43 +0200)]
[3059] Removed the C-string from the DdnsDomainListMgr::matchDomain.
Thomas Markwalder [Tue, 6 Aug 2013 17:27:51 +0000 (13:27 -0400)]
[3059] Fixed a typo in comment in d2_update_mgr.h
Thomas Markwalder [Tue, 6 Aug 2013 17:24:39 +0000 (13:24 -0400)]
[3059] Addressed review comments.
Reverse IP address methods in D2UpdateMgr were declared static. Other
cosmetic changes.
Kazunori Fujiwara [Tue, 6 Aug 2013 11:30:41 +0000 (20:30 +0900)]
[3015] Updated comments and tests
Thomas Markwalder [Mon, 5 Aug 2013 19:22:48 +0000 (15:22 -0400)]
[3059] Reordered d2_messages.mes file.
Thomas Markwalder [Mon, 5 Aug 2013 19:17:40 +0000 (15:17 -0400)]
[3059] Added D2UpdateMgr to DHCP_DDNS
Added initial implemenation of D2UpdateMgr class to src/bin/d2.
Thomas Markwalder [Mon, 5 Aug 2013 18:13:36 +0000 (14:13 -0400)]
[master] Added entry 653.
Thomas Markwalder [Mon, 5 Aug 2013 17:16:52 +0000 (13:16 -0400)]
[master] Merge branch 'trac3052'
Adds initial implementation of D2QueueMgr class to DHCP_DDNS.
This class is manages the queue of inbound DHCP_DDNS requests.
Thomas Markwalder [Mon, 5 Aug 2013 17:10:57 +0000 (13:10 -0400)]
[3052] Split D2QueueMgr constructor unit test into individual tests.
Thomas Markwalder [Mon, 5 Aug 2013 14:45:22 +0000 (10:45 -0400)]
[3052] Addressed review comments.
Changes were largely cosmetic.