2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00
Commit Graph

23080 Commits

Author SHA1 Message Date
Tomek Mrugalski
3ee00d7432 [github21] cql_config script added. 2016-06-23 14:36:03 +02:00
Tomek Mrugalski
9c0311ca2c [github21] Documentation updated, install notes added. 2016-06-23 14:35:20 +02:00
Tomek Mrugalski
1809470191 [github21] Segfault condition fixed
If the keyspace is not present, session_ will be null and
 it would segfault in CQLConnection destructor.
2016-06-23 14:35:12 +02:00
Andrei Pavel
ab934d8b9b corrected and optimized cql_dump in kea-admin.in 2016-06-23 14:32:39 +02:00
Andrei Pavel
08343129b4 solved Cassandra unit tests & added documentation 2016-06-23 14:32:29 +02:00
Andrei Pavel
829cac98a3 fixed issues and refactored cassandra backend 2016-06-23 14:32:22 +02:00
Tomek Mrugalski
c629300a70 fixed compilation issues for cql unittests
# Conflicts:
#	src/lib/dhcpsrv/pgsql_lease_mgr.h
2016-06-23 14:32:06 +02:00
Tomek Mrugalski
6b4fef59e9 minor changes
# Conflicts:
#	src/bin/admin/tests/data/pgsql.lease6_dump_test.reference.csv
2016-06-23 14:31:11 +02:00
Tomek Mrugalski
d47b8dfe5a change requests from isc
# Conflicts:
#	src/bin/admin/tests/data/pgsql.lease6_dump_test.reference.csv
2016-06-23 14:30:29 +02:00
Andrei Pavel
07b7b23d04 refactored cassandra backend and fixed minor issues 2016-06-23 14:28:58 +02:00
Andrei Pavel
df16b6f0fb refactored cassandra backend and fixed minor issues 2016-06-23 14:28:51 +02:00
Razvan Becheriu
74b0e91737 minor changes 2016-06-23 14:28:07 +02:00
Tomek Mrugalski
ee0c1e994b renamed classes and files, fixed issues, added comments
# Conflicts:
#	ChangeLog
#	src/lib/dhcpsrv/cfg_hosts.cc
2016-06-23 14:27:53 +02:00
Tomek Mrugalski
a47f78f491 renamed classes and files, fixed issues, added comments
# Conflicts:
#	ChangeLog
#	src/lib/dhcpsrv/cfg_hosts.cc
2016-06-23 14:27:04 +02:00
Tomek Mrugalski
8efa49794e renamed dscsql to cql
# Conflicts:
#	configure.ac
2016-06-23 14:25:40 +02:00
Tomek Mrugalski
162742b453 renamed dscsql to cql 2016-06-23 14:24:39 +02:00
Razvan Becheriu
11aedc9ce1 fixed kea-admin dscsql lease-init script 2016-06-23 14:22:00 +02:00
Andrei Pavel
8cb4a5787d fixed Makefile 2016-06-23 14:21:39 +02:00
Razvan Becheriu
87e0fd91b0 added optimization for casandra delete and reclaim leases 2016-06-23 14:21:30 +02:00
Razvan Becheriu
77843631ab added support for datastax cassandra 2016-06-23 14:19:28 +02:00
Razvan Becheriu
53c1c6aaaa added support for datastax cassandra 2016-06-23 14:17:38 +02:00
Thomas Markwalder
f15c1a1190 [master] Added ChangeLog 1132 for #4275 trac4500_base 2016-06-21 11:56:56 -04:00
Thomas Markwalder
6f8e646bee [master] PostgreSQL schema 3.0, support for host reservations
Merges in branch 'trac4275'
2016-06-21 11:36:03 -04:00
Thomas Markwalder
0433e62cdb [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.
2016-06-21 11:33:16 -04:00
Francis Dupont
bf370fb390 [master] Updated git hash trac4109a_base 2016-06-16 20:28:46 +02:00
Francis Dupont
1ce1cba00a [master] Finished merge of trac4106_update (DHCP4o6 IPC) 2016-06-16 20:27:44 +02:00
Francis Dupont
5d69cd905d [master] Merged trac4106_update (DHCP4o6 IPC) 2016-06-16 20:24:43 +02:00
Francis Dupont
828ef3991e [4106_update] Addressed last comments 2016-06-16 18:48:36 +02:00
Tomek Mrugalski
d8280d80c1 [4106_update] Added comment to createDHCPv4MsgOption() 2016-06-16 15:14:29 +02:00
Thomas Markwalder
a7db35543a [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
2016-06-15 10:52:14 -04:00
Francis Dupont
2af3e84345 [4106_update] Addressed comments 2016-06-15 16:02:39 +02:00
Francis Dupont
7299124ae6 [master] Updated licence 2016-06-15 15:56:28 +02:00
Thomas Markwalder
67e12a028b [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
2016-06-14 15:51:08 -04:00
Marcin Siodelski
2ac1a5f0fc [master] Added ChangeLog entry for #3573. fdxhook_base 2016-06-14 09:16:37 +02:00
Marcin Siodelski
c29551e430 [master] Merge branch 'trac3573' 2016-06-14 08:47:41 +02:00
Francis Dupont
e7324065c5 [master] typo 2016-06-13 23:43:40 +02:00
Marcin Siodelski
774b4fa4fe [3573] Addressed review comments.
Decided to not move the HostTest::doExchange class to the test
utils as it would cause circular dependency.
2016-06-13 21:00:50 +02:00
Marcin Siodelski
3004ceae1c [master] Merge branch 'trac4320' 2016-06-13 11:31:40 +02:00
Marcin Siodelski
de29ab0fe2 [4320] Fix doxygen errors as a result of the review. 2016-06-13 11:30:31 +02:00
Marcin Siodelski
ad8881db1c [master] Added ChangeLog entry for #4498. 2016-06-10 16:53:10 +02:00
Marcin Siodelski
14716853a9 [master] Merge branch 'trac4498' 2016-06-10 16:22:56 +02:00
Marcin Siodelski
aa0bfc575d [4498] Addressed review comment: renamed 2 libdhcp++ tests. 2016-06-10 16:15:35 +02:00
Shawn Routhier
a0f20e3766 [trac4498] Fix some typos and copyrights 2016-06-09 23:28:50 -07:00
Francis Dupont
c9a717143b [4106_update] Disable openError on Linux 2016-06-09 15:29:35 +02:00
Francis Dupont
138586ec80 [4106_update] Removed invalidPortError6 (was moved to dhcp6/tests) 2016-06-09 15:24:58 +02:00
Francis Dupont
fe532755ef [4106_update] Ported and improved code from old trac4106 including unit tests 2016-06-09 14:22:08 +02:00
Tomek Mrugalski
3f6b567883 [master] ChangeLog updated. trac4272a_base 2016-06-09 13:24:49 +02:00
Tomek Mrugalski
7c74ecdbb6 [master] Merge branch 'trac4308' (interface selection based on name) 2016-06-09 12:35:44 +02:00
Marcin Siodelski
ae890cc840 [master] Added ChangeLog entry for #3572. 2016-06-09 11:07:22 +02:00
Marcin Siodelski
49f67aaf36 [master] Merge branch 'trac3572' 2016-06-09 10:46:14 +02:00