]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Thu, 8 Oct 2015 21:20:37 +0000 (23:20 +0200)]
[3987] lease6_decline implemented.
Tomek Mrugalski [Tue, 6 Oct 2015 11:48:40 +0000 (13:48 +0200)]
[3499] Migration from 0.9.2 to 1.0 API documented.
Tomek Mrugalski [Tue, 6 Oct 2015 11:34:27 +0000 (13:34 +0200)]
[3499] bool skip flag replaced by enum status.
Marcin Siodelski [Mon, 5 Oct 2015 10:58:08 +0000 (12:58 +0200)]
[master] Fixed typo in the Makefile.am which caused distcheck failure.
Shawn Routhier [Fri, 2 Oct 2015 19:03:32 +0000 (12:03 -0700)]
[master] Add commit tag to change log entry for 3576 (PXE)
Shawn Routhier [Fri, 2 Oct 2015 19:01:32 +0000 (12:01 -0700)]
Merge branch 'trac3576' Add PXE options
Add several options PXE uses, also add the OptionOpaqueDataTuples
class to provide support for the parameter list option.
Conflicts:
ChangeLog
Shawn Routhier [Fri, 2 Oct 2015 18:18:39 +0000 (11:18 -0700)]
[trac3576] Fix typo in change log
Shawn Routhier [Fri, 2 Oct 2015 02:33:54 +0000 (19:33 -0700)]
[trac3576] Updates per review comments
Typo level changes per review comments.
Thomas Markwalder [Thu, 1 Oct 2015 18:30:07 +0000 (14:30 -0400)]
[master] Added ChangeLog entry 1017 for Trac #3916
Shawn Routhier [Thu, 1 Oct 2015 18:17:18 +0000 (11:17 -0700)]
[trac3576] Restore line accidently removed from DHCPv4 guide, fix typo in comment
Thomas Markwalder [Thu, 1 Oct 2015 18:14:34 +0000 (14:14 -0400)]
[master] Replace lease-dump scripts with stored procedures for MySQL/Postgres
Merges in branch 'trac3916'
Francis Dupont [Thu, 1 Oct 2015 16:17:23 +0000 (18:17 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 1 Oct 2015 16:16:35 +0000 (18:16 +0200)]
[master] Finished merge of trac4004 (enable-static and unit tests)
Francis Dupont [Thu, 1 Oct 2015 16:10:15 +0000 (18:10 +0200)]
[master] Merged trac4004 (enable-static and unit tests)
Francis Dupont [Thu, 1 Oct 2015 15:48:30 +0000 (17:48 +0200)]
[master] Merged trac4061 (use isc::asiolink::IOAddress predicates)
Francis Dupont [Thu, 1 Oct 2015 15:47:03 +0000 (17:47 +0200)]
[4061] Fixed typo
Thomas Markwalder [Thu, 1 Oct 2015 12:46:18 +0000 (08:46 -0400)]
[3916] Use stored procedures for MySQL lease dumps
src/bin/admin/kea-admin.in
src/bin/admin/kea-admin.in
get_dump_query() - modified SQL text returned for MySQL backend
which calls stored procedures to produce lease dumps rather than
SQL text from lease_dump_<version>.sh
src/bin/admin/scripts/mysql/Makefile.am
removed entries for leave_dump_<version>.sh files
src/bin/admin/scripts/mysql/dhcpdb_create.mysql
Added sql to create stored procedures for lease dumps:
lease4DumpHeader
lease4DumpData
lease6DumpHeader
lease6DumpData
src/bin/admin/scripts/pgsql/dhcpdb_create.pgsql
Changes table references in lease6DumpData() to match
convention used in MySQL lease6DumpData()
src/bin/admin/tests/mysql_tests.sh.in
mysql_lease4_dump_test() - change lease4 test leases to have differing
values for lease4.state
mysql_lease6_dump_test() - change lease4 test leases to have differing
values for lease6.state
mysql.lease4_dump_test.reference.csv
mysql.lease6_dump_test.reference.csv
Changed reference files to use lease_state.name values rather than
lease.state to match dump query output and new test data
src/bin/admin/scripts/mysql
deleted the following files as they are now obsolete
leave_dump_1.0.sh
leave_dump_2.0.sh
leave_dump_3.0.sh
leave_dump_4.0.sh
Makefile.am - removed entries for deleted lease dump scripts
Tomek Mrugalski [Thu, 1 Oct 2015 12:24:51 +0000 (14:24 +0200)]
[master] ChangeLog updated after #3984 merge.
Tomek Mrugalski [Thu, 1 Oct 2015 12:23:35 +0000 (14:23 +0200)]
[master] Merge branch 'trac3984' (v4 declined lease recovery)
Conflicts:
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/tests/alloc_engine_expiration_unittest.cc
Tomek Mrugalski [Thu, 1 Oct 2015 12:04:07 +0000 (14:04 +0200)]
[3984] Changes after review:
- Added comments in AllocEngine
- decline message clarified
- counters are now unsigned
- several asserts added in unit-tests
- missing doxygen entry added
Shawn Routhier [Thu, 1 Oct 2015 01:44:18 +0000 (18:44 -0700)]
[trac3576] Correct some strings, remvoe some extra whitespace
Shawn Routhier [Thu, 1 Oct 2015 00:49:22 +0000 (17:49 -0700)]
[trac3576] Clean up white space and add new files
Shawn Routhier [Thu, 1 Oct 2015 00:15:00 +0000 (17:15 -0700)]
[trac3576] Correct minimal length for v6 vendor class option
Thomas Markwalder [Wed, 30 Sep 2015 19:10:13 +0000 (15:10 -0400)]
[3916] Use stored functions for Postgres lease dumps
lease_dump_1.0.sh - deleted, now obsolete
src/bin/admin/scripts/pgsql/Makefile.am
removed entries for lease_dump_1.0.sh
src/bin/admin/kea-admin.in
get_dump_query() - modified SQL text returned for Postgres backend
which calls stored functions to produce lease dumps rather than
SQL texti from lease_dump_<version>.sh
src/bin/admin/scripts/pgsql/dhcpdb_create.pgsql
added statments to create lease dump functions:
lease4DumpHeader
lease4DumpData
lease6DumpHeader
lease6DumpData
src/bin/admin/tests/data/pgsql.lease6_dump_test.reference.csv
Booleans were expected be 't' or 'f', changed to int 1 or 0
Marcin Siodelski [Wed, 30 Sep 2015 13:37:14 +0000 (15:37 +0200)]
[master] Added ChangeLog entry for #3972.
Marcin Siodelski [Wed, 30 Sep 2015 12:50:04 +0000 (14:50 +0200)]
[master] Merge branch 'trac3972'
Marcin Siodelski [Wed, 30 Sep 2015 12:48:23 +0000 (14:48 +0200)]
[3972] Renamed recycle-timer-wait-time to flush-reclaimed-timer-wait-time.
Marcin Siodelski [Wed, 30 Sep 2015 12:43:32 +0000 (14:43 +0200)]
[master] Added Changelog entry for #3971.
Marcin Siodelski [Wed, 30 Sep 2015 11:20:50 +0000 (13:20 +0200)]
[master] Merge branch 'trac3971'
Marcin Siodelski [Wed, 30 Sep 2015 08:57:43 +0000 (10:57 +0200)]
[3972] Addressed review comments - minor nits.
Shawn Routhier [Wed, 30 Sep 2015 06:23:12 +0000 (23:23 -0700)]
[trac3576] Add PXE options
Add the options used by PXE
rfc4578 (dhcpv4)
93 Client_System (arch type)
94 Client NDI (network Interface id)
97 UUID/GUID client machine option def
rfc5970 (dhcpv6)
59 BOOTFILE_URL
60 BOOTFILE_PARAM
61 CLIENT_ARCH_TYPE
62 NII
Option 60 requires a special class in order to process the length & string tuples
As some unreleated tests used option 59 as an undefined option they needed to be
updated to use another option.
Marcin Siodelski [Tue, 29 Sep 2015 17:57:08 +0000 (19:57 +0200)]
[3971] Improved commentary in the Thread test.
Marcin Siodelski [Tue, 29 Sep 2015 17:55:27 +0000 (19:55 +0200)]
[3971] Addressed other review comments.
Marcin Siodelski [Tue, 29 Sep 2015 17:35:01 +0000 (19:35 +0200)]
[3971] Implemented test for graceful Thread destruction in child process.
Marcin Siodelski [Mon, 28 Sep 2015 18:23:31 +0000 (20:23 +0200)]
[3972] Lease reclamation routine executes the callouts.
Stephen Morris [Tue, 29 Sep 2015 10:34:55 +0000 (11:34 +0100)]
[master] ChangeLog for #4046
Stephen Morris [Tue, 29 Sep 2015 10:02:41 +0000 (11:02 +0100)]
[master] Merge branch 'trac4046'
Marcin Siodelski [Mon, 28 Sep 2015 13:02:17 +0000 (15:02 +0200)]
[3971] Catch exceptions in the CtrlDhcp{4,6}Srv destructors.
Marcin Siodelski [Mon, 28 Sep 2015 12:45:46 +0000 (14:45 +0200)]
[3971] Remove products of the LFC run in the shell based tests.
Marcin Siodelski [Mon, 28 Sep 2015 11:21:09 +0000 (13:21 +0200)]
[3971] DHCPv6 server uses TimerMgr to run LFC timers.
Marcin Siodelski [Mon, 28 Sep 2015 11:01:30 +0000 (13:01 +0200)]
[3971] Better handling errors when thread is stopped/started.
Also, improved some LFC unit tests.
Marcin Siodelski [Mon, 28 Sep 2015 09:24:25 +0000 (11:24 +0200)]
[3971] TimerMgr returns the number of registered timers.
Marcin Siodelski [Mon, 28 Sep 2015 09:10:15 +0000 (11:10 +0200)]
[3971] Memfile_LeaseMgr test holds instance of TimerMgr.
Francis Dupont [Fri, 25 Sep 2015 21:14:59 +0000 (23:14 +0200)]
[master] Merged trac4045 (cppcheck warnings)
Francis Dupont [Fri, 25 Sep 2015 16:32:17 +0000 (18:32 +0200)]
[4004] Put again hooks.h as a dependency
Marcin Siodelski [Wed, 23 Sep 2015 11:58:54 +0000 (13:58 +0200)]
[3971] Resolved issues with fork/exec while spawning LFC.
Marcin Siodelski [Wed, 23 Sep 2015 10:10:18 +0000 (12:10 +0200)]
[3971] Using TimerMgrPtr returned by the TimerMgr.
Marcin Siodelski [Mon, 14 Sep 2015 12:07:22 +0000 (14:07 +0200)]
[3971] Added test for LFC scheduling in DHCPv4 server.
Marcin Siodelski [Tue, 15 Sep 2015 21:08:14 +0000 (23:08 +0200)]
[3971] Fixed logic of the MemfileLeaseMgrTest timeout.
Marcin Siodelski [Fri, 11 Sep 2015 12:30:51 +0000 (14:30 +0200)]
[3971] Using TimerMgr in the Memfile backend.
Marcin Siodelski [Fri, 25 Sep 2015 13:53:07 +0000 (15:53 +0200)]
[master] Link perfdhcp with pthread to prevent build issues.
Francis Dupont [Fri, 25 Sep 2015 07:16:26 +0000 (09:16 +0200)]
[master] Updated git hash
Francis Dupont [Fri, 25 Sep 2015 07:15:06 +0000 (09:15 +0200)]
[master] Merged trac4015 supplement (DHCPv4 missing definitions)
Francis Dupont [Thu, 24 Sep 2015 23:29:09 +0000 (01:29 +0200)]
[4015] Tentative dhcp4.h
Francis Dupont [Thu, 24 Sep 2015 22:35:18 +0000 (00:35 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 24 Sep 2015 22:33:49 +0000 (00:33 +0200)]
[master] Finished merge of trac4015 (secure DHCPv6 definitions)
Francis Dupont [Thu, 24 Sep 2015 22:31:16 +0000 (00:31 +0200)]
[master] Merged trac4015 (secure DHCPv6 definitions)
Shawn Routhier [Thu, 24 Sep 2015 21:43:54 +0000 (14:43 -0700)]
[4015] Update the comments a bit to make the clearer.
Francis Dupont [Thu, 24 Sep 2015 20:18:25 +0000 (22:18 +0200)]
[4015] Added an experimental options table in user doc
Francis Dupont [Thu, 24 Sep 2015 19:51:53 +0000 (21:51 +0200)]
[4015] Added a IANA / standard option leading note and some EXPERIMENTAL labels
Marcin Siodelski [Thu, 24 Sep 2015 18:55:40 +0000 (20:55 +0200)]
[master] Merge branch 'trac4039'
Stephen Morris [Thu, 24 Sep 2015 18:00:40 +0000 (19:00 +0100)]
[master] Merge branch 'trac3952'
Thomas Markwalder [Thu, 24 Sep 2015 16:08:02 +0000 (12:08 -0400)]
[master] Added ChangeLog entry 1010 for #4067.
Thomas Markwalder [Thu, 24 Sep 2015 15:43:01 +0000 (11:43 -0400)]
[master] Fixed fd/0 unit test issue
Merged branch 'trac4067'
Marcin Siodelski [Thu, 24 Sep 2015 15:41:16 +0000 (17:41 +0200)]
[4039] Longer intervals in the TimerMgr test to avoid timing issues.
Thomas Markwalder [Thu, 24 Sep 2015 15:33:14 +0000 (11:33 -0400)]
[4067] Addressed review comments
Updated commentary in pkt_filter_test_stub.h as requested.
Francis Dupont [Thu, 24 Sep 2015 14:53:16 +0000 (16:53 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 24 Sep 2015 14:48:54 +0000 (16:48 +0200)]
[master] Merged trac4065 (block all signals in child threads)
Francis Dupont [Thu, 24 Sep 2015 14:37:36 +0000 (16:37 +0200)]
[master] Fixed old asio.hpp include in new code (bis)
Francis Dupont [Thu, 24 Sep 2015 14:32:57 +0000 (16:32 +0200)]
[master] Fixed old asio.hpp include in new code
Francis Dupont [Thu, 24 Sep 2015 14:11:36 +0000 (16:11 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 24 Sep 2015 14:09:57 +0000 (16:09 +0200)]
[master] Cleanup merge of trac4009 (use Boost Asio vs. ext/asio)
Francis Dupont [Thu, 24 Sep 2015 13:53:10 +0000 (15:53 +0200)]
[master] Finished merge of trac4009 (use Boost Asio vs. ext/asio)
Marcin Siodelski [Thu, 24 Sep 2015 13:38:03 +0000 (15:38 +0200)]
[4065] Added test description in the thread.cc
Francis Dupont [Thu, 24 Sep 2015 13:22:05 +0000 (15:22 +0200)]
[4009] Improved new boost options doc
Francis Dupont [Thu, 24 Sep 2015 13:18:35 +0000 (15:18 +0200)]
[4009] Improved --with-boost-libs help
Thomas Markwalder [Thu, 24 Sep 2015 13:01:49 +0000 (09:01 -0400)]
[4067] PktFilterTestStub no longer used fd 0
src/lib/dhcp/tests/pkt_filter_test_stub.cc
- PktFilterTestStub::openSocket() - the filter's SocketInfo::sock_fd_ is
now set with value returend by opening "/dev/null" as read_only. This
provides a valid, consumed fd that the filter retains until its socket
is closed.
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
CtrlChannelDhcp4SrvTest removed the fd/0 work-around as it is no
longer needed
~
Francis Dupont [Thu, 24 Sep 2015 10:20:22 +0000 (12:20 +0200)]
[4015] Fixed D60_MIP6_VDINF spelling
Francis Dupont [Wed, 23 Sep 2015 20:46:03 +0000 (22:46 +0200)]
[4065] Added a signal safe comment
Francis Dupont [Wed, 23 Sep 2015 20:44:18 +0000 (22:44 +0200)]
[4065] Added unit test
Francis Dupont [Wed, 23 Sep 2015 20:30:55 +0000 (22:30 +0200)]
[4009] Added --with-boost-lib-dir
Francis Dupont [Wed, 23 Sep 2015 14:22:00 +0000 (16:22 +0200)]
[4009] Added boost_lib_path (NetBSD (and more?) fix)
Francis Dupont [Wed, 23 Sep 2015 12:22:51 +0000 (14:22 +0200)]
[3984] spelling
Francis Dupont [Wed, 23 Sep 2015 12:00:30 +0000 (14:00 +0200)]
[3984] Moved comment to its intended location
Francis Dupont [Wed, 23 Sep 2015 11:22:48 +0000 (13:22 +0200)]
[master] Merged trac4032 (improve unit tests for exceptions)
Francis Dupont [Wed, 23 Sep 2015 10:51:41 +0000 (12:51 +0200)]
[4045] Fixed some cppcheck reports (first round)
Tomek Mrugalski [Tue, 22 Sep 2015 20:18:25 +0000 (22:18 +0200)]
[master] ChangeLog updated after #3982 merge.
Tomek Mrugalski [Tue, 22 Sep 2015 19:19:22 +0000 (21:19 +0200)]
[master] Merge branch 'trac3982' (Decline v6)
Conflicts:
src/bin/dhcp6/dhcp6_srv.cc
src/lib/dhcpsrv/lease.cc
src/lib/dhcpsrv/tests/lease_unittest.cc
Tomek Mrugalski [Tue, 22 Sep 2015 19:16:10 +0000 (21:16 +0200)]
[3982] Minor fix after review:
- DUID is checked in Lease6::decline() unit-test.
Marcin Siodelski [Tue, 22 Sep 2015 18:44:55 +0000 (20:44 +0200)]
[master] Removed extraneous variable.
Reviewed on jabber.
Tomek Mrugalski [Tue, 22 Sep 2015 18:36:47 +0000 (20:36 +0200)]
[3984] Declined IPv4 leases reclaimation implemented
Shawn Routhier [Tue, 22 Sep 2015 17:39:01 +0000 (10:39 -0700)]
Merge branch 'trac4002' Save error string before use
Save the error string before using it to minimize the possibility of
it changing between when it gets generated and reviewed and when it
gets logged.
Shawn Routhier [Tue, 22 Sep 2015 17:32:12 +0000 (10:32 -0700)]
Merge branch 'trac4001' Update code to clear errno before use.
Update the code to clear the errno variable before making calls that
might use it. This should limit problems with one section of code
creating an inappropriate error message due to looking at an errno
set by some other section ofcode.
Shawn Routhier [Tue, 22 Sep 2015 15:54:30 +0000 (08:54 -0700)]
[trac4001] Move the clearing of errno per review comments
Francis Dupont [Tue, 22 Sep 2015 15:46:38 +0000 (17:46 +0200)]
[4065] untabify
Stephen Morris [Tue, 22 Sep 2015 15:27:39 +0000 (16:27 +0100)]
[3952] Added additional checking in the hooks parser tests after review
Marcin Siodelski [Tue, 22 Sep 2015 15:00:59 +0000 (17:00 +0200)]
[master] Added ChangeLog entry for #4047.
Francis Dupont [Tue, 22 Sep 2015 14:58:44 +0000 (16:58 +0200)]
[4065] New threads got all signals blocked
Stephen Morris [Tue, 22 Sep 2015 13:40:29 +0000 (14:40 +0100)]
[3952] Abandon hooks tests on unrecoverable error
Changed some EXPECT_EQ tests to ASSERT_EQ in cases where the length
of a vector was checked and subsequently followed by checks that
accessed elements of the array. This way, if the array is too short,
the test will cleanly exit rather than possibly segmentation fault.
Marcin Siodelski [Tue, 22 Sep 2015 12:56:19 +0000 (14:56 +0200)]
[master] Merge branch 'trac4047'