]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Wed, 22 Jun 2016 13:41:51 +0000 (15:41 +0200)]
[github21] Documentation updated, install notes added.
Tomek Mrugalski [Wed, 22 Jun 2016 13:41:18 +0000 (15:41 +0200)]
[github21] Segfault condition fixed
If the keyspace is not present, session_ will be null and
it would segfault in CQLConnection destructor.
Andrei Pavel [Thu, 23 Jun 2016 08:30:21 +0000 (11:30 +0300)]
corrected and optimized cql_dump in kea-admin.in
Andrei Pavel [Wed, 15 Jun 2016 14:42:00 +0000 (17:42 +0300)]
solved Cassandra unit tests & added documentation
Andrei Pavel [Fri, 10 Jun 2016 16:21:57 +0000 (19:21 +0300)]
fixed issues and refactored cassandra backend
Tomek Mrugalski [Thu, 23 Jun 2016 12:32:06 +0000 (14:32 +0200)]
fixed compilation issues for cql unittests
# Conflicts:
# src/lib/dhcpsrv/pgsql_lease_mgr.h
Tomek Mrugalski [Thu, 23 Jun 2016 12:31:11 +0000 (14:31 +0200)]
minor changes
# Conflicts:
# src/bin/admin/tests/data/pgsql.lease6_dump_test.reference.csv
Tomek Mrugalski [Thu, 23 Jun 2016 12:30:29 +0000 (14:30 +0200)]
change requests from isc
# Conflicts:
# src/bin/admin/tests/data/pgsql.lease6_dump_test.reference.csv
Andrei Pavel [Wed, 8 Jun 2016 07:36:38 +0000 (10:36 +0300)]
refactored cassandra backend and fixed minor issues
Andrei Pavel [Wed, 8 Jun 2016 07:36:38 +0000 (10:36 +0300)]
refactored cassandra backend and fixed minor issues
Razvan Becheriu [Tue, 7 Jun 2016 15:15:38 +0000 (18:15 +0300)]
minor changes
Tomek Mrugalski [Thu, 23 Jun 2016 12:27:53 +0000 (14:27 +0200)]
renamed classes and files, fixed issues, added comments
# Conflicts:
# ChangeLog
# src/lib/dhcpsrv/cfg_hosts.cc
Tomek Mrugalski [Thu, 23 Jun 2016 12:27:04 +0000 (14:27 +0200)]
renamed classes and files, fixed issues, added comments
# Conflicts:
# ChangeLog
# src/lib/dhcpsrv/cfg_hosts.cc
Tomek Mrugalski [Thu, 23 Jun 2016 12:25:40 +0000 (14:25 +0200)]
renamed dscsql to cql
# Conflicts:
# configure.ac
Tomek Mrugalski [Thu, 23 Jun 2016 12:24:39 +0000 (14:24 +0200)]
renamed dscsql to cql
Razvan Becheriu [Mon, 30 May 2016 10:40:40 +0000 (13:40 +0300)]
fixed kea-admin dscsql lease-init script
Andrei Pavel [Fri, 27 May 2016 15:43:46 +0000 (18:43 +0300)]
fixed Makefile
Razvan Becheriu [Fri, 27 May 2016 14:43:11 +0000 (17:43 +0300)]
added optimization for casandra delete and reclaim leases
Razvan Becheriu [Thu, 19 May 2016 14:10:36 +0000 (17:10 +0300)]
added support for datastax cassandra
Razvan Becheriu [Thu, 19 May 2016 14:09:32 +0000 (17:09 +0300)]
added support for datastax cassandra
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 [Wed, 22 Jun 2016 11:40:52 +0000 (07:40 -0400)]
[4277] Insert and fetch IPv4 Hosts plus tests work (without options)
src/lib/dhcpsrv/host_data_source_factory.cc
HostDataSourceFactory::create() - now instantiates PgSqlHostDataSource
src/lib/dhcpsrv/pgsql_host_data_source.cc
Enabled basic IPv4 host statements and methods
src/lib/dhcpsrv/tests
New file: pgsql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/Makefile.am
Added pgsql_host_data_source_unittest.cc
Thomas Markwalder [Wed, 22 Jun 2016 11:28:21 +0000 (07:28 -0400)]
[4277] Pull 4275 changes
Merge branch 'master' into trac4277
Thomas Markwalder [Tue, 21 Jun 2016 17:21:40 +0000 (13:21 -0400)]
[4277] Bare bones implementation of PgSqlHostDataSource
src/lib/dhcpsrv
pgsql_host_data_source.c
pgsql_host_data_source.h - new files, preliminary implementation
src/lib/dhcpsrv/Makefile.am
Added new files pgsql_host_data_source.cc, pgsql_host_data_source.h
src/lib/dhcpsrv/dhcpsrv_messages.mes
Added log messages DHCPSRV_PGSQL_HOST_DB_GET_VERSION, DHCPSRV_PGSQL_START_TRANSACTION
src/lib/dhcpsrv/pgsql_connection.cc
src/lib/dhcpsrv/pgsql_connection.h
Added PgSqlTransaction
Added PgSqlConnection::startTransaction()
src/lib/dhcpsrv/pgsql_exchange.cc
src/lib/dhcpsrv/pgsql_exchange.h
PsqlBindArray
- Added storage of conversion strings used for bound values
- Added add() variants for uint8_t, IOAddress, uint8_t buffer
- Added templated variant for miscellaneous types
PgSqlExchange
- Removed getColumnValue variants for various integers, replaced
with templated version for miscellaneous types
src/lib/dhcpsrv/pgsql_lease_mgr.cc
Added todo comment to remember to account for hwaddr columns added to lease6
src/lib/dhcpsrv/tests/pgsql_exchange_unittest.cc
TEST(PsqlBindArray, basicOperation) - new test to exercise bind functions
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 [Fri, 17 Jun 2016 23:49:13 +0000 (01:49 +0200)]
[4110a] Improved process unit test
Francis Dupont [Fri, 17 Jun 2016 18:03:02 +0000 (20:03 +0200)]
[4109a] Fixed doxygen
Francis Dupont [Fri, 17 Jun 2016 17:57:51 +0000 (19:57 +0200)]
[4110a] Fixed doxygen
Francis Dupont [Fri, 17 Jun 2016 17:44:09 +0000 (19:44 +0200)]
[4110a] Finished the process unit test
Francis Dupont [Fri, 17 Jun 2016 16:18:10 +0000 (18:18 +0200)]
[4110a] Simplified exception messages (details are logged as warnings)
Marcin Siodelski [Fri, 17 Jun 2016 16:17:02 +0000 (18:17 +0200)]
[4321] Implemented unit test for conflict resolution with reservations.
Francis Dupont [Fri, 17 Jun 2016 16:16:57 +0000 (18:16 +0200)]
[4110a] untabify
Francis Dupont [Fri, 17 Jun 2016 16:09:41 +0000 (18:09 +0200)]
[4110a] Ported previous code + a lot of improvements (but still things to do)
Marcin Siodelski [Fri, 17 Jun 2016 14:34:35 +0000 (16:34 +0200)]
[4321] Added unit test for Solicit after lease acquisition.
The new test uses swapped addresses as hints after acquiring
these addresses in a 4-way exchange. The server ignores hints.
Marcin Siodelski [Fri, 17 Jun 2016 13:31:15 +0000 (15:31 +0200)]
[4321] Do not replace allocated reserved address in the IA.
If IA contains allocated lease for which there is a reservation
the liftime of this lease is extended. Any newly reserved
lease will be assigned to a different IA, possibly replacing
dynamically allocated lease.
Francis Dupont [Fri, 17 Jun 2016 13:14:35 +0000 (15:14 +0200)]
[4109a] indent
Francis Dupont [Fri, 17 Jun 2016 11:46:14 +0000 (13:46 +0200)]
[4109a] missing text
Francis Dupont [Fri, 17 Jun 2016 00:24:29 +0000 (02:24 +0200)]
[4110a] Rebased previous code (checkpoint/not finished)
Francis Dupont [Thu, 16 Jun 2016 23:47:14 +0000 (01:47 +0200)]
[4109a] Implemented receive unit test using buffer6_send hook
Francis Dupont [Thu, 16 Jun 2016 22:04:39 +0000 (00:04 +0200)]
[4109a] Copy the send part (logs and hook) from standard service to 4o6 handler
Francis Dupont [Thu, 16 Jun 2016 20:00:41 +0000 (22:00 +0200)]
[4109a] Rebased
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()
Marcin Siodelski [Thu, 16 Jun 2016 11:52:53 +0000 (13:52 +0200)]
[4321] Fixed broken unit test after Lease6 fix.
Marcin Siodelski [Wed, 15 Jun 2016 12:08:32 +0000 (14:08 +0200)]
[4321] Extended host tests for multiple IAs.
Tests now use common function to verify the server's response.
Also, improved commentary in the tests.
Francis Dupont [Wed, 15 Jun 2016 21:25:18 +0000 (23:25 +0200)]
[4272a] Improved coverage
Francis Dupont [Wed, 15 Jun 2016 16:30:27 +0000 (18:30 +0200)]
[4272a] Updated dev guide
Francis Dupont [Wed, 15 Jun 2016 16:24:41 +0000 (18:24 +0200)]
[4272a] Ported previous attempt
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 [Fri, 10 Jun 2016 09:37:13 +0000 (11:37 +0200)]
[4321] Added basic test for multiple v6 reservations.
Marcin Siodelski [Thu, 9 Jun 2016 10:58:43 +0000 (12:58 +0200)]
[4321] Rename useNA and usePD to requestAddress and requestPrefix.
Marcin Siodelski [Wed, 8 Jun 2016 11:06:13 +0000 (13:06 +0200)]
[4321] Test DHCPv6 client can send multiple IAs.
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.
Francis Dupont [Fri, 10 Jun 2016 15:15:34 +0000 (17:15 +0200)]
[4272a] Regenerate parser from docs.isc.org
Francis Dupont [Fri, 10 Jun 2016 15:04:29 +0000 (17:04 +0200)]
[4272a] Updated classification doc & reordered code
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.
Francis Dupont [Fri, 10 Jun 2016 14:01:53 +0000 (16:01 +0200)]
[4272a] Some improvements including fixing pkt6 entries
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.