The test requires that the boost headers are included, otherwise the
test reports that gtest doesn't support XXX_TRUE() macros. This
change was okayed on jabber.
This change includes MAC address lists for perfdhcp as well as
a command line option for generating relayed traffic in DHCPv6.
This patch was contributed by Angelo Failla.
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
Bumps MySQL schema version from 4.0 to 4.1.
Fixes the issue spelled out in 4238 by adding an entry for hardware
address source of zero. This change was added here to limit the
number of schema version bumps.
Changes the MySQL lease dump functions to order by the lease address.
This ensures the dumps always ordered in a predictable manner.
src/bin/admin/scripts/mysql/upgrade_4.0_to_4.1.sh.in
New file to upgrade from 4.0 to 4.1
configure.ac
Added entry for mysql/upgrade_4.0_to_4.1.sh
src/bin/admin/scripts/mysql/Makefile.am
Added entry form upgrade_4.0_to_4.1.sh
src/bin/admin/scripts/mysql/dhcpdb_create.mysql
Added insert of HWADDR_SOURCE_UNKNOWN into lease_hwaddr_source
Added order by clauses to lease4DumpData and lease6DumpData
Updated schema version from 4.0 to 4.1
src/bin/admin/tests/mysql_tests.sh.in
mysql_upgrade_test()
Added test for 4.0 to 4.1 upgrade
Changed final version check to 4.1
Upgrade adds state column to both lease tables, the state table,
and the lease dump functions.
src/bin/admin/scripts/pgsql/upgrade_1.0_to_2.0.sh -
new script for upgrading postgres schema
src/bin/admin/tests/dhcpdb_create_1.0.pgsql
new sql script for creating 1.0 schema db
configure.ac
added entry for new upgrade script
src/bin/admin/kea-admin.in
pgsql_upgrade() - modified to set Postgres password env variable
and pass in remaining args as psql expects them
src/bin/admin/scripts/pgsql/Makefile.am
added entry for new upgrade script
src/bin/admin/tests/Makefile.am
added entry for 1.0 schema script
src/bin/admin/tests/pgsql_tests.sh.in
pgsql_upgrade_test() - revamped now that Postgres actually
has its first upgrade script.