]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Fri, 19 Dec 2014 18:19:36 +0000 (19:19 +0100)]
[3564] Addressed review comments.
Tomek Mrugalski [Fri, 19 Dec 2014 13:19:20 +0000 (14:19 +0100)]
[3564] Compilation fix.
Marcin Siodelski [Mon, 15 Dec 2014 14:46:53 +0000 (15:46 +0100)]
[3564] Updated Developer Guide with information about host reservations.
Marcin Siodelski [Mon, 15 Dec 2014 13:16:03 +0000 (14:16 +0100)]
[3564] Improved commentary for the allocation engine.
Marcin Siodelski [Mon, 15 Dec 2014 09:56:16 +0000 (10:56 +0100)]
[3564] Implemented tests for address conflicts resolution.
The new tests are implemented using the Dhcp4Client class. It has been
found that the server returns DHCPNAK in response to DHCPDISCOVER which
was wrong. Now, the server doesn't respond to DHCPDISCOVER if it can't
find an address. As a result, a number of tests had to be fixed which
relied on this invalid behavior.
Marcin Siodelski [Thu, 11 Dec 2014 21:19:10 +0000 (22:19 +0100)]
[3564] Fix failing unit tests after the updates to the allocation engine.
Marcin Siodelski [Thu, 11 Dec 2014 16:15:38 +0000 (17:15 +0100)]
[3564] Renamed hint to requested_address in allocation engine.
Marcin Siodelski [Thu, 11 Dec 2014 15:59:22 +0000 (16:59 +0100)]
[3564] Resolve conflicts with the reserved addresses in allocation engine.
Marcin Siodelski [Thu, 4 Dec 2014 18:07:16 +0000 (19:07 +0100)]
[3564] Updated allocateLease4 in allocation engine to use reservations.
Marcin Siodelski [Wed, 10 Dec 2014 19:42:59 +0000 (20:42 +0100)]
[master] Added ChangeLog for #3628.
Marcin Siodelski [Wed, 10 Dec 2014 19:41:19 +0000 (20:41 +0100)]
[master] Merge branch 'trac3628'
Conflicts:
src/lib/dhcpsrv/Makefile.am
src/lib/dhcpsrv/cfg_hosts.cc
src/lib/dhcpsrv/tests/cfg_hosts_unittest.cc
Tomek Mrugalski [Wed, 10 Dec 2014 10:04:36 +0000 (11:04 +0100)]
[master] ChangeLog updated after #3556 merge.
Tomek Mrugalski [Wed, 10 Dec 2014 10:02:06 +0000 (11:02 +0100)]
[master] Merge branch 'trac3556' (MAC in MySQL backend for kea6)
Tomek Mrugalski [Wed, 10 Dec 2014 10:01:43 +0000 (11:01 +0100)]
[3556] Renamed lease6_hwaddr_source => lease_hwaddr_source
Tomek Mrugalski [Wed, 10 Dec 2014 09:23:18 +0000 (10:23 +0100)]
[master] ChangeLog updated.
Tomek Mrugalski [Wed, 10 Dec 2014 09:21:59 +0000 (10:21 +0100)]
[master] Merge branch 'trac3599' (kea-admin)
Tomek Mrugalski [Wed, 10 Dec 2014 08:42:44 +0000 (09:42 +0100)]
[master] Merge branch 'trac3551' (RFC6939 support)
Conflicts:
ChangeLog
Tomek Mrugalski [Wed, 10 Dec 2014 08:40:32 +0000 (09:40 +0100)]
[3551] Doc, AUTHORS, ChangeLog updated.
Tomek Mrugalski [Tue, 9 Dec 2014 19:57:53 +0000 (20:57 +0100)]
[3599] @todo for extending the upgrade test added.
Tomek Mrugalski [Tue, 9 Dec 2014 19:49:58 +0000 (20:49 +0100)]
[3599] make distcheck fix
Marcin Siodelski [Tue, 9 Dec 2014 17:47:50 +0000 (18:47 +0100)]
[3628] Addressed review comments.
One of the major changes was to eliminate possibility of defining the dead
reservation: neither hostname nor IP address reserved and covering it with
suitable unit tests.
Tomek Mrugalski [Tue, 9 Dec 2014 17:25:56 +0000 (18:25 +0100)]
Merge branch 'master' into trac3599
Tomek Mrugalski [Tue, 9 Dec 2014 16:04:59 +0000 (17:04 +0100)]
[3551] Minor changes after review.
Marcin Siodelski [Tue, 9 Dec 2014 11:41:15 +0000 (12:41 +0100)]
[master] Added ChangeLog entry for #3467.
Marcin Siodelski [Tue, 9 Dec 2014 09:39:58 +0000 (10:39 +0100)]
[master] Merge branch 'trac3467'
Marcin Siodelski [Tue, 9 Dec 2014 09:38:48 +0000 (10:38 +0100)]
[3467] Added example configurations for options.
Tomek Mrugalski [Tue, 9 Dec 2014 08:54:57 +0000 (09:54 +0100)]
[3551] Patch as submitted by David (see comment 4 in ticket 3551)
Marcin Siodelski [Tue, 9 Dec 2014 08:31:41 +0000 (09:31 +0100)]
[3467] Addressed review comments.
Marcin Siodelski [Mon, 8 Dec 2014 18:49:55 +0000 (19:49 +0100)]
[master] Added ChangeLog entry for #3624.
Marcin Siodelski [Mon, 8 Dec 2014 18:48:28 +0000 (19:48 +0100)]
[master] Merge branch 'trac3624'
Marcin Siodelski [Mon, 8 Dec 2014 18:35:38 +0000 (19:35 +0100)]
[3624] Address review comments.
Removed the leftover debugging statement. Also, added some more commentary
to the test checking behavior for too long FQDNs.
Marcin Siodelski [Mon, 8 Dec 2014 18:31:10 +0000 (19:31 +0100)]
[master] Added ChangeLog entry for #3561.
Marcin Siodelski [Mon, 8 Dec 2014 17:23:03 +0000 (18:23 +0100)]
[master] Merge branch 'trac3561'
Marcin Siodelski [Mon, 8 Dec 2014 17:19:40 +0000 (18:19 +0100)]
[3561] Addressed review comments.
Multiple updates to the documentation of the HostMgr. Also fixed a broken
implementation of the HostMgr::getAll4.
Marcin Siodelski [Mon, 8 Dec 2014 14:13:03 +0000 (15:13 +0100)]
[3599] Fixed issues with the kea-admin script portability.
The following issues causing failures on the FreeBSD were corrected:
- Don't use sed to replace tabulations from the returned kea version.
Instead the CONCAT mysql function is used.
- Replace &>dev/null with the >/dev/null 2>&1
Additional changes:
- Added a new line before printing existing tables in the mysql.
- Added .gitignore for new files.
Tomek Mrugalski [Fri, 5 Dec 2014 22:33:53 +0000 (23:33 +0100)]
[3599] Changes after review
- mysql/upgrade_1.0_to_2.0.sh renamed to .in
- header added to admin-utils.sh, revoked exec bit
- kea-admin clarified (db => lease db)
- kea-admin manpage corrected
- lease6_hwaddr_source renamed to lease_hwaddr_source
- mysql_tests are now working without installation
Marcin Siodelski [Thu, 4 Dec 2014 13:47:21 +0000 (14:47 +0100)]
[3556] Updated copyright headers.
Tomek Mrugalski [Wed, 3 Dec 2014 14:29:22 +0000 (15:29 +0100)]
[3556] Update after review: unit-test schema simplified
Marcin Siodelski [Wed, 3 Dec 2014 10:56:23 +0000 (11:56 +0100)]
[master] Added ChangeLog entry for 3630.
Marcin Siodelski [Wed, 3 Dec 2014 10:15:20 +0000 (11:15 +0100)]
[master] Merge branch 'trac3630'
Marcin Siodelski [Tue, 2 Dec 2014 12:20:11 +0000 (13:20 +0100)]
[3630] Added missing "lease-database" entry to the DHCPv6 configuration.
Marcin Siodelski [Mon, 1 Dec 2014 17:08:29 +0000 (18:08 +0100)]
[3561] Updated doxygen documentation with the info about HostMgr.
Marcin Siodelski [Mon, 1 Dec 2014 16:29:21 +0000 (17:29 +0100)]
[3561] HostMgr now uses alternate host data source, if specified.
Marcin Siodelski [Mon, 1 Dec 2014 14:12:56 +0000 (15:12 +0100)]
[3561] Implemented basic host manager gathering hosts from the config.
Marcin Siodelski [Thu, 27 Nov 2014 16:48:19 +0000 (17:48 +0100)]
[3628] Corrected distcheck failure on configuration parser files.
Marcin Siodelski [Thu, 27 Nov 2014 16:11:29 +0000 (17:11 +0100)]
[3628] Updated dhcp4.spec and dhcp6.spec for host reservations.
Marcin Siodelski [Thu, 27 Nov 2014 14:24:08 +0000 (15:24 +0100)]
[3628] Host reservation parser is now connected to the subnet parsers.
Marcin Siodelski [Wed, 26 Nov 2014 19:41:05 +0000 (20:41 +0100)]
[3628] Added configuration parser for host reservations list.
Marcin Siodelski [Wed, 26 Nov 2014 18:23:32 +0000 (19:23 +0100)]
[3628] Moved configuration parsers to dhcpsrv/parsers.
Marcin Siodelski [Tue, 25 Nov 2014 15:38:22 +0000 (16:38 +0100)]
[3624] Extend test for DHCPv6 client FQDN to cover multi-label domain name.
Marcin Siodelski [Tue, 25 Nov 2014 15:26:28 +0000 (16:26 +0100)]
[3624] Addressed code review comments.
The FQDN option test now also covers checking the length of the FQDN option
when multi-labeled partial domain names are specified.
Francis Dupont [Tue, 18 Nov 2014 08:09:52 +0000 (09:09 +0100)]
[master] update git hash
Francis Dupont [Tue, 18 Nov 2014 08:08:53 +0000 (09:08 +0100)]
[master] merge cryptolink cleanups #3602
Wlodek Wencel [Wed, 12 Nov 2014 13:00:01 +0000 (14:00 +0100)]
[master] fixed typo in url
Shawn Routhier [Wed, 12 Nov 2014 02:55:39 +0000 (18:55 -0800)]
Merge branch 'trac3620'
Tomek Mrugalski [Mon, 10 Nov 2014 20:01:45 +0000 (10:01 -1000)]
[github4] Authors, ChangeLog updated.
Tomek Mrugalski [Mon, 10 Nov 2014 20:00:32 +0000 (10:00 -1000)]
Merge branch 'marcinwyszynski-master' into github4
Tomek Mrugalski [Mon, 10 Nov 2014 19:53:55 +0000 (09:53 -1000)]
Merge branch 'master' of github.com:marcinwyszynski/kea into marcinwyszynski-master
Tomek Mrugalski [Thu, 6 Nov 2014 18:40:25 +0000 (19:40 +0100)]
[3556] Reenabled one disabled test (and fixed MySQL to actually pass it)
Tomek Mrugalski [Thu, 6 Nov 2014 18:36:46 +0000 (19:36 +0100)]
[3556] HWAddr support in MySQL implemented.
Marcin Wyszynski [Thu, 6 Nov 2014 17:51:40 +0000 (09:51 -0800)]
server_hooks.h is required by callout_manager.h
Francis Dupont [Thu, 6 Nov 2014 12:56:24 +0000 (13:56 +0100)]
[master] missing .h in dhcpsrc/Makefile.am
Francis Dupont [Thu, 6 Nov 2014 12:14:19 +0000 (13:14 +0100)]
update git hash
Francis Dupont [Thu, 6 Nov 2014 12:12:56 +0000 (13:12 +0100)]
merged trac3631
Marcin Siodelski [Thu, 6 Nov 2014 06:46:30 +0000 (07:46 +0100)]
[master] Merge branch 'trac3562'
Conflicts:
src/lib/dhcpsrv/srv_config.cc
src/lib/dhcpsrv/srv_config.h
Tomek Mrugalski [Wed, 5 Nov 2014 20:50:10 +0000 (21:50 +0100)]
[3599] man page updated.
Tomek Mrugalski [Wed, 5 Nov 2014 20:34:31 +0000 (21:34 +0100)]
[3599] manpage for kea-admin added
Tomek Mrugalski [Wed, 5 Nov 2014 20:24:14 +0000 (21:24 +0100)]
[3599] kea-admin.in is now documented.
Tomek Mrugalski [Wed, 5 Nov 2014 19:46:51 +0000 (20:46 +0100)]
[3599] Remaining unit-tests implemented.
Marcin Wyszynski [Wed, 5 Nov 2014 18:30:28 +0000 (10:30 -0800)]
export CalloutManager for testing statically linked libraries
Marcin Siodelski [Wed, 5 Nov 2014 14:02:46 +0000 (15:02 +0100)]
[3467] Added a lacking unit test for the minimal option-data config.
Tomek Mrugalski [Wed, 5 Nov 2014 13:36:25 +0000 (14:36 +0100)]
[3599] version check unit-test implemented.
Marcin Siodelski [Wed, 5 Nov 2014 12:25:41 +0000 (13:25 +0100)]
[3467] Minor editorial fixes in the Kea guide.
Tomek Mrugalski [Wed, 5 Nov 2014 12:17:28 +0000 (13:17 +0100)]
[3599] Unit tests framework added.
Marcin Siodelski [Wed, 5 Nov 2014 12:16:55 +0000 (13:16 +0100)]
[3467] Updated user guide with option-data parameters optionality.
Tomek Mrugalski [Wed, 5 Nov 2014 10:46:08 +0000 (11:46 +0100)]
[3599] MySQL init script updated to 2.0.
Tomek Mrugalski [Wed, 5 Nov 2014 10:30:06 +0000 (11:30 +0100)]
[3599] init mysql implemented.
Tomek Mrugalski [Wed, 5 Nov 2014 10:29:30 +0000 (11:29 +0100)]
[3599] Init script moved again.
Tomek Mrugalski [Wed, 5 Nov 2014 09:40:59 +0000 (10:40 +0100)]
[3599] Assortment of changes:
- admin-util.sh scripts added.
- upgrade_1.0_to_2.0.sh updated with version check.
- kea-admin.in updated.
Tomek Mrugalski [Wed, 5 Nov 2014 09:39:28 +0000 (10:39 +0100)]
[3599] Script dir renamed
Marcin Siodelski [Tue, 4 Nov 2014 18:30:38 +0000 (19:30 +0100)]
[master] Merge branch 'trac3629'
Marcin Siodelski [Tue, 4 Nov 2014 17:43:58 +0000 (18:43 +0100)]
[3562] Addressed review comments.
Marcin Siodelski [Tue, 4 Nov 2014 16:14:57 +0000 (17:14 +0100)]
[3467] Option code, name and space are now optional.
Marcin Siodelski [Tue, 4 Nov 2014 15:09:06 +0000 (16:09 +0100)]
[3467] Modified option data parser to support optional parameters.
Also added some more unit tests for csv-format parameter.
Tomek Mrugalski [Mon, 3 Nov 2014 20:44:04 +0000 (21:44 +0100)]
[3599] kea-admin, mysql 1.0 to 2.0 upgrade added.
Tomek Mrugalski [Mon, 3 Nov 2014 20:43:19 +0000 (21:43 +0100)]
[3599] MySQL, PgSQL scripts moved to src/bin/admin
Marcin Siodelski [Mon, 3 Nov 2014 20:12:25 +0000 (21:12 +0100)]
[3467] Added new index to search for option definitions using a name.
Marcin Siodelski [Mon, 3 Nov 2014 18:56:41 +0000 (19:56 +0100)]
[3467] CSV format now defaults to true.
Also, changed internals of the OptionDataParser:
- option parameters are validated in distnict functions to make code more
readable
- option data values are optional
Marcin Siodelski [Fri, 31 Oct 2014 15:49:07 +0000 (16:49 +0100)]
[master] Merge branch 'trac3625'
Marcin Siodelski [Fri, 31 Oct 2014 15:02:28 +0000 (16:02 +0100)]
[3629] user_chk unit tests are now linked with the library.
This is instead of compiling the source files of the user_chk library
with the unit tests which results in distcheck failures when the
AUTOMAKE_OPTIONS=subdirs is in place, also to avoid compiling these files
twice.
Marcin Siodelski [Fri, 31 Oct 2014 14:09:36 +0000 (15:09 +0100)]
[3624] Fixed Client FQDN option length calculation for ASCII encoding.
Marcin Siodelski [Fri, 31 Oct 2014 10:03:19 +0000 (11:03 +0100)]
[3625] Addressed review comments.
Added @todos to the selectSubnet methods of CfgSubnets4 and CfgSubnets6.
Marcin Siodelski [Thu, 30 Oct 2014 19:22:07 +0000 (20:22 +0100)]
[3629] Removed reference to UnittestUtil::addDataPath from asiodns tests.
The reference could be removed because the TEST_DATA_DIR was unused in the
asiodns unit tests. In fact the folder it pointed to did not exist. Removal
of the call to addDataPath allowed for not including and compiling the
dns/tests/unittest_util.h and dns/tests/unittest_util.cc.
The major reason for this change was to remove the dependency on the files
located in the dns/tests because due to the bug in automake they could not
be included in build using an absolute path specified with $(top_srcdir).
Note that when the AUTOMAKE_OPTIONS = subdir-objects is specified, the
object files are created in the subdirectories. When the location of the
source file is specified using a variable like $(top_srcdir) the name of
the variable is treated as a name of the subdirectory, not a path to the
file located out of the tree. Hence, we may need to avoid including files
like this when subdir-objects is in force.
Marcin Siodelski [Thu, 30 Oct 2014 13:55:35 +0000 (14:55 +0100)]
[3625] Rename tests for Subnet4 selection from getSubnet to selectSubnet.
This is to unify the naming with the Subnet6 tests as well as with the
name of the function under test.
Marcin Siodelski [Thu, 30 Oct 2014 13:53:42 +0000 (14:53 +0100)]
[3625] Use common SubnetSelector structure for Subnet4 selection.
Marcin Siodelski [Thu, 30 Oct 2014 12:34:14 +0000 (13:34 +0100)]
[3625] Removed unused log message from libdhcpsrv.
Marcin Siodelski [Thu, 30 Oct 2014 11:44:37 +0000 (12:44 +0100)]
[3625] Use CfgSubnets6 to obtain subnet information.
Marcin Siodelski [Thu, 30 Oct 2014 09:58:29 +0000 (10:58 +0100)]
[3625] Hooked up the CfgSubnets6 class to SrvConfig.
Marcin Siodelski [Thu, 30 Oct 2014 09:49:43 +0000 (10:49 +0100)]
[3625] Implemented the CfgSubnets6 class to hold IPv6 subnets configuration
Marcin Siodelski [Wed, 29 Oct 2014 16:45:58 +0000 (17:45 +0100)]
[master] Merge branch 'trac3587'