]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Wed, 13 Sep 2017 21:09:24 +0000 (23:09 +0200)]
[5357] Config examples improved.
Tomek Mrugalski [Wed, 13 Sep 2017 20:23:57 +0000 (22:23 +0200)]
[5357] Parsers renegerated.
Tomek Mrugalski [Wed, 13 Sep 2017 19:04:25 +0000 (21:04 +0200)]
[5357] Addressed comments after review:
- many more parameters are now inherited from shared-network to subnet4
- parameters now passed as const reference
- it is no longer possible to specify echo-client-id on shared-network
level (because it's a global parameter)
- example config commented properly
Marcin Siodelski [Wed, 13 Sep 2017 12:17:37 +0000 (14:17 +0200)]
[5357] Corrected some little typos as a result of review.
Tomek Mrugalski [Wed, 13 Sep 2017 08:59:40 +0000 (10:59 +0200)]
[5357] Makefile correction
Tomek Mrugalski [Wed, 13 Sep 2017 08:58:36 +0000 (10:58 +0200)]
[5357] examples improved.
Tomek Mrugalski [Wed, 13 Sep 2017 08:54:13 +0000 (10:54 +0200)]
[5357] Bison code regenerated
Tomek Mrugalski [Wed, 13 Sep 2017 08:52:57 +0000 (10:52 +0200)]
[5357] Added test for multiple shared-networks
Tomek Mrugalski [Wed, 13 Sep 2017 08:51:29 +0000 (10:51 +0200)]
[5357] Examples added to Makefile
Tomek Mrugalski [Wed, 13 Sep 2017 08:38:27 +0000 (10:38 +0200)]
[5357] Parser for shared-networks in DHCPv6 implemented.
Tomek Mrugalski [Tue, 12 Sep 2017 22:30:32 +0000 (00:30 +0200)]
[5357] Shared-networks parser for v4 extended.
Tomek Mrugalski [Fri, 8 Sep 2017 21:44:03 +0000 (23:44 +0200)]
[5357] Stupid warning removed
Tomek Mrugalski [Fri, 8 Sep 2017 21:43:42 +0000 (23:43 +0200)]
[5357] get-config unit-tests regenerated.
Tomek Mrugalski [Fri, 8 Sep 2017 21:31:31 +0000 (23:31 +0200)]
[5357] empty shared-networks is now allowed
Tomek Mrugalski [Fri, 8 Sep 2017 21:14:24 +0000 (23:14 +0200)]
[5357] Dhcp{4,6} grammar extended, sample configs added.
Tomek Mrugalski [Thu, 7 Sep 2017 14:34:54 +0000 (16:34 +0200)]
[5305] Problematic config-get unit-tests disabled temporarily.
Tomek Mrugalski [Thu, 7 Sep 2017 14:34:25 +0000 (16:34 +0200)]
[5305] v4 shared network parser now uses SimpleParser approach.
Tomek Mrugalski [Thu, 7 Sep 2017 14:33:44 +0000 (16:33 +0200)]
[5305] Minor tweaks in tests.
Marcin Siodelski [Tue, 5 Sep 2017 12:08:52 +0000 (14:08 +0200)]
[5305] Network4/Network6 specific params are now output by SharedNetworks
Marcin Siodelski [Tue, 5 Sep 2017 11:02:42 +0000 (13:02 +0200)]
[5305] Migrated server code and tests from Subnet class to Network class.
Marcin Siodelski [Tue, 5 Sep 2017 10:03:00 +0000 (12:03 +0200)]
[5305] Moved common parameters from Subnet to Network.
Marcin Siodelski [Tue, 5 Sep 2017 09:02:53 +0000 (11:02 +0200)]
[5305] Introduced Network4/Network6.
Marcin Siodelski [Mon, 4 Sep 2017 17:25:15 +0000 (19:25 +0200)]
[5305] Stub entry for shared-networks element in server's config added.
Marcin Siodelski [Mon, 4 Sep 2017 17:24:43 +0000 (19:24 +0200)]
[5305] Parsers for shared networks added.
Marcin Siodelski [Fri, 1 Sep 2017 14:14:10 +0000 (16:14 +0200)]
[5305] Added shared-networks configuration to server config.
Marcin Siodelski [Fri, 1 Sep 2017 12:52:38 +0000 (14:52 +0200)]
[5305] Added unit test for shared network destruction.
Marcin Siodelski [Fri, 1 Sep 2017 11:05:06 +0000 (13:05 +0200)]
[5305] Implemented CfgSharedNetworks class.
Marcin Siodelski [Thu, 31 Aug 2017 15:02:17 +0000 (17:02 +0200)]
[5305] Use weak pointer to reference a network from subnet.
Marcin Siodelski [Thu, 31 Aug 2017 11:57:10 +0000 (13:57 +0200)]
[5305] Basic toElement() data dump for shared network implemented.
Marcin Siodelski [Thu, 31 Aug 2017 08:44:04 +0000 (10:44 +0200)]
[5305] Added names to shared networks.
Marcin Siodelski [Thu, 31 Aug 2017 08:25:27 +0000 (10:25 +0200)]
[5305] Added unit tests for IPv6 shared subnets.
Marcin Siodelski [Thu, 31 Aug 2017 08:16:11 +0000 (10:16 +0200)]
[5305] Introduced shared networks holding subnets.
Marcin Siodelski [Fri, 25 Aug 2017 16:20:39 +0000 (18:20 +0200)]
[master] Added ChangeLog entry for #5340.
Marcin Siodelski [Fri, 25 Aug 2017 15:38:17 +0000 (17:38 +0200)]
[master] Merge branch 'trac5340'
Marcin Siodelski [Mon, 21 Aug 2017 18:06:29 +0000 (20:06 +0200)]
[master] Added ChangeLog entry for #5336.
Marcin Siodelski [Mon, 21 Aug 2017 17:46:12 +0000 (19:46 +0200)]
[master] Merge branch 'trac5336'
Marcin Siodelski [Mon, 21 Aug 2017 12:51:33 +0000 (14:51 +0200)]
[5340] Fixed invalid use of Pkt4::setFile and Pkt4::setSname functions.
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.
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.
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
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