]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Tue, 11 Dec 2012 09:42:52 +0000 (10:42 +0100)]
[2526] Added universe parameter to OptionIntArray ctor.
Marcin Siodelski [Tue, 11 Dec 2012 12:12:33 +0000 (13:12 +0100)]
[2526] Renamed Option6IntArray to OptionIntArray.
... as this class is going to be used either for V6 or V4 now.
Yoshitaka Aharen [Tue, 11 Dec 2012 12:11:53 +0000 (21:11 +0900)]
[2157] test only for concerned counters
Marcin Siodelski [Mon, 10 Dec 2012 16:06:50 +0000 (17:06 +0100)]
[2526] OptionInt can be now used for V4 and V6.
Marcin Siodelski [Mon, 10 Dec 2012 09:54:52 +0000 (10:54 +0100)]
[2526] Renamed Option6Int to OptionInt as this will be used for V4 too.
Marcin Siodelski [Tue, 11 Dec 2012 11:56:31 +0000 (12:56 +0100)]
[2526] Added definitions for most of the DHCPv4 std options.
Yoshitaka Aharen [Tue, 11 Dec 2012 11:55:44 +0000 (20:55 +0900)]
[2157] fix checks for response is TSIG signed or not
Marcin Siodelski [Tue, 11 Dec 2012 11:36:57 +0000 (12:36 +0100)]
[master] Added ChangeLog entry for #2491.
Yoshitaka Aharen [Tue, 11 Dec 2012 11:32:39 +0000 (20:32 +0900)]
[2157] unify similar test codes
Yoshitaka Aharen [Tue, 11 Dec 2012 11:19:52 +0000 (20:19 +0900)]
[2157] add a testcase of truncated message
Marcin Siodelski [Tue, 11 Dec 2012 11:16:53 +0000 (12:16 +0100)]
[master] Merge branch 'trac2491'
Yoshitaka Aharen [Tue, 11 Dec 2012 10:51:55 +0000 (19:51 +0900)]
[2157] unify counter initialization check into a method
Jelte Jansen [Tue, 11 Dec 2012 10:42:18 +0000 (11:42 +0100)]
[master] Changelog entry for merge of #2445
Yoshitaka Aharen [Tue, 11 Dec 2012 10:36:22 +0000 (19:36 +0900)]
[2157] Counters::get() now returns ConstElementPtr.
Michal 'vorner' Vaner [Tue, 11 Dec 2012 10:35:28 +0000 (11:35 +0100)]
[2377] Check we warn about EOF without EOLN
Yoshitaka Aharen [Tue, 11 Dec 2012 10:26:43 +0000 (19:26 +0900)]
[2157] update doxygen comment
Michal 'vorner' Vaner [Tue, 11 Dec 2012 10:23:59 +0000 (11:23 +0100)]
[2377] Make error message similar to bind9
Michal 'vorner' Vaner [Tue, 11 Dec 2012 10:21:00 +0000 (11:21 +0100)]
[2377] Note about SOA
Jelte Jansen [Tue, 11 Dec 2012 10:02:21 +0000 (11:02 +0100)]
[2503] Replace private zone name with 'example.com'
Jelte Jansen [Tue, 11 Dec 2012 09:56:33 +0000 (10:56 +0100)]
[master] Merge branch 'trac2445'
Jelte Jansen [Tue, 11 Dec 2012 09:55:59 +0000 (10:55 +0100)]
[2445] Revert "Remove setLogLevel(TRACE) in createBufferAppender"
This reverts commit
3f9c7bb8a987dc1b4e2a9266ac95cf231d8fe621 .
Yoshitaka Aharen [Tue, 11 Dec 2012 09:45:18 +0000 (18:45 +0900)]
[2157] pass IP versions and transport protocols with enum
Yoshitaka Aharen [Tue, 11 Dec 2012 07:57:46 +0000 (16:57 +0900)]
[2157] declare MessageAttributes as temporary variable
JINMEI Tatuya [Tue, 11 Dec 2012 03:22:01 +0000 (19:22 -0800)]
[2470] use MasterLoader instead of masterLoad for in-memory loading from text.
there's one compatibility issus in unit tests in auth InMemoryQueryTest;
some owner names in the test zone file must be escaped. It's fixed in this
commit, too.
JINMEI Tatuya [Tue, 11 Dec 2012 04:03:40 +0000 (20:03 -0800)]
[2470] added documentation for RRCollator
Mukund Sivaraman [Tue, 11 Dec 2012 03:28:09 +0000 (08:58 +0530)]
[2503] Update doxygen comment for renamed arg
Mukund Sivaraman [Tue, 11 Dec 2012 03:09:39 +0000 (08:39 +0530)]
[master] Update ChangeLog for #2504
JINMEI Tatuya [Mon, 10 Dec 2012 23:10:22 +0000 (15:10 -0800)]
[2470] tested RRCollator with MasterLoader.
JINMEI Tatuya [Mon, 10 Dec 2012 23:03:54 +0000 (15:03 -0800)]
[2470] tested the case where rrset callback throws.
JINMEI Tatuya [Mon, 10 Dec 2012 22:54:20 +0000 (14:54 -0800)]
[2470] handled some advanced/unusual cases of RRCollator.
JINMEI Tatuya [Mon, 10 Dec 2012 21:59:54 +0000 (13:59 -0800)]
[2470] added RRCollator class with some simpler cases of def and tests
JINMEI Tatuya [Fri, 7 Dec 2012 22:54:47 +0000 (14:54 -0800)]
[2470] added wrapper interface to create null loader callbacks
this is especially useful for tests.
Michal 'vorner' Vaner [Mon, 10 Dec 2012 13:44:48 +0000 (14:44 +0100)]
[2377] Warn on unexpected EOF after error
When there's an error, we expect there'll be EOLN somewhere, so we can
recover. Warn in case there's EOF.
Michal 'vorner' Vaner [Mon, 10 Dec 2012 12:56:05 +0000 (13:56 +0100)]
[2377] Minor test code cleanups
Michal 'vorner' Vaner [Mon, 10 Dec 2012 12:52:05 +0000 (13:52 +0100)]
[2377] Allow checking if there was an error
Michal 'vorner' Vaner [Mon, 10 Dec 2012 12:36:08 +0000 (13:36 +0100)]
[2377] Make the construction exception safe
Michal 'vorner' Vaner [Mon, 10 Dec 2012 12:26:05 +0000 (13:26 +0100)]
[2377] Reject load incremental of 0 RRs
As it makes little sense.
JINMEI Tatuya [Fri, 7 Dec 2012 23:29:40 +0000 (15:29 -0800)]
[2377] constify
Mukund Sivaraman [Tue, 11 Dec 2012 01:57:11 +0000 (07:27 +0530)]
[2503] Rename arguments in protos to match what's used in definitions
Mukund Sivaraman [Tue, 11 Dec 2012 01:51:46 +0000 (07:21 +0530)]
[2503] Add doxygen comment for zone_name args
Mukund Sivaraman [Tue, 11 Dec 2012 01:26:57 +0000 (06:56 +0530)]
[master] Clear components dict as documented in BoB.kill_started_components()
This issue was detected post-merge, and seems to have been introduced
by commit
86ed7ae9cfb4184f5637a2e478242f0a646ba2e1 in master.
Mukund Sivaraman [Tue, 11 Dec 2012 00:24:01 +0000 (05:54 +0530)]
Merge branch 'master' into trac2353
Conflicts:
src/bin/bind10/bind10_src.py.in
Jelte Jansen [Mon, 10 Dec 2012 23:37:04 +0000 (00:37 +0100)]
[2445] Remove setLogLevel(TRACE) in createBufferAppender
This has a chance that some log messages get lost (DEBUG messages during startup in case -v is not given but the config has DEBUG set)
Jelte Jansen [Mon, 10 Dec 2012 21:39:52 +0000 (22:39 +0100)]
[1351] Use TSIGKeyRing class in xfrin
Also updated said class (added a find(name) without algorithm)
Jelte Jansen [Mon, 10 Dec 2012 20:49:23 +0000 (21:49 +0100)]
[1351] Update docstring of set_tsig_key_name()
Jelte Jansen [Mon, 10 Dec 2012 20:34:36 +0000 (21:34 +0100)]
[1351] Fix xml error in b10-xfrin.xml source
Marcin Siodelski [Mon, 10 Dec 2012 20:21:22 +0000 (21:21 +0100)]
[2491] Fixed a typo pointed out in the code review.
Jelte Jansen [Mon, 10 Dec 2012 20:09:47 +0000 (21:09 +0100)]
[2541] Documentation and cleanup
don't duplicate the duplicate zone check in sqlite3 accessor's addZone()
added documentation
Jeremy C. Reed [Mon, 10 Dec 2012 19:41:48 +0000 (13:41 -0600)]
[master] set DISTCHECK_GTEST_CONFIGURE_FLAG for --with-gtest too
This is for trac #2481. Review via jabber.
Marcin Siodelski [Mon, 10 Dec 2012 19:26:05 +0000 (20:26 +0100)]
[2491] Use .empty() function to check if container is empty.
Jelte Jansen [Mon, 10 Dec 2012 19:15:21 +0000 (20:15 +0100)]
[2541] add createZone() to DataSourceClient interface
Note: currently called createZone so as not to interfere with an existing addZone() call in MemoryClient.
Instead of pure virtual I made it have a default 'NotImplemented' method.
Also, the DatabaseClient holds the transaction (not the SQLite3Accessor); we could do it on that level but we already have a transaction API on a higher level and it makes a little bit more sense to me to do it there
Jelte Jansen [Mon, 10 Dec 2012 14:59:40 +0000 (15:59 +0100)]
[2541] Add addZone() to the abstract database accessor base class
Jelte Jansen [Mon, 10 Dec 2012 14:38:15 +0000 (15:38 +0100)]
[2541] addZone in SQLite3Accessor
JINMEI Tatuya [Mon, 10 Dec 2012 19:13:20 +0000 (11:13 -0800)]
[master] pass method param by const reference instead of by object
this will suppress a cppcheck error:
http://git.bind10.isc.org/~tester/builder//BIND10-cppcheck/
20121209143001 -FreeBSD8-amd64-GCC/logs/cppcheck.out
okayed on jabber.
Michal 'vorner' Vaner [Mon, 10 Dec 2012 18:24:34 +0000 (19:24 +0100)]
[2428] Implement popping of sources
At least in the normal case. Error cases must still be handled.
Michal 'vorner' Vaner [Mon, 10 Dec 2012 18:17:59 +0000 (19:17 +0100)]
[2428] Test popping the source
Michal 'vorner' Vaner [Mon, 10 Dec 2012 18:14:02 +0000 (19:14 +0100)]
[2428] Implement basic inclusion
Marcin Siodelski [Mon, 10 Dec 2012 17:32:42 +0000 (18:32 +0100)]
[2491] Use insert instead of memcpy to append to a vector.
JINMEI Tatuya [Mon, 10 Dec 2012 17:29:36 +0000 (09:29 -0800)]
[2445] make initializaation for BufferAppenderTest more exception safe.
by encapsulating the appender in SharedAppenderPtr immediately after the
creation, we can make sure buffer_appender1 won't leak even if the
creation of the second appender fails.
JINMEI Tatuya [Mon, 10 Dec 2012 17:26:34 +0000 (09:26 -0800)]
[2445] constify
Michal 'vorner' Vaner [Mon, 10 Dec 2012 16:49:27 +0000 (17:49 +0100)]
[2428] Tests for basic $INCLUDE handling
No special cases, no error handling, no domain name after that.
Michal 'vorner' Vaner [Mon, 10 Dec 2012 16:09:35 +0000 (17:09 +0100)]
[2428] Generic $DIRECTIVE handler
Decide which directive it is and call corresponding call based on that.
This currently throws NotImplemented for everything except for the
INCLUDE, which will get implemented in the next few commits in this
branch.
Michal 'vorner' Vaner [Mon, 10 Dec 2012 15:50:49 +0000 (16:50 +0100)]
[2428] Check the special handling of $
Stephen Morris [Mon, 10 Dec 2012 14:21:14 +0000 (14:21 +0000)]
[2546] Changed a missed "deleteLease6" to "deleteLease"
Stephen Morris [Mon, 10 Dec 2012 13:54:46 +0000 (13:54 +0000)]
[2546] Fixed some Doxygen warnings
Michal 'vorner' Vaner [Mon, 10 Dec 2012 13:44:48 +0000 (14:44 +0100)]
[2377] Warn on unexpected EOF after error
When there's an error, we expect there'll be EOLN somewhere, so we can
recover. Warn in case there's EOF.
Michal 'vorner' Vaner [Mon, 10 Dec 2012 12:56:05 +0000 (13:56 +0100)]
[2377] Minor test code cleanups
Michal 'vorner' Vaner [Mon, 10 Dec 2012 12:52:05 +0000 (13:52 +0100)]
[2377] Allow checking if there was an error
Marcin Siodelski [Mon, 10 Dec 2012 12:43:26 +0000 (13:43 +0100)]
[2491] Minor: fixed typo and updated comments.
Michal 'vorner' Vaner [Mon, 10 Dec 2012 12:36:08 +0000 (13:36 +0100)]
[2377] Make the construction exception safe
Michal 'vorner' Vaner [Mon, 10 Dec 2012 12:26:05 +0000 (13:26 +0100)]
[2377] Reject load incremental of 0 RRs
As it makes little sense.
Stephen Morris [Mon, 10 Dec 2012 12:06:06 +0000 (12:06 +0000)]
[2546] Correct issues raised by cppcheck
Mostly adding "const" to methods that don't change the class, but
also correcting a few other points that were raised.
Yoshitaka Aharen [Mon, 10 Dec 2012 12:00:23 +0000 (21:00 +0900)]
[2157] apply review comments
Stephen Morris [Mon, 10 Dec 2012 11:21:24 +0000 (11:21 +0000)]
[2546] Unify deleteLease4() and deleteLease6() into a single deleteLease()
Marcin Siodelski [Mon, 10 Dec 2012 11:17:47 +0000 (12:17 +0100)]
[2491] Moved option std option definitions to a separate header.
Jelte Jansen [Mon, 10 Dec 2012 10:52:00 +0000 (11:52 +0100)]
[2445] Some more cleanups
- renamed test class
- added a subclass of BufferAppender to directly test append()
(and re-enabled the relevant test case)
- minor doxy updates
Stephen Morris [Mon, 10 Dec 2012 10:35:28 +0000 (10:35 +0000)]
[2546] Define ClientIdPtr type
This is akin to the DuidPtr and is a shared point to a Client ID.
Jelte Jansen [Mon, 10 Dec 2012 10:26:41 +0000 (11:26 +0100)]
[2445] Add assert() after dynamic_cast
Jelte Jansen [Mon, 10 Dec 2012 10:26:16 +0000 (11:26 +0100)]
[2445] rename unit test file as well
Jelte Jansen [Mon, 10 Dec 2012 10:24:02 +0000 (11:24 +0100)]
[2445] Store string version of log level in buffer
And use those in the case of flushStdout() upon destruction
Stephen Morris [Mon, 10 Dec 2012 10:13:53 +0000 (10:13 +0000)]
[2546] Remove LeaseMgr::getLease4(address, subnetid)
As the address is th eprimary key of the table, there can only ever
be at most one lease in the database with a given address. Additional
selection by subnet ID is not needed.
Jelte Jansen [Mon, 10 Dec 2012 09:54:12 +0000 (10:54 +0100)]
[2445] rename log_buffer_impl to buffer_appender_impl
Since LogBuffer no longer exists, the file name did not match its content anymore
Jelte Jansen [Mon, 10 Dec 2012 09:31:47 +0000 (10:31 +0100)]
[2445] Remove LogBuffer class
and pull its functionality into BufferAppender
(one unit test temporarily disabled, might be removed in next commit or updated to get around the protected method it uses)
Mukund Sivaraman [Mon, 10 Dec 2012 01:34:44 +0000 (07:04 +0530)]
[2503] Check result of findNSEC3()
Mukund Sivaraman [Mon, 10 Dec 2012 01:17:56 +0000 (06:47 +0530)]
[2353] Update comments (recommended by review)
Mukund Sivaraman [Mon, 10 Dec 2012 01:13:07 +0000 (06:43 +0530)]
[2353] Rename and document BoB._run_under_unittests
Mukund Sivaraman [Mon, 10 Dec 2012 01:10:41 +0000 (06:40 +0530)]
[2353] Unify repeated test code
Mukund Sivaraman [Mon, 10 Dec 2012 01:00:27 +0000 (06:30 +0530)]
[2353] Use a test environment instead of an empty one
Mukund Sivaraman [Mon, 10 Dec 2012 00:44:00 +0000 (06:14 +0530)]
[2353] Use assertRaises() instead of the excessive code
Mukund Sivaraman [Sun, 9 Dec 2012 14:23:32 +0000 (19:53 +0530)]
[2504] Add ChangeLog entry
Mukund Sivaraman [Sun, 9 Dec 2012 13:03:06 +0000 (18:33 +0530)]
Merge branch 'master' into trac2504
Mukund Sivaraman [Sun, 9 Dec 2012 12:34:04 +0000 (18:04 +0530)]
[2504] Check result of find()
JINMEI Tatuya [Fri, 7 Dec 2012 23:29:40 +0000 (15:29 -0800)]
[2377] constify
JINMEI Tatuya [Fri, 7 Dec 2012 21:52:47 +0000 (13:52 -0800)]
[2470] Merge branch 'trac2377' into trac2470
Marcin Siodelski [Fri, 7 Dec 2012 20:36:42 +0000 (21:36 +0100)]
[master] perfdhcp test creates template files in a local folder.
The test used to create template files in a testdata folder without write
permissions. That caused 'make distcheck' errors. This regression had
been introduced with the ticket #2479. Okayed on jabber.
Stephen Morris [Fri, 7 Dec 2012 20:25:25 +0000 (20:25 +0000)]
[master] Remove indirection in defining size of arrays
cppcheck was complaining about what was effectively:
const int A = 6; const int B = A; std::string array[b];
Changing this to
const int B = 6; std::string array[b];
... works
Michal 'vorner' Vaner [Fri, 7 Dec 2012 18:51:41 +0000 (19:51 +0100)]
[2377] Check for EOF on recover from problem
Michal 'vorner' Vaner [Fri, 7 Dec 2012 18:34:47 +0000 (19:34 +0100)]
[2377] More broken cases
Some quoted strings where they can't happen and some broken tokens.
Michal 'vorner' Vaner [Fri, 7 Dec 2012 18:26:04 +0000 (19:26 +0100)]
[2377] Check the implementation accepts quoted names
This is questionable if it should be allowed (at least vim marks it in
red as error), but bind9 accepts it, so shall we too.
Michal 'vorner' Vaner [Fri, 7 Dec 2012 18:24:25 +0000 (19:24 +0100)]
[2377] Document fields of ErrorCase in tests