]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Fri, 22 Sep 2017 17:49:58 +0000 (19:49 +0200)]
[5307] Minor tweaks in DHCPv6 tests, added couple @todos
Tomek Mrugalski [Fri, 22 Sep 2017 16:38:46 +0000 (18:38 +0200)]
[5307] Minor tweaks in alloc_engine, couple tests added.
Marcin Siodelski [Thu, 21 Sep 2017 11:30:04 +0000 (13:30 +0200)]
[5307] Added test cases for prefix delegation.
Marcin Siodelski [Thu, 21 Sep 2017 07:39:19 +0000 (09:39 +0200)]
[5307] DHCPv6 server uses reserved client classes in shared network case.
Marcin Siodelski [Thu, 21 Sep 2017 06:58:36 +0000 (08:58 +0200)]
[5307] DHCPv6 server assigns shared network specific options.
Marcin Siodelski [Wed, 20 Sep 2017 16:27:55 +0000 (18:27 +0200)]
[5307] Assign reserved hostnames for shared networks.
Marcin Siodelski [Wed, 20 Sep 2017 07:40:34 +0000 (09:40 +0200)]
[5307] Created basic unit tests for shared networks in DHCPv6.
Marcin Siodelski [Tue, 12 Sep 2017 18:03:01 +0000 (20:03 +0200)]
[5307] Updated allocation engine to facilitate shared networks for v6.
Marcin Siodelski [Thu, 21 Sep 2017 08:57:03 +0000 (10:57 +0200)]
[master] Added ChangeLog for #5306.
Marcin Siodelski [Thu, 21 Sep 2017 07:54:10 +0000 (09:54 +0200)]
[master] Merge branch 'trac5306_rebase'
Tomek Mrugalski [Wed, 20 Sep 2017 10:44:29 +0000 (12:44 +0200)]
[5306] Added unit-tests for relay-ip address on subnet level.
Tomek Mrugalski [Wed, 20 Sep 2017 10:29:59 +0000 (12:29 +0200)]
[5306] Couple more unit-test simplifications.
Tomek Mrugalski [Tue, 19 Sep 2017 22:44:10 +0000 (00:44 +0200)]
[5306] Unit-tests refactored slightly.
Tomek Mrugalski [Tue, 19 Sep 2017 22:43:48 +0000 (00:43 +0200)]
[5606] Minor tweaks in unit-tests, configurations described
Tomek Mrugalski [Tue, 19 Sep 2017 14:51:22 +0000 (16:51 +0200)]
[5306] Reworked existing and added new unit-tests.
Tomek Mrugalski [Tue, 19 Sep 2017 13:24:23 +0000 (15:24 +0200)]
[5306] unit-tests refactored.
Tomek Mrugalski [Tue, 19 Sep 2017 13:24:01 +0000 (15:24 +0200)]
[5306] Changes after review:
- max attempts set to 0 in unit-tests (matching production code)
- couple typos
- new unit-test added (selectSharedNetworkByRelayAddressSubnetLevel)
- ClientContext4 is now noncopyable
- unused network parameter removed
Thomas Markwalder [Tue, 19 Sep 2017 11:50:22 +0000 (07:50 -0400)]
[master] Added ChangeLog entry 1296 for 5111.
Thomas Markwalder [Tue, 19 Sep 2017 11:48:09 +0000 (07:48 -0400)]
[master] Added a hook point, "command-processed", to kea-dhcp4, kea-dhcp6 servers
Merges in branch 'trac5111'
Thomas Markwalder [Mon, 18 Sep 2017 18:33:59 +0000 (14:33 -0400)]
[5111] Correct segfault in agent unit test
src/lib/config/base_command_mgr.h
src/lib/config/base_command_mgr.cc
Moved the hook point registration ouf of the
BaseCommandMgr ctor and into static module space.
Thomas Markwalder [Mon, 18 Sep 2017 14:53:36 +0000 (10:53 -0400)]
[master] Added Changelog entry 1296 for trac 5354.
Thomas Markwalder [Mon, 18 Sep 2017 14:51:12 +0000 (10:51 -0400)]
[master] Fixed sporadic segfault when using mysql backend
Merges in 5354.
Marcin Siodelski [Mon, 18 Sep 2017 10:51:22 +0000 (12:51 +0200)]
[5306] Created unit test for shared network selection based on classes.
Marcin Siodelski [Mon, 18 Sep 2017 10:11:51 +0000 (12:11 +0200)]
[5306] Use match-client-id defined on shared network level.
Marcin Siodelski [Mon, 18 Sep 2017 08:46:31 +0000 (10:46 +0200)]
[5306] Updated DHCPv4 server to use shared networks.
Marcin Siodelski [Thu, 14 Sep 2017 11:10:34 +0000 (13:10 +0200)]
[5306] Added stub unit tests for shared networks in DHCPv4.
Marcin Siodelski [Wed, 13 Sep 2017 10:43:28 +0000 (12:43 +0200)]
[5306] Implemented getNextSubnet() including classes.
Marcin Siodelski [Mon, 11 Sep 2017 16:47:30 +0000 (18:47 +0200)]
[5306] Client contexts now hold multiple hosts.
Marcin Siodelski [Fri, 8 Sep 2017 18:29:59 +0000 (20:29 +0200)]
[5306] Implemented getNextSubnet() function for subnets.
Marcin Siodelski [Thu, 7 Sep 2017 14:15:09 +0000 (16:15 +0200)]
[5306] Client classification for subnets added to allocation engine.
Marcin Siodelski [Thu, 7 Sep 2017 08:16:06 +0000 (10:16 +0200)]
[5306] Subnet selection for shared networks implemented.
Marcin Siodelski [Wed, 6 Sep 2017 17:15:41 +0000 (19:15 +0200)]
[5306] Basic IPv4 shared subnets scenarios implemented in alloc engine.
Tomek Mrugalski [Mon, 18 Sep 2017 08:45:31 +0000 (08:45 +0000)]
[master] parsers regenerated
Tomek Mrugalski [Fri, 15 Sep 2017 21:33:08 +0000 (23:33 +0200)]
[5360] Lexer fixed, unit-tests added.
Tomek Mrugalski [Fri, 15 Sep 2017 18:00:40 +0000 (20:00 +0200)]
[5360] client-class and match-client-id params on shared-network level
Tomek Mrugalski [Thu, 14 Sep 2017 10:32:09 +0000 (12:32 +0200)]
[master] Parsers regenerated on docs
Tomek Mrugalski [Thu, 14 Sep 2017 10:20:33 +0000 (12:20 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Thu, 14 Sep 2017 10:02:38 +0000 (12:02 +0200)]
[master] Merge branch 'trac5357' (shared network parsers update)
# Conflicts:
# src/bin/dhcp4/dhcp4_lexer.cc
# src/bin/dhcp4/dhcp4_parser.cc
# src/bin/dhcp4/dhcp4_parser.h
# src/bin/dhcp6/dhcp6_lexer.cc
# src/bin/dhcp6/dhcp6_parser.cc
# src/bin/dhcp6/dhcp6_parser.h
Marcin Siodelski [Thu, 14 Sep 2017 09:42:46 +0000 (11:42 +0200)]
[5357] Corrected comments in examples: shared subnet => shared network.
Tomek Mrugalski [Wed, 13 Sep 2017 21:12:11 +0000 (23:12 +0200)]
[5357] Bunch of consts added
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.
Marcin Siodelski [Thu, 7 Sep 2017 18:23:55 +0000 (20:23 +0200)]
[master] Added ChangeLog for #5305.
Marcin Siodelski [Thu, 7 Sep 2017 16:08:35 +0000 (18:08 +0200)]
[master] Merge branch 'trac5305'
# Conflicts:
# src/lib/dhcpsrv/parsers/dhcp_parsers.cc
# src/lib/dhcpsrv/subnet.cc
# src/lib/dhcpsrv/subnet.h
Marcin Siodelski [Thu, 7 Sep 2017 15:43:10 +0000 (17:43 +0200)]
[5305] Migrated SharedNetwork6Parser to SimpleParser.
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.
Tomek Mrugalski [Thu, 7 Sep 2017 13:32:38 +0000 (15:32 +0200)]
[master] ChangeLog updated after merge.
Tomek Mrugalski [Thu, 7 Sep 2017 12:17:30 +0000 (14:17 +0200)]
[master] Merge branch 'trac5345' (annoying messages removed)
Thomas Markwalder [Wed, 6 Sep 2017 19:57:38 +0000 (15:57 -0400)]
[5354] Correct auto-reconnect induced mysql client lib segfault
src/lib/dhcpsrv/mysql_connection.cc
MySqlConnection::openDatabase() -
Turns off auto_reconnect
Sets wait_timeout to 30 days
Thomas Markwalder [Tue, 5 Sep 2017 19:55:39 +0000 (15:55 -0400)]
[5111] Replaced hypen with underscore in command_processed hook name
Thomas Markwalder [Tue, 5 Sep 2017 18:42:02 +0000 (14:42 -0400)]
[5111] Updated legal-log hooks section with lease command logging
Marcin Siodelski [Tue, 5 Sep 2017 12:08:52 +0000 (14:08 +0200)]
[5305] Network4/Network6 specific params are now output by SharedNetworks
Tomek Mrugalski [Tue, 5 Sep 2017 11:25:26 +0000 (11:25 +0000)]
[master] parsers regenerated
Tomek Mrugalski [Tue, 5 Sep 2017 11:16:06 +0000 (13:16 +0200)]
[master] ChangeLog updated, parsers regenerated
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.
Tomek Mrugalski [Tue, 5 Sep 2017 10:55:56 +0000 (12:55 +0200)]
[master] Merge branch 'trac5350'
Tomek Mrugalski [Tue, 5 Sep 2017 10:53:47 +0000 (12:53 +0200)]
[5350] Changes after review:
- clarified that user context must be a map
- fixed identations in kea6/advanced.json config
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.
Francis Dupont [Mon, 4 Sep 2017 15:32:59 +0000 (17:32 +0200)]
[5350] spelling
Tomek Mrugalski [Mon, 4 Sep 2017 14:02:27 +0000 (16:02 +0200)]
[5345] Removed DHCP{4,6}_BUFFER_WAIT{,_INTERRUPTED} messages.
Tomek Mrugalski [Mon, 4 Sep 2017 11:58:52 +0000 (13:58 +0200)]
[5350] Parsers regenerated.
Tomek Mrugalski [Mon, 4 Sep 2017 11:58:22 +0000 (13:58 +0200)]
[5350] Documentation updated.
Tomek Mrugalski [Mon, 4 Sep 2017 11:57:23 +0000 (13:57 +0200)]
[5350] User contexts implemented for subnets.
Francis Dupont [Sat, 2 Sep 2017 12:52:36 +0000 (14:52 +0200)]
[master] Updated git hash
Francis Dupont [Sat, 2 Sep 2017 12:51:58 +0000 (14:51 +0200)]
[master] Finishing merge of trac5124a (required params in grammar)
Francis Dupont [Sat, 2 Sep 2017 12:48:53 +0000 (14:48 +0200)]
[master] Merged trac5124a (required params in grammar)
Francis Dupont [Sat, 2 Sep 2017 12:38:14 +0000 (12:38 +0000)]
[trac5124a] regen flex/bison
Francis Dupont [Sat, 2 Sep 2017 12:35:47 +0000 (14:35 +0200)]
[5124a] Rebased
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.
Thomas Markwalder [Wed, 30 Aug 2017 15:19:24 +0000 (11:19 -0400)]
[5111] Updated dhcp4/6 developer's hook point doc
src/bin/dhcp4/dhcp4_hooks.dox
src/bin/dhcp6/dhcp6_hooks.dox
replace "control-command-received" with
"command-processed"
Thomas Markwalder [Wed, 30 Aug 2017 14:27:55 +0000 (10:27 -0400)]
[5111] Added "command-processed" hook point to BaseCommandMgr
src/lib/config/base_command_mgr.cc
- BaseCommandMgr::BaseCommandMgr() - registers command-processed hookpoint
- BaseCommandMgr::processCommand() - invokes command-processed callouts
src/lib/config/tests/command_mgr_unittests.cc
- Cleanup and renaming to avoid confusion
- Added new tests to verify hookpoint callout
TEST_F(CommandMgrTest, commandProcessedHook)
TEST_F(CommandMgrTest, commandProcessedHookReplaceResponse)
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'