]>
git.ipfire.org Git - thirdparty/kea.git/log
Jelte Jansen [Tue, 26 Mar 2013 08:44:02 +0000 (09:44 +0100)]
[1086] Fix wrong addressformatter call
and add test for it
Mukund Sivaraman [Tue, 26 Mar 2013 04:51:17 +0000 (10:21 +0530)]
Merge branch 'trac2826'
Mukund Sivaraman [Tue, 26 Mar 2013 04:50:56 +0000 (10:20 +0530)]
[2826] Add note that the BIND 10 libraries' API/ABI may change
Paul Selkirk [Mon, 25 Mar 2013 19:11:20 +0000 (15:11 -0400)]
[2391] add afsdb to gen-rdatacode.py.in
Also fix typos in afsdb_18.cc doxygen comments.
Thomas Markwalder [Mon, 25 Mar 2013 17:14:39 +0000 (13:14 -0400)]
[2721] Added test of post Option6IA fetch in Dhcpv6SrvTest::checkIA_NA()
per review comments.
Michal 'vorner' Vaner [Mon, 25 Mar 2013 15:50:47 +0000 (16:50 +0100)]
[2738] Primitives of the low-level IPC
Jelte Jansen [Mon, 25 Mar 2013 15:27:28 +0000 (16:27 +0100)]
[master] Merge branch 'trac2583'
Mukund Sivaraman [Mon, 25 Mar 2013 14:45:36 +0000 (20:15 +0530)]
[2387] Add NSEC3PARAM test for bad base32 hex sequence
Thomas Markwalder [Mon, 25 Mar 2013 14:43:10 +0000 (10:43 -0400)]
Merge branch 'trac2789' - Addressed review comments
Mukund Sivaraman [Mon, 25 Mar 2013 14:39:52 +0000 (20:09 +0530)]
[2387] Add number vs non-number tests
Jeremy C. Reed [Mon, 25 Mar 2013 14:37:50 +0000 (09:37 -0500)]
[master] also have clean remove the python optimized byte-compiled file
It has been failing on distclean for around a week at least
due to file left around.
Newer python's keep under __pycache__ which was already handled.
Reviewed on jabber.
Jeremy C. Reed [Mon, 25 Mar 2013 14:36:15 +0000 (09:36 -0500)]
[master] clean also remove python optimized byte-compiled file
This is ticket http://bind10.isc.org/ticket/2747
It has been failing on distclean for long time
due to file left around.
Newer python's keep under __pycache__ which was already handled.
Reviewed on jabber.
Jeremy C. Reed [Mon, 25 Mar 2013 14:34:16 +0000 (09:34 -0500)]
[master] remove some python optimized byte-compiled files
msgq_run_test.py uses src/lib/python/isc/cc/proto_defs.py which
uses cc_generated version which created some .pyo files:
./src/lib/python/isc/cc/cc_generated/__init__.pyo
./src/lib/python/isc/cc/cc_generated/proto_defs.pyo
which are left over after distclean.
quick review via jabber
Thomas Markwalder [Mon, 25 Mar 2013 14:34:03 +0000 (10:34 -0400)]
[2789] Updated copyright dates.
Thomas Markwalder [Mon, 25 Mar 2013 14:03:54 +0000 (10:03 -0400)]
[2721] Updated copyright dates.
Mukund Sivaraman [Mon, 25 Mar 2013 13:42:30 +0000 (19:12 +0530)]
[2387] Use a slightly more efficent getString()
Thomas Markwalder [Mon, 25 Mar 2013 12:13:43 +0000 (08:13 -0400)]
[2721] Addressed review comments. Corrected spacing, function descriptions,
and replaced use of local variable tmp in checkNakResponse.
Thomas Markwalder [Mon, 25 Mar 2013 12:09:00 +0000 (08:09 -0400)]
Revert "[2721] Added unit test change comment"
This reverts commit
e07f341d540ce584b3edc424a8cf9a8f1b9a542c .
Thomas Markwalder [Mon, 25 Mar 2013 11:30:49 +0000 (07:30 -0400)]
[2789] Removed the private member, Pool6::prefix_len_. It was created
to support prefix delegation which has not been designed yet.
Mukund Sivaraman [Mon, 25 Mar 2013 10:40:08 +0000 (16:10 +0530)]
[2387] Support empty bitmaps in buildBitmapsFromLexer()
This avoids an extra ungetToken() and cuts down on some code too.
Mukund Sivaraman [Mon, 25 Mar 2013 10:19:44 +0000 (15:49 +0530)]
[2387] Add a code comment
Mukund Sivaraman [Mon, 25 Mar 2013 09:54:36 +0000 (15:24 +0530)]
[2387] Keep extracting strings until end-of-input, and throw otherwise
Michal 'vorner' Vaner [Mon, 25 Mar 2013 08:25:26 +0000 (09:25 +0100)]
[2737] Few more occurrences
Few more occurrences of the magic keywords scattered through the code
replaced by constants.
Mukund Sivaraman [Mon, 25 Mar 2013 07:50:06 +0000 (13:20 +0530)]
[2387] Unify constructor API documentation
JINMEI Tatuya [Fri, 22 Mar 2013 21:46:04 +0000 (14:46 -0700)]
[2252] folded long line, and a bit of doc clarification
JINMEI Tatuya [Fri, 22 Mar 2013 16:11:38 +0000 (09:11 -0700)]
[master] changelog for #1938
JINMEI Tatuya [Fri, 22 Mar 2013 15:56:40 +0000 (08:56 -0700)]
[master] Merge branch 'trac1938'
JINMEI Tatuya [Fri, 22 Mar 2013 15:53:28 +0000 (08:53 -0700)]
[1938] corrected a non-expected keyword in a lettuce test
(it didn't make sense before this branch, but now it could cause regression
as we remove the 'new' qualifier).
JINMEI Tatuya [Fri, 22 Mar 2013 15:35:58 +0000 (08:35 -0700)]
[master] Merge branch 'trac1938'
Jelte Jansen [Fri, 22 Mar 2013 15:19:41 +0000 (16:19 +0100)]
[2583] add LETTUCE_KEEP_OUTPUT options/env var
Michal 'vorner' Vaner [Fri, 22 Mar 2013 10:13:11 +0000 (11:13 +0100)]
[2835] Use string for segment type
Instead of hard-coded enum type. The data source should be agnostic to
the type.
Michal 'vorner' Vaner [Fri, 22 Mar 2013 09:38:37 +0000 (10:38 +0100)]
[2835] Fix comment
Michal 'vorner' Vaner [Fri, 22 Mar 2013 09:37:17 +0000 (10:37 +0100)]
[2835] Throw a more appropriate exception
Michal 'vorner' Vaner [Fri, 22 Mar 2013 09:20:13 +0000 (10:20 +0100)]
[2835] Clarification of doxygen
Saying the segments are for in-memory cache. Also adding note about
future extending and exceptions.
Michal 'vorner' Vaner [Fri, 22 Mar 2013 09:03:24 +0000 (10:03 +0100)]
[2835] Rename enum item
SEGMENT_MAPPED may be misleading in case of locally-allocated memory.
Using SEGMENT_INUSE.
JINMEI Tatuya [Fri, 22 Mar 2013 07:04:24 +0000 (00:04 -0700)]
[1938] corrected the use of 'wait for new' based on the revised semantics.
in some cases we can't simply use 'new' (but normally safe without it),
and in some cases we need additional synchronization points to make it
work more reliably.
JINMEI Tatuya [Fri, 22 Mar 2013 07:01:37 +0000 (00:01 -0700)]
[1938] clarify and more rationalize the "only_new" ver of wait_for variants.
previously the semantics was a bit ambiguous and resulted in some
less predictable behavior. (and, non suprisingly, some usage cases
in features seem to be wrong about "wait for new").
Paul Selkirk [Fri, 22 Mar 2013 03:08:58 +0000 (23:08 -0400)]
[2391] update AFSDB to use the MasterLexer
Thomas Markwalder [Thu, 21 Mar 2013 17:33:51 +0000 (13:33 -0400)]
[2784] Added logic to test_control.cc to check for a mismatch
between the commnd line arguments for ip version and server.
Added test_control unit tests to verify mismatch detection.
Jelte Jansen [Thu, 21 Mar 2013 12:53:01 +0000 (13:53 +0100)]
[1938] comment typo
Thomas Markwalder [Thu, 21 Mar 2013 12:19:41 +0000 (08:19 -0400)]
[2785] Modified logic in StatsMgr::ExchangeStats to calculate
packet sent and received times as time elapsed since perfdhcp
start up time (StatsMgr::boot_time_).
Naoki Kambe [Thu, 21 Mar 2013 09:47:25 +0000 (18:47 +0900)]
[2252] add notes about counters of Xfrin: soaoutv4, axfrreqv4, soaoutv6, axfrreqv6, and xfrfail
Naoki Kambe [Thu, 21 Mar 2013 09:35:07 +0000 (18:35 +0900)]
[2252] set the expected max value of rejection counters to 3
Naoki Kambe [Thu, 21 Mar 2013 09:09:32 +0000 (18:09 +0900)]
[2252] update description of xfrin_notify_handling.feature
according to the actual tests running in this feature tests
Naoki Kambe [Thu, 21 Mar 2013 09:04:04 +0000 (18:04 +0900)]
[2252] remove several initial checks for unixdomain socket counters of Xfrout
Because they are included in the previous initial statistics checks.
Naoki Kambe [Thu, 21 Mar 2013 06:35:19 +0000 (15:35 +0900)]
[2252] add a port number of cmdctl as an option of check_init_statistics()
Naoki Kambe [Thu, 21 Mar 2013 06:38:08 +0000 (15:38 +0900)]
[2252] generalize the module name as an argument of check_init_statistics()
not need to specify the category name with the module name
respectively, check all statistics items of the module from the top
level of the tree.
Naoki Kambe [Thu, 21 Mar 2013 05:48:26 +0000 (14:48 +0900)]
[2252] update description of check_statistics_items() about min_value and max_value
Naoki Kambe [Thu, 21 Mar 2013 04:26:21 +0000 (13:26 +0900)]
[2252] add tests dedicated to statistics
Naoki Kambe [Tue, 19 Mar 2013 09:54:17 +0000 (18:54 +0900)]
[2252] remove checks of statistics counters from the existing test classes unrelated to statistics tests
Naoki Kambe [Mon, 18 Mar 2013 11:37:13 +0000 (20:37 +0900)]
[2252] replace the log message XFRIN_RECEIVED_COMMAND to the more general id XFRIN_RECEIVED_COMMAND with the command name
Naoki Kambe [Mon, 18 Mar 2013 11:01:01 +0000 (20:01 +0900)]
[2252] remove the if condition because we don't need to consider any other status than XFRIN_OK and XFRIN_FAIL
Jelte Jansen [Wed, 20 Mar 2013 13:37:52 +0000 (14:37 +0100)]
[1086] Replace addr#port with addr:port
So that output of addresses is now consistent
Thomas Markwalder [Wed, 20 Mar 2013 11:36:41 +0000 (07:36 -0400)]
[2770] The lib/dhcpsrv Makefile.am was modified to suffix
DHCP_DATA_DIR with "/bind10". This causes the dhcp server id
files to be located in --localstatedir/bind10. The Makefile
also ensures that the directory is created during install.
JINMEI Tatuya [Wed, 20 Mar 2013 07:45:00 +0000 (00:45 -0700)]
[master] editorial: folded a long line.
JINMEI Tatuya [Wed, 20 Mar 2013 07:27:59 +0000 (00:27 -0700)]
[1938] added 2 new lettuce tests for notify: NOTAUTH and not in secondary.
JINMEI Tatuya [Wed, 20 Mar 2013 07:25:38 +0000 (00:25 -0700)]
[1938] made retransfer_slave_notify.conf modifiable.
JINMEI Tatuya [Wed, 20 Mar 2013 06:41:41 +0000 (23:41 -0700)]
[1938] added a log message in notify_out when receiving a valid response.
mainly for rationalizing lettuce tests that are coming after this.
JINMEI Tatuya [Wed, 20 Mar 2013 05:44:32 +0000 (22:44 -0700)]
[1938] updated log msg/description when notify doesn't match secondaries.
it's now a debug message, and the description is revised to explain the
situation more correctly.
JINMEI Tatuya [Wed, 20 Mar 2013 05:29:43 +0000 (22:29 -0700)]
[1938] make sure zonemgr doesn't treat unmatched notify as an error.
it can happen if the server is a primary of the zone; notauth case is
now handled in auth.
JINMEI Tatuya [Wed, 20 Mar 2013 05:29:01 +0000 (22:29 -0700)]
[1938] editorial cleanup: simplififcation
JINMEI Tatuya [Wed, 20 Mar 2013 03:35:03 +0000 (20:35 -0700)]
[1938] editorial cleanups: folded some long lines
JINMEI Tatuya [Wed, 20 Mar 2013 03:24:14 +0000 (20:24 -0700)]
[1938] logged "notauth" NOTIFYs.
also improved in-auth and not-auth cases of logs with the sender endpoint
information.
JINMEI Tatuya [Wed, 20 Mar 2013 03:11:36 +0000 (20:11 -0700)]
[1938] reject 'notauth' notifies immediately from b10-auth.
JINMEI Tatuya [Wed, 20 Mar 2013 02:09:56 +0000 (19:09 -0700)]
[1938] test refactoring: make sure some notify tests use auth zone.
as we are going to introduce this check, so these existing tests will fail
otherwise. helper functions was moved upward in the file (with small
extension) so they can be used by these tests.
Paul Selkirk [Tue, 19 Mar 2013 23:16:56 +0000 (19:16 -0400)]
[1831] Fix a deprecation warning in xfrin.py
Also add my name to AUTHORS.
JINMEI Tatuya [Tue, 19 Mar 2013 20:27:13 +0000 (13:27 -0700)]
[2835] constify
Jelte Jansen [Tue, 19 Mar 2013 14:05:45 +0000 (15:05 +0100)]
[master] Merge branch 'trac2817'
Michal 'vorner' Vaner [Tue, 19 Mar 2013 13:37:05 +0000 (14:37 +0100)]
[2737] Use the correct constant
Michal 'vorner' Vaner [Tue, 19 Mar 2013 13:19:49 +0000 (14:19 +0100)]
Changelof for #2624
Michal 'vorner' Vaner [Tue, 19 Mar 2013 13:16:38 +0000 (14:16 +0100)]
Merge #2624
Get rid of the shell/perl-based system tests
Michal 'vorner' Vaner [Tue, 19 Mar 2013 13:05:09 +0000 (14:05 +0100)]
[2737] Fix constant name
Michal 'vorner' Vaner [Tue, 19 Mar 2013 12:45:39 +0000 (13:45 +0100)]
[2737] Use protocol constants in isc::config::ModuleConfigSession
Michal 'vorner' Vaner [Tue, 19 Mar 2013 12:08:50 +0000 (13:08 +0100)]
[2737] Use constants in isc::cc::Session
Michal 'vorner' Vaner [Tue, 19 Mar 2013 11:44:47 +0000 (12:44 +0100)]
[2737] Use constants in isc.config.ccsession
Michal 'vorner' Vaner [Tue, 19 Mar 2013 11:42:42 +0000 (12:42 +0100)]
[2737] Use constants in cfgmgr
Jelte Jansen [Tue, 19 Mar 2013 11:39:37 +0000 (12:39 +0100)]
[2817] fix the double dollar
Michal 'vorner' Vaner [Tue, 19 Mar 2013 11:12:34 +0000 (12:12 +0100)]
[2737] Use the constants is isc.cc.session
Michal 'vorner' Vaner [Tue, 19 Mar 2013 10:41:02 +0000 (11:41 +0100)]
[2737] Use protocol constants in msgq
Convert the msgq to use the protocol constants instead of hardcoded
magic strings.
Michal 'vorner' Vaner [Tue, 19 Mar 2013 09:26:29 +0000 (10:26 +0100)]
[2835] Include the segment type
Specify the segment type used. This is SEGMENT_LOCAL for now with every
segment used, but it is ready for when we have different kinds of
segments too.
Michal 'vorner' Vaner [Tue, 19 Mar 2013 09:08:04 +0000 (10:08 +0100)]
[2835] Revise the MemorySegmentState
* Don't base it on the type of segment (eg. remove MSS_LOCAL).
* Use a SEGMENT_ prefix instead of MSS_ (MSS reportedly usually refers
to something else).
Michal 'vorner' Vaner [Tue, 19 Mar 2013 08:48:42 +0000 (09:48 +0100)]
[2835] (minor) Blank lines
Michal 'vorner' Vaner [Tue, 19 Mar 2013 08:45:17 +0000 (09:45 +0100)]
[2835] Make the DataSourceStatus read-only
Make the segmentState property of the DataSourceStatus immutable, making
the whole class read-only (except for assignment, which is needed for
putting it into a vector).
JINMEI Tatuya [Tue, 19 Mar 2013 07:23:02 +0000 (00:23 -0700)]
[2835] editorial cleanups: use _ for var names, fixed a typo
Naoki Kambe [Mon, 18 Mar 2013 10:54:54 +0000 (19:54 +0900)]
[2252] add notes about the case that the timer is already started but not yet stopped
Jelte Jansen [Mon, 18 Mar 2013 14:23:41 +0000 (15:23 +0100)]
[2817] Fix sed calls in configure.ac
Michal 'vorner' Vaner [Mon, 18 Mar 2013 12:23:18 +0000 (13:23 +0100)]
[2624] Drop the system tests
Michal 'vorner' Vaner [Mon, 18 Mar 2013 12:17:39 +0000 (13:17 +0100)]
[2624] Port the ixfr/in-2 test
As the only test that is being run in the system tests from xfrin.
The porting is not exact, we don't build the differences in bind9. We
provide them in a database already - we don't want to rely on bind9 and
bind10 can't build differences as of yet from master files (eg.
ixfr-from-differences).
Naoki Kambe [Mon, 18 Mar 2013 09:39:25 +0000 (18:39 +0900)]
[2252] _get_ipver_str() raises a ValueError exception on address families other than AF_INET or AF_INET6
Naoki Kambe [Mon, 18 Mar 2013 07:01:37 +0000 (16:01 +0900)]
[2252] update docstring of _get_ipver_str() about accessing
Naoki Kambe [Mon, 18 Mar 2013 10:25:11 +0000 (19:25 +0900)]
[2252] update descriptions of latest_ixfr_duration and latest_axfr_duration about their default values
Michal 'vorner' Vaner [Mon, 18 Mar 2013 09:36:09 +0000 (10:36 +0100)]
[2624] Port the glue systest to lettuce
It just does two queries and compares the output.
Thomas Markwalder [Fri, 15 Mar 2013 19:36:34 +0000 (15:36 -0400)]
[2837] Added include of <string.h> to HWAddr.cc. Compile on OS/X
without, but not on Debian.
Thomas Markwalder [Fri, 15 Mar 2013 18:19:42 +0000 (14:19 -0400)]
[2837] Changed mysql to enforce STRICT mode
Changes:
- hwaddr.h - added MAX_HWADDR_LEN
- hwaddr.cc - modified constructor to throw InvalidParameter
if input address is too big
- hwaddr_unittest.cc - added tests for new constructor throws
- lease_mgr.h - removed HWADDR_MAX
- mysql_lease_mgr.cc - added logic to set SQL mode to STRICT
- tests/mysql_lease_mgr_unittest.cc - modified tests that were
failing on STRICT mode, to expect exceptions.
Michal 'vorner' Vaner [Fri, 15 Mar 2013 11:39:30 +0000 (12:39 +0100)]
[2835] The ClientList::getStatus method
So one can extract status of all the data source clients from the list
and allow using it from future management of the memory segments.
Michal 'vorner' Vaner [Fri, 15 Mar 2013 10:20:02 +0000 (11:20 +0100)]
[2835] The DataSourceStatus class
Just a thin state holder class
Michal 'vorner' Vaner [Fri, 15 Mar 2013 09:42:27 +0000 (10:42 +0100)]
[2835] Update the higher-level test
We now allow having data sources with the same name if they are in
different classes. It would be significantly harder to implement and we
can identify the sources by the class+name tuple.
Michal 'vorner' Vaner [Fri, 15 Mar 2013 09:34:36 +0000 (10:34 +0100)]
[1835] Read name from configuration
Read the name of the data source client from configuration or guess it.
Throw in case it isn't unique.
Michal 'vorner' Vaner [Fri, 15 Mar 2013 08:48:08 +0000 (09:48 +0100)]
[1835] (unrelated) docs: Clarify what happens if key missing
Michal 'vorner' Vaner [Fri, 15 Mar 2013 07:35:22 +0000 (08:35 +0100)]
Fix problem with long path on build bots
Place the socket higher in the hierarchy (to the top-level build
directory) to have a shorter path.