]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Tue, 29 Jan 2013 05:58:07 +0000 (11:28 +0530)]
[2390] Make minor documentation updates
Mukund Sivaraman [Tue, 29 Jan 2013 05:52:42 +0000 (11:22 +0530)]
[2390] Add API doc for PTR constructors
Yoshitaka Aharen [Tue, 29 Jan 2013 05:49:55 +0000 (14:49 +0900)]
[2157] statistics counter check in lettuce corrected
it didn't work if only 'counter' parameter is given
Mukund Sivaraman [Tue, 29 Jan 2013 05:44:00 +0000 (11:14 +0530)]
[2390] Add API doc for NS constructors
Mukund Sivaraman [Tue, 29 Jan 2013 05:11:19 +0000 (10:41 +0530)]
[2390] Adjust some more tests for NS construction changes
Mukund Sivaraman [Mon, 28 Jan 2013 10:05:39 +0000 (15:35 +0530)]
[2390] Update std::string PTR constructor to use the MasterLexer
Also adjust tests.
Mukund Sivaraman [Mon, 28 Jan 2013 09:54:34 +0000 (15:24 +0530)]
[2390] Update std::string MX constructor to use the MasterLexer
Also adjust tests.
Mukund Sivaraman [Mon, 28 Jan 2013 08:51:47 +0000 (14:21 +0530)]
[2390] Update std::string NS constructor to use the MasterLexer
Also adjust tests.
Mukund Sivaraman [Mon, 28 Jan 2013 07:36:20 +0000 (13:06 +0530)]
[2390] Update zones to start using relative names
Mukund Sivaraman [Mon, 28 Jan 2013 07:18:07 +0000 (12:48 +0530)]
[2390] Use createNameFromLexer()
Also fix tests to use absolute names.
Mukund Sivaraman [Thu, 24 Jan 2013 05:54:56 +0000 (11:24 +0530)]
[2390] Add NS implementation
Mukund Sivaraman [Thu, 24 Jan 2013 05:54:44 +0000 (11:24 +0530)]
[2390] Add PTR implementation
Mukund Sivaraman [Thu, 24 Jan 2013 05:54:27 +0000 (11:24 +0530)]
[2390] Add MX implementation
JINMEI Tatuya [Tue, 29 Jan 2013 04:25:20 +0000 (20:25 -0800)]
[1866] auto-generate RRType defs for all (yet fully) unsupported types.
added some tests to check the definitions are complete and correct.
JINMEI Tatuya [Tue, 29 Jan 2013 04:34:05 +0000 (20:34 -0800)]
[1866] added an empty .gitignore to keep the effectively-empty directory.
JINMEI Tatuya [Tue, 29 Jan 2013 03:12:17 +0000 (19:12 -0800)]
[1866] added framework to handle meta/non-(fully-)supported RRtypes.
now some parameters for ANY, AXFR, IXFR types and NONE class are
auto-generated, and corresponding hardcoding was removed.
JINMEI Tatuya [Mon, 28 Jan 2013 22:59:30 +0000 (14:59 -0800)]
[1866] remove '()' from RCode/Opcode.XXX constants, making all tests pass now
JINMEI Tatuya [Mon, 28 Jan 2013 22:15:31 +0000 (14:15 -0800)]
[1866] remove '()' from RRType/Class.XXX constants, making all tests now pass.
JINMEI Tatuya [Sat, 26 Jan 2013 04:24:46 +0000 (20:24 -0800)]
[1866] adjusted test cases so they pass with new RRType/Class constants
JINMEI Tatuya [Sat, 26 Jan 2013 04:25:16 +0000 (20:25 -0800)]
[1866] remove old proxy-func style RRType/Class constants
JINMEI Tatuya [Mon, 28 Jan 2013 22:38:42 +0000 (14:38 -0800)]
[1866] define Rcode/Opcode python constants, as objects, not via proxy.
Mukund Sivaraman [Tue, 29 Jan 2013 02:52:23 +0000 (08:22 +0530)]
Merge branch 'master' into trac2435_2
Conflicts:
src/lib/datasrc/zone.h
src/lib/python/isc/datasrc/updater_inc.cc
JINMEI Tatuya [Mon, 28 Jan 2013 21:47:46 +0000 (13:47 -0800)]
[2435] updated pydoc for RRsetCollections to match the latest C++ doxygen doc.
JINMEI Tatuya [Mon, 28 Jan 2013 21:46:24 +0000 (13:46 -0800)]
[2435] some minor editorial cleanups
- adjusted header file position to be more consistent
- remove unnecessary "`" (only needed for trac)
- refer to dns::RRsetCollectionBase instead of datasrc::RRsetCollectionBase
JINMEI Tatuya [Mon, 28 Jan 2013 18:46:27 +0000 (10:46 -0800)]
[2310] added a test case where the original TTL is smaller than SOA minttl.
JINMEI Tatuya [Mon, 28 Jan 2013 18:41:43 +0000 (10:41 -0800)]
[2310] clarify/simplify the use of origin with textToRRset.
also moved convertRRset insde InMemoryZoneFinderTest class as a member
function so it can access origin_.
JINMEI Tatuya [Mon, 28 Jan 2013 18:28:56 +0000 (10:28 -0800)]
[2310] added some implementation notes as comment for in-memory findAtOrigin.
Michal 'vorner' Vaner [Mon, 28 Jan 2013 15:23:16 +0000 (16:23 +0100)]
[1924] (minor) Docstrings for the tests
Michal 'vorner' Vaner [Mon, 28 Jan 2013 15:20:09 +0000 (16:20 +0100)]
[1924] Decode the delivered messages in test
Decode the messages to see they are not errors. Check they contain
correct data and they are delivered to the correct socket.
Parsing of the errors is not present yet, it needs to be found out how
such an error looks like.
Michal 'vorner' Vaner [Mon, 28 Jan 2013 14:54:40 +0000 (15:54 +0100)]
[1924] Skeleton of the test for delivery errors
Let the msgq send several messages, some of them are deliverable, some
of them not. Some require reporting of error, some don't. Check it
generates the errors in the right moments and delivers the messages that
can be.
The test is not complete yet, we don't have parsing of the messages.
Michal 'vorner' Vaner [Mon, 28 Jan 2013 14:08:30 +0000 (15:08 +0100)]
[1924] Mark a place to add the error handling
Jelte Jansen [Mon, 28 Jan 2013 14:06:36 +0000 (15:06 +0100)]
[master] Update changelog for merge of #1897
Jelte Jansen [Mon, 28 Jan 2013 14:05:20 +0000 (15:05 +0100)]
[master] Merge branch 'trac1897'
Yoshitaka Aharen [Mon, 28 Jan 2013 13:38:26 +0000 (22:38 +0900)]
[2157] avoid using unnamed namespace in header file
Yoshitaka Aharen [Mon, 28 Jan 2013 13:33:21 +0000 (22:33 +0900)]
Revert "[2157] pass IP versions and transport protocols with enum"
This reverts commit
c2165222deb85cb2ff99a7146b28c659624edc24 .
Conflicts:
src/bin/auth/statistics.cc.pre
src/bin/auth/statistics.h
src/bin/auth/tests/statistics_unittest.cc.pre
Michal 'vorner' Vaner [Mon, 28 Jan 2013 13:28:17 +0000 (14:28 +0100)]
[2439] Call the check callbacks from tests
Test they have no side effects as to the acceptance of the zone, just
log stuff.
Yoshitaka Aharen [Mon, 28 Jan 2013 13:04:02 +0000 (22:04 +0900)]
[2157] added a comment for step.hashes
Michal 'vorner' Vaner [Mon, 28 Jan 2013 12:51:45 +0000 (13:51 +0100)]
[2439] Add missing isinstance
We check the result is of correct type, so use isinstance. It is unclear
how the original code could pass, though.
Michal 'vorner' Vaner [Mon, 28 Jan 2013 12:51:13 +0000 (13:51 +0100)]
[2439] (minor) Comment fix
Fix a code in comment. It wouldn't work, but it was saying what not to
do anyway.
Yoshitaka Aharen [Mon, 28 Jan 2013 12:50:20 +0000 (21:50 +0900)]
[2157] added a note to describe response() processes 3 messages
Michal 'vorner' Vaner [Mon, 28 Jan 2013 12:44:13 +0000 (13:44 +0100)]
[2439] Fix logging placeholders
The XFRIN_INVALID_ZONE_DATA was numbered from %2, not from %1.
Yoshitaka Aharen [Mon, 28 Jan 2013 12:42:47 +0000 (21:42 +0900)]
[2157] removed unused helper function from test code
Yoshitaka Aharen [Mon, 28 Jan 2013 12:41:32 +0000 (21:41 +0900)]
[2157] removed duplicate comment
Jelte Jansen [Mon, 28 Jan 2013 12:41:29 +0000 (13:41 +0100)]
[master] Merge branch 'trac2621'
Jelte Jansen [Mon, 28 Jan 2013 12:41:13 +0000 (13:41 +0100)]
[2621] Fix session_test for python3.3
Or more specifically, make the tests not depend on dict ordering
Michal 'vorner' Vaner [Mon, 28 Jan 2013 12:40:32 +0000 (13:40 +0100)]
[2439] (minor) Exception docstrings
Clarify one exception and document one old exception.
Yoshitaka Aharen [Mon, 28 Jan 2013 12:36:04 +0000 (21:36 +0900)]
[2157] use boost::optional for getRequestOpcode()
Marcin Siodelski [Mon, 28 Jan 2013 12:21:57 +0000 (13:21 +0100)]
[2657] Changes as a result of the second review.
Yoshitaka Aharen [Mon, 28 Jan 2013 12:12:42 +0000 (21:12 +0900)]
[2157] doxygen: Counters::inc() doesn't throw
Yoshitaka Aharen [Mon, 28 Jan 2013 12:08:54 +0000 (21:08 +0900)]
[2157] applied patch from 2157#comment:48
Yoshitaka Aharen [Mon, 28 Jan 2013 12:01:42 +0000 (21:01 +0900)]
[2157] added a note to explain why empty string is required
Yoshitaka Aharen [Mon, 28 Jan 2013 11:50:14 +0000 (20:50 +0900)]
[2157] updated doxygen comments
Yoshitaka Aharen [Mon, 28 Jan 2013 11:46:32 +0000 (20:46 +0900)]
[2157] rename setResponseSigTSIG to setResponseTSIG
Yoshitaka Aharen [Mon, 28 Jan 2013 11:42:55 +0000 (20:42 +0900)]
[2157] renamed setRequestSig to setRequestTSIG
Yoshitaka Aharen [Mon, 28 Jan 2013 11:38:57 +0000 (20:38 +0900)]
[2157] updated brief notes; indicate explicitly what is the attribute
Naoki Kambe [Mon, 28 Jan 2013 11:24:20 +0000 (20:24 +0900)]
[master] Merge branch 'trac2225_statistics_2'
Jelte Jansen [Mon, 28 Jan 2013 10:34:39 +0000 (11:34 +0100)]
[master] Fix floating point issue in unit test
reviewed on jabber (muks)
Mukund Sivaraman [Mon, 28 Jan 2013 03:58:26 +0000 (09:28 +0530)]
[2435] Make minor documentation updates
JINMEI Tatuya [Mon, 28 Jan 2013 03:52:48 +0000 (09:22 +0530)]
[2435] Make documentation updates
Mukund Sivaraman [Mon, 28 Jan 2013 03:51:41 +0000 (09:21 +0530)]
[2435] Make ZoneUpdater return a isc::dns::RRsetCollectionBase reference
JINMEI Tatuya [Mon, 28 Jan 2013 00:06:45 +0000 (05:36 +0530)]
[2435] Check result of find() in test
Mukund Sivaraman [Mon, 28 Jan 2013 00:02:22 +0000 (05:32 +0530)]
[2435] Remove exceptions that are not thrown
When these methods are implemented, the author can look at the API
documentation of the base class as suggested.
JINMEI Tatuya [Mon, 28 Jan 2013 00:01:01 +0000 (05:31 +0530)]
[2435] Make documentation updates
Mukund Sivaraman [Sun, 27 Jan 2013 23:18:27 +0000 (04:48 +0530)]
Merge branch 'trac2644'
Mukund Sivaraman [Sun, 20 Jan 2013 19:20:46 +0000 (00:50 +0530)]
[2644] Fix test failures in notify_out_test.py under Python 3.3
Mukund Sivaraman [Sun, 27 Jan 2013 23:15:02 +0000 (04:45 +0530)]
Merge branch 'trac2623'
Mukund Sivaraman [Sun, 20 Jan 2013 20:15:26 +0000 (01:45 +0530)]
[2623] Fix test failures in msgq_test.py under Python 3.3
Mukund Sivaraman [Sun, 27 Jan 2013 23:10:47 +0000 (04:40 +0530)]
Merge branch 'trac2622'
Mukund Sivaraman [Sun, 20 Jan 2013 19:13:00 +0000 (00:43 +0530)]
[2622] Fix test failures in config_data_test.py under Python 3.3
Mukund Sivaraman [Sun, 20 Jan 2013 19:07:00 +0000 (00:37 +0530)]
[2622] Stop using deprecated syntax for assertions
Mukund Sivaraman [Sun, 27 Jan 2013 22:55:59 +0000 (04:25 +0530)]
Merge branch 'master' into trac1756_2
JINMEI Tatuya [Sat, 26 Jan 2013 04:22:08 +0000 (20:22 -0800)]
[1866] added one special RRclass constant by hand: NONE
JINMEI Tatuya [Sat, 26 Jan 2013 04:10:00 +0000 (20:10 -0800)]
[1866] define some special types of RRType constants like AXFR.
JINMEI Tatuya [Sat, 26 Jan 2013 04:03:40 +0000 (20:03 -0800)]
[1866] update gen_rdatacode to autogenerate C++ code for some python wrapper.
specifically, it generates code to create RRType and RRClass constants.
Michal 'vorner' Vaner [Fri, 25 Jan 2013 11:23:19 +0000 (12:23 +0100)]
[2439] Lettuce test for failed validation after update
Check the new version is rejected and the old one is still available.
Naoki Kambe [Fri, 25 Jan 2013 06:48:26 +0000 (15:48 +0900)]
[2225_statistics_2] fix the failure in the build bot
http://git.bind10.isc.org/~tester/builder//BIND10-cppcheck/
20130125000502 -FreeBSD8-amd64-GCC/logs/unittests.out
Due to the difference of timing of invoking datetime.now(), _stop_timer()
should return greater than one second. But depending on runtime environment, it
happens to return one second exactly. For supporting this behaviour, regarding
checking of the returned value, 'assertGreater' is changed to
'assertGreaterEqual'.
JINMEI Tatuya [Fri, 25 Jan 2013 02:45:37 +0000 (18:45 -0800)]
[2310] extend findAtOrigin so it can handle use_minttl correctly.
JINMEI Tatuya [Fri, 25 Jan 2013 02:41:57 +0000 (18:41 -0800)]
[2310] added a new constructo of TreeNodeRRset so we can specify the TTL.
JINMEI Tatuya [Fri, 25 Jan 2013 02:32:26 +0000 (18:32 -0800)]
[2310] set zone's minimum TTL when loader adds the SOA RR.
JINMEI Tatuya [Fri, 25 Jan 2013 02:27:00 +0000 (18:27 -0800)]
[2310] update ZoneData so it can store/return the "minimum" TTL.
Jeremy C. Reed [Fri, 25 Jan 2013 00:02:07 +0000 (18:02 -0600)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Jeremy C. Reed [Fri, 25 Jan 2013 00:01:13 +0000 (18:01 -0600)]
[master] changelog cleanups
indent on description
use a tab before the keyword type.
use two tabs before the committer username.
line too long
Jeremy C. Reed [Thu, 24 Jan 2013 23:58:48 +0000 (17:58 -0600)]
[master] remove space before a tab in indent
JINMEI Tatuya [Thu, 24 Jan 2013 23:35:00 +0000 (15:35 -0800)]
[master] use assertTrue+isinstance instead of assertIsInstance.
the latter is relatively new and doesn't work for all of our supported
python versions. will fix a buildbot report. committing at my discretion.
JINMEI Tatuya [Thu, 24 Jan 2013 22:02:15 +0000 (14:02 -0800)]
[master] changelog for #2309; also corrected category for doc update (to 'doc')
JINMEI Tatuya [Thu, 24 Jan 2013 21:42:14 +0000 (13:42 -0800)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Jelte Jansen [Thu, 24 Jan 2013 21:35:49 +0000 (22:35 +0100)]
[master] update changelog for merge ot #2595
JINMEI Tatuya [Thu, 24 Jan 2013 21:27:36 +0000 (13:27 -0800)]
[master] Merge branch 'trac2309'
Jelte Jansen [Thu, 24 Jan 2013 21:06:47 +0000 (22:06 +0100)]
[master] Merge branch 'trac2595'
Jelte Jansen [Thu, 24 Jan 2013 20:39:18 +0000 (21:39 +0100)]
[2595] Small cleanup in __check_printed_messages()
Michal 'vorner' Vaner [Thu, 24 Jan 2013 18:47:37 +0000 (19:47 +0100)]
[2439] Lettuce test for rejecting a XFR transfer
Provide a zone without NS and see it rejects it.
This actually found a bug, maybe unrelated.
Michal 'vorner' Vaner [Thu, 24 Jan 2013 18:27:12 +0000 (19:27 +0100)]
[2439] Lettuce tests for post-xfrin validation
Check the data in existing tests produce warnings, but the data is still
accepted.
Michal 'vorner' Vaner [Thu, 24 Jan 2013 18:09:52 +0000 (19:09 +0100)]
[2439] Test of validation failure on IXFR
Michal 'vorner' Vaner [Thu, 24 Jan 2013 17:40:10 +0000 (18:40 +0100)]
[2439] Inherit the mock from RRsetCollectionBase
And make the test slightly cleaner by that. No change in functionality,
just rely on assumptions about what breaking of API don't matter little
bit less.
Michal 'vorner' Vaner [Thu, 24 Jan 2013 17:39:46 +0000 (18:39 +0100)]
[2439] (minor) Comment updates
Michal 'vorner' Vaner [Thu, 24 Jan 2013 16:49:07 +0000 (17:49 +0100)]
[2439] Invalid zone data isn't protocol error
Use separate error message and exception for the case when received zone
data doesn't pass basic validation.
Michal 'vorner' Vaner [Thu, 24 Jan 2013 14:20:42 +0000 (15:20 +0100)]
[2439] (minor) Comment updates
Stephen Morris [Thu, 24 Jan 2013 12:57:23 +0000 (12:57 +0000)]
[2657] Edits to the DHCP section of the guide as part of the review
Jelte Jansen [Thu, 24 Jan 2013 12:15:19 +0000 (13:15 +0100)]
[1897] Update lettuce test to new log ID
Jelte Jansen [Thu, 24 Jan 2013 11:10:20 +0000 (12:10 +0100)]
[1897] remove hostname from lettuce http log check