]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Thu, 5 Sep 2013 12:37:07 +0000 (18:07 +0530)]
[2751] Make some minor comment updates
Mukund Sivaraman [Thu, 5 Sep 2013 12:36:34 +0000 (18:06 +0530)]
[2751] Fix a typo
(Yes, it's "an" and not "a" here as the syllable begins with a vowel.)
Mukund Sivaraman [Thu, 5 Sep 2013 12:35:49 +0000 (18:05 +0530)]
[2751] Re-indent code
Michal 'vorner' Vaner [Thu, 5 Sep 2013 12:04:55 +0000 (14:04 +0200)]
[2932] Interface to subscribe and unsubscribe notifications
Not documented as of yet, and no implementation.
Michal 'vorner' Vaner [Thu, 5 Sep 2013 09:18:50 +0000 (11:18 +0200)]
Merge #2857: memory manager initial exchanges
This initializes the basic data structures of the memory manager and
starts loading data into the segments.
Tomek Mrugalski [Thu, 5 Sep 2013 06:48:23 +0000 (08:48 +0200)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Tomek Mrugalski [Thu, 5 Sep 2013 06:47:42 +0000 (08:47 +0200)]
[master] Merge branch 'trac2592' (getLease4 in memfile LeaseMgr)
Conflicts:
ChangeLog
src/lib/dhcpsrv/memfile_lease_mgr.cc
src/lib/dhcpsrv/memfile_lease_mgr.h
src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
Mukund Sivaraman [Wed, 4 Sep 2013 10:11:57 +0000 (15:41 +0530)]
[master] Move path resolution stuff to bind10_config
... and don't generate isc/server_common/bind10_server.py from
isc/server_common/bind10_server.py.in. This fixes a builddir vs srcdir
path failure for the isc.server_common module.
Marcin Siodelski [Wed, 4 Sep 2013 12:35:05 +0000 (14:35 +0200)]
[3035] Implemented function which generates NameChangeRequests for a lease.
Stephen Morris [Wed, 4 Sep 2013 11:13:01 +0000 (12:13 +0100)]
[3113_test] Fix issues raised by static linking
This fix:
* Ensures the user library accesses the correct ServerHooks
singleton object.
* Provides a way to initialize the BIND 10 logging framework in
the context of the user-written hooks library.
Marcin Siodelski [Wed, 4 Sep 2013 06:11:17 +0000 (08:11 +0200)]
[3035] Added functions to check that two leases belong to the same client.
Mukund Sivaraman [Wed, 4 Sep 2013 04:14:14 +0000 (09:44 +0530)]
[2750] Fix typo
Mukund Sivaraman [Wed, 4 Sep 2013 04:10:06 +0000 (09:40 +0530)]
[2750] Test the passed set instead of the tree (true at the end of the unittest)
Mukund Sivaraman [Wed, 4 Sep 2013 04:02:56 +0000 (09:32 +0530)]
[2750] Simplify code
Tomek Mrugalski [Tue, 3 Sep 2013 18:47:00 +0000 (20:47 +0200)]
[2592] Several @todo removed from memfile_lease_mgr.h
Tomek Mrugalski [Tue, 3 Sep 2013 18:22:39 +0000 (20:22 +0200)]
[2592] getLease4(clientid,hwaddr,subnetid) implemented in memfile LeaseMgr
- Patch by David Carlier
Thomas Markwalder [Tue, 3 Sep 2013 17:41:18 +0000 (13:41 -0400)]
[3086] Addressed review comments
Added virtual method for validating state handler map, added additional unit tests and commentary.
Marcin Siodelski [Tue, 3 Sep 2013 16:39:48 +0000 (18:39 +0200)]
[3035] Generate NameChangeRequest when new lease is acquired.
Tomek Mrugalski [Tue, 3 Sep 2013 14:00:00 +0000 (16:00 +0200)]
[3109] Extra details added to Contributor's Guidelines
Tomek Mrugalski [Tue, 3 Sep 2013 12:41:52 +0000 (14:41 +0200)]
[3145] Unit-tests for IA_PD, several clean-ups
Marcin Siodelski [Tue, 3 Sep 2013 09:36:40 +0000 (11:36 +0200)]
[3035] Include HW type in the digest when generating DHCID from HW addr.
Marcin Siodelski [Tue, 3 Sep 2013 09:09:16 +0000 (11:09 +0200)]
[3035] Renamed DhcidComputeError to DhcidRdataComputeError.
Marcin Siodelski [Tue, 3 Sep 2013 08:52:37 +0000 (10:52 +0200)]
[3035] Implemented functions to compute DHCID from Client Id and HW address
Mukund Sivaraman [Tue, 3 Sep 2013 04:42:02 +0000 (10:12 +0530)]
[2750] Increase number of nodes to 1024
Mukund Sivaraman [Tue, 3 Sep 2013 04:41:41 +0000 (10:11 +0530)]
[2750] Remove some temporary tests
Mukund Sivaraman [Tue, 3 Sep 2013 04:34:36 +0000 (10:04 +0530)]
[2750] Add comprehensive test for DomainTree validity with insert() and remove()
Mukund Sivaraman [Tue, 3 Sep 2013 04:33:33 +0000 (10:03 +0530)]
[2750] Add a comment describing the test
Mukund Sivaraman [Tue, 3 Sep 2013 04:33:15 +0000 (10:03 +0530)]
[2750] Move the RNG to a class variable (so the same RNG can be reused)
Otherwise, reseeding with time(NULL) will return the same sequence in
other tests if they start within the same second.
Mukund Sivaraman [Tue, 3 Sep 2013 03:07:46 +0000 (08:37 +0530)]
[2750] Add methods to check RB tree properties (and use them in tests)
Mukund Sivaraman [Tue, 3 Sep 2013 02:29:02 +0000 (07:59 +0530)]
[2750] Replace height check with getHeight() method
Mukund Sivaraman [Mon, 2 Sep 2013 17:24:15 +0000 (22:54 +0530)]
[2750] Use more optimal form of color testing where possible
Tomek Mrugalski [Mon, 2 Sep 2013 15:35:33 +0000 (17:35 +0200)]
[3145] Option6 IAPREFIX + unit-tests implemented
Marcin Siodelski [Mon, 2 Sep 2013 15:21:11 +0000 (17:21 +0200)]
[3035] Basic implementation of the function which computes DHCID.
Marcin Siodelski [Mon, 2 Sep 2013 15:20:34 +0000 (17:20 +0200)]
[3035] Added functions to construct DHCID object from raw buffer.
Marcin Siodelski [Mon, 2 Sep 2013 15:19:53 +0000 (17:19 +0200)]
[3035] Implemented DHCPv4 srv function to process an FQDN option.
Mukund Sivaraman [Mon, 2 Sep 2013 14:07:35 +0000 (19:37 +0530)]
[2750] Finish documenting the red-black tree remove rebalance operation
Mukund Sivaraman [Mon, 2 Sep 2013 13:49:25 +0000 (19:19 +0530)]
[2750] Remove redundant part of condition
If ss2 is black, it implies that ss1 is red. This commit updates
the shortcut && operator, but the result is the same.
Mukund Sivaraman [Mon, 2 Sep 2013 13:46:08 +0000 (19:16 +0530)]
[2750] Add/update RB tree delete rebalancing comments
Mukund Sivaraman [Mon, 2 Sep 2013 13:45:37 +0000 (19:15 +0530)]
[2750] Rewrite code to use a similar block as previous case
Mukund Sivaraman [Mon, 2 Sep 2013 13:45:02 +0000 (19:15 +0530)]
[2750] Fix tree rotation direction
Mukund Sivaraman [Mon, 2 Sep 2013 13:44:30 +0000 (19:14 +0530)]
[2750] Remove redundant NULL test
Mukund Sivaraman [Mon, 2 Sep 2013 13:43:04 +0000 (19:13 +0530)]
[2750] Reduce code by using getColor()
Mukund Sivaraman [Mon, 2 Sep 2013 10:35:19 +0000 (16:05 +0530)]
[2750] Remove redundant condition to check if sibling is black
Add appropriate pre-condition assertions.
Mukund Sivaraman [Mon, 2 Sep 2013 10:26:52 +0000 (15:56 +0530)]
[2750] Update comment
Mukund Sivaraman [Mon, 2 Sep 2013 10:25:03 +0000 (15:55 +0530)]
[2750] Fix overall loop condition in removeRebalance()
It needs to check at the upper node if child is NULL!
Mukund Sivaraman [Mon, 2 Sep 2013 09:55:09 +0000 (15:25 +0530)]
[2750] Add graphs for case 3
Michal 'vorner' Vaner [Mon, 2 Sep 2013 09:37:13 +0000 (11:37 +0200)]
[2751] Remove lying comment
It was simply not true. Removing, as it would state the obvious only
after fixing.
Michal 'vorner' Vaner [Mon, 2 Sep 2013 09:34:34 +0000 (11:34 +0200)]
[2751] Implement the subtract
By copying all the Rdata that is not present in the subtracted sets.
Michal 'vorner' Vaner [Mon, 2 Sep 2013 09:33:52 +0000 (11:33 +0200)]
[2751] Fix tests
Fix several copy-paste and index errors. Add some more print with error.
Mukund Sivaraman [Mon, 2 Sep 2013 09:32:13 +0000 (15:02 +0530)]
[2750] Make various updates (see full log)
* Use safer isRed() and isBlack() static functions which test for
NULL pointers (as we use NULL black leaves)
* Add code comments explaining various RB rebalance cases
* Simplify code by rearranging it
* Optimize code by re-assigning sibling only where necessary
* Add some assertions
Marcin Siodelski [Mon, 2 Sep 2013 08:14:03 +0000 (10:14 +0200)]
[master] Second merge of branch 'trac3084'
By mistake, the previous merge was missing the changes which addressed
review comments.
Marcin Siodelski [Mon, 2 Sep 2013 06:02:29 +0000 (08:02 +0200)]
[master] Added ChangeLog entry for #3084.
Marcin Siodelski [Mon, 2 Sep 2013 05:58:02 +0000 (07:58 +0200)]
[master] Merge branch 'trac3084'
Mukund Sivaraman [Mon, 2 Sep 2013 05:01:59 +0000 (10:31 +0530)]
[2750] Update some checks
Mukund Sivaraman [Mon, 2 Sep 2013 04:39:56 +0000 (10:09 +0530)]
[2750] Recompute sibling after rotations
Mukund Sivaraman [Mon, 2 Sep 2013 04:24:29 +0000 (09:54 +0530)]
[2750] Remove redundant argument
Mukund Sivaraman [Mon, 2 Sep 2013 03:34:22 +0000 (09:04 +0530)]
[2750] Simplify condition
It has the same effect, but is simpler to read.
Mukund Sivaraman [Mon, 2 Sep 2013 03:05:22 +0000 (08:35 +0530)]
[2750] Add comments for rebalancing code in remove()
Mukund Sivaraman [Mon, 2 Sep 2013 02:45:27 +0000 (08:15 +0530)]
[2750] Add code comments
Marcin Siodelski [Fri, 30 Aug 2013 17:26:55 +0000 (19:26 +0200)]
[3113] Fix hooks unit test failures when --enable-static-link is used.
Jeremy C. Reed [Fri, 30 Aug 2013 15:30:52 +0000 (10:30 -0500)]
[master] mention more local asio modifications
Marcin Siodelski [Fri, 30 Aug 2013 14:24:58 +0000 (16:24 +0200)]
[3084] Link libb10-dhcp-ddns with cc to prevent linking issue on Ubuntu 12.
Marcin Siodelski [Fri, 30 Aug 2013 14:18:40 +0000 (16:18 +0200)]
[3084] Addressed review comments.
Naoki Kambe [Wed, 19 Sep 2012 08:46:06 +0000 (17:46 +0900)]
[2300] document in the man page about statistics socket counters introduced in Xfrin
open
openfail
close
connfail
conn
senderr
recverr
Naoki Kambe [Fri, 28 Sep 2012 05:35:39 +0000 (14:35 +0900)]
[2300] check statistics socket counters for Xfrin in lettuce test
Naoki Kambe [Wed, 19 Sep 2012 08:46:06 +0000 (17:46 +0900)]
[2274] document in the man page about statistics counters introduced in Xfrin
ixfr_running
axfr_running
soa_in_progress
Naoki Kambe [Fri, 30 Aug 2013 09:59:34 +0000 (18:59 +0900)]
[2274] check statistics counters for Xfrin in lettuce test
explicitly check new statistics counters for Xfrin are just zero (incremented
and decremented) after zone xferring in lettuce test
Naoki Kambe [Fri, 30 Aug 2013 06:13:55 +0000 (15:13 +0900)]
[2274] adjust expected counters' value according to build bot
Because behavior is changed on the build bot, increase values of expected
counters on the following scenarios:
Scenario: Handle incoming notify (XFR request rejected)
Scenario: Handle incoming notify (XFR request rejected in IPv4)
See also for details:
https://lists.isc.org/pipermail/bind10-dev/2013-July/004769.html
Naoki Kambe [Fri, 30 Aug 2013 02:45:46 +0000 (11:45 +0900)]
[2274] fix typo and change column order of label in initial statistics counter checking
Michal 'vorner' Vaner [Fri, 30 Aug 2013 09:19:11 +0000 (11:19 +0200)]
[2751] Tests for the subtract method
Michal 'vorner' Vaner [Fri, 30 Aug 2013 07:37:07 +0000 (09:37 +0200)]
[2781] Empty method to silence linker
Naoki Kambe [Fri, 30 Aug 2013 06:18:16 +0000 (15:18 +0900)]
[2274] untabify
Naoki Kambe [Tue, 27 Aug 2013 10:39:52 +0000 (19:39 +0900)]
[2274] add unit tests for statistics counters introduced in Xfrin
Mukund Sivaraman [Fri, 30 Aug 2013 05:33:59 +0000 (11:03 +0530)]
[2750] Re-arrange find() methods so that protos come before uses
Mukund Sivaraman [Fri, 30 Aug 2013 04:52:11 +0000 (10:22 +0530)]
[2750] Add documentation
Mukund Sivaraman [Fri, 30 Aug 2013 01:51:17 +0000 (07:21 +0530)]
[2750] Check that having 2 nodes in subtree doesn't cause node fusion
Mukund Sivaraman [Fri, 30 Aug 2013 01:46:51 +0000 (07:16 +0530)]
[2750] Update comment
Mukund Sivaraman [Fri, 30 Aug 2013 01:43:54 +0000 (07:13 +0530)]
[2750] Test multiple occurrences of node fusion in a single step upwards in the forest
Mukund Sivaraman [Fri, 30 Aug 2013 01:32:36 +0000 (07:02 +0530)]
[2750] Add node fusion test where there is data in the parent node
Mukund Sivaraman [Fri, 30 Aug 2013 01:26:28 +0000 (06:56 +0530)]
[2750] Add node fusion tests
Jeremy C. Reed [Thu, 29 Aug 2013 17:02:16 +0000 (12:02 -0500)]
[master] resolver doesn't use libb10-xfr.la
Don't LDADD the xfr library for the resolver.
This was probably just a copy and paste mistake.
I brought this up on jabber a few days ago.
Mukund Sivaraman [Thu, 29 Aug 2013 12:55:15 +0000 (18:25 +0530)]
[2750] Add a first proper remove() unittest
Mukund Sivaraman [Thu, 29 Aug 2013 11:36:16 +0000 (17:06 +0530)]
[2750] Unify copies of test data
Naoki Kambe [Tue, 27 Aug 2013 10:34:58 +0000 (19:34 +0900)]
[2274] modify test codes before implementing for new counters
rename some methods and parameters in order to distinguish from existing non
per-zone counters
Naoki Kambe [Wed, 19 Sep 2012 07:59:47 +0000 (16:59 +0900)]
[2274] implement incrementing and decrementing statistics socket counters in XfrinConnection
ixfr_running
axfr_running
soa_in_progress
Naoki Kambe [Wed, 19 Sep 2012 07:58:55 +0000 (16:58 +0900)]
[2274] define new statistics counters in Xfrin spec
ixfr_running
axfr_running
soa_in_progress
Naoki Kambe [Thu, 29 Aug 2013 08:31:07 +0000 (17:31 +0900)]
[2300] set self.tsig_key_name in XfrinConnection.__init__()
Because this is used for outputting an error message when failing to connect to
master. (This is not a related change.)
Naoki Kambe [Tue, 27 Aug 2013 10:39:52 +0000 (19:39 +0900)]
[2300] add unit tests for statistics socket counters introduced in Xfrin
Naoki Kambe [Wed, 19 Sep 2012 07:59:47 +0000 (16:59 +0900)]
[2300] override some methods of asyncore.dispatcher in XfrinConnection
This is for implementation of statistics socket counters for Xfrin
Naoki Kambe [Fri, 28 Sep 2012 06:58:58 +0000 (15:58 +0900)]
[2300] use _master_addrinfo[0] for address family in _get_ipver_str()
Because _get_ipver_str() is referring to an attribute of NoneType when it is
invoked earlier than init_socket() and when the socket object is None.
Naoki Kambe [Wed, 19 Sep 2012 07:58:55 +0000 (16:58 +0900)]
[2300] define new statistics counters in Xfrin spec
open
openfail
close
connfail
conn
senderr
recverr
Michal 'vorner' Vaner [Thu, 29 Aug 2013 09:01:38 +0000 (11:01 +0200)]
[2751] Interface of the subtract method
Michal 'vorner' Vaner [Thu, 29 Aug 2013 08:24:26 +0000 (10:24 +0200)]
[2751] Extract some code to be shared
Mukund Sivaraman [Thu, 29 Aug 2013 03:27:42 +0000 (08:57 +0530)]
[2750] Add initial delete rebalance implementation
Mukund Sivaraman [Thu, 29 Aug 2013 03:27:10 +0000 (08:57 +0530)]
[2750] Move common code into a helper method
Mukund Sivaraman [Thu, 29 Aug 2013 02:59:30 +0000 (08:29 +0530)]
[2750] Simplify the code to set the parent-child relationship
Also fix bugs where:
* root_ was being set to NULL instead of child
* rebalance code was not always executed
* rebalance was wrongly stopping at node, instead of root of sub-tree
Thomas Markwalder [Wed, 28 Aug 2013 15:14:44 +0000 (11:14 -0400)]
[3086] Added server selection support to NameChangeTransaction
Added methods to base class for supporting server selection from a list
of DNS servers.
Marcin Siodelski [Wed, 28 Aug 2013 14:15:56 +0000 (16:15 +0200)]
[3035] Implemented DHCPv4 Client FQDN option processing.
Marcin Siodelski [Wed, 28 Aug 2013 12:46:29 +0000 (14:46 +0200)]
[3035] Added stub implementation for the function processing client FQDN.
Marcin Siodelski [Wed, 28 Aug 2013 10:29:02 +0000 (12:29 +0200)]
[3035] Moved the Dhcpv4Srv test classes to the common header.