]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Thu, 30 Jun 2016 17:01:19 +0000 (19:01 +0200)]
[4500] Addressed comments
Francis Dupont [Wed, 22 Jun 2016 22:07:30 +0000 (00:07 +0200)]
[4500] copied renew doc to rebind
Francis Dupont [Wed, 22 Jun 2016 21:56:58 +0000 (23:56 +0200)]
[4500] copied renew tests to use rebind without server-id
Thomas Markwalder [Tue, 21 Jun 2016 15:56:56 +0000 (11:56 -0400)]
[master] Added ChangeLog 1132 for #4275
Thomas Markwalder [Tue, 21 Jun 2016 15:36:03 +0000 (11:36 -0400)]
[master] PostgreSQL schema 3.0, support for host reservations
Merges in branch 'trac4275'
Thomas Markwalder [Tue, 21 Jun 2016 15:33:16 +0000 (11:33 -0400)]
[4275] Addressed review comments
bin/admin/tests/pgsql_tests.sh.in
Typos
share/database/scripts/pgsql/.gitignore
Added upgrade_2.0_to_3.0.sh
share/database/scripts/pgsql/dhcpdb_create.pgsql
Added entry for client_id to hosts_identifier
Added commentrary for dhcp_option_scope
Added periods to the ends of sentences.
Francis Dupont [Thu, 16 Jun 2016 18:28:46 +0000 (20:28 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 16 Jun 2016 18:27:44 +0000 (20:27 +0200)]
[master] Finished merge of trac4106_update (DHCP4o6 IPC)
Francis Dupont [Thu, 16 Jun 2016 18:24:43 +0000 (20:24 +0200)]
[master] Merged trac4106_update (DHCP4o6 IPC)
Francis Dupont [Thu, 16 Jun 2016 16:48:36 +0000 (18:48 +0200)]
[4106_update] Addressed last comments
Tomek Mrugalski [Thu, 16 Jun 2016 13:14:29 +0000 (15:14 +0200)]
[4106_update] Added comment to createDHCPv4MsgOption()
Thomas Markwalder [Wed, 15 Jun 2016 14:52:14 +0000 (10:52 -0400)]
[4275] Postgresql schema 3.0 now matches MySql schema 4.2
Added 4.1 to 4.2 updates from MySQL and created upgrade
script for 2.0 to 3.0
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
- Enclosed the entire script in a single transaction
- Removed DROP TABLE statements
- Added host_identifier_type table and data
- Added dhcp_option_scope table and data
- Updated unqiue constraints for hosts table
- Added scope_id and foreign key constraint to dhcp4_options table
- Added scope_id and foreign key constraint to dhcp6_options table
- Added unique contraint to ipv6_reservations table
- Changed 'HWADDR_SOURCE_DOCSIS' to 'HWADDR_SOURCE_DOCSIS_CMTS'
- Inserted row for 'HWADDR_SOURCE_UKNOWN'
src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
Added drops for host_identifier_type and dhcp_option_scope
src/share/database/scripts/pgsql/upgrade_2.0_to_3.0.sh.in
New file for upgrading Postgresql from 2.0 to 3.0
configure.ac
Added src/share/database/scripts/pgsql/upgrade_2.0_to_3.0.sh
src/bin/admin/tests/pgsql_tests.sh.in
- pgsql_upgrade_1_0_to_2_0 - new function which contains all the checks used
to verify 1.0 to 2.0 upgrade (extracted from pgsql_upgrade_test)
- pgsql_upgrade_2_0_to_3_0 - new function which contains all the checks used
to verify 2.0 to 3.0 upgrade
- pgsql_upgrade_test() - modified use new upgrade check fucntions
src/share/database/scripts/pgsql/Makefile.am
Added entry for upgrade_2.0_to_3.0.sh
Francis Dupont [Wed, 15 Jun 2016 14:02:39 +0000 (16:02 +0200)]
[4106_update] Addressed comments
Francis Dupont [Wed, 15 Jun 2016 13:56:28 +0000 (15:56 +0200)]
[master] Updated licence
Thomas Markwalder [Tue, 14 Jun 2016 19:51:08 +0000 (15:51 -0400)]
[4275] Brought Postgresql schema up to MySQL 4.1 content
Postresql schema now supports host reservations with options,
and lease6 table now includes hardware address and source
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
Added Schema 3.0 upgrade section:
- new tables: hosts, dhcp4_options, dhcp6_options,
ipv6_reservations, lease_hwaddr_source
- lease4Dumpdata() - results now sorted by lease address
- lease6 table - added columns hwaddr, hwtype, hwaddr_source
- lease6DumpHeader() - added labels for new columns
- lease6DumpData() - added new columns, results now sorted by
lease address
- schema_vesion - bumped version to 3
src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
Added drops of new tables
src/lib/dhcpsrv/pgsql_lease_mgr.cc
- PgSqlLeaseMgr::PgSqlLeaseMgr() - added logic to detect schema
mismatch between the code and configured database
src/lib/dhcpsrv/pgsql_lease_mgr.h
- Bumped PG_CURRENT_VERSION from 2 to 3
src/bin/admin/tests/data/pgsql.lease6_dump_test.reference.csv
- Reordered entries to account for dump function sort order
- Added values for new columns on lease6 table
src/bin/admin/tests/pgsql_tests.sh.in
- pgsql_lease_version_test() - changed expected version to 3.0
- pgsql_lease6_dump_test() - added new column values to inserted rows
Marcin Siodelski [Tue, 14 Jun 2016 07:16:37 +0000 (09:16 +0200)]
[master] Added ChangeLog entry for #3573.
Marcin Siodelski [Tue, 14 Jun 2016 06:47:41 +0000 (08:47 +0200)]
[master] Merge branch 'trac3573'
Francis Dupont [Mon, 13 Jun 2016 21:43:40 +0000 (23:43 +0200)]
[master] typo
Marcin Siodelski [Mon, 13 Jun 2016 19:00:50 +0000 (21:00 +0200)]
[3573] Addressed review comments.
Decided to not move the HostTest::doExchange class to the test
utils as it would cause circular dependency.
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
Francis Dupont [Thu, 9 Jun 2016 13:29:35 +0000 (15:29 +0200)]
[4106_update] Disable openError on Linux
Francis Dupont [Thu, 9 Jun 2016 13:24:58 +0000 (15:24 +0200)]
[4106_update] Removed invalidPortError6 (was moved to dhcp6/tests)
Francis Dupont [Thu, 9 Jun 2016 12:22:08 +0000 (14:22 +0200)]
[4106_update] Ported and improved code from old trac4106 including unit tests
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 [Tue, 31 May 2016 09:09:29 +0000 (11:09 +0200)]
[3573] Assign host specific options by the DHCPv6 server.
Also, fixes in the host unit tests.
Marcin Siodelski [Tue, 31 May 2016 08:33:11 +0000 (10:33 +0200)]
[3573] Further extended tests for DHCPv6 options reservations.
Added tests for Renew and Rebind and did some minor cleanups.
Marcin Siodelski [Mon, 30 May 2016 15:02:47 +0000 (17:02 +0200)]
[3573] Added basic test verifying assignment of host specific options.
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.