]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Thu, 12 Jul 2012 02:56:31 +0000 (08:26 +0530)]
[2087] Change alignment of test data
Jeremy C. Reed [Wed, 11 Jul 2012 23:04:19 +0000 (18:04 -0500)]
[trac1999] handle the gtest build from source for pthreads
When built from source it uses GTEST_HAS_PTHREAD.
See $GTEST_SOURCE/include/gtest/internal/gtest-port.h
which defines it for solaris, linux, hpux (which BIND 10 doesn't know yet).
Michal 'vorner' Vaner [Wed, 11 Jul 2012 19:16:04 +0000 (21:16 +0200)]
[1976] Re-enable tests for the load command
Tomek Mrugalski [Wed, 11 Jul 2012 15:48:02 +0000 (17:48 +0200)]
[2042] Time measurements implemented.
Tomek Mrugalski [Wed, 11 Jul 2012 15:13:02 +0000 (17:13 +0200)]
[2042] MySQL insertLease4 is now working.
Tomek Mrugalski [Wed, 11 Jul 2012 14:24:29 +0000 (16:24 +0200)]
[2042] Initial MySQL implementation (WIP)
Marcin Siodelski [Wed, 11 Jul 2012 12:40:54 +0000 (14:40 +0200)]
[1958] Added perfdhcp orphans counters.
Michal 'vorner' Vaner [Wed, 11 Jul 2012 11:59:24 +0000 (13:59 +0200)]
[2046] Fix compilation of tests on Solaris
It considers NULL to be int and gets confused when instantiating
templates of the GTEST library.
Michal 'vorner' Vaner [Wed, 11 Jul 2012 08:03:47 +0000 (10:03 +0200)]
Merge #2046
Mukund Sivaraman [Wed, 11 Jul 2012 04:49:29 +0000 (10:19 +0530)]
[2087] Add the LabelSequence::getOffsetData() method
Marcin Siodelski [Tue, 10 Jul 2012 19:48:56 +0000 (21:48 +0200)]
[1958] Updating RTT times for sent/received packets.
Jeremy C. Reed [Tue, 10 Jul 2012 18:04:28 +0000 (13:04 -0500)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Marcin Siodelski [Tue, 10 Jul 2012 17:03:07 +0000 (19:03 +0200)]
[1958] Added basic implementation of perfdhcp StatsMgr and unit tests.
Mukund Sivaraman [Tue, 10 Jul 2012 05:55:26 +0000 (11:25 +0530)]
[2121] Fix member variable names
Mukund Sivaraman [Tue, 10 Jul 2012 05:55:03 +0000 (11:25 +0530)]
[2121] Strip output of hostname so it doesn't contain newlines
Mukund Sivaraman [Tue, 10 Jul 2012 05:54:23 +0000 (11:24 +0530)]
[2121] Add testcases for OpenBSD implementation of SysInfo
Mukund Sivaraman [Tue, 10 Jul 2012 05:11:49 +0000 (10:41 +0530)]
[2121] Rename class
JINMEI Tatuya [Mon, 9 Jul 2012 23:45:47 +0000 (16:45 -0700)]
[master] Merge branch 'trac1883'
Jelte Jansen [Mon, 9 Jul 2012 19:35:00 +0000 (21:35 +0200)]
[1986] Cleanups; use scoped_ptr, and more log msgs
- use scoped_ptr instead of raw pointer and 'manual' cleanup
- log errors in b10-ddns if there is an error response from b10-auth
- minor other cleanups
Jelte Jansen [Mon, 9 Jul 2012 19:06:26 +0000 (21:06 +0200)]
[1986] Add logging and doxygen about internal ddnsforwarder
Jelte Jansen [Mon, 9 Jul 2012 16:38:31 +0000 (18:38 +0200)]
[1986] also test that stop forwarding is called
Jelte Jansen [Mon, 9 Jul 2012 16:28:06 +0000 (18:28 +0200)]
[1986] Fix unit tests for extra messages
Stephen Morris [Mon, 9 Jul 2012 15:57:15 +0000 (16:57 +0100)]
[1957] Made port definitions common to all tests
Jelte Jansen [Mon, 9 Jul 2012 15:39:44 +0000 (17:39 +0200)]
[1986] Messaging between auth and DDNS
cleanup and logging pending, but basic functionality is there;
upon start, b10-ddns will send auth a command to start forwarding
upon shutdown, b10-ddns will send auth a command to stop forwarding
auth also sends b10-ddns a command to send the above command, so that a restart of auth does not make things break down (auth does not expect an answer here, it is only a hint; b10-ddns, if running, will then send its start command to auth again)
Jelte Jansen [Mon, 9 Jul 2012 15:11:12 +0000 (17:11 +0200)]
[1986] add command to start/stop ddns forwarder
Jelte Jansen [Mon, 9 Jul 2012 14:48:24 +0000 (16:48 +0200)]
[1986] step 1: create and destroy forwarderholder
currently automatically called to be 'compatible' with existing workflow; added methods to create and destroy the socketsessionforwarderholder, and a method to check if it exists
Jelte Jansen [Mon, 9 Jul 2012 08:20:53 +0000 (10:20 +0200)]
[2086] add one more test
Jelte Jansen [Mon, 9 Jul 2012 07:51:08 +0000 (09:51 +0200)]
[2086] Cleanups
Mukund Sivaraman [Mon, 9 Jul 2012 04:51:59 +0000 (10:21 +0530)]
[2121] Add isc.sysinfo.SysInfo implementation for OpenBSD
Mukund Sivaraman [Mon, 9 Jul 2012 02:12:53 +0000 (07:42 +0530)]
[2088] Fix coding style issues
Mukund Sivaraman [Mon, 9 Jul 2012 02:12:32 +0000 (07:42 +0530)]
[2088] Put test in anonymous namespace
Jeremy C. Reed [Fri, 6 Jul 2012 23:46:20 +0000 (18:46 -0500)]
[trac1999] more work on gtest options
In particular make it work with default --with-gtest-source which is "yes".
And also set the distcheck options the same (but not completely
tested due to #1910).
Jeremy C. Reed [Fri, 6 Jul 2012 21:03:09 +0000 (16:03 -0500)]
[trac1999] build libgtest.a is using --with-gtest-source
(also removed an extra space out of an unrelated output)
JINMEI Tatuya [Fri, 6 Jul 2012 18:07:32 +0000 (11:07 -0700)]
[1883] workaround a build failure with g++ 4.6 using a mutable variable.
see the comment in the diff for the rationale.
Michal 'vorner' Vaner [Fri, 6 Jul 2012 13:08:20 +0000 (15:08 +0200)]
[1976] Issue a warning when not loading zones
Michal 'vorner' Vaner [Fri, 6 Jul 2012 12:50:49 +0000 (14:50 +0200)]
[1976] Call the reload command from auth server
Tests are not yet enabled. This is slightly against the TDD approach,
but the tests are mostly written, they just need to be enabled and
refactored, so it's not that bad.
Michal 'vorner' Vaner [Fri, 6 Jul 2012 12:03:55 +0000 (14:03 +0200)]
[1976] Minor things from review
Mostly naming, comment fixups and slightly more thorough tests. Nothing
substantial.
Jelte Jansen [Thu, 5 Jul 2012 15:53:43 +0000 (17:53 +0200)]
[2086] use raw Name data in LabelSequence
instead of reference to Name
- moved actual name comparison code to labelsequence
- removed Name reference
- replaced by data, offsets, and offset_size values
- added 'raw' constructor for LabelSequence
Marcin Siodelski [Fri, 6 Jul 2012 09:51:17 +0000 (11:51 +0200)]
[trac1957] Throwing exception if unable to find address to create socket.
Mukund Sivaraman [Fri, 6 Jul 2012 06:05:38 +0000 (11:35 +0530)]
[2088] Indent test code
Mukund Sivaraman [Fri, 6 Jul 2012 06:03:01 +0000 (11:33 +0530)]
[2088] Rename test
Mukund Sivaraman [Fri, 6 Jul 2012 05:30:34 +0000 (11:00 +0530)]
[2088] Document MemorySegment classes
Jeremy C. Reed [Fri, 6 Jul 2012 02:48:16 +0000 (21:48 -0500)]
[trac1999] add new configure option --with-gtest-source=PATH (checkpoint)
This is incomplete and not all tested.
Added --with-gtest-source=PATH for location of the googletest source.
Also tested old method (--with-gtest not source) with gtest 1.6.0.
Mukund Sivaraman [Fri, 6 Jul 2012 02:11:09 +0000 (07:41 +0530)]
[2088] Add initial MemorySegment and MemorySegmentLocal classes
These could very well not be the implementations we are looking
for. From the bug report, it's not clear how these methods will be used:
* Is deallocate() meant to free smaller blocks than what allocate()
returns?
* Because these methods will be virtual, a MemorySegment object is
necessary. Will this be a singleton?
* Does allMemoryDeallocated() need anything fancy like a set of all
allocated buffers kept, or is just a counter of total size of memory
allocated sufficient? (The counter is implemented.)
Mukund Sivaraman [Fri, 6 Jul 2012 01:20:40 +0000 (06:50 +0530)]
[master] Add .gitignore
Mukund Sivaraman [Fri, 6 Jul 2012 01:20:40 +0000 (06:50 +0530)]
[master] Add .gitignore
JINMEI Tatuya [Thu, 5 Jul 2012 21:27:00 +0000 (14:27 -0700)]
[1883] added one suggested test
JINMEI Tatuya [Thu, 5 Jul 2012 21:22:09 +0000 (14:22 -0700)]
[1883] make sure the conversion to Py_hash_t by tp_hash is safe and avoids -1.
also constify some variables more.
Michal 'vorner' Vaner [Thu, 5 Jul 2012 15:07:40 +0000 (17:07 +0200)]
[1976] Support for reloading master files
They are special-cased on loading and they need to be special-cased on
reloading too.
Michal 'vorner' Vaner [Thu, 5 Jul 2012 14:48:23 +0000 (16:48 +0200)]
[1976] Reload method for the client list
Jeremy C. Reed [Thu, 5 Jul 2012 13:16:01 +0000 (08:16 -0500)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Michal 'vorner' Vaner [Thu, 5 Jul 2012 09:20:54 +0000 (11:20 +0200)]
[1976] Interface of the reload method
Michal 'vorner' Vaner [Thu, 5 Jul 2012 09:03:55 +0000 (11:03 +0200)]
[1976] Internal refactoring
The core finding function is separated. This is because we'll want to
reuse it, returning some more information, in the future reload method.
Michal 'vorner' Vaner [Thu, 5 Jul 2012 07:43:18 +0000 (09:43 +0200)]
Merge #2044
Mukund Sivaraman [Thu, 5 Jul 2012 05:45:10 +0000 (11:15 +0530)]
Merge branch 'master' into trac2053
Mukund Sivaraman [Thu, 5 Jul 2012 05:40:22 +0000 (11:10 +0530)]
[2053] Add comment that toText(bool) variant is a helper for Name::toText()
JINMEI Tatuya [Thu, 5 Jul 2012 05:38:41 +0000 (11:08 +0530)]
[2053] Use getDataLength() to find out the right end to stop
Michal 'vorner' Vaner [Wed, 4 Jul 2012 11:07:32 +0000 (13:07 +0200)]
[1976] Enable proxy tests
It needed to modify the fake classes. But now, all tests in
auth_srv_unittest.cc are enabled again.
Michal 'vorner' Vaner [Wed, 4 Jul 2012 09:49:29 +0000 (11:49 +0200)]
[1976] Enable tests for builtin DSRC
The test functions needed to be reordered little bit.
The output is modified (capitalization, different NS record) to match
the static data source output.
Michal 'vorner' Vaner [Wed, 4 Jul 2012 09:08:46 +0000 (11:08 +0200)]
[1976] Provide default configuration for static data source
So users don't have to set it up, but they can disable it if they want.
Michal 'vorner' Vaner [Wed, 4 Jul 2012 09:04:49 +0000 (11:04 +0200)]
[1976] Load defaults
Due to some bugs, if nothing is set, the default is not taken into
account. This workaround assures it is loaded at startup. Any future
update is because of a change, so it will work as well.
Michal 'vorner' Vaner [Wed, 4 Jul 2012 09:02:19 +0000 (11:02 +0200)]
[1976] Take the correct part of configuration
Actually, we needed a subitem of the configuration. We can't have a
top-level named set, so we need to extract the named set in the
callback.
Michal 'vorner' Vaner [Wed, 4 Jul 2012 08:58:22 +0000 (10:58 +0200)]
[1976] Provide only one error message
When we don't find a list for the given class, we should provide only
one answer, not pack two error messages into the same packet.
Michal 'vorner' Vaner [Wed, 4 Jul 2012 08:54:46 +0000 (10:54 +0200)]
[1976] Make the static zone servable
The Query class insists there must be a NS record at the origin, so
adding one. It points to non-existing A record, but that does not seem
to be a problem (and the NS makes no sense in this case anyway).
Jelte Jansen [Wed, 4 Jul 2012 07:54:28 +0000 (09:54 +0200)]
[2114] comment and style
Jelte Jansen [Wed, 4 Jul 2012 07:47:39 +0000 (09:47 +0200)]
[2114] fix for list-in-named-set bug
Jelte Jansen [Wed, 4 Jul 2012 07:45:05 +0000 (09:45 +0200)]
[2114] unit test for failing list-in-named-set
Mukund Sivaraman [Wed, 4 Jul 2012 05:06:54 +0000 (10:36 +0530)]
[2053] Add checks with long label sequences
Mukund Sivaraman [Wed, 4 Jul 2012 04:47:17 +0000 (10:17 +0530)]
[2053] Fix output of right-stripped label sequences
Mukund Sivaraman [Wed, 4 Jul 2012 04:28:18 +0000 (09:58 +0530)]
[2053] Remove obsolete comment
Mukund Sivaraman [Wed, 4 Jul 2012 04:18:35 +0000 (09:48 +0530)]
[2053] Rewrite code to handle the root name
Mukund Sivaraman [Wed, 4 Jul 2012 03:59:18 +0000 (09:29 +0530)]
[2053] Use methods on Name instead of accessing member variables directly
Mukund Sivaraman [Wed, 4 Jul 2012 03:55:49 +0000 (09:25 +0530)]
[2053] Remove checks that are no longer necessary
Mukund Sivaraman [Wed, 4 Jul 2012 03:54:48 +0000 (09:24 +0530)]
[2053] Remove loop to locate the start point
Mukund Sivaraman [Wed, 4 Jul 2012 03:48:17 +0000 (09:18 +0530)]
[2053] Make LabelSequence::toText(bool) a private method
JINMEI Tatuya [Wed, 4 Jul 2012 01:38:44 +0000 (18:38 -0700)]
[master] addd more dylib paths; previous one was incomplete.
JINMEI Tatuya [Tue, 3 Jul 2012 18:16:15 +0000 (11:16 -0700)]
[master] added usual shared library trick for python tests
this should solve test failure on MacOS. committing at my discretion.
Mukund Sivaraman [Tue, 3 Jul 2012 12:53:58 +0000 (18:23 +0530)]
[2062] Update ChangeLog
Mukund Sivaraman [Tue, 3 Jul 2012 12:49:17 +0000 (18:19 +0530)]
Merge branch 'master' into trac2062
Mukund Sivaraman [Tue, 3 Jul 2012 12:48:48 +0000 (18:18 +0530)]
[2062] Add some comments to the SysInfo unit test
Mukund Sivaraman [Tue, 3 Jul 2012 06:34:51 +0000 (12:04 +0530)]
[2062] Add testcases for SysInfo Linux implementation
Mukund Sivaraman [Tue, 3 Jul 2012 01:14:42 +0000 (06:44 +0530)]
Merge branch 'master' into trac2052
Conflicts:
src/lib/dns/name.cc
JINMEI Tatuya [Mon, 2 Jul 2012 23:11:33 +0000 (16:11 -0700)]
[1883] [res-research] added trivial tp_hash for isc.dns.RRType
JINMEI Tatuya [Mon, 2 Jul 2012 19:10:56 +0000 (12:10 -0700)]
[2053] style fixes: constify, long line
Mukund Sivaraman [Mon, 2 Jul 2012 05:07:33 +0000 (10:37 +0530)]
[2062] Add a testcase for SysInfoFromFactory
Mukund Sivaraman [Mon, 2 Jul 2012 05:07:07 +0000 (10:37 +0530)]
[2062] Call parent's __init__() in SysInfoLinux
Mukund Sivaraman [Mon, 2 Jul 2012 03:23:57 +0000 (08:53 +0530)]
[2026] Add command line arguments for help and output-file
Mukund Sivaraman [Mon, 2 Jul 2012 02:43:21 +0000 (08:13 +0530)]
[2062] Print a message to stderr when not run as root
Mukund Sivaraman [Mon, 2 Jul 2012 02:31:09 +0000 (08:01 +0530)]
[2062] Call isc.util.process.rename() in b10-showtech
Mukund Sivaraman [Mon, 2 Jul 2012 00:47:49 +0000 (06:17 +0530)]
[2053] Move toText() implementation from Name to LabelSequence class
Mukund Sivaraman [Sun, 1 Jul 2012 23:20:16 +0000 (04:50 +0530)]
[2052] Rename partial_compare() to just compare()
Mukund Sivaraman [Sun, 1 Jul 2012 23:20:01 +0000 (04:50 +0530)]
[2052] Add getOrder() checks for all compare tests
Mukund Sivaraman [Sun, 1 Jul 2012 23:19:28 +0000 (04:49 +0530)]
[2052] Return order=0 when name comparison result is NONE
Michal 'vorner' Vaner [Sat, 30 Jun 2012 21:00:16 +0000 (23:00 +0200)]
[1976] Enable some tests for in-memory from master files
Some of the previously disabled tests that needed #2046 are now enabled.
Some ripping out of internals (the old in-memory) happened on the way.
This led to temporarily commenting out some test code, but it was in
disabled tests anyway.
Michal 'vorner' Vaner [Sat, 30 Jun 2012 19:52:35 +0000 (21:52 +0200)]
Merge #2046
With integration into the rest.
Conflicts:
src/lib/datasrc/client_list.h
Michal 'vorner' Vaner [Sat, 30 Jun 2012 19:28:07 +0000 (21:28 +0200)]
[1976] Include the cache options in spec
The cache-enable and cache-zones options are now in the datasrc spec
file.
Michal 'vorner' Vaner [Sat, 30 Jun 2012 18:53:29 +0000 (20:53 +0200)]
Merge #2044
It is the cache for ClientList.
Conflicts:
src/lib/datasrc/client_list.cc
src/lib/datasrc/client_list.h
src/lib/datasrc/tests/client_list_unittest.cc
Michal 'vorner' Vaner [Sat, 30 Jun 2012 17:45:59 +0000 (19:45 +0200)]
[1976] Add missing test file
The file was written previously and not committed to git. Fixing.
Jeremy C. Reed [Fri, 29 Jun 2012 15:02:23 +0000 (10:02 -0500)]
[master] remove the IN class example for adding to secondary zones
Jeremy C. Reed [Fri, 29 Jun 2012 13:14:49 +0000 (08:14 -0500)]
[master] document configurations for cmdctl
And remove the mention of the cmdctl commands.