]>
git.ipfire.org Git - thirdparty/kea.git/log
Andrei Pavel [Mon, 13 Jun 2016 14:33:57 +0000 (17:33 +0300)]
added additional native option support and refactored option definitions
Marcin Siodelski [Mon, 13 Jun 2016 09:31:40 +0000 (11:31 +0200)]
[master] Merge branch 'trac4320'
Marcin Siodelski [Mon, 13 Jun 2016 09:30:31 +0000 (11:30 +0200)]
[4320] Fix doxygen errors as a result of the review.
Marcin Siodelski [Fri, 10 Jun 2016 14:53:10 +0000 (16:53 +0200)]
[master] Added ChangeLog entry for #4498.
Marcin Siodelski [Fri, 10 Jun 2016 14:22:56 +0000 (16:22 +0200)]
[master] Merge branch 'trac4498'
Marcin Siodelski [Fri, 10 Jun 2016 14:15:35 +0000 (16:15 +0200)]
[4498] Addressed review comment: renamed 2 libdhcp++ tests.
Shawn Routhier [Fri, 10 Jun 2016 06:28:50 +0000 (23:28 -0700)]
[trac4498] Fix some typos and copyrights
Tomek Mrugalski [Thu, 9 Jun 2016 11:24:49 +0000 (13:24 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Thu, 9 Jun 2016 10:35:44 +0000 (12:35 +0200)]
[master] Merge branch 'trac4308' (interface selection based on name)
Marcin Siodelski [Thu, 9 Jun 2016 09:07:22 +0000 (11:07 +0200)]
[master] Added ChangeLog entry for #3572.
Marcin Siodelski [Thu, 9 Jun 2016 08:46:14 +0000 (10:46 +0200)]
[master] Merge branch 'trac3572'
Tomek Mrugalski [Wed, 8 Jun 2016 19:07:46 +0000 (21:07 +0200)]
[4308] Minor comment correction.
Tomek Mrugalski [Wed, 8 Jun 2016 18:55:06 +0000 (20:55 +0200)]
[4308] Changes after review
- .arg() calls now in separate lines
- clarified comment about clients meeting client class criteria
Marcin Siodelski [Wed, 8 Jun 2016 16:27:40 +0000 (18:27 +0200)]
[3572] Addressed review comments.
Marcin Siodelski [Wed, 8 Jun 2016 15:07:15 +0000 (17:07 +0200)]
[master] Added ChangeLog entry for #4317.
Marcin Siodelski [Wed, 8 Jun 2016 14:44:53 +0000 (16:44 +0200)]
[master] Merge branch 'trac4317'
Francis Dupont [Wed, 8 Jun 2016 14:19:19 +0000 (16:19 +0200)]
[master] Updating git hash
Francis Dupont [Wed, 8 Jun 2016 14:18:26 +0000 (16:18 +0200)]
[master] Finished merge of trac4106 (DHCPv4-over-DHCPv6 IPC)
Francis Dupont [Wed, 8 Jun 2016 14:16:08 +0000 (16:16 +0200)]
[master] Merged trac4106 (DHCPv4-over-DHCPv6 IPC)
Francis Dupont [Wed, 8 Jun 2016 14:14:35 +0000 (16:14 +0200)]
[4106_rebase] Addressed last comments before merging
Marcin Siodelski [Wed, 8 Jun 2016 14:00:38 +0000 (16:00 +0200)]
[4317] Addressed review comments.
Shawn Routhier [Wed, 8 Jun 2016 05:57:53 +0000 (22:57 -0700)]
[trac4308] Tidy up some typos and copyright statements
Wlodek Wencel [Tue, 7 Jun 2016 09:45:02 +0000 (11:45 +0200)]
[master] ChangeLog entries renumbered
Shawn Routhier [Mon, 6 Jun 2016 20:17:07 +0000 (13:17 -0700)]
[master] update change log entry
Shawn Routhier [Mon, 6 Jun 2016 20:13:37 +0000 (13:13 -0700)]
Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Conflicts:
ChangeLog
Shawn Routhier [Mon, 6 Jun 2016 20:10:26 +0000 (13:10 -0700)]
[master] Update classification document to match the debug output
The debug output was modified to output text strings using
single quotes instead of double quotes but the document missed
getting this update.
Francis Dupont [Mon, 6 Jun 2016 15:41:25 +0000 (17:41 +0200)]
[4106_rebase] Bind to ::1 too
Francis Dupont [Mon, 6 Jun 2016 15:38:54 +0000 (17:38 +0200)]
[4106_rebase] Addressed comments
Francis Dupont [Mon, 6 Jun 2016 15:14:25 +0000 (17:14 +0200)]
[4106_rebase] Updated copyright years
Marcin Siodelski [Mon, 6 Jun 2016 13:04:26 +0000 (15:04 +0200)]
[4320] Global set of allocated addresses in the ClientContext6.
Marcin Siodelski [Mon, 6 Jun 2016 12:22:16 +0000 (14:22 +0200)]
[4320] Rename ResourceContainer to HintContainer.
Marcin Siodelski [Mon, 6 Jun 2016 11:19:37 +0000 (13:19 +0200)]
[4320] Allocation engine updates context with allocated resources.
The new context field allocated_resources_ is now updated during
lease allocation or renewal with addresses/prefixes assigned.
Marcin Siodelski [Mon, 6 Jun 2016 10:10:21 +0000 (12:10 +0200)]
[4320] Added container holding allocated addresses in IA context.
Marcin Siodelski [Mon, 6 Jun 2016 09:04:17 +0000 (11:04 +0200)]
[4320] Better commentary for IA specific context uses.
Marcin Siodelski [Fri, 3 Jun 2016 13:20:02 +0000 (15:20 +0200)]
[4320] ClientContext6 now holds information about multiple IAs.
Marcin Siodelski [Fri, 3 Jun 2016 11:43:08 +0000 (13:43 +0200)]
[4317] DHCPv4 server may search host reservations using client-id.
Marcin Siodelski [Fri, 20 May 2016 07:45:26 +0000 (09:45 +0200)]
[4317] Extended unit tests for DHCPv4 config parser to use client-id.
Marcin Siodelski [Fri, 20 May 2016 07:27:30 +0000 (09:27 +0200)]
[4317] Updated test for HostReservationIdsParser with "client-id".
Marcin Siodelski [Thu, 19 May 2016 17:45:46 +0000 (19:45 +0200)]
[4317] Added client-id as supported host identifier.
Marcin Siodelski [Thu, 2 Jun 2016 16:30:31 +0000 (18:30 +0200)]
[master] Merge branch 'trac4318'
Marcin Siodelski [Thu, 2 Jun 2016 16:29:30 +0000 (18:29 +0200)]
[4318] Address review comments.
Better description of the DORA unit test configuration.
Tomek Mrugalski [Thu, 2 Jun 2016 13:00:04 +0000 (15:00 +0200)]
[master] Merge remote-tracking branch 'trac4510' (backslashes fix)
Marcin Siodelski [Thu, 2 Jun 2016 09:38:57 +0000 (11:38 +0200)]
[master] Added ChangeLog entry for #4281.
Marcin Siodelski [Thu, 2 Jun 2016 08:08:58 +0000 (10:08 +0200)]
[master] Merge branch 'trac4281'
Shawn Routhier [Thu, 2 Jun 2016 05:45:13 +0000 (22:45 -0700)]
[master] Add commit number to change log for 4480
Shawn Routhier [Thu, 2 Jun 2016 05:42:36 +0000 (22:42 -0700)]
[master] Merge branch 'trac4480'
Add debug statements to the classification code
Marcin Siodelski [Wed, 1 Jun 2016 16:08:52 +0000 (18:08 +0200)]
[4281] Removed unused variable.
Marcin Siodelski [Wed, 1 Jun 2016 15:37:15 +0000 (17:37 +0200)]
[4281] Removed unnecessary header.
Marcin Siodelski [Wed, 1 Jun 2016 15:35:44 +0000 (17:35 +0200)]
[4281] Fixed trivial doxygen errors.
Thomas Markwalder [Wed, 1 Jun 2016 13:31:31 +0000 (09:31 -0400)]
[master] Fixed Ubuntu build complaint
Added <stdint.h> to src/lib/dhcpsrv/pgsql_exchange.h
Thomas Markwalder [Wed, 1 Jun 2016 13:08:44 +0000 (09:08 -0400)]
[4480] Fixed a few typos
Minor corrections to doc/guide/classify.xml
Thomas Markwalder [Wed, 1 Jun 2016 11:49:37 +0000 (07:49 -0400)]
[master] Created common PgSqlConnection class from PgSqlLeaseMgr
Merged in trac 4276.
Marcin Siodelski [Tue, 31 May 2016 09:37:28 +0000 (11:37 +0200)]
[3572] Discard DHCPv4 host options container if it is empty.
This is a small performance improvement.
Marcin Siodelski [Mon, 30 May 2016 09:30:26 +0000 (11:30 +0200)]
[4281] Addressed further review comments.
- Always invoke mysql_insert_id to retrieve host_id value
- exit if connection with MySql database is lost
Shawn Routhier [Fri, 27 May 2016 04:36:36 +0000 (21:36 -0700)]
[trac4480] Update per review comments
Create a LogContentTest class and move the functions to manipulate
a test to check on the log output there. This will make it available
for other tests in the future. As part of this bundle a bit more
work into the class to minimze the calls in the test routines.
Where reasonable remove extra copys of the values being pushed
onto the stack - instead of generating a copy just for the logging
simply use the value from the top of the stack directly.
Swtich to using single quotes around text values.
Added some more description in the classify document
Marcin Siodelski [Wed, 25 May 2016 15:52:03 +0000 (17:52 +0200)]
[4281] Added scope_id to the MySQL tables holding options.
Marcin Siodelski [Wed, 25 May 2016 14:48:31 +0000 (16:48 +0200)]
[4281] Moved MySQL host data source statements to impl class.
Thomas Markwalder [Wed, 25 May 2016 13:32:13 +0000 (09:32 -0400)]
[4276] Addressed review comments #2
Moved PgSqlExchange unit tests into their own file.
Improved time testing.
Marcin Siodelski [Wed, 25 May 2016 13:28:41 +0000 (15:28 +0200)]
[4281] Addressed review comments.
Thomas Markwalder [Mon, 23 May 2016 17:59:00 +0000 (13:59 -0400)]
[4276] Addressed review comments
Minor cleanups, added some unit testing of PgSqlExchange functions.
Marcin Siodelski [Mon, 23 May 2016 14:54:37 +0000 (16:54 +0200)]
[3572] Test assignment of host specific options with DHCPINFORM.
Marcin Siodelski [Mon, 23 May 2016 12:52:14 +0000 (14:52 +0200)]
[3572] Test that vendor specific options are overriden.
In the new test the vendor specific options are defined on the
host and global levels. Host specific options should override
globally defined options.
Marcin Siodelski [Fri, 20 May 2016 17:00:00 +0000 (19:00 +0200)]
[3572] DHCPv4 server sends host specific options.
Shawn Routhier [Fri, 20 May 2016 04:56:18 +0000 (21:56 -0700)]
[4480] Add debug logging for evaluation of classification expressions
This patch adds a set of log messages to indicate what values are
being popped from or pushed to the classification value stack. This
is meant to be used by an administrator when debugging the expression
statements.
Stephen Morris [Thu, 19 May 2016 14:39:09 +0000 (15:39 +0100)]
[master] ChangeLog for trac3164
Stephen Morris [Thu, 19 May 2016 13:56:01 +0000 (14:56 +0100)]
[master] Merge branch 'trac3164'
Tomek Mrugalski [Thu, 19 May 2016 13:54:23 +0000 (15:54 +0200)]
[4510] Fix for escaped characters (e.g. backslashes) in option contents.
Stephen Morris [Thu, 19 May 2016 13:38:19 +0000 (14:38 +0100)]
[3164] Add changes suggested by review
Change the connection timeout parameter from an "int" to an "unsigned
int". Update the checks to allow for lexical_cast not throwing an
exception when converting a string representing a negative number
to an unsigned int.
Marcin Siodelski [Thu, 19 May 2016 13:20:09 +0000 (15:20 +0200)]
[4318] Added unit tests for reservations by DUID in DHCPv4.
Marcin Siodelski [Thu, 19 May 2016 13:02:42 +0000 (15:02 +0200)]
[master] Added ChangeLog entry for #4495.
Marcin Siodelski [Thu, 19 May 2016 12:44:07 +0000 (14:44 +0200)]
[master] Merge branch 'trac4495'
Marcin Siodelski [Thu, 19 May 2016 12:35:33 +0000 (14:35 +0200)]
[master] Added ChangeLog entry for #4499.
Marcin Siodelski [Thu, 19 May 2016 12:17:25 +0000 (14:17 +0200)]
[master] Merge branch 'trac4499'
Tomek Mrugalski [Thu, 19 May 2016 11:42:00 +0000 (13:42 +0200)]
[4308] Subnet selection in v4 tweaked, added two debug messages.
Tomek Mrugalski [Wed, 18 May 2016 15:38:15 +0000 (17:38 +0200)]
[4308] Implemented subnet selection based on interface name.
Marcin Siodelski [Thu, 19 May 2016 11:48:56 +0000 (13:48 +0200)]
[4498] Removed support for callback functions unpacking options.
Previously we used callback functions to pass a pointer to the
server-side function unpacking options. Currently we register
runtime option definitions in libdhcp++, so the callback
functions are not necessary anymore.
Marcin Siodelski [Thu, 19 May 2016 08:32:33 +0000 (10:32 +0200)]
[4498] Unified container types holding option definitions in LibDHCP.
Marcin Siodelski [Wed, 18 May 2016 15:06:54 +0000 (17:06 +0200)]
[4498] Avoid copying container with option definitions during parsing.
Thomas Markwalder [Wed, 18 May 2016 13:32:30 +0000 (09:32 -0400)]
[4276] Replace use of PGresult with PgSqlResult throughout
Marcin Siodelski [Wed, 18 May 2016 12:54:17 +0000 (14:54 +0200)]
[4498] Extended test for parsing vendor options.
This test checks that the vendor specific option definitions are
used when parsing vendor option.
Marcin Siodelski [Wed, 18 May 2016 11:48:21 +0000 (13:48 +0200)]
[4498] Removed server specific function for parsing DHCPv6 options.
Thomas Markwalder [Wed, 18 May 2016 11:32:42 +0000 (07:32 -0400)]
[4276] Created new base class, PgSqlExchange
src/lib/dhcpsrv/Makefile.am
Added pgsql_exchange.cc and pgsql_exchange.h
src/lib/dhcpsrv/pgsql_exchange.h
src/lib/dhcpsrv/pgsql_exchange.cc
New files, containng new base class PgSqlExchange from
which was distilled from PgSqlLeaseExchange
src/lib/dhcpsrv/pgsql_lease_mgr.cc
Refactored exchange classes to use new base class
Moved PsqlBindArray into pgsql_exchange.*
Marcin Siodelski [Wed, 18 May 2016 11:25:35 +0000 (13:25 +0200)]
[4498] Removed server specific method for unpacking DHCPv4 options.
Tomek Mrugalski [Tue, 17 May 2016 17:28:48 +0000 (19:28 +0200)]
[4510] Added unit-test that replicates the issue of mishandling backslashes.
Marcin Siodelski [Tue, 17 May 2016 16:17:55 +0000 (18:17 +0200)]
[4499] Removed inefficient conversion of the host identifier to text.
Thomas Markwalder [Tue, 17 May 2016 15:49:07 +0000 (11:49 -0400)]
[4276] Initial impl of PgSqlConnection class
Initial refactoring of Postgresql connection logic out of
PgSqlLeaseMgr into new PgSqlConnection.
Marcin Siodelski [Tue, 17 May 2016 15:34:48 +0000 (17:34 +0200)]
[4495] Fixed inefficient creation of DHCP Message Type option.
Marcin Siodelski [Tue, 17 May 2016 14:23:51 +0000 (16:23 +0200)]
[4281] Renamed MySqlHostExchangeOpts to MySqlHostWithOptionsExchange.
Marcin Siodelski [Tue, 17 May 2016 13:23:27 +0000 (15:23 +0200)]
[4281] Updated recently modified files with proper commentary.
Also, fixed a couple of minor issues.
Marcin Siodelski [Mon, 16 May 2016 14:44:09 +0000 (16:44 +0200)]
[4281] Creation of a new host in MySQL is wrapped in transaction.
Thomas Markwalder [Fri, 13 May 2016 14:02:11 +0000 (10:02 -0400)]
[master] Added ChangeLog entry 1115 for #4481
Thomas Markwalder [Fri, 13 May 2016 13:22:40 +0000 (09:22 -0400)]
[master] Added query<x> arugment to several callouts
Merge branch 'trac4481'
Thomas Markwalder [Fri, 13 May 2016 13:20:25 +0000 (09:20 -0400)]
[4481] Changed lease6_select API doc to show query6 as "in" only
Thomas Markwalder [Fri, 13 May 2016 12:06:00 +0000 (08:06 -0400)]
[3164] Updated kea-admin copyright date
Marcin Siodelski [Fri, 13 May 2016 08:43:43 +0000 (10:43 +0200)]
[4281] It is allowed to use formatted option values in the host database.
Stephen Morris [Thu, 12 May 2016 20:00:36 +0000 (21:00 +0100)]
[4481] Add missing description of query6 argument to lease6_select
Stephen Morris [Thu, 12 May 2016 18:30:51 +0000 (19:30 +0100)]
[3164] Correct a typo in the user guide
Marcin Siodelski [Mon, 2 May 2016 08:24:30 +0000 (10:24 +0200)]
[4281] Extended MySQL host data source with DHCPv4 and DHCPv6 options.
Missing things:
- proper commentary
- formatted values for options
- rollback host insertion when failing to add reservation or option
Stephen Morris [Wed, 11 May 2016 20:50:29 +0000 (21:50 +0100)]
[master] Added ChangeLog entry for #4485
Stephen Morris [Wed, 11 May 2016 20:10:55 +0000 (21:10 +0100)]
[master]Merge branch 'trac4485'