]>
git.ipfire.org Git - thirdparty/kea.git/log
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
Francis Dupont [Wed, 29 Oct 2014 23:42:41 +0000 (00:42 +0100)]
[trac3627] re-indented configure.ac gtest stuff
Marcin Siodelski [Wed, 29 Oct 2014 16:45:58 +0000 (17:45 +0100)]
[master] Merge branch 'trac3587'
Marcin Siodelski [Wed, 29 Oct 2014 16:36:39 +0000 (17:36 +0100)]
[master] Use explicit name of the first prerequisite in ext/gtest.
The $< variable is not defined in explicit rules on FreeBSD10 and causes
Kea build to fail. This change was reviewed and agreed on jabber.
Tomek Mrugalski [Wed, 29 Oct 2014 14:36:45 +0000 (15:36 +0100)]
[master] ChangeLog update after #3555 merge.
Tomek Mrugalski [Wed, 29 Oct 2014 14:30:27 +0000 (15:30 +0100)]
[master] Unit-test fix after #3555 merge.
Tomek Mrugalski [Wed, 29 Oct 2014 14:00:41 +0000 (15:00 +0100)]
[master] Merge branch 'trac3555' (MAC storage in Lease6, memfile)
Tomek Mrugalski [Wed, 29 Oct 2014 13:59:05 +0000 (14:59 +0100)]
Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Jeremy C. Reed [Wed, 29 Oct 2014 13:44:33 +0000 (06:44 -0700)]
fix some misspellings
Tomek Mrugalski [Wed, 29 Oct 2014 13:41:05 +0000 (14:41 +0100)]
[master] ChangeLog updated after #3549 merge.
Tomek Mrugalski [Wed, 29 Oct 2014 13:39:36 +0000 (14:39 +0100)]
[master] Merge branch 'trac3549' (extract MAC from link-local address)
Tomek Mrugalski [Wed, 29 Oct 2014 13:34:22 +0000 (14:34 +0100)]
[3555] Changes after review:
- better handling of leases without HWAddr
- Implement tests for Lease{4,6}::toText()
Marcin Siodelski [Wed, 29 Oct 2014 13:33:49 +0000 (14:33 +0100)]
[3587] Typo fix as a result of the review.
Marcin Siodelski [Wed, 29 Oct 2014 11:11:37 +0000 (12:11 +0100)]
[3587] Fixed a couple of errors in the doxygen in CfgSubnets4.
Also, removed unused headers from cfg_subnets4.h.
Thomas Markwalder [Tue, 28 Oct 2014 20:32:14 +0000 (16:32 -0400)]
[master] Added Changelog entry 851 for #3470.
Thomas Markwalder [Tue, 28 Oct 2014 20:10:54 +0000 (16:10 -0400)]
[master] Merge branch 'trac3470'
Thomas Markwalder [Tue, 28 Oct 2014 20:07:32 +0000 (16:07 -0400)]
[3470] Addressed review comments
Corrected two replacments of getSignalStates() that were overlooked.
Shawn Routhier [Tue, 28 Oct 2014 19:47:12 +0000 (12:47 -0700)]
[trac3620] Update per review comments
Update per the review comments with the execptions
of two that are discussed - mostly the D2 vs DHCP-DDNS debate.
Francis Dupont [Tue, 28 Oct 2014 16:25:36 +0000 (17:25 +0100)]
update git hash
Francis Dupont [Tue, 28 Oct 2014 16:24:16 +0000 (17:24 +0100)]
moved gtest sources to ext/gtest [Trac #3162]
Marcin Siodelski [Tue, 28 Oct 2014 15:58:05 +0000 (16:58 +0100)]
[3587] Addressed review comments.
Francis Dupont [Tue, 28 Oct 2014 15:56:17 +0000 (16:56 +0100)]
fix trivial bug
Francis Dupont [Tue, 28 Oct 2014 15:55:50 +0000 (16:55 +0100)]
fold too long lines
Marcin Siodelski [Tue, 28 Oct 2014 10:05:48 +0000 (11:05 +0100)]
[3562] Added negative test scenarios for ipv6 host reservations.
Tomek Mrugalski [Mon, 27 Oct 2014 19:48:18 +0000 (20:48 +0100)]
[3555] Added @todo for Lease{4,6}::toText() methods.
Tomek Mrugalski [Mon, 27 Oct 2014 19:40:00 +0000 (20:40 +0100)]
[3555] Lease6::matches now checks hwaddr
Marcin Siodelski [Mon, 27 Oct 2014 19:08:22 +0000 (20:08 +0100)]
[3562] Added more tests for HostReservationParser class.
Tomek Mrugalski [Mon, 27 Oct 2014 18:12:53 +0000 (19:12 +0100)]
[3555] Changes after review:
- Comments updated
- getRawHWAddr renamed to getHWAddrVector and moved to Lease class
- HWAddr object is now copied in copy ctor and = operator
Marcin Siodelski [Mon, 27 Oct 2014 16:35:09 +0000 (17:35 +0100)]
[3562] HostReservationConfig parser now parses simple host reservations.
The parser works for both IPv4 and IPv6 reservations but it lacks some
validation mechanisms.
Tomek Mrugalski [Mon, 27 Oct 2014 15:15:13 +0000 (16:15 +0100)]
[master] ChangeLog updated after 3486 merge.
Marcin Siodelski [Mon, 27 Oct 2014 11:49:38 +0000 (12:49 +0100)]
[3562] Use CfgHosts object in the SrvConfig.
Marcin Siodelski [Mon, 27 Oct 2014 11:31:50 +0000 (12:31 +0100)]
[3562] Basic implementation of the HostReservationParser class.
Marcin Siodelski [Thu, 23 Oct 2014 19:34:53 +0000 (21:34 +0200)]
[3562] Implemented storage class for Hosts.
Tomek Mrugalski [Wed, 22 Oct 2014 13:04:32 +0000 (15:04 +0200)]
[3486] DHCPv6 now processed vendor-class option properly.
Francis Dupont [Tue, 21 Oct 2014 22:35:29 +0000 (00:35 +0200)]
update commit hash
Francis Dupont [Tue, 21 Oct 2014 22:34:39 +0000 (00:34 +0200)]
[trac3593] added truncated HMAC support to TSIG
Francis Dupont [Tue, 21 Oct 2014 18:41:45 +0000 (20:41 +0200)]
update commit hash
Francis Dupont [Tue, 21 Oct 2014 18:40:48 +0000 (20:40 +0200)]
[trac3614] removed no longer used --with-shared-memory and dependencies
Tomek Mrugalski [Tue, 21 Oct 2014 17:37:13 +0000 (19:37 +0200)]
[3555] PgSQL update after Lease4->hwaddr_ type changed.
Tomek Mrugalski [Tue, 21 Oct 2014 17:36:53 +0000 (19:36 +0200)]
[3555] MySQL update after Lease4->hwaddr_ type changed.
Tomek Mrugalski [Tue, 21 Oct 2014 12:57:18 +0000 (14:57 +0200)]
[3555] CSVFile::validateHeader() is now virtual
Tomek Mrugalski [Tue, 21 Oct 2014 12:44:47 +0000 (14:44 +0200)]
[3555] Version number check in Memfile.
Tomek Mrugalski [Tue, 21 Oct 2014 12:15:38 +0000 (14:15 +0200)]
[3555] Extra unit-tests implemented, memfile version bumped to 2.0
Tomek Mrugalski [Tue, 21 Oct 2014 12:10:06 +0000 (14:10 +0200)]
[3555] CSVRow.append() implemented.
Francis Dupont [Tue, 21 Oct 2014 10:52:21 +0000 (12:52 +0200)]
update commit hash
Francis Dupont [Tue, 21 Oct 2014 10:51:13 +0000 (12:51 +0200)]
[trac3162] partial fix of subdir-objects spurious warnings on OSX
Marcin Siodelski [Tue, 21 Oct 2014 09:46:01 +0000 (11:46 +0200)]
[3587] Added warnings to the CfgMgr::revert and SrvConfig::copy functions.
Marcin Siodelski [Tue, 21 Oct 2014 09:23:53 +0000 (11:23 +0200)]
[3587] Use CfgSubnets4 object to obtain information about subnets.
Marcin Siodelski [Mon, 20 Oct 2014 16:30:54 +0000 (18:30 +0200)]
[3587] Hooked up the CfgSubnet4 class to the SrvConfig class.
Marcin Siodelski [Fri, 17 Oct 2014 10:40:45 +0000 (12:40 +0200)]
[3587] Created CfgSubnets4 class to hold subnets configuration.
Marcin Siodelski [Thu, 16 Oct 2014 14:01:55 +0000 (16:01 +0200)]
[3587] Extended OptionalValue with equality and assignment operators.
Thomas Markwalder [Mon, 20 Oct 2014 14:27:45 +0000 (10:27 -0400)]
[trac3470] Replace static containers with shared pointers in SignalSet
Changed the functions, getRegisteredSignals() and getSignalStates()
to instantiate static shared pointers and return these, rather than
raw pointers to statically declared containers.
Added private shared pointer members to SignalSet, registered_signals_
and signal_states_. These are initialized within SignalSet constructors
by calling the functions getRegisteredSignals() and getSignalStates()
respectively. This ensures that both static lists remain inscope until
all SignalSets have been destroyed.
Replaced use of getRegisteredSignals() and getSignalStates() with
new private members, registered_signals_ and signal_states_.
Removed work-around code in src/bin/d2/d_controller.cc put in place
until this ticket was resolved.
Shawn Routhier [Sat, 18 Oct 2014 00:27:29 +0000 (17:27 -0700)]
[trac3620] Fix some typos in the docs
Marcin Siodelski [Fri, 17 Oct 2014 16:11:46 +0000 (18:11 +0200)]
[master] Added Changelog entry for #3560.
Tomek Mrugalski [Fri, 17 Oct 2014 16:06:40 +0000 (18:06 +0200)]
[3555] Lease4,Lease6 now uses HWAddr structure.
Marcin Siodelski [Fri, 17 Oct 2014 15:57:30 +0000 (17:57 +0200)]
[master] Merge branch 'trac3560'
Marcin Siodelski [Fri, 17 Oct 2014 13:49:18 +0000 (15:49 +0200)]
[3560] Addressed review comments.
Stephen Morris [Thu, 16 Oct 2014 18:51:39 +0000 (19:51 +0100)]
[3560] Minor changes to header comments
Marcin Siodelski [Wed, 15 Oct 2014 12:34:30 +0000 (14:34 +0200)]
[master] Merge branch 'trac3589'
Marcin Siodelski [Wed, 15 Oct 2014 12:33:49 +0000 (14:33 +0200)]
[3589] Addressed review comments raised in the second review.
Marcin Siodelski [Wed, 15 Oct 2014 11:49:07 +0000 (13:49 +0200)]
[master] Added ChangeLog entry for #3615.
Marcin Siodelski [Wed, 15 Oct 2014 11:21:06 +0000 (13:21 +0200)]
[master] Merge branch 'trac3615'
Marcin Siodelski [Wed, 15 Oct 2014 11:19:42 +0000 (13:19 +0200)]
[3615] Fixed timings in the ioSignals D2 test to prevent races.
Agreed on this change on Jabber.
Tomek Mrugalski [Wed, 15 Oct 2014 10:44:32 +0000 (12:44 +0200)]
[3589] Trailing underscores added to OptionDescriptor members.
Marcin Siodelski [Wed, 15 Oct 2014 09:47:31 +0000 (11:47 +0200)]
[3615] Restore default logging config for the tests which alter it.
Marcin Siodelski [Wed, 15 Oct 2014 09:29:25 +0000 (11:29 +0200)]
[3615] Applied patches attached to tickets #3615 and #3617.
The former replaces the -v with the -d parameter in D2 unit tests. This
enables the D2 tests that were skipped when the -v parameter was in use.
The -v causes D2 to print version number and exits. The other patch is
for printing configuration summary in D2 which we were not aware was failing
because tests used to be skipped with -v parameter.
Marcin Siodelski [Wed, 15 Oct 2014 08:48:42 +0000 (10:48 +0200)]
[master] Added ChangeLog entry for #3367.
Marcin Siodelski [Wed, 15 Oct 2014 08:29:44 +0000 (10:29 +0200)]
[master] Merge branch 'trac3367'
Marcin Siodelski [Tue, 14 Oct 2014 15:01:22 +0000 (17:01 +0200)]
[3589] Added a paragraph about CfgOption class into developer's guide.
This was also suggested in the review.
Marcin Siodelski [Tue, 14 Oct 2014 14:23:53 +0000 (16:23 +0200)]
[3560] Added previously omitted file.
Marcin Siodelski [Tue, 14 Oct 2014 14:23:13 +0000 (16:23 +0200)]
[3589] Addressed review comments.
Tomek Mrugalski [Tue, 14 Oct 2014 12:30:00 +0000 (14:30 +0200)]
Merge branch 'trac3549' of ssh://git.kea.isc.org/git/kea into trac3549
Tomek Mrugalski [Tue, 14 Oct 2014 12:29:31 +0000 (14:29 +0200)]
[3549] Changes after review:
- It's called getMACFromIPv6() now
- Tests for u,g bits added.
- u bit is now flipped properly.
- Unit tests updated to reflect above changes.
Marcin Siodelski [Tue, 14 Oct 2014 10:24:32 +0000 (12:24 +0200)]
[3560] Added todo for Host class.
Marcin Siodelski [Tue, 14 Oct 2014 10:15:55 +0000 (12:15 +0200)]
[3560] Disallow IPv4 and IPv6 multicast addresses for IPv6 reservations.
Marcin Siodelski [Tue, 14 Oct 2014 09:43:41 +0000 (11:43 +0200)]
[3560] Added methods to add classes to the Host object.
Marcin Siodelski [Tue, 14 Oct 2014 08:47:10 +0000 (10:47 +0200)]
[3560] Client classes may now be created from the csv string.
Tomek Mrugalski [Mon, 13 Oct 2014 20:27:46 +0000 (22:27 +0200)]
[3589] Compilation fix.
Marcin Siodelski [Mon, 13 Oct 2014 17:37:38 +0000 (19:37 +0200)]
[3560] Added new accessors and modifiers to the Host class.
Marcin Siodelski [Mon, 13 Oct 2014 16:38:08 +0000 (18:38 +0200)]
[3367] Moved OptionalValue class to the util library.
Marcin Siodelski [Mon, 13 Oct 2014 15:56:59 +0000 (17:56 +0200)]
[3367] Removed excessive call to setCiaddr in DHCPv4 server.
Marcin Siodelski [Mon, 13 Oct 2014 15:27:04 +0000 (17:27 +0200)]
[master] Added ChangeLog entry for #3537.
Marcin Siodelski [Mon, 13 Oct 2014 12:47:40 +0000 (14:47 +0200)]
[master] Merge branch 'trac3537'
Francis Dupont [Sat, 11 Oct 2014 15:24:39 +0000 (17:24 +0200)]
spelling
Francis Dupont [Sat, 11 Oct 2014 15:19:20 +0000 (17:19 +0200)]
spelling
Francis Dupont [Sat, 11 Oct 2014 15:17:58 +0000 (17:17 +0200)]
spelling