2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-07 17:35:18 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
Thomas Markwalder
d1dd0f2e27 [master] subnet_id column types now consistent in schemas
Merges in branch 'trac5522'
2018-03-05 15:01:29 -05:00
Marcin Siodelski
4337cfd068 [5437] Replaced index by iaid_subnet_id_duid with duid_iaid_subnet_id. 2018-02-27 21:06:28 +01:00
Thomas Markwalder
993da9cb0b [5522] Fixed subnet_id column types in MySQL and Postgres schemas
new file:
    src/share/database/scripts/mysql/upgrade_5.1_to_5.2.sh.in
renamed:
    src/share/database/scripts/mysql/upgrade_5.1_to_6.0.sh.in
    -> src/share/database/scripts/mysql/upgrade_5.2_to_6.0.sh.in

new file:
    src/share/database/scripts/pgsql/upgrade_3.2_to_3.3.sh.in
renamed:
    src/share/database/scripts/pgsql/upgrade_3.2_to_4.0.sh.in
    -> src/share/database/scripts/pgsql/upgrade_3.3_to_4.0.sh.in

src/lib/dhcpsrv/pgsql_host_data_source.cc
    changed OID_INT4 to OID_INT8 for subnet_id inputs in
    TaggedStatements

src/lib/dhcpsrv/tests/generic_host_data_source_unittest.h
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc
    Added new tests to verify maxium value for subnet_id works

src/share/database/scripts/mysql/dhcpdb_create.mysql
    Added 5.1 to 5.2 changes

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    Added 3.2 to 3.3 changes
2018-02-22 13:13:34 -05:00
Marcin Siodelski
a1697ce64b [5468] Added lease indexing by subnet identifiers and lease type. 2018-01-09 15:47:10 +01:00
Francis Dupont
a22b7af0bf [5351] Addressed nearly all comments 2017-12-17 19:48:04 +01:00
Francis Dupont
f898544564 [5351] Checkpoint: todo host DB tests 2017-12-03 19:23:00 +01:00
Francis Dupont
869ab1ed57 [5351] Checkpoint: added user context in options stored in DBs, todo add tests 2017-12-01 09:35:18 +01:00
Josh Soref
07f40e4422 spelling: performance 2017-07-23 15:28:00 -04:00
Josh Soref
3331fda2e3 spelling: initial 2017-07-23 13:28:07 -04:00
Tomek Mrugalski
88555d8f23 [master] Merge branch 'trac5208a' (preparations for host_cmds hook) 2017-04-24 21:29:15 +02:00
Marcin Siodelski
20d70ed0b3 [5208] Multiple fixes as a result of review.
The most notable change is the update of the MySQL trigger which
deletes options as a consequence of deletion of the host.
2017-04-24 16:19:37 +02:00
Tomek Mrugalski
db96e406b9 [5195] flex-id value added to know identifiers list. 2017-04-20 15:46:24 +02:00
Marcin Siodelski
acedfa970b [5102] Addressed review comments.
- Removed MySQL indexes added accidentally.
- Fixed a commentary in a DORA unit tests.
2017-04-20 11:27:34 +02:00
Marcin Siodelski
ec873ef2f2 [5102] Updated MySQL and PgSQL schemas with 'client-id' host id type. 2017-04-14 23:39:13 +02:00
Wlodek Wencel
9e3ca83d07 [v_1_2_0] copy right dates updated 2017-04-12 15:47:26 +02:00
Andrei Pavel
9082500187 Corrected typos 2016-12-14 16:57:44 +02:00
Yusef Shaban
cf0be27ae9 Update dhcpdb_create.mysql
fixing " to ' as mysql will throw errors about "
2016-09-12 15:09:03 -07:00
Marcin Siodelski
90841f377e [4562] Updated MySQL upgrade scripts to schema version 5.0. 2016-08-26 17:17:57 +02:00
Marcin Siodelski
9b79fe005d [master] Merge branch 'trac4552' 2016-08-25 18:18:07 +02:00
Marcin Siodelski
db705b7435 [4552] Added siaddr, sname and file into the hosts table. 2016-08-23 12:09:36 +02:00
Marcin Siodelski
4a8efcb45a [4489] Addressed review comments.
The only review item not addressed with this commit is the
implementation of unit test that operates on the read only
database, i.e. the database containing tables on which the
given user only has SELECT privileges.
2016-08-17 11:22:24 +02:00
Francis Dupont
75a8350485 [master] Fixed rights of non-executable regular files 2016-07-08 20:38:15 +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
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
Marcin Siodelski
6efa4faf3a [4281] Added scope_id to the MySQL tables holding options. 2016-05-25 17:52:03 +02:00
Marcin Siodelski
aae4a9db6b [4281] Alterations to MySQL host database schema.
- Option code in dhcp6_options table is now SMALLINT.
- Subnet ids are now unsigned.
2016-04-28 11:33:43 +02:00
Thomas Markwalder
0b4ec962af [4239] Moved schema scripts to src/share/database/scripts
Moved schema scripts into a new common location:

        src/share/database/scripts

    to make them accessible to both kea-admin and dhcpsrv testing
2016-04-12 11:14:52 -04:00