]>
git.ipfire.org Git - thirdparty/kea.git/log
Wlodek Wencel [Wed, 16 Dec 2015 13:12:18 +0000 (14:12 +0100)]
[kea-0.9.1-release] release version change
Tomek Mrugalski [Thu, 10 Dec 2015 17:25:20 +0000 (18:25 +0100)]
[kea-0.9.1-release] ChangeLog updated after trac4206_0.9.1
Thomas Markwalder [Wed, 9 Dec 2015 15:41:03 +0000 (10:41 -0500)]
[trac4206_0.9.1] Fixed dhcp4 unit test failure under OS-X
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
TEST_F(Dhcpv4SrvTest, emptyClientId) {
Added code to setup the test interfaces so "eth0" exists
Tomek Mrugalski [Tue, 8 Dec 2015 17:22:12 +0000 (18:22 +0100)]
[4206_0.9.1] Unit-test for empty client-id added.
Tomek Mrugalski [Tue, 8 Dec 2015 17:21:20 +0000 (18:21 +0100)]
[4206_0.9.1] Safety checks added for DHCPv6
Tomek Mrugalski [Tue, 8 Dec 2015 16:15:01 +0000 (17:15 +0100)]
[4206_0.9.1] Unit-tests written.
Tomek Mrugalski [Mon, 7 Dec 2015 17:00:55 +0000 (18:00 +0100)]
[4206_0.9.1] Fix for empty client-id in v4
Wlodek Wencel [Tue, 24 Mar 2015 10:40:16 +0000 (11:40 +0100)]
[kea-0.9.1-release] reorder message files
Wlodek Wencel [Tue, 24 Mar 2015 10:33:07 +0000 (11:33 +0100)]
[kea-0.9.1-release] bind10 url removed from guide
Wlodek Wencel [Mon, 23 Mar 2015 10:58:26 +0000 (11:58 +0100)]
[kea-0.9.1] ChangeLog and configure.ac updates for upcoming release
Shawn Routhier [Fri, 20 Mar 2015 20:46:25 +0000 (13:46 -0700)]
Merge branch 'trac3735'
Merge this round of doxygen cleanup into master
Shawn Routhier [Fri, 20 Mar 2015 19:10:37 +0000 (12:10 -0700)]
[3735] Fix up a number of warnigns in the Doxygen comments.
Stephen Morris [Fri, 20 Mar 2015 15:26:39 +0000 (15:26 +0000)]
[master] ChangeLog for trac3772
Stephen Morris [Fri, 20 Mar 2015 15:22:35 +0000 (15:22 +0000)]
[master] Merge branch 'trac3772'
Wlodek Wencel [Fri, 20 Mar 2015 14:43:39 +0000 (15:43 +0100)]
[3772] Corrected minor documentation errors both in v4 and v6 configuration examples
Stephen Morris [Fri, 20 Mar 2015 14:09:12 +0000 (14:09 +0000)]
[3772] Corrected documentation error in v6 configuration example
Stephen Morris [Fri, 20 Mar 2015 12:08:23 +0000 (12:08 +0000)]
[3772] Corrections to some examples in the DHCPv4 pools documentation
Thomas Markwalder [Fri, 20 Mar 2015 11:42:47 +0000 (07:42 -0400)]
[master] Amended entry #918 to mention #3708.
Thomas Markwalder [Fri, 20 Mar 2015 11:10:29 +0000 (07:10 -0400)]
[master] Added entry 918 for #3689
Thomas Markwalder [Fri, 20 Mar 2015 11:06:52 +0000 (07:06 -0400)]
[master] Merge branch 'trac3689'
Marcin Siodelski [Fri, 20 Mar 2015 10:14:31 +0000 (11:14 +0100)]
[3689] Fixed typo in the dhcp6_srv.h
Marcin Siodelski [Fri, 20 Mar 2015 09:22:00 +0000 (10:22 +0100)]
[3689] Fixed the typo in the Kea guide.
Marcin Siodelski [Fri, 20 Mar 2015 08:54:39 +0000 (09:54 +0100)]
[master] Added ChangeLog entry for #3768.
Marcin Siodelski [Fri, 20 Mar 2015 08:52:50 +0000 (09:52 +0100)]
[master] Merge branch 'trac3768'
Marcin Siodelski [Fri, 20 Mar 2015 08:14:36 +0000 (09:14 +0100)]
[3768] Address review comments.
Shawn Routhier [Fri, 20 Mar 2015 02:10:42 +0000 (19:10 -0700)]
[3678] Tidy up some typos
Marcin Siodelski [Thu, 19 Mar 2015 21:26:59 +0000 (22:26 +0100)]
[3768] Updated the comment for the internal alloc function.
Thomas Markwalder [Thu, 19 Mar 2015 20:32:28 +0000 (16:32 -0400)]
[master] Merge branch 'trac3765'
Thomas Markwalder [Thu, 19 Mar 2015 20:08:19 +0000 (16:08 -0400)]
[3689] Added host renew and rebind tests
tests/dhcp6_client.cc
tests/dhcp6_client.h
added Dhcp6Client::doRenew()
tests/host_unittest.cc
added TEST_F(HostTest, sarrAndRenew)
added TEST_F(HostTest, sarrAndRebind)
Marcin Siodelski [Thu, 19 Mar 2015 18:43:22 +0000 (19:43 +0100)]
[3768] Extended commentary in the allocation engine to cover recent changes.
Shawn Routhier [Thu, 19 Mar 2015 18:40:48 +0000 (11:40 -0700)]
[3765] Fix copyrights and typo
Thomas Markwalder [Thu, 19 Mar 2015 18:19:55 +0000 (14:19 -0400)]
[3689] Added new host test file
Addressing more review comments...
new file - host_unittest.cc
contains Dhcp6Client based host reservation tests
dhcp6_client.cc
dhcp6_client.h
added setDuid(str) method to allow duid to be set to
specific value
dhcp6_srv_unittest.cc -
deleted host reservation tests, now in host_unittest.cc
dhcp6_test_utils.cc
dhcp6_test_utils.h
deleted createHost6() method
Shawn Routhier [Thu, 19 Mar 2015 18:05:22 +0000 (11:05 -0700)]
[master] Update changelog with commit tag
Add commit tag
c71c7836804842bae51fe79fd599c57f5b3d007d
to change log for 3755
Shawn Routhier [Thu, 19 Mar 2015 18:03:19 +0000 (11:03 -0700)]
Merge branch 'trac3755'
Oputput started messages to the log files when
the v4, v6 or DHCP-DDNS server has completed
processing its configuration and is ready to
start processing messages.
Conflicts:
ChangeLog
Shawn Routhier [Thu, 19 Mar 2015 18:00:15 +0000 (11:00 -0700)]
[3755] Update ChangeLog to add entry
Shawn Routhier [Thu, 19 Mar 2015 17:56:17 +0000 (10:56 -0700)]
[3755] Update copyright per reveiw
Shawn Routhier [Thu, 19 Mar 2015 17:16:00 +0000 (10:16 -0700)]
[3755] Add message to D2 per reveiw comments.
Actually modified a debug message to turn it into an info
message.
Marcin Siodelski [Thu, 19 Mar 2015 16:40:28 +0000 (17:40 +0100)]
[3768] Alloc engine allocats leases to clients with repeating client ids.
Thomas Markwalder [Thu, 19 Mar 2015 15:41:39 +0000 (11:41 -0400)]
[3689] Revamped host reservation tests which involve FQDN
fqdn_unittest.cc -
removed use of createHost6 in host reservation tests.
Marcin Siodelski [Wed, 18 Mar 2015 22:42:14 +0000 (23:42 +0100)]
[master] Use equality operator for comparing vector in the dhcp6_srv test.
Committing on my own discretion as it is followup to the previous commit
that was reviewed.
Marcin Siodelski [Wed, 18 Mar 2015 21:12:03 +0000 (22:12 +0100)]
[master] Use equality operator to compare iterators in unit test.
Marcin Siodelski [Wed, 18 Mar 2015 21:04:32 +0000 (22:04 +0100)]
[3768] Implemented the test which checks overlapping client ids.
Marcin Siodelski [Wed, 18 Mar 2015 20:06:11 +0000 (21:06 +0100)]
Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Marcin Siodelski [Wed, 18 Mar 2015 20:05:48 +0000 (21:05 +0100)]
[master] Include stdint.h in cfg_rsoo.h to prevent build failures.
Okayed, on jabber.
Shawn Routhier [Wed, 18 Mar 2015 19:47:59 +0000 (12:47 -0700)]
[master] Remove test file that was accidently committed
Marcin Siodelski [Wed, 18 Mar 2015 19:43:01 +0000 (20:43 +0100)]
[master] Added ChangeLog entry for #3705.
Shawn Routhier [Wed, 18 Mar 2015 19:41:05 +0000 (12:41 -0700)]
[3755] Add started message to log output
Add a message that indicates when the v4 or v6 server
has completed processing its configuration and is about
to enter the loop to process dhcp messages.
Thomas Markwalder [Wed, 18 Mar 2015 19:16:09 +0000 (15:16 -0400)]
[3689] Addressed primary review comments
doc/guide/dhcp6-srv.xml
Updated "Reserving a hostname" section
(also removed trailing spaces)
src/bin/dhcp6/dhcp6_srv.cc
corrected test and commentary typo in assignIA_NA
removed second parameter to renewLeases6() calls
src/bin/dhcp6/dhcp6_srv.h
updated commentary for createContext()
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.h
AllocEngine::createLease6()
removed find_host parameter and logic which calls
findReservation and/or alters context hostname
src/lib/dhcpsrv/tests/alloc_engine_utils.cc
AllocEngine6Test::renewTest() - added call to
AllocEngine6Test::findReservation()
src/lib/dhcpsrv/tests/alloc_engine_utils.h
fixed typo
Marcin Siodelski [Wed, 18 Mar 2015 18:51:44 +0000 (19:51 +0100)]
[master] Merge branch 'trac3705'
Marcin Siodelski [Wed, 18 Mar 2015 18:49:40 +0000 (19:49 +0100)]
[3705] Changes as a result of the second code review.
Marcin Siodelski [Wed, 18 Mar 2015 17:37:21 +0000 (18:37 +0100)]
[master] Added ChangeLog entry for #3737.
Marcin Siodelski [Wed, 18 Mar 2015 14:35:12 +0000 (15:35 +0100)]
[master] Merge branch 'trac3737'
Thomas Markwalder [Wed, 18 Mar 2015 14:07:07 +0000 (10:07 -0400)]
[3675] Corrected extraneous dots added by D2ClientMgr::qualifyName
d2_client_mgr.cc
qualifyName() - Changed to only append a dot if needed before
adding a non-blank suffix
Marcin Siodelski [Wed, 18 Mar 2015 08:52:47 +0000 (09:52 +0100)]
[3689] Fixed outdated documentation for DHCPv6 messages processing functions
Marcin Siodelski [Wed, 18 Mar 2015 08:38:30 +0000 (09:38 +0100)]
[3689] Trivial: rename infRequest to inf_request per coding guidelines.
Marcin Siodelski [Wed, 18 Mar 2015 08:35:10 +0000 (09:35 +0100)]
[3689] Performance optimization in the appendRequestedOptions.
Shawn Routhier [Tue, 17 Mar 2015 21:43:16 +0000 (14:43 -0700)]
[3705] Fix up some typos during review
Thomas Markwalder [Tue, 17 Mar 2015 21:19:32 +0000 (17:19 -0400)]
[3689] Removed call to findReservation from AllocateEngine::allocateLeases6()
src/lib/dhcpsrv/alloc_engine.h
src/lib/dhcpsrv/alloc_engine.cc
allocateLeases6()
- removed find_reservation parameter from allocateLeases6
- removed logic that called findReservation(), this eliminates
inadvertanly stomping an already populated host in the context.
Places burden of doing the reservation lookup always on the caller.
src/bin/dhcp6/dhcp6_srv.cc
removed obsolete boolean parameter from allocateLeases6 calls
src/lib/dhcpsrv/tests/alloc_engine_utils.h
src/lib/dhcpsrv/tests/alloc_engine_utils.cc
AllocEngine6Test::findReservation() - new method which calls
engine's findReservation() and fills in context hostname accordingly.
src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
added calls to AlloceEnginetTest::findReservation where needed
Thomas Markwalder [Tue, 17 Mar 2015 19:58:57 +0000 (15:58 -0400)]
[3689] Added host reservation tests
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
added tests:
TEST_F(Dhcpv6SrvTest, hostReservationWithHostName)
TEST_F(Dhcpv6SrvTest, hostReservationWithoutHostName)
src/bin/dhcp6/tests/dhcp6_test_utils.h
src/bin/dhcp6/tests/dhcp6_test_utils.cc
Dhcpv6SrvTest::createHost6() - this method was moved
here from FqdnDhcpv6SrvTest()
src/bin/dhcp6/tests/fqdn_unittest.cc
added tests:
TEST_F(FqdnDhcpv6SrvTest, hostnameReservationSuffix)
TEST_F(FqdnDhcpv6SrvTest, hostnameReservationNoSuffix)
TEST_F(FqdnDhcpv6SrvTest, hostnameReservationDdnsDisabled)
Thomas Markwalder [Tue, 17 Mar 2015 19:36:19 +0000 (15:36 -0400)]
[3689] Use context instead of subnet, duid params
src/bin/dhcp6/dhcp6_srv.h
src/bin/dhcp6/dhcp6_srv.cc
replaced parameters subnet and duid with a single paramter for context in
several methods:
assignIA_NA()
assignIA_PD()
extendIA_NA()
extendIA_PD()
extendLeases()
appendRequestedVendorOptions() - added context parameter, removed
redundant call to selectSubnet
processClientFqdn() -
Now sets the hostname value in the context in addition to processing FQDN.
This centralizes the logic to handle both, since they are tightly coupled
and can be influenced by a host reservation.
Note that when the host name from the reservation is being used in place
of the client FQDN, the qualyfing suffix is always appended to the hostname.
This is consistent with the DHCPv4 behavior.
Marcin Siodelski [Tue, 17 Mar 2015 18:39:11 +0000 (19:39 +0100)]
[3737] Fixed the logging message when the lease allocation fails.
Log the ciaddr and requested-ip-address if exists. Previously the message
said it logged yiaddr sent by the client, but the client doesn't set the
yiaddr.
Thomas Markwalder [Tue, 17 Mar 2015 18:11:57 +0000 (14:11 -0400)]
[3689] Changed AllocEngine::allocateLeases6 to not reset context hostname
src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::allocateLeases6() - now only sets context host name
if findReservation() is called. This was stomping on the value
already in the context.
Marcin Siodelski [Tue, 17 Mar 2015 15:50:55 +0000 (16:50 +0100)]
[master] Merge branch 'trac3749'
Marcin Siodelski [Tue, 17 Mar 2015 15:49:33 +0000 (16:49 +0100)]
[3749] Minor fix in the isRelayed unit test as a result of the review.
Marcin Siodelski [Tue, 17 Mar 2015 13:22:13 +0000 (14:22 +0100)]
[master] Merge branch 'trac3744'
Marcin Siodelski [Tue, 17 Mar 2015 11:34:28 +0000 (12:34 +0100)]
[3744] Minor comments update in the JSON parsers.
Marcin Siodelski [Tue, 17 Mar 2015 11:19:59 +0000 (12:19 +0100)]
[3744] Lease database parser executed as the last one for DHCPv6 server.
Marcin Siodelski [Tue, 17 Mar 2015 10:53:46 +0000 (11:53 +0100)]
[3744] Parse lease db after subnets configuration
This patch runs the database parser last (after subnets have been parsed).
This allows, for example, to access the subnets staging configuration
when leases are being loaded from disk.
Marcin Siodelski [Tue, 17 Mar 2015 10:37:41 +0000 (11:37 +0100)]
[3749] Relayed message with hops=0 is accepted by the DHCPv4 server.
Marcin Siodelski [Tue, 17 Mar 2015 09:35:52 +0000 (10:35 +0100)]
[3705] Minor fixes for the review.
Marcin Siodelski [Tue, 17 Mar 2015 09:14:46 +0000 (10:14 +0100)]
[3705] Address review comments.
Shawn Routhier [Mon, 16 Mar 2015 20:19:59 +0000 (13:19 -0700)]
[master] Update change log entry with number and commit tag
Shawn Routhier [Mon, 16 Mar 2015 20:04:46 +0000 (13:04 -0700)]
Merge branch 'trac3759'
Merge the changes for 3759 into the master branch
Shawn Routhier [Mon, 16 Mar 2015 20:03:48 +0000 (13:03 -0700)]
[3759] Add change log entry
Shawn Routhier [Mon, 16 Mar 2015 20:00:43 +0000 (13:00 -0700)]
[3759] Updates per review comments
Francis Dupont [Sun, 15 Mar 2015 11:30:38 +0000 (12:30 +0100)]
[master] spelling
Francis Dupont [Sat, 14 Mar 2015 19:11:23 +0000 (20:11 +0100)]
[master] spelling
Francis Dupont [Sat, 14 Mar 2015 18:14:25 +0000 (19:14 +0100)]
[master] spelling
Francis Dupont [Sat, 14 Mar 2015 14:37:19 +0000 (15:37 +0100)]
[master] spelling
Francis Dupont [Sat, 14 Mar 2015 13:21:59 +0000 (14:21 +0100)]
[master] spelling & wrap lines
Shawn Routhier [Sat, 14 Mar 2015 04:06:08 +0000 (21:06 -0700)]
[3759] Update LFC check in server
Update the LFC check in the server to check see that neigher
the finish file nor the copy file exists before moving the current
lease information to the copy file.
Add tests to verify that the current file isn't moved if either
of the two files exist.
Shawn Routhier [Sat, 14 Mar 2015 01:19:36 +0000 (18:19 -0700)]
[master] Add commit number to changelog
Shawn Routhier [Sat, 14 Mar 2015 01:17:36 +0000 (18:17 -0700)]
[3720] Add sections about LFC to the developes and administrators guides
Merge branch 'trac3720'
Conflicts:
ChangeLog
Shawn Routhier [Sat, 14 Mar 2015 01:14:26 +0000 (18:14 -0700)]
[3720] Typo and ChangeLog per review
Marcin Siodelski [Fri, 13 Mar 2015 18:12:39 +0000 (19:12 +0100)]
[master] Fixing use of IfacePtr in iface_mgr_linux.cc and iface_mgr_sun.cc.
This is a fix after merge of #3715.
Marcin Siodelski [Fri, 13 Mar 2015 17:48:34 +0000 (18:48 +0100)]
[master] Removing error in calling the IOAddress constructor in unit test.
Obvious error. Committing on my own discretion.
Marcin Siodelski [Fri, 13 Mar 2015 17:28:48 +0000 (18:28 +0100)]
[master] Added ChangeLog entry for the #3715.
Marcin Siodelski [Fri, 13 Mar 2015 17:04:43 +0000 (18:04 +0100)]
[master] Merge branch 'trac3715'
Marcin Siodelski [Fri, 13 Mar 2015 14:11:50 +0000 (15:11 +0100)]
[master] Added ChangeLog entry for #3688.
Marcin Siodelski [Fri, 13 Mar 2015 14:08:33 +0000 (15:08 +0100)]
[master] Merge branch 'trac3688'
Conflicts:
src/bin/dhcp4/dhcp4_srv.h
Marcin Siodelski [Fri, 13 Mar 2015 13:50:38 +0000 (14:50 +0100)]
[3688] Reverted change for the optional run of hooks for selectSubnet.
Marcin Siodelski [Fri, 13 Mar 2015 12:16:21 +0000 (13:16 +0100)]
[3688] Address comments from the second code review.
Marcin Siodelski [Fri, 13 Mar 2015 11:40:13 +0000 (12:40 +0100)]
[3715] Fix typo and minor comment update.
Marcin Siodelski [Fri, 13 Mar 2015 10:31:34 +0000 (11:31 +0100)]
[3715] Use foreach to iterate over IfaceMgr callbacks.
Marcin Siodelski [Fri, 13 Mar 2015 10:16:45 +0000 (11:16 +0100)]
[3715] Use foreach for iterating over the IfaceMgr sockets.
Marcin Siodelski [Fri, 13 Mar 2015 09:53:42 +0000 (10:53 +0100)]
[3715] Use boost_foreach for iterating over the iface addresses.
Marcin Siodelski [Fri, 13 Mar 2015 09:35:27 +0000 (10:35 +0100)]
[3715] Interfaces in the IfaceMgr stored as pointers.
Shawn Routhier [Fri, 13 Mar 2015 04:00:15 +0000 (21:00 -0700)]
[3720] Add section for LFC to developers guide
Shawn Routhier [Fri, 13 Mar 2015 00:50:36 +0000 (17:50 -0700)]
[3720] Updates per review comments
Marcin Siodelski [Thu, 12 Mar 2015 20:30:27 +0000 (21:30 +0100)]
[master] Added ChangeLog entry for the #3736.