src/bin/admin/scripts/mysql/upgrade_3.0_to_4.0.sh.in
New script file for upgrading from Schema 3.0 to 4.0
configure.ac
Added an entry for new MySQL uppgrade script, upgrade_3.0_to_4.0.sh.in
src/bin/admin/scripts/mysql/Makefile.am
Added entries for upgrade_3.0_to_4.0.sh.
Reformatted list style to make adding entries a bit more convenient.
src/bin/admin/tests/mysql_tests.sh.in
mysql_upgrade_test() - extended the test to verify the upgrade step
from 3.0 to 4.0.
src/bin/admin/kea-admin.in
src/bin/admin/kea-admin.in
get_dump_query() - modified SQL text returned for MySQL backend
which calls stored procedures to produce lease dumps rather than
SQL text from lease_dump_<version>.sh
src/bin/admin/scripts/mysql/Makefile.am
removed entries for leave_dump_<version>.sh files
src/bin/admin/scripts/mysql/dhcpdb_create.mysql
Added sql to create stored procedures for lease dumps:
lease4DumpHeader
lease4DumpData
lease6DumpHeader
lease6DumpData
src/bin/admin/scripts/pgsql/dhcpdb_create.pgsql
Changes table references in lease6DumpData() to match
convention used in MySQL lease6DumpData()
src/bin/admin/tests/mysql_tests.sh.in
mysql_lease4_dump_test() - change lease4 test leases to have differing
values for lease4.state
mysql_lease6_dump_test() - change lease4 test leases to have differing
values for lease6.state
mysql.lease4_dump_test.reference.csv
mysql.lease6_dump_test.reference.csv
Changed reference files to use lease_state.name values rather than
lease.state to match dump query output and new test data
src/bin/admin/scripts/mysql
deleted the following files as they are now obsolete
leave_dump_1.0.sh
leave_dump_2.0.sh
leave_dump_3.0.sh
leave_dump_4.0.sh
Makefile.am - removed entries for deleted lease dump scripts
- Added comments in AllocEngine
- decline message clarified
- counters are now unsigned
- several asserts added in unit-tests
- missing doxygen entry added
lease_dump_1.0.sh - deleted, now obsolete
src/bin/admin/scripts/pgsql/Makefile.am
removed entries for lease_dump_1.0.sh
src/bin/admin/kea-admin.in
get_dump_query() - modified SQL text returned for Postgres backend
which calls stored functions to produce lease dumps rather than
SQL texti from lease_dump_<version>.sh
src/bin/admin/scripts/pgsql/dhcpdb_create.pgsql
added statments to create lease dump functions:
lease4DumpHeader
lease4DumpData
lease6DumpHeader
lease6DumpData
src/bin/admin/tests/data/pgsql.lease6_dump_test.reference.csv
Booleans were expected be 't' or 'f', changed to int 1 or 0
Add the options used by PXE
rfc4578 (dhcpv4)
93 Client_System (arch type)
94 Client NDI (network Interface id)
97 UUID/GUID client machine option def
rfc5970 (dhcpv6)
59 BOOTFILE_URL
60 BOOTFILE_PARAM
61 CLIENT_ARCH_TYPE
62 NII
Option 60 requires a special class in order to process the length & string tuples
As some unreleated tests used option 59 as an undefined option they needed to be
updated to use another option.