configure.ac
added pgsql/upgrade_008_to_009.sh
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/upgrade_008_to_009.sh.in
Corrected typo dhcp4_option_def_server_option_def_id_fkey
Add missing cascade to constraint on dhcp4/6_subnet_server tables.
Dropped extraneous dhcp4/6_shared_network_ADEL triggers
Replaced createOptionAuditDHCP4() and
createOptionAuditDHCP6() with corrected local variable type
src/bin/admin/tests/pgsql_tests.sh.in
updated expected schema version
added pgsql_upgrade_8_0_to_9_0()
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
Disabled TEST_F(MySqlConfigBackendDHCPv4Test, getAllSharedNetworks4Test)
src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp4.cc
implemented functions for shared-networks, subnets,
pools, options, and option-defs
src/hooks/dhcp/pgsql_cb/pgsql_cb_impl.*
PgSqlConfigBackendImpl::
setRelays()
setRequireClasses()
- new convenience functions
getAllOptions()
getOptions()
- implemented
Changed reference tracking from bool to counter
processOptionRow()
addOptionValueBinding() - corrected buffer handling
src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_dhcp4_unittest.cc
Added tests subnets, shared networks, pools, options, option defs,
src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.*
GenericConfigBackendDHCPv4Test::testNewAuditEntry() new variant which
accepts a list of expected audit entries
GenericConfigBackendDHCPv4Test::getAllSharedNetworks4Test() - now
tests for an expected list of audit entries
configure.ac
added src/share/database/scripts/pgsql/upgrade_7.0_to_8.0.sh
src/bin/admin/tests/pgsql_tests.sh.in
Updated to test upgrading to 8.0
pgsql_upgrade_7_0_to_8_0() - new function
src/lib/pgsql/pgsql_connection.h
Updated schema version
src/share/database/scripts/pgsql/Makefile.am
added upgrade_7.0_to_8.0.sh.in
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
Adds class_id column and constraints to dhcp4/6_option_def tables
Adds preferred lifetime columns to dhcp6_client_class
src/share/database/scripts/pgsql/upgrade_7.0_to_8.0.sh.in
- new file
Adds class_id column and constraints to dhcp4/6_option_def tables
Adds preferred lifetime columns to dhcp6_client_class
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.