]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Thu, 25 Oct 2012 11:24:21 +0000 (13:24 +0200)]
[2318] Created basic unit tests to verify that option data has been set.
Marcin Siodelski [Thu, 25 Oct 2012 08:44:22 +0000 (10:44 +0200)]
[2318] Improved comments for option data parsers.
Mukund Sivaraman [Thu, 25 Oct 2012 05:16:59 +0000 (10:46 +0530)]
[2360] Also render any associated RRSIG in RRset::toText()
Mukund Sivaraman [Thu, 25 Oct 2012 05:16:28 +0000 (10:46 +0530)]
[2360] Test that RRset::toText() returns any associated RRSIG too
Mukund Sivaraman [Thu, 25 Oct 2012 04:44:59 +0000 (10:14 +0530)]
[master] Delete trailing whitespace
Mukund Sivaraman [Thu, 25 Oct 2012 04:26:58 +0000 (09:56 +0530)]
[2357] Rename macro to avoid conflict with another one
A macro in bin/auth/ shared name with a macro in lib/datasrc/. :)
Mukund Sivaraman [Thu, 25 Oct 2012 04:08:57 +0000 (09:38 +0530)]
[2357] Manually fix the odd ends that were left
* Some were left because they were not named .h
* Some were left because of typo in identifier names
Mukund Sivaraman [Thu, 25 Oct 2012 04:05:06 +0000 (09:35 +0530)]
[2357] Update scaffolding using fix-scaffolding.py tool
See bug #2367 for the fix-scaffolding.py tool.
Mukund Sivaraman [Thu, 25 Oct 2012 01:48:42 +0000 (07:18 +0530)]
[2357] Update the scaffolding which message compiler generates
JINMEI Tatuya [Thu, 25 Oct 2012 03:40:35 +0000 (20:40 -0700)]
[2297] minor correction to the get_uptime_desc() docstring
JINMEI Tatuya [Thu, 25 Oct 2012 03:39:40 +0000 (20:39 -0700)]
[2297] added one more test case for get_uptime_desc
Mukund Sivaraman [Thu, 25 Oct 2012 01:34:08 +0000 (07:04 +0530)]
[2236] Remove obsolete comment
Mukund Sivaraman [Thu, 25 Oct 2012 01:19:58 +0000 (06:49 +0530)]
[2236] Use PTHREAD_MUTEX_NORMAL fast mutexes by default
Mukund Sivaraman [Thu, 25 Oct 2012 00:50:59 +0000 (06:20 +0530)]
[2208] Constify and use references in some args
JINMEI Tatuya [Thu, 25 Oct 2012 00:17:55 +0000 (17:17 -0700)]
[2297] use size of free list for free memory on openbsd, too.
JINMEI Tatuya [Thu, 25 Oct 2012 00:16:23 +0000 (17:16 -0700)]
[2297] Merge branch 'trac2297' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2297
JINMEI Tatuya [Thu, 25 Oct 2012 00:11:48 +0000 (17:11 -0700)]
[2297] add SET_ENV_LIBRARY_PATH hack for run_sysinfo.sh
JINMEI Tatuya [Thu, 25 Oct 2012 00:06:46 +0000 (17:06 -0700)]
[2297] added a pretty-form of uptime in addition to the bare seconds
JINMEI Tatuya [Wed, 24 Oct 2012 23:08:02 +0000 (16:08 -0700)]
[2297] use the size of free-list to identify free memory for FreeBSD
total - active-VM isn't reliable as the former is physical while the latter
is virtual, and sometimes results in a negative value.
JINMEI Tatuya [Wed, 24 Oct 2012 22:43:53 +0000 (15:43 -0700)]
[2297] use smp.forward_signal_enabled to detect SMP-support kernel on freebsd.
kern.smp.active is misleading because it's always defined and can return 0
on an SMP-support kernel
JINMEI Tatuya [Wed, 24 Oct 2012 21:27:02 +0000 (14:27 -0700)]
[2297] (unrelated cleanup) don't bother to rename() it to be more standaalone
rename() sysinfo doesn't make much sense anyway, because it's a short-lived
process.
Stephen Morris [Wed, 24 Oct 2012 21:14:42 +0000 (22:14 +0100)]
[2342] Extend MySQL tests
Clear up after every test and check that commit works.
JINMEI Tatuya [Wed, 24 Oct 2012 21:10:39 +0000 (21:10 +0000)]
[2297] configure.ac and makefile updates for run_sysinfo
JINMEI Tatuya [Wed, 24 Oct 2012 20:48:12 +0000 (20:48 +0000)]
[2297] add run_ script. it's useful for dev environments.
Stephen Morris [Wed, 24 Oct 2012 20:28:24 +0000 (21:28 +0100)]
[2342] Remove hwaddr from lease6
Stephen Morris [Wed, 24 Oct 2012 20:18:13 +0000 (21:18 +0100)]
[2342] Corrections based on first part for third section of review.
Marcin Siodelski [Wed, 24 Oct 2012 18:38:58 +0000 (20:38 +0200)]
[2318] Create empty options in a parser and adding them to Subnet.
Stephen Morris [Wed, 24 Oct 2012 18:34:38 +0000 (19:34 +0100)]
[2342] Add check that database name cannot be NULL
Stephen Morris [Wed, 24 Oct 2012 18:18:33 +0000 (19:18 +0100)]
[2342] Address remaining issues in review comment 6.
Tomek Mrugalski [Wed, 24 Oct 2012 17:36:31 +0000 (19:36 +0200)]
[2324] Tests for IterativeAllocator written.
JINMEI Tatuya [Wed, 24 Oct 2012 17:16:42 +0000 (10:16 -0700)]
[master] use terminate() instead of assert(false) for forceful termination
JINMEI Tatuya [Wed, 24 Oct 2012 16:50:48 +0000 (09:50 -0700)]
[master] fixed some log message description to it matches the implementation
with some other wording cleanups.
JINMEI Tatuya [Wed, 24 Oct 2012 16:04:43 +0000 (09:04 -0700)]
[master] wording fix in changelog
trivial, committing at my discretion.
Tomek Mrugalski [Wed, 24 Oct 2012 14:42:36 +0000 (16:42 +0200)]
[2324] New tests for Allocation Engine implemented.
Stephen Morris [Wed, 24 Oct 2012 14:36:54 +0000 (15:36 +0100)]
[2342] Fix problems with time conversion
... traced to not initializing a "struct" properly.
Stephen Morris [Wed, 24 Oct 2012 13:27:43 +0000 (14:27 +0100)]
[2342] Changed Lease6 "client_id" field to "duid"
Stephen Morris [Wed, 24 Oct 2012 13:12:06 +0000 (14:12 +0100)]
[2342] Address review changes (in comment:5 of the ticket)
Tomek Mrugalski [Wed, 24 Oct 2012 13:06:21 +0000 (15:06 +0200)]
[2324] First allocation test implemented and passing
Tomek Mrugalski [Wed, 24 Oct 2012 13:05:09 +0000 (15:05 +0200)]
[2324] inPool methods added to Subnet4 and Subnet6
Michal 'vorner' Vaner [Wed, 24 Oct 2012 12:54:44 +0000 (14:54 +0200)]
[2209] Skeleton of the getCachedZoneWriter method
It is mostly copy of the reload() method. Currently, it does not contain
the initialization of load_action for the zone writer, so if a real zone
writer is returned, it doesn't work (it throws). But the tests for the
unsuccessful cases succeed.
There's also need to do something about the duplicate code between this
method and the reload(). Later on, we'll probably rewrite reload to use
the ZoneWriter (and even later deprecate reload, maybe? Or keep it as
the thin wrapper for convenience?)
Tomek Mrugalski [Wed, 24 Oct 2012 11:17:45 +0000 (13:17 +0200)]
[2324] Memfile_LeaseMgr is moved to a separate file
Marcin Siodelski [Mon, 15 Oct 2012 11:39:37 +0000 (13:39 +0200)]
[2318] Basic configuration parsers for option data added.
Marcin Siodelski [Wed, 24 Oct 2012 08:58:24 +0000 (10:58 +0200)]
[master] Merge branch 'trac2316'
Marcin Siodelski [Wed, 24 Oct 2012 08:57:39 +0000 (10:57 +0200)]
[2316] Passing option by reference as suggested in the review.
Jeremy C. Reed [Tue, 23 Oct 2012 18:44:28 +0000 (13:44 -0500)]
[master]Merge remote-tracking branch 'origin/trac2361'
JINMEI Tatuya [Tue, 23 Oct 2012 18:23:46 +0000 (11:23 -0700)]
[master] changelog entry for #2211
JINMEI Tatuya [Tue, 23 Oct 2012 18:21:56 +0000 (11:21 -0700)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Tue, 23 Oct 2012 18:21:35 +0000 (11:21 -0700)]
[master] Merge branch 'trac2211'
with fixing Conflicts to:
src/bin/auth/auth_srv.cc
src/bin/auth/auth_srv.h
src/bin/auth/datasrc_clients_mgr.h
src/bin/auth/main.cc
src/bin/auth/tests/auth_srv_unittest.cc
src/bin/auth/tests/command_unittest.cc
Marcin Siodelski [Tue, 23 Oct 2012 18:07:28 +0000 (20:07 +0200)]
[master] Use std::copy to write IP address to buffer.
This fix resolves build issues on Fedora 17. Okayed on jabber.
Marcin Siodelski [Tue, 23 Oct 2012 18:06:52 +0000 (20:06 +0200)]
[master] Remove narrowing conversion from int to uint8_t.
This fix eliminates build failure on Fedora17 and Debian7. Okayed on jabber.
Jelte Jansen [Tue, 23 Oct 2012 17:40:28 +0000 (19:40 +0200)]
[master] Merge branch 'trac2210'
JINMEI Tatuya [Tue, 23 Oct 2012 17:20:21 +0000 (10:20 -0700)]
[2211] adjusted log severity from ERROR to FATAL before aborting.
JINMEI Tatuya [Tue, 23 Oct 2012 17:18:33 +0000 (10:18 -0700)]
[2211] removed an extra block from sendCommand() with clarification comments
JINMEI Tatuya [Tue, 23 Oct 2012 16:48:08 +0000 (09:48 -0700)]
[2211] let the thread abort if it sees an unexpected exception, rather rethrow.
update the test case and log message accordingly.
JINMEI Tatuya [Tue, 23 Oct 2012 16:37:19 +0000 (09:37 -0700)]
[2211] s/swapDataSrcClientLists/setDataSrcClientLists/ and changed the behavior
the users of this method only need the set behavior, and the previous code
actually didn't swap them as expected anyway.
JINMEI Tatuya [Tue, 23 Oct 2012 16:30:48 +0000 (09:30 -0700)]
[2211] style fixes to test JSON configs
Michal 'vorner' Vaner [Tue, 23 Oct 2012 15:00:29 +0000 (17:00 +0200)]
[2209] Hack the ZoneTableSegment into MemoryClient
This branch needs the MemoryClient to have its Zonetablesegment. But it
doesn't have one now and it is not the task of this branch to put it in
there. So I added it inside in somewhat ad-hoc manner.
This is hairy and adds bunch of temporary methods. If there's a better
approach, let's use it. But taking this for now to be cleaned up in some
follow-up ticket.
Michal 'vorner' Vaner [Tue, 23 Oct 2012 14:49:05 +0000 (16:49 +0200)]
[2209] Unrelated fix: don't c-string + int
It doesn't produce the expected result (which was obviously expected
in the code). Changed to lexical_cast, which should be enough.
Marcin Siodelski [Tue, 23 Oct 2012 13:51:15 +0000 (15:51 +0200)]
[2316] Replace constructor with default param values with constructor
without parameters.
Having constructor with default params values caused build issues on
Mac/clang which complained about not providing constructor's params and ignores
default ones.
Jelte Jansen [Tue, 23 Oct 2012 12:37:31 +0000 (14:37 +0200)]
[2210] update catch/error logs in datasrc reconfigure
Marcin Siodelski [Tue, 23 Oct 2012 08:35:14 +0000 (10:35 +0200)]
[master] Merge branch 'trac2304'
Mukund Sivaraman [Tue, 23 Oct 2012 04:55:14 +0000 (10:25 +0530)]
[2236] Remove obsolete comment
Mukund Sivaraman [Tue, 23 Oct 2012 04:06:26 +0000 (09:36 +0530)]
[2236] Don't use PTHREAD_MUTEX_ERRORCHECK in non-debug builds
Also disable tests in non-debug builds that depend on
PTHREAD_MUTEX_ERRORCHECK.
Mukund Sivaraman [Tue, 23 Oct 2012 03:58:43 +0000 (09:28 +0530)]
[2236] Remove config.h include from sync.h
... and move it to sync.cc. This is so that sync.h can be dist-ed.
Also add comments to some methods that may not be available in
non-debug builds.
Mukund Sivaraman [Tue, 23 Oct 2012 03:55:20 +0000 (09:25 +0530)]
[2236] Add comments to configure.ac about --enable-debug and performance
Mukund Sivaraman [Tue, 23 Oct 2012 03:54:50 +0000 (09:24 +0530)]
[2236] Access Mutex::locked() only when ENABLE_DEBUG is defined
Mukund Sivaraman [Tue, 23 Oct 2012 02:58:41 +0000 (08:28 +0530)]
[2208] Pass RRClass to ZoneTableSegment::create() factory method
Mukund Sivaraman [Tue, 23 Oct 2012 02:06:52 +0000 (07:36 +0530)]
[2361] Update comment about local_plugins directory
Mukund Sivaraman [Tue, 23 Oct 2012 00:36:26 +0000 (06:06 +0530)]
Revert "Merge branch 'trac2198_3'"
This reverts commit
e6ba20b0907ab7e861e608a71a35f71ab228e79f , reversing
changes made to
c9ba8373e271fb3c966fb59813c21ca8c575354d .
Stephen Morris [Mon, 22 Oct 2012 20:28:41 +0000 (21:28 +0100)]
[2342] Corrections to comments in configure.ac
Stephen Morris [Mon, 22 Oct 2012 19:43:49 +0000 (20:43 +0100)]
[2342] Incorporate Trac2142 changes
JINMEI Tatuya [Mon, 22 Oct 2012 19:08:42 +0000 (12:08 -0700)]
[2211] added notes about ownership on the returned value of findClientList().
Stephen Morris [Mon, 22 Oct 2012 19:05:35 +0000 (20:05 +0100)]
[2342] Enable MySQL support with flag in configure.ac
JINMEI Tatuya [Mon, 22 Oct 2012 18:26:00 +0000 (11:26 -0700)]
[2211] wording/grammer fixes to documentation and comments.
JINMEI Tatuya [Mon, 22 Oct 2012 17:55:53 +0000 (10:55 -0700)]
[2211] use swap instead of splice. for this purpose it's enough and simpler.
Michal 'vorner' Vaner [Mon, 22 Oct 2012 15:28:45 +0000 (17:28 +0200)]
[2209] Tests for the getCachedZoneWriter
They are the reload() tests reused for this purpose. They fail, since
the method is temporary and contains almost no code.
Stephen Morris [Mon, 22 Oct 2012 15:07:34 +0000 (16:07 +0100)]
[2342] Added deleteLease6 functionality
Michal 'vorner' Vaner [Mon, 22 Oct 2012 14:43:18 +0000 (16:43 +0200)]
[2209] Interface of the getCachedZoneWriter()
Unlike what the ticket suggests, it takes concrete origin parameter, not
some yet unknown config value, for two reasons:
* The format of config is not known.
* Leaking some details about what memory segment or whatever is being
used for the cache through the interface looks like a bad idea. Even
leaking the existence of the cache is enough.
Michal 'vorner' Vaner [Mon, 22 Oct 2012 14:48:24 +0000 (16:48 +0200)]
Revert "[2209] Interface of the getCachedZoneWriter()"
This reverts commit
812392465ae1ffa4a583186fd48f4c7aff1640dd .
This should have gone to a branch, not to master. Reverting it until it
gets reviewed properly.
Michal 'vorner' Vaner [Mon, 22 Oct 2012 14:43:18 +0000 (16:43 +0200)]
[2209] Interface of the getCachedZoneWriter()
Unlike what the ticket suggests, it takes concrete origin parameter, not
some yet unknown config value, for two reasons:
* The format of config is not known.
* Leaking some details about what memory segment or whatever is being
used for the cache through the interface looks like a bad idea. Even
leaking the existence of the cache is enough.
Michal 'vorner' Vaner [Mon, 22 Oct 2012 14:26:25 +0000 (16:26 +0200)]
[2209] Make the reload tests typed
This'll allow us to reuse them for testing the ZoneWriter approach for
the same purpose as reload(). The ZoneWriter one is not there yet, so
this is an equivalent change functionality-wise.
Jelte Jansen [Mon, 22 Oct 2012 13:08:34 +0000 (15:08 +0200)]
[2210] rename DataSrcClientListsPtr to ClientListMapPtr
Jelte Jansen [Mon, 22 Oct 2012 12:55:33 +0000 (14:55 +0200)]
[2210] Address review comments
as discussed in the ticket comments
Marcin Siodelski [Mon, 22 Oct 2012 12:40:12 +0000 (14:40 +0200)]
[2304] Fixed build issues on Mac and BSD systems.
Stephen Morris [Mon, 22 Oct 2012 12:01:40 +0000 (13:01 +0100)]
[2342] INSERT and GET tests now working
... after moving creation of MYSQL_BIND structures to a separate class.
Stephen Morris [Mon, 22 Oct 2012 09:49:51 +0000 (10:49 +0100)]
[2342] Move creation of MYSQL_BIND array for lease addition to separate class
Marcin Siodelski [Mon, 22 Oct 2012 09:14:24 +0000 (11:14 +0200)]
[2304] Removed enum initializers for DataType values.
Mukund Sivaraman [Mon, 22 Oct 2012 01:59:39 +0000 (07:29 +0530)]
[2208] Untabify
Mukund Sivaraman [Mon, 22 Oct 2012 01:59:31 +0000 (07:29 +0530)]
[2208] Use consistent naming for ZoneTableSegment variables
Mukund Sivaraman [Mon, 22 Oct 2012 01:45:49 +0000 (07:15 +0530)]
[2208] Don't use .get() syntax in some places in managed ptrs
Mukund Sivaraman [Mon, 22 Oct 2012 01:19:06 +0000 (06:49 +0530)]
[master] Execute run_dbutil.sh using shell
This is necessary because run_dbutil.sh sometimes loses its execute
(+x) mode bit when regenerated, and tests fail due to it.
Mukund Sivaraman [Mon, 22 Oct 2012 00:55:03 +0000 (06:25 +0530)]
Merge branch 'trac2198_3'
Mukund Sivaraman [Fri, 19 Oct 2012 00:14:58 +0000 (05:44 +0530)]
[2198] Move get methods into unnamed namespace
Mukund Sivaraman [Sun, 21 Oct 2012 23:38:45 +0000 (05:08 +0530)]
[2198] Fix library paths to add lib/util/threads/ too (Mac OS test failure)
Mukund Sivaraman [Tue, 16 Oct 2012 18:47:08 +0000 (00:17 +0530)]
[2198] Avoid static destruction fiasco with InterprocessSyncFile and logger
Mukund Sivaraman [Sun, 21 Oct 2012 23:34:54 +0000 (05:04 +0530)]
[2198] Check for EDEADLK too when using Mutex::tryLock()
Mukund Sivaraman [Sun, 21 Oct 2012 23:33:19 +0000 (05:03 +0530)]
[2198] Link -lpthread in libb10-threads target
Mukund Sivaraman [Tue, 16 Oct 2012 00:30:19 +0000 (06:00 +0530)]
[2198] Don't return anything from thread functions
Mukund Sivaraman [Mon, 15 Oct 2012 04:31:18 +0000 (10:01 +0530)]
[2198] Update comment
Mukund Sivaraman [Mon, 15 Oct 2012 04:29:22 +0000 (09:59 +0530)]
[2198] Test the non-blocking variant of Mutex::Locker