]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Mon, 21 Aug 2017 12:51:33 +0000 (14:51 +0200)]
[5340] Fixed invalid use of Pkt4::setFile and Pkt4::setSname functions.
Andrei Pavel [Fri, 18 Aug 2017 15:43:51 +0000 (18:43 +0300)]
Google Benchmark support
ReentrantSetUp* methods are needed because you can't control iteration
count
Usage:
./configure --with-benchmark
OR
./configure --with-benchmark-source=/path/to/benchmark/src
make
cd src/lib/dhcpsrv/benchmarks
./run-benchmarks
OR
./run-benchmarks --benchmark_filter="RegExP*"
Andrei Pavel [Fri, 18 Aug 2017 14:43:27 +0000 (17:43 +0300)]
Merge branch 'cassandra-host-data-source' into cassandra-host-data-source-stress-test
Andrei Pavel [Fri, 18 Aug 2017 14:41:22 +0000 (17:41 +0300)]
boost::any for CHDS
Andrei Pavel [Fri, 18 Aug 2017 14:00:29 +0000 (17:00 +0300)]
Merge branch 'cassandra-update' into cassandra-host-data-source
Andrei Pavel [Fri, 18 Aug 2017 13:53:39 +0000 (16:53 +0300)]
forgot a merge conflict marker
Andrei Pavel [Fri, 18 Aug 2017 13:47:58 +0000 (16:47 +0300)]
boost::any for cassandra and more:
- replaced void* with boost::any for type safety (might be just a bit less efficient)
- replaced a multi-index-container used for statement parameters ( with position index and name index ) and a vector of the same parameters with a compile-time type-based map
- refactored lease manager to use exchanges
- exchanges now support UDTs (user defined types) and collections to be used in Cassandra statements
- replaced size-ambiguous types (e.g. int) with size-explicit types (e.g. int32_t) in Cassandra-related code
- made exception messages and log messages more detailed and consistent in format
Andrei Pavel [Fri, 18 Aug 2017 08:40:53 +0000 (11:40 +0300)]
another throw bites the dust
Andrei Pavel [Fri, 18 Aug 2017 08:13:10 +0000 (11:13 +0300)]
perfdhcp with late-exit-delay + documentation fix
* perfdhcp -m <delay> waits for <delay> ms after an exit condition
has been met to receive all packets without sending any new packets.
* documentation: "Use -D0 to abort if even a single request has
been dropped.". -D0 is not allowed, -D1 achieves that.
Andrei Pavel [Fri, 18 Aug 2017 07:27:29 +0000 (10:27 +0300)]
minor changes:
* dynamic exception specifications are deprecated in C++11 (throw on
function definition)
* INSTANTIATE_TEST_CASE_P gives a warning about variadic arguments
having at least one argument. The IntToString functor is what it
requires for test cases to be displayed correctly.
* Options should be merged with formatted option included in the
identifier. This was unit-tested, but masked by an incorrect csv-format
value in test data. Merge not used in actual code, but used in
Cassandra PR.
* ifdefs in MACROS are not portable
* added missing doxygen comments
Andrei Pavel [Fri, 18 Aug 2017 06:44:29 +0000 (09:44 +0300)]
reverted some changes which are too pedantic
Andrei Pavel [Thu, 17 Aug 2017 18:20:59 +0000 (21:20 +0300)]
Merge branch 'isc-master' into docbook-upgrade
Andrei Pavel [Thu, 17 Aug 2017 18:15:48 +0000 (21:15 +0300)]
Merge branch 'isc-master' into cassandra-update
Andrei Pavel [Thu, 17 Aug 2017 18:10:28 +0000 (21:10 +0300)]
Added --nonet back
Andrei Pavel [Thu, 17 Aug 2017 18:04:29 +0000 (21:04 +0300)]
Merge branch 'isc-master' into minor-changes
Andrei Pavel [Thu, 17 Aug 2017 17:56:55 +0000 (20:56 +0300)]
Merge branch 'isc-master' into makefile-am
Andrei Pavel [Thu, 17 Aug 2017 17:56:02 +0000 (20:56 +0300)]
Merge branch 'isc-master' into initialize-logging-before-reading-conf
Andrei Pavel [Thu, 17 Aug 2017 17:54:15 +0000 (20:54 +0300)]
Merge branch 'isc-master' into config-h
Andrei Pavel [Thu, 17 Aug 2017 17:52:41 +0000 (20:52 +0300)]
Merge branch 'cassandra-host-data-source' into cassandra-host-data-source-stress-test
Andrei Pavel [Thu, 17 Aug 2017 17:30:41 +0000 (20:30 +0300)]
Merge branch 'isc-master' into cassandra-host-data-source
Thomas Markwalder [Wed, 16 Aug 2017 13:10:34 +0000 (09:10 -0400)]
[master] Added ChangeLog 1288 for trac 5315.
Thomas Markwalder [Wed, 16 Aug 2017 13:05:45 +0000 (09:05 -0400)]
[5315] Documented subnet_cmds library in the Kea User's Guide
Merge branch 'trac5315_rebase'
Thomas Markwalder [Tue, 15 Aug 2017 18:57:11 +0000 (14:57 -0400)]
[5315] Wording and whitespace in guide
Replaced subnet-ids with subnets, and subnet-id with id in
subnet commands text, and removed trailing whitespace in
doc/guide/hooks.xml
Tomek Mrugalski [Tue, 15 Aug 2017 16:58:04 +0000 (18:58 +0200)]
[5315_rebase] Changes after rebase and review:
- Renamed SubnetIdIndexTag to avoid collision
- Moved OptionDataParser to option_data_parser.cc|h
- Updated hooks.xml to reflect recent changes
Thomas [Tue, 15 Aug 2017 15:40:09 +0000 (11:40 -0400)]
[5336] Fix EAGAIN/EWOULDBLOCK handling in UnixDomainSocket
Thomas Markwalder [Thu, 10 Aug 2017 18:37:19 +0000 (14:37 -0400)]
[5315] Minor wording edits in doc/guide/hooks.xml
Marcin Siodelski [Thu, 27 Jul 2017 14:44:51 +0000 (16:44 +0200)]
[5315] Updated Kea User's Guide with subnet_cmds information.
Marcin Siodelski [Thu, 27 Jul 2017 12:13:55 +0000 (14:13 +0200)]
[5315] Added functions that remove subnets from a configuration.
Marcin Siodelski [Wed, 26 Jul 2017 20:14:01 +0000 (22:14 +0200)]
[5315] Option data parser checks for runtime definitions in LibDHCP.
Previously, it checked for them in the staging configuration but this is
not going to work for control commands which bypass the staging
configuration step.
Marcin Siodelski [Wed, 26 Jul 2017 11:56:49 +0000 (13:56 +0200)]
[5315] Check for subnet prefix duplicates when subnet is added.
Marcin Siodelski [Tue, 25 Jul 2017 12:33:24 +0000 (14:33 +0200)]
[5315] Moved DHCPv4 and DHCPv6 simple parsers to libdhcpsrv.
Marcin Siodelski [Tue, 25 Jul 2017 07:55:14 +0000 (09:55 +0200)]
[5315] Moved Subnet parsers from DHCP binaries to libdhcpsrv.
Marcin Siodelski [Mon, 24 Jul 2017 11:52:27 +0000 (13:52 +0200)]
[5315] Config Manager now returns non-const pointer to current config.
Thomas Markwalder [Fri, 11 Aug 2017 15:10:59 +0000 (11:10 -0400)]
[master] Added Changelog entry 1287 for Trac 5324.
Thomas Markwalder [Fri, 11 Aug 2017 15:08:45 +0000 (11:08 -0400)]
[master] Log rotation now functions and is on by default
Merge branch 'trac5324'
Thomas Markwalder [Fri, 11 Aug 2017 14:26:58 +0000 (10:26 -0400)]
[5324] Upped the default log size to 10MB
Thomas Markwalder [Thu, 10 Aug 2017 17:57:43 +0000 (13:57 -0400)]
[master] Added Changelog entry 1286 for Trac 5314
Thomas Markwalder [Thu, 10 Aug 2017 17:54:51 +0000 (13:54 -0400)]
[master] Added subnet manipulation support
Merge branch 'trac5314'
Tomek Mrugalski [Thu, 10 Aug 2017 13:51:51 +0000 (15:51 +0200)]
[master] ChangeLog updated after #5280 (lease commands) merge.
Tomek Mrugalski [Thu, 10 Aug 2017 13:38:14 +0000 (15:38 +0200)]
[5314] Regenerated get_config unit-tests in dhcp4 and dhcp6
Tomek Mrugalski [Thu, 10 Aug 2017 13:02:41 +0000 (15:02 +0200)]
[5314] Empty status added
- it's a copy 5272 code added that's already on master,
but it seems easier to add it on a branch than go through
the whole rebase process.
Tomek Mrugalski [Thu, 10 Aug 2017 11:51:47 +0000 (13:51 +0200)]
[5280] Changes after review:
- added missing comments for couple handlers
- duplicated leaseX-update check removed, unit-test added
- added missing parameters in lease_mgr_unitest.cc
- added sanity check for state when adding and updating leases
- not possibly anymore to sneak v4 addresses when v6 is expected
(and vice versa)
Thomas Markwalder [Wed, 9 Aug 2017 18:45:21 +0000 (14:45 -0400)]
[5280] Wordsmithing on doc/guide/hooks.xml
Thomas Markwalder [Wed, 9 Aug 2017 18:02:07 +0000 (14:02 -0400)]
[5280] A bit of wordsmithing on lease_cmds.dox
Tomek Mrugalski [Tue, 8 Aug 2017 22:21:06 +0000 (00:21 +0200)]
[5280] User's Guide for lease_cmds written.
Thomas Markwalder [Tue, 8 Aug 2017 15:17:09 +0000 (11:17 -0400)]
[5324] Log file rotation now works when configured to do so
doc/guide/logging.xml
Updated logging section with more explanation of maxsize and maxver
src/lib/dhcpsrv/logging_info.cc
LoggingInfo::toSpec()
Now sets maxsize and maxver in created spec
src/lib/dhcpsrv/tests/logging_info_unittest.cc
TEST_F(LoggingInfoTest, defaults)
Added checks for default maxsize and maxver
src/lib/dhcpsrv/tests/logging_unittest.cc
LoggingTest:
Added support for log files
TEST_F(LoggingTest, logRotate) - new test the ensures
logs rotate when configured to do so
src/lib/testutils/dhcp_test_lib.sh.in
Added code to remove log lock file. When rotation is enabled,
lock files are automatically enabled.
Tomek Mrugalski [Tue, 8 Aug 2017 12:40:10 +0000 (14:40 +0200)]
[5280] Doxygen for lease commands added.
Thomas Markwalder [Mon, 7 Aug 2017 18:34:53 +0000 (14:34 -0400)]
[5324] Add log rotation test to dhcpsrv lib
src/lib/dhcpsrv/tests/logging_unittest.cc
TEST_F(LoggingTest, logRotate) - new test the verifies log rotation works.
Tomek Mrugalski [Fri, 4 Aug 2017 19:21:26 +0000 (21:21 +0200)]
[5280] lease4-wipe, lease6-wipe commands implemented.
Tomek Mrugalski [Fri, 4 Aug 2017 19:00:11 +0000 (21:00 +0200)]
[5280] leaseWipe4,6 implemented in lease managers (base and memfile)
Tomek Mrugalski [Fri, 4 Aug 2017 17:37:10 +0000 (19:37 +0200)]
[5280] leaseX-update, leaseX-del implemented.
Thomas Markwalder [Mon, 7 Aug 2017 14:34:05 +0000 (10:34 -0400)]
[5226] Minor wording changes in guide doc
Tomek Mrugalski [Mon, 7 Aug 2017 13:41:59 +0000 (15:41 +0200)]
[master] lib build order fix, ChangeLog updated after merge.
Tomek Mrugalski [Mon, 7 Aug 2017 13:11:06 +0000 (15:11 +0200)]
[master] Merge branch 'trac5272' (lease_cmds hook added)
Francis Dupont [Mon, 7 Aug 2017 07:56:16 +0000 (09:56 +0200)]
[master] Updated git hash
Francis Dupont [Mon, 7 Aug 2017 07:55:00 +0000 (07:55 +0000)]
[master] regen
Francis Dupont [Mon, 7 Aug 2017 07:53:27 +0000 (09:53 +0200)]
[master] Finished merge of trac5241 (always-send)
Francis Dupont [Mon, 7 Aug 2017 07:46:54 +0000 (09:46 +0200)]
[5241] wording
Tomek Mrugalski [Fri, 4 Aug 2017 14:15:49 +0000 (16:15 +0200)]
[5272] Libs order improved, added missing dependencies, .dox removed
Tomek Mrugalski [Fri, 4 Aug 2017 14:11:19 +0000 (16:11 +0200)]
[5272] LIB_SO renamed to LEASE_CMDS_LIB_SO
Tomek Mrugalski [Fri, 4 Aug 2017 14:04:15 +0000 (16:04 +0200)]
[5272] getAddress moved to SimpleParser
Tomek Mrugalski [Fri, 4 Aug 2017 13:03:20 +0000 (15:03 +0200)]
[5272] Comments improved for handlers and Parameters struct
Tomek Mrugalski [Fri, 4 Aug 2017 13:02:25 +0000 (15:02 +0200)]
[5272] toElement tests migrated to runToElementTest macro
Francis Dupont [Fri, 4 Aug 2017 11:03:17 +0000 (13:03 +0200)]
[5272] Trivial work-around for clang/boost bug
Thomas Markwalder [Thu, 3 Aug 2017 19:19:00 +0000 (15:19 -0400)]
[5314] Suppress excluded_prefix when blank in Pool6::toElement()
Pool6::toElement() will only include excluded-prefix if it isn't
blank.
Patrik Lundin [Thu, 3 Aug 2017 19:13:34 +0000 (21:13 +0200)]
Replace another "test" with "expr".
Error message seen on OpenBSD:
===
./configure[16315]: test: >: unexpected operator/operand
===
Another instance of this problem was fixed previously:
https://github.com/isc-projects/kea/pull/25
Thomas Markwalder [Thu, 3 Aug 2017 18:44:31 +0000 (14:44 -0400)]
[5314] Added Pool::toElement() and Pool<4/6>::toElement()
Extracted logic for elementizing pools into toElement methods
in Pool, Pool4, and Pool6 classes.
Thomas Markwalder [Thu, 3 Aug 2017 15:20:13 +0000 (11:20 -0400)]
[5314] Implemented Subnet::toElement()
Provided implementation for Subnet::toElement() which handles all
common members, reworked Subnet<4/6>::toElement() to use this.
Francis Dupont [Thu, 3 Aug 2017 13:08:50 +0000 (15:08 +0200)]
[5272] cosmetics
Francis Dupont [Thu, 3 Aug 2017 12:22:11 +0000 (14:22 +0200)]
[5272] spelling
Tomek Mrugalski [Thu, 3 Aug 2017 11:41:16 +0000 (13:41 +0200)]
[5343] DhcpConfigParser removed.
Francis Dupont [Thu, 3 Aug 2017 11:31:43 +0000 (13:31 +0200)]
[master] Finished merge of trac5333 (re-detect vs close)
Francis Dupont [Thu, 3 Aug 2017 11:30:07 +0000 (13:30 +0200)]
[master] Merged trac5333 (re-detect vs close)
Tomek Mrugalski [Wed, 2 Aug 2017 17:58:15 +0000 (19:58 +0200)]
[5241] Minor changes after review.
Tomek Mrugalski [Wed, 2 Aug 2017 14:43:24 +0000 (16:43 +0200)]
[5272] Couple more clean-ups.
Tomek Mrugalski [Wed, 2 Aug 2017 11:40:57 +0000 (13:40 +0200)]
[5314] Fix for segfault, courtesy of Marcin
- applied the patch provided as ticket attachment
Tomek Mrugalski [Wed, 2 Aug 2017 09:02:20 +0000 (11:02 +0200)]
[5272] Syntax simplified, extra unit-tests added.
Tomek Mrugalski [Tue, 1 Aug 2017 19:05:26 +0000 (21:05 +0200)]
[5272] unit-tests for lease4-add, lease6-add implemented
Tomek Mrugalski [Tue, 1 Aug 2017 19:03:46 +0000 (21:03 +0200)]
[5272] lease4-add, lease6-add implemented
Tomek Mrugalski [Tue, 1 Aug 2017 18:53:30 +0000 (20:53 +0200)]
[5272] New control result added (3 = empty)
Tomek Mrugalski [Tue, 1 Aug 2017 18:52:15 +0000 (20:52 +0200)]
[5272] getSubnet implemented.
Tomek Mrugalski [Tue, 1 Aug 2017 18:36:33 +0000 (20:36 +0200)]
[5272] LeaseX::toElement() implemented
Tomek Mrugalski [Fri, 14 Jul 2017 08:32:50 +0000 (10:32 +0200)]
[5272] lease_cmds in progress
Francis Dupont [Mon, 31 Jul 2017 12:08:32 +0000 (14:08 +0200)]
[master] Finished merge of trac5126 (flat style)
Francis Dupont [Sun, 30 Jul 2017 15:31:23 +0000 (17:31 +0200)]
[5241] Added PRL vs always-true requested unit tests
Francis Dupont [Sun, 30 Jul 2017 14:41:59 +0000 (16:41 +0200)]
[5241] Explained always-true action
Tomek Mrugalski [Fri, 28 Jul 2017 19:39:27 +0000 (21:39 +0200)]
[5314] Two minor corrections.
Francis Dupont [Fri, 28 Jul 2017 14:54:14 +0000 (16:54 +0200)]
[5241] Updated get_config unit tests
Francis Dupont [Fri, 28 Jul 2017 14:15:50 +0000 (14:15 +0000)]
[trac5241] regen
Francis Dupont [Fri, 28 Jul 2017 14:12:56 +0000 (16:12 +0200)]
[5241] Changed "persistent" into "always-send"
Francis Dupont [Fri, 28 Jul 2017 13:19:11 +0000 (15:19 +0200)]
[5333] Use addInterface
Thomas Markwalder [Thu, 27 Jul 2017 20:28:04 +0000 (16:28 -0400)]
[master] Added ChangeLog entry 1281 for #5337
Thomas Markwalder [Thu, 27 Jul 2017 20:25:00 +0000 (16:25 -0400)]
[master] Configure now supports static boost_system lib with static linking
Merges branch 'trac5337'
Thomas Markwalder [Thu, 27 Jul 2017 13:46:21 +0000 (09:46 -0400)]
[5337] Changed glib static lib test to trigger on enable-static-link
configure.ac - changed the glib static test to trigger on
enable-static-link, rather than enable-static. The latter is on by
default, and testing based on this would fall over on lots of systems
requiring folks to specify --disable-static or install the glib static
libs.
Thomas Markwalder [Wed, 26 Jul 2017 15:15:35 +0000 (11:15 -0400)]
[5337] Improved syntax and error message in test for enable-static test
Thomas Markwalder [Tue, 25 Jul 2017 18:28:29 +0000 (14:28 -0400)]
[5337] configure.ac got mangled somehow.
Tomek Mrugalski [Tue, 25 Jul 2017 18:03:57 +0000 (20:03 +0200)]
[master] Acks updated after githu51 merge.
Thomas Markwalder [Tue, 25 Jul 2017 18:00:33 +0000 (14:00 -0400)]
[5337] Don't use libtool for boost lib test
configure.ac
Added logic block to look for glib static libs fi enable-static = yes
m4macros/ax_boost_for_kea.m4
Changed to not use libtool for boost lib test.
Tomek Mrugalski [Tue, 25 Jul 2017 17:58:58 +0000 (19:58 +0200)]
[github51] Merge branch 'missing-header' of https://github.com/waltsteverson/kea into github51
Tomek Mrugalski [Tue, 25 Jul 2017 17:53:45 +0000 (19:53 +0200)]
[master] ChangeLog, AUTHORS updated after github50 merged.