]>
git.ipfire.org Git - thirdparty/kea.git/log
JINMEI Tatuya [Tue, 19 Feb 2013 03:06:08 +0000 (19:06 -0800)]
[2689] eliminate threads in test_start.
some refactoring to Stats class (behavior shouldn't change) and mock classes
were introduced. shutdown case was extracted to a spearate test function.
JINMEI Tatuya [Mon, 18 Feb 2013 22:51:37 +0000 (14:51 -0800)]
[2689] simplify: remove unused param for send_command(), remove send_shutdow.
this is just a refactoring for further changes. shouldn't change the
behavior.
JINMEI Tatuya [Mon, 18 Feb 2013 22:04:34 +0000 (14:04 -0800)]
[2676] editorial: folded a long line
JINMEI Tatuya [Mon, 18 Feb 2013 21:07:24 +0000 (13:07 -0800)]
[2669] piggyback style/editorial cleanups: const, spacing
Jelte Jansen [Mon, 18 Feb 2013 17:35:57 +0000 (18:35 +0100)]
[2669] Use valgrind-check in fork/thread tests
Similar to how it is checked for death tests; if valgrind is detected (when possible), parts of tests are skipped
Mukund Sivaraman [Mon, 18 Feb 2013 17:33:21 +0000 (23:03 +0530)]
[2641] Update doc for _try_login()
Mukund Sivaraman [Mon, 18 Feb 2013 17:32:21 +0000 (23:02 +0530)]
[2641] Add doc for _have_users()
Mukund Sivaraman [Mon, 18 Feb 2013 17:22:23 +0000 (22:52 +0530)]
[2641] Add doc for get_num_users()
Mukund Sivaraman [Mon, 18 Feb 2013 17:00:42 +0000 (22:30 +0530)]
[2641] Update if statement
This doesn't change any behavior, but changes the syntax used.
Mukund Sivaraman [Mon, 18 Feb 2013 07:53:07 +0000 (13:23 +0530)]
[2641] Move get_user_info() call to its own unittest
JINMEI Tatuya [Tue, 12 Feb 2013 19:32:26 +0000 (11:32 -0800)]
[2641] a minor piggy-back style cleanup: removed space in default param spec.
Mukund Sivaraman [Tue, 12 Feb 2013 06:29:57 +0000 (11:59 +0530)]
[2641] From bindctl, call /users-exist in cmdctl to check if users exist
Note: There are no tests for any HTTP API calls made to cmdctl. Adding
this framework as part of this bug would go way beyond the estimate. I
suggest creating another bug to go through bindctl and add missing
unittests for cmdctl RPCs.
Mukund Sivaraman [Tue, 12 Feb 2013 06:28:18 +0000 (11:58 +0530)]
[2641] Handle /users-exist API call in cmdctl
Note: There are no tests for any HTTP API calls in cmdctl. Adding this
framework as part of this bug would go way beyond the estimate.
I suggest creating another bug to go through cmdctl and add missing
unittests for the HTTP API.
Mukund Sivaraman [Tue, 12 Feb 2013 06:26:38 +0000 (11:56 +0530)]
[2641] Add method to get the number of users
Mukund Sivaraman [Mon, 18 Feb 2013 16:54:37 +0000 (22:24 +0530)]
[2641] Move populated cmdctl-accounts.csv to testdata directory
Michal 'vorner' Vaner [Mon, 18 Feb 2013 12:28:04 +0000 (13:28 +0100)]
[2768] Interface of the ModuleCCSession::rpcCall
Michal 'vorner' Vaner [Mon, 18 Feb 2013 10:23:08 +0000 (11:23 +0100)]
[2676] Note why Cmdctl is not converted.
Similar to previous commit, there's a hack in cmdctl that doesn't allow
it now.
Michal 'vorner' Vaner [Mon, 18 Feb 2013 08:54:40 +0000 (09:54 +0100)]
[2676] Note why XfrIn is not converted
There's a hack in XfrIn that prevents straight-forward conversion.
Adding the want_answer parameter for now as a temporary measure, until
the thing is fixed.
Michal 'vorner' Vaner [Fri, 15 Feb 2013 11:47:12 +0000 (12:47 +0100)]
[2676] Convert stats to use rpc_call
Most parts are converted, with one exception.
There's a place where many messages are sent at once and then it waits
for all the answers. This allows the other modules to process the
commands in parallel. The rpc_call is not flexible enough to allow this
(we'll need the rpc_call_async for that), so we stay with the original,
just adding the want_answer parameter.
Michal 'vorner' Vaner [Fri, 15 Feb 2013 11:37:38 +0000 (12:37 +0100)]
[2676] Convert ZoneMgr to use the rpc_call
Just a plain conversion.
Michal 'vorner' Vaner [Fri, 15 Feb 2013 11:15:47 +0000 (12:15 +0100)]
[2676] Convert DDNS to use rpc_call
Just a straight-forward conversion.
Mukund Sivaraman [Mon, 18 Feb 2013 06:52:16 +0000 (12:22 +0530)]
Unify common code
Naoki Kambe [Mon, 18 Feb 2013 07:39:23 +0000 (16:39 +0900)]
[master] Merge branch 'trac2225_statistics_4'
Naoki Kambe [Mon, 18 Feb 2013 07:26:37 +0000 (16:26 +0900)]
[2225_xfrout] add directory names of "zone", "socket" and "unixdomain" into the man page
Naoki Kambe [Mon, 18 Feb 2013 06:00:07 +0000 (15:00 +0900)]
[2225_xfrout] update "item_description" of "zone", "socket" and "unixdomain" in spec
JINMEI Tatuya [Sun, 17 Feb 2013 06:55:49 +0000 (22:55 -0800)]
[master] corrected typo: s/NSEC/NSEC3/
should be trivial, directly committing.
JINMEI Tatuya [Sat, 16 Feb 2013 04:59:17 +0000 (20:59 -0800)]
[2440] noted some differences from BIND 9
JINMEI Tatuya [Sat, 16 Feb 2013 04:18:03 +0000 (20:18 -0800)]
[2440] update documentation of RdataSet::create().
JINMEI Tatuya [Sat, 16 Feb 2013 04:03:10 +0000 (20:03 -0800)]
[2440] handle varying TTL cases.
the behavior was changed slightly: on second thought it seemed to make
more sense to adopt the smallest TTL. An existing test case was removed
because it's now covered in more comprehensive tests for this change.
JINMEI Tatuya [Sat, 16 Feb 2013 02:58:38 +0000 (18:58 -0800)]
[2440] a bit of cleanup: unify 2 versons of RdataSet::create into single one.
JINMEI Tatuya [Fri, 15 Feb 2013 23:49:31 +0000 (15:49 -0800)]
[2440] check RR type consistency in merge mode RdataSet::create.
JINMEI Tatuya [Fri, 15 Feb 2013 23:39:36 +0000 (15:39 -0800)]
[2440] handle duplicate RDATA in RdataSet create appropriately.
JINMEI Tatuya [Fri, 15 Feb 2013 22:02:38 +0000 (14:02 -0800)]
[2440] refactoring: unify two versions of create().
JINMEI Tatuya [Fri, 15 Feb 2013 21:55:14 +0000 (13:55 -0800)]
[2440] mostly completed merge version of create().
with lot of duplicate code right now, and some corner cases are not yet
handled.
JINMEI Tatuya [Fri, 15 Feb 2013 03:29:01 +0000 (19:29 -0800)]
[2440] merge version of RdataSet::create.
all basic cases are covered and tested. still some code duplicate.
ignoring corner cases.
JINMEI Tatuya [Sat, 16 Feb 2013 04:40:18 +0000 (20:40 -0800)]
[2440] documentation update for extensions to RdataEncoder with merge support.
JINMEI Tatuya [Fri, 15 Feb 2013 22:45:20 +0000 (14:45 -0800)]
[2440] update add methods of RdataEncoder to return bool depending on duplicate
This is necessary to extend RdataSet class so it calculates the correct
number of RDTA/RRSIGs excluding duplicates.
Michal 'vorner' Vaner [Fri, 15 Feb 2013 08:01:30 +0000 (09:01 +0100)]
[2676] Use dict, not keyword arguments
As it turns out, it is not as flexible as needed (it wouldn't be
possible to pass no arguments, it would not be possible to specify
parameters of name `class` easily, and so on).
Naoki Kambe [Fri, 15 Feb 2013 05:28:42 +0000 (14:28 +0900)]
[2225_statistics_4] calculate an entire server's counts even though they are zero
As well as
ffd4a283b18f8eaa453712e1e615e2440b12aa0d , in the platform (FreeBSD8,
amd64), the timer counters can be zero. However get_statistics() in counters.py
didn't calculate an entire server's counts if they are zero. This change is
added so that it calculates counters even though they are zero. An new
unittest is added to check that. This change fixes the issue reported in #2741.
For details about errors related to this change, see the following build farm
reports.
http://git.bind10.isc.org/~tester/builder/BIND10-cppcheck/
20130214075001 -FreeBSD8-amd64-GCC/logs/unittests.out
http://git.bind10.isc.org/~tester/builder/BIND10-cppcheck/
20130206173746 -FreeBSD8-amd64-GCC/logs/unittests.out
http://git.bind10.isc.org/~tester/builder/BIND10-cppcheck/
20130211135501 -FreeBSD8-amd64-GCC/logs/unittests.out
JINMEI Tatuya [Fri, 15 Feb 2013 04:09:50 +0000 (20:09 -0800)]
[master] Merge branch 'trac2679'
Mark Andrews [Fri, 15 Feb 2013 02:54:22 +0000 (13:54 +1100)]
use explicit operator precedence; reviewed via jabber
Jeremy C. Reed [Thu, 14 Feb 2013 18:43:45 +0000 (12:43 -0600)]
[master] update copyright year in guide and messages manual
Update copyright year for guide.
Update copyright year for messages manual.
Also remove the paragraph introducing bind10 from the messages manual
(it was incomplete, so misleading).
These were in the script)
This is trivial, so no review.
Jeremy C. Reed [Thu, 14 Feb 2013 17:53:20 +0000 (11:53 -0600)]
[master] remove TODO
This TODO was handled a few minutes ago.
JINMEI Tatuya [Thu, 14 Feb 2013 17:44:30 +0000 (09:44 -0800)]
[master] editorial: removed spaces after EOL
Shane Kerr [Thu, 14 Feb 2013 17:13:48 +0000 (18:13 +0100)]
Update the sponsor acknowledgment section in the BIND 10 Guide to include all of the sponsors.
Marcin Siodelski [Thu, 14 Feb 2013 13:38:03 +0000 (14:38 +0100)]
[2701] Added the key_from_key.h header file.
Marcin Siodelski [Thu, 14 Feb 2013 13:35:08 +0000 (14:35 +0100)]
[2701] Added missing const to the function returning DUID.
Michal 'vorner' Vaner [Thu, 14 Feb 2013 13:06:32 +0000 (14:06 +0100)]
[2676] Document the rpc_call
Marcin Siodelski [Thu, 14 Feb 2013 12:59:20 +0000 (13:59 +0100)]
[2701] Added warning about undefined behavior when using invalid option definition.
Marcin Siodelski [Thu, 14 Feb 2013 12:28:36 +0000 (13:28 +0100)]
[2701] Moved the KeyFromKey class to the common header.
Mukund Sivaraman [Thu, 14 Feb 2013 11:06:32 +0000 (16:36 +0530)]
[master] Add init.pyc to CLEANFILES to make distcheck pass
Jelte Jansen [Thu, 14 Feb 2013 11:02:52 +0000 (12:02 +0100)]
[2669] Use vector instead of raw array in unit test
Marcin Siodelski [Thu, 14 Feb 2013 10:08:05 +0000 (11:08 +0100)]
[2701] Added composite index to the container holding leases.
This change applies to the Memfile backend and is intended to significantly
improve its performance.
Michal 'vorner' Vaner [Thu, 14 Feb 2013 09:54:07 +0000 (10:54 +0100)]
[2676] Error handling in the rpc_call
Mukund Sivaraman [Thu, 14 Feb 2013 09:50:07 +0000 (15:20 +0530)]
Merge branch 'trac2281'
Conflicts:
src/lib/datasrc/memory/memory_messages.mes
src/lib/datasrc/memory_datasrc.cc
Michal 'vorner' Vaner [Thu, 14 Feb 2013 09:34:16 +0000 (10:34 +0100)]
[2676] Further tests for rpc_call
An unusual case and a malformed answer.
Michal 'vorner' Vaner [Thu, 14 Feb 2013 09:23:44 +0000 (10:23 +0100)]
[1676] Basics of the rpc_call in python
Successful case. Small fixes of the tests.
Michal 'vorner' Vaner [Thu, 14 Feb 2013 09:02:07 +0000 (10:02 +0100)]
[2676] Test for rpc_call
Just the simplest one for now, with success
Michal 'vorner' Vaner [Thu, 14 Feb 2013 09:00:06 +0000 (10:00 +0100)]
[2676] Store the want_answer in fake session
So we are both compatible and we can check it in the tests.
Michal 'vorner' Vaner [Thu, 14 Feb 2013 07:17:15 +0000 (08:17 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/master'
JINMEI Tatuya [Thu, 14 Feb 2013 07:05:22 +0000 (23:05 -0800)]
[2440] suppress duplicate Rdata in merge. extend test cases more.
JINMEI Tatuya [Thu, 14 Feb 2013 06:21:20 +0000 (22:21 -0800)]
[2440] generalize the merge-start initialization using RdataReader.
JINMEI Tatuya [Thu, 14 Feb 2013 04:04:12 +0000 (20:04 -0800)]
[2440] update encode() considering old RRSIGs. start() still uses hardcoding.
JINMEI Tatuya [Thu, 14 Feb 2013 02:20:40 +0000 (18:20 -0800)]
[2440] extended RdataEncoder so it can begin with existing ecoded data.
some test cases are hardcoded, not all cases are covered yet.
Jelte Jansen [Wed, 13 Feb 2013 22:42:54 +0000 (23:42 +0100)]
[2669] Initialize memory in tcp unit test
Jelte Jansen [Wed, 13 Feb 2013 13:33:15 +0000 (14:33 +0100)]
[2669] Make valgrind silent for forked() tests
To supress leaks for data on parent's stack
Jeremy C. Reed [Wed, 13 Feb 2013 18:08:24 +0000 (12:08 -0600)]
[master] bump version
(note this is not the rc version, just the version for master)
Jeremy C. Reed [Wed, 13 Feb 2013 18:07:36 +0000 (12:07 -0600)]
[master] add date stamp for the 1.0.0-rc
Jeremy C. Reed [Wed, 13 Feb 2013 18:06:23 +0000 (12:06 -0600)]
[master] fix misspellings
Jeremy C. Reed [Wed, 13 Feb 2013 18:00:36 +0000 (12:00 -0600)]
[master] cleanup
use a # hash mark before the Trac number
use two tabs before the committer username.
Mukund Sivaraman [Wed, 13 Feb 2013 17:59:00 +0000 (09:59 -0800)]
[master] changelog for #2641(-0)
JINMEI Tatuya [Wed, 13 Feb 2013 17:54:39 +0000 (09:54 -0800)]
[master] Merge branch 'trac2641-0'
Jeremy C. Reed [Wed, 13 Feb 2013 17:47:07 +0000 (11:47 -0600)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Jeremy C. Reed [Wed, 13 Feb 2013 17:45:50 +0000 (11:45 -0600)]
[master] add missing copyright and license statements
This had a quick review via jabber.
They were missing in some files that were longer than a few lines.
Not real important, but to be consistent.
JINMEI Tatuya [Wed, 13 Feb 2013 17:33:43 +0000 (09:33 -0800)]
[2641] do not install cmdctl-accounts.csv
Mukund Sivaraman [Tue, 12 Feb 2013 10:28:19 +0000 (15:58 +0530)]
[2641] Update guide for default username/password changes
Marcin Siodelski [Wed, 13 Feb 2013 17:20:44 +0000 (18:20 +0100)]
[2701] Added missing const in the function getting client_id.
Jeremy C. Reed [Wed, 13 Feb 2013 17:13:34 +0000 (11:13 -0600)]
[master] cleanup mes message files
used reorder_message_file.py
Marcin Siodelski [Wed, 13 Feb 2013 17:10:45 +0000 (18:10 +0100)]
[2701] Added composite indexes to container holding V4 leases in memfile.
JINMEI Tatuya [Wed, 13 Feb 2013 17:05:11 +0000 (09:05 -0800)]
[2679] removed redundant conversion to construct add-nsec3 test data
Jeremy C. Reed [Wed, 13 Feb 2013 16:06:56 +0000 (10:06 -0600)]
[master] be clear that b10-resolver is proof of concept
Jeremy C. Reed [Wed, 13 Feb 2013 16:03:45 +0000 (10:03 -0600)]
[master] many minor doc improvements
Some rewording to be clear about difference of bind10 and b10-init.
Remove some trailing whitespace.
Say the resolver is experimental. Also introduce resolver.
In manpages, improve various SEE ALSO.
Fix a wrong man page reference.
This was reviewed via jabber.
Marcin Siodelski [Wed, 13 Feb 2013 10:13:52 +0000 (11:13 +0100)]
[2701] Removed option definition validation from option factory functions.
This change should seriously rise the performance of the server as the
server seem to spend a lot of time executing the validate function.
Michal 'vorner' Vaner [Wed, 13 Feb 2013 08:46:49 +0000 (09:46 +0100)]
Merge #1924
Provide a "message undeliverable" error by the msgq daemon in case the
sender declares it expects an answer and there's no recipient to send it
to.
Conflicts:
src/bin/bindctl/run_bindctl.sh.in
src/bin/sysinfo/run_sysinfo.sh.in
src/lib/python/isc/cc/Makefile.am
src/lib/python/isc/cc/session.py
Yoshitaka Aharen [Wed, 13 Feb 2013 09:04:32 +0000 (18:04 +0900)]
Merge branch 'master' into trac2157_merge
Conflicts:
ChangeLog
Shane Kerr [Wed, 13 Feb 2013 08:47:51 +0000 (09:47 +0100)]
Added <unistd.h> include reported to fix a Solaris build.
Michal 'vorner' Vaner [Wed, 13 Feb 2013 08:40:52 +0000 (09:40 +0100)]
[1924] Return missing pythondir
It was moved to other makefile by accident while it should have been
moved.
Naoki Kambe [Wed, 13 Feb 2013 06:26:33 +0000 (15:26 +0900)]
[master] suppress some failures in stats tests with Python 3.3
This is an ad-hoc workaround for the failures in stats tests. It's okayed to be
committed on jabber. Note that this workaround should be removed after a
fundamental fix for stats tests (#1668) is done. An investigation task for the
fix will be worked on #2689. For the details of the failures, see #2666 and
http://git.bind10.isc.org/~tester/builder//BIND10-valgrind/
20130212205704 -CentOS5-x86_64-GCC/logs/unittests.out
Mukund Sivaraman [Wed, 13 Feb 2013 06:02:37 +0000 (11:32 +0530)]
[2281] Add comments on use of static datasrc instead of memory datasrc in tests
Yoshitaka Aharen [Wed, 13 Feb 2013 03:54:06 +0000 (12:54 +0900)]
[2157] update docbook example in test script
JINMEI Tatuya [Wed, 13 Feb 2013 03:41:51 +0000 (19:41 -0800)]
[2157] some minor editorial fixes
Yoshitaka Aharen [Wed, 13 Feb 2013 01:44:52 +0000 (10:44 +0900)]
[2157] remove dependency on xml.dom.minidom
JINMEI Tatuya [Tue, 12 Feb 2013 18:12:43 +0000 (10:12 -0800)]
[master] Merge branch 'trac2586'
JINMEI Tatuya [Tue, 12 Feb 2013 18:10:33 +0000 (10:10 -0800)]
[master] changelog entry for #2585
JINMEI Tatuya [Tue, 12 Feb 2013 18:06:51 +0000 (10:06 -0800)]
[master] Merge branch 'trac2585'
JINMEI Tatuya [Tue, 12 Feb 2013 18:04:00 +0000 (10:04 -0800)]
[master] changelog entry for #2659
JINMEI Tatuya [Tue, 12 Feb 2013 18:01:54 +0000 (10:01 -0800)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
commit.
JINMEI Tatuya [Tue, 12 Feb 2013 17:59:39 +0000 (09:59 -0800)]
[master] Merge branch 'trac2659'
Mukund Sivaraman [Tue, 12 Feb 2013 17:51:08 +0000 (23:21 +0530)]
[master] Add missing ChangeLog entry for #1756
JINMEI Tatuya [Tue, 12 Feb 2013 17:21:49 +0000 (09:21 -0800)]
[1924] corrected typo, folded a long line.