lease6.address and ipv6_reservations.address columns
changed from varbinary(39) to binary(16).
lease6.binaddr column removed
deleted: src/share/api/binary-address6-upgrade.json
new file: src/share/database/scripts/mysql/upgrade_018_to_019.sh.in
configure.ac
added new mysql upgrade script
doc/sphinx/arm/hooks-lease-query.rst
removed doc for binary-address6-upgrade command
src/bin/admin/tests/mysql_tests.sh.in
modified to use inet6_aton/ntoa as now needed
Updated to test upgrage
src/lib/dhcpsrv/lease_mgr.h
LeaseMgr::upgradeBinaryAddress6() - no longer
abstract, provides a dummy implemention
src/lib/dhcpsrv/mysql_host_data_source.cc
Change v6 reservation address to binary
src/lib/dhcpsrv/mysql_lease_mgr.*
Remove lease6.binaddr and uses
Change lease6.address to binary
src/lib/mysql/mysql_constants.h
Update schema version
src/share/api/api_files.mk
Remove binary-address6-upgrade.json
src/share/database/scripts/mysql/Makefile.am
Add upgrade script
src/share/database/scripts/mysql/dhcpdb_create.mysql
Modify lease6, ipv6_reservations, and impacted functions
Update subnets in shared-network BDEL trigger rather than
relying on foreign key update action
new files:
src/share/database/scripts/mysql/upgrade_013_to_014.sh.in
src/share/database/scripts/pgsql/upgrade_011_to_012.sh.in
configure.ac
added:
src/share/database/scripts/mysql/upgrade_013_to_014.sh
src/share/database/scripts/pgsql/upgrade_011_to_012.sh
src/bin/admin/tests/mysql_tests.sh.in
added 13 to 14 checks
src/bin/admin/tests/pgsql_tests.sh.in
added 11 to 12 checks
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp6_unittest.cc
enabled disabled tests
src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
GenericConfigBackendDHCPv4Test::getAllSharedNetworks4Test()
- updated expected audit entry order
src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
GenericConfigBackendDHCPv6Test::getAllSharedNetworks6Test()
- updated expected audit entry order
src/lib/mysql/mysql_constants.h
Updated schema version to 14
src/lib/pgsql/pgsql_connection.h
Updated schema version to 12
src/share/database/scripts/mysql/.gitignore
src/share/database/scripts/mysql/Makefile.am
added upgrade_013_to_014.sh
src/share/database/scripts/mysql/dhcpdb_create.mysql
subnet rows are now updated directly in shared-network
BEFORE delete triggers (v4 and v6)
src/share/database/scripts/pgsql/Makefile.am
added upgrade_011_to_012.sh
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
subnet rows are now updated directly in shared-network
BEFORE delete triggers (v4 and v6)
configure.ac
Added mysql/upgrade_x_00010_to_00011.sh.in
src/bin/admin/tests/mysql_tests.sh.in
mysql_upgrade_test() - added test of upgrade from 10 to 11.
src/lib/mysql/mysql_constants.h
Updated schema version
src/share/database/scripts/mysql/Makefile.am
Added upgrade_x_00010_to_00011.sh
src/share/database/scripts/mysql/dhcpdb_create.mysql
Added index replacements
src/share/database/scripts/mysql/upgrade_x_00010_to_00011.sh.in
New file, upgrades from 10 to 11.
Naming scheme changed to keep file order sane.
Extended database schema with new tables holding information about
configured client classes, ordering them, storing their dependencies and
associating them with the server tags. In addition, extended the tables
holding option definitions with an additional column class_id to optionally
associate an option definition with a class.
Introduced new host API function which allows for configuring selected
backends to accept non-unique IP reservations for multiple hosts. Support
for it was added in MySQL, Postgres and Kea config file. It is not
supported in Cassandra. New migrations for MySQL and Postgres have been
created.