Marcin Siodelski
818100a6cc
[#659,!387] Changed "fields" to "columns" in the MySQL creation script.
...
As a result of review.
2019-08-16 17:47:34 +02:00
Francis Dupont
32bcae557c
[659-how-configure-client-class-for-pools-in-db] Addressed not doc comments
2019-08-16 17:47:34 +02:00
Francis Dupont
c0be63572b
[659-how-configure-client-class-for-pools-in-db] Checkpoint: code done, todo new unit tests
2019-08-16 17:47:34 +02:00
Marcin Siodelski
d16a20bae6
[#680,!426] Delete embedded shared network options when network is deleted.
2019-07-25 03:58:11 -04:00
Marcin Siodelski
e88273f6de
[#680,!426] Deleted embedded DHCPv6 options when subnet is deleted.
2019-07-25 03:58:11 -04:00
Marcin Siodelski
f27f45ec3b
[#680,!426] Delete embedded options when subnet gets deleted in mysql_cb.
2019-07-25 03:58:11 -04:00
Francis Dupont
ea2a8aed1f
[466-kea-admin-lease-options-to-be-renamed-to-db] Checkpoint: kea-admin lease-{^dump} -> db-* (src)
2019-07-08 14:50:31 +02:00
Francis Dupont
d8276f1036
[550-authentication-key-to-text-method-miss-spelled] AuthKey is binary
2019-07-02 17:33:39 +02:00
Marcin Siodelski
ad8a7cd71f
[#642,!373] Updated MySQL Config Backend with simple server mgmt functions.
2019-06-27 14:51:31 -04:00
Francis Dupont
8641448c41
[295-min-max-lease-time-configuration-options] Moved MySQL schema updates to version 8.1
2019-06-22 10:05:24 -04:00
Francis Dupont
f7f545aedb
[295-min-max-lease-time-configuration-options] Updated schema
2019-06-22 10:05:23 -04:00
Marcin Siodelski
c1eabee542
[#628,!341] interface-id is supported by the mysql_cb.
2019-05-27 10:25:50 -04:00
Francis Dupont
5ca2b54e05
[397-cb-implement-mysqlconfigbackenddhcpv6] checkpoint (including shema fix of fix
2019-04-18 15:52:51 +02:00
Francis Dupont
e3dc02c111
[397-cb-implement-mysqlconfigbackenddhcpv6] checkpoint: unit tests to update
2019-04-18 15:52:51 +02:00
Francis Dupont
5d96145025
[481-remote-subnet4-set-inconsistent-work-when-id-subnet-is-duplicated] Addressed comments
2019-03-12 18:20:47 -04:00
Francis Dupont
ecb27f49c3
[481-remote-subnet4-set-inconsistent-work-when-id-subnet-is-duplicated] Added tests and updated schema
2019-03-12 18:20:47 -04:00
Thomas Markwalder
6af5e78ec8
[#526,!269] - MySQL unit tests now wipe data, instead of schema
...
src/share/database/scripts/mysql/wipe_data.sh.in -
New shell script which intelligently deletes data from
the schema IF the schema version matches the expected version
src/lib/mysql/testutils/mysql_schema.*
destroyMySQLSchema() - modfied to default to calling
wipeData(), and only destroying the schema if that fails
or by force flag = true;
createMySQLSchema() - modified to default to calling
wipeData(), and only recreating the schema if that
fails or by force flag = true;
wipeData() - new method which runs the
MySQL wipe_data.sh shell script, passing in the expected
schema version.
src/share/database/scripts/mysql/dhcpdb_create.mysql
createAuditRevisionDHCP4()
createAuditEntryDHCP4()
createAuditRevisionDHCP6()
createAuditEntryDHCP6() - added session variable,
@disable_audit, to allow procedures to be "turned
off" during data wiping.
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_mgr_unittest.cc
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
src/lib/dhcpsrv/tests/cfg_db_access_unittest.cc
src/lib/dhcpsrv/tests/host_mgr_unittest.cc
src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
Removed calls to destroy schema from test constructors
2019-03-08 12:09:14 -05:00
Marcin Siodelski
da92b4e9e3
[#488,!259] Added sname, next-server and boot-file-name to MySQL schema.
2019-03-07 08:00:36 -05:00
Marcin Siodelski
434b93940c
[#488,!259] Added support for authoritative flag in MySQL CB.
2019-03-07 08:00:35 -05:00
Marcin Siodelski
01fc4d5bb4
[#489,!250] Drop constraints on dhcp6_[pd]_pool prior to rename.
2019-03-04 14:45:28 +01:00
Marcin Siodelski
108a86cbc5
[#489,!250] Extend MySQL backend to store floating point values.
2019-03-01 15:06:25 +01:00
Marcin Siodelski
ffde8dc785
[ #489 ] Updated MySQL CB to handle unspecified subnet and network values.
2019-02-28 17:38:53 +01:00
Francis Dupont
7fec7b6182
[460-update-mysql-database-schema-for-dhcpv6-config-backend--port] Ported DHCPv4 trigger & co to DHCPv6
2019-02-21 08:30:56 -05:00
Francis Dupont
705da9b316
[460-update-mysql-database-schema-for-dhcpv6--align-on-dhcpv4] Aligned server table idexes
2019-02-20 11:09:26 -05:00
Francis Dupont
cbe62fed56
[460-update-mysql-database-schema-for-dhcpv6--align-on-dhcpv4] Renamed dhcp6_subnet_id in dhcp6_pd_pool too
2019-02-20 11:09:26 -05:00
Francis Dupont
b7dcffd2a1
[460-update-mysql-database-schema-for-dhcpv6--align-on-dhcpv4] Renamed a dhcp6_pool (unused table) column
2019-02-20 11:09:26 -05:00
Marcin Siodelski
71200e98f5
[#444,!229] Added new line in the dhcpdb_create.mysql
2019-02-08 13:18:53 +01:00
Marcin Siodelski
d91617106d
[#444,!229] Switched back to second precision in MySQL CB.
2019-02-08 09:46:21 +01:00
Francis Dupont
a6c6439112
[354-compilation-with-mysql-fails-on-fedora-29] Updated schema & upgrade
2019-02-07 17:02:22 -05:00
Marcin Siodelski
63e0cbda5c
[#429,!217] Extended dhcpX_global_parameter: added parameter_type.
2019-01-31 18:07:35 +01:00
Marcin Siodelski
6d40db07ef
[#396,!205] Addressed a typo in the dhcpdb_create.mysql script.
2019-01-30 19:01:50 +01:00
Marcin Siodelski
6c8ae1e1e1
[#396,!205] Corrected referential actions in CB tables.
2019-01-30 12:16:55 +01:00
Francis Dupont
7bbbf0ac1a
[396-add-audit-trail-for-the-dhcpv4-mysql-backend] cosmetics (spelling, spurious space at eol, ...)
2019-01-30 10:18:59 +01:00
Marcin Siodelski
84d9d7a401
[#396,!205] Audit revision timestamp is set by Kea.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
58e6f3b475
[#396,!205] Use microsec precision for the CB tables.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
c33495fa7a
[#396,!205] Modify MySQL schema to use fractional second timestamps.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
c926fa96f4
[#396,!205] Fix issues in the core tests related to schema changes.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
c709b42fd0
[#396,!205] Cleanup in the database creation script.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
7d4018d592
[#396,!205] Handle audit for pool specific options.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
92012abba1
[#396,!205] Improved commentary in the MySQL CB backend.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
c8401328a2
[#396,!205] Updated dhcpdb_create.mysql
2019-01-30 10:18:59 +01:00
Marcin Siodelski
dcc68c8f1a
[#396,!205] Implemented audit for options.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
e03cc3f300
[#396,!205] Implemented audit for the option definitions.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
5446173b3f
[#396,!205] Implemented audit for the shared networks.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
86cc55af7e
[#396,!205] Implemented audit for the subnets.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
5e181f7ac7
[#396,!205] Added audit for global parameters.
2019-01-30 10:18:59 +01:00
Marcin Siodelski
cee51915c5
[288,!158] Changed references from RFC3315 to RFC8415 in the src code.
2018-12-06 08:20:09 -05:00
Marcin Siodelski
00e880aeb1
[#93,!63] Server selection partially working for global paramneters.
2018-10-18 13:35:08 +02:00
Marcin Siodelski
73ba94b1fb
[#93,!63] Added CASCADE delete to MySQL CB schema.
2018-10-18 13:35:08 +02:00
Marcin Siodelski
d4805251ff
[#93,!63] Added logical servers to dhcp4_server and dhcp6_server MySQL.
2018-10-18 13:35:08 +02:00