diff options
author | Thomas Markwalder <tmark@isc.org> | 2022-02-21 20:03:29 +0100 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2022-02-24 16:57:54 +0100 |
commit | 2e5707aa6a516e451bb1e10846ce2c5a3e8acd95 (patch) | |
tree | 3111dc34d22b2ec69a5dd0a2951c99dc3ff79846 /configure.ac | |
parent | [#2326] fix are-scripts-in-sync.py not showing added or missing lines (diff) | |
download | kea-2e5707aa6a516e451bb1e10846ce2c5a3e8acd95.tar.xz kea-2e5707aa6a516e451bb1e10846ce2c5a3e8acd95.zip |
[#2322] Adds client classes to Postgresql CB v4
configure.ac
added src/share/database/scripts/pgsql/upgrade_009_to_010.sh
src/bin/admin/tests/pgsql_tests.sh.in
pgsql_upgrade_8_0_to_9_0()
pgsql_upgrade_9_0_to_10_0()
- added/improved upgrade tests
src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp4.cc
Implemented client class functions
src/hooks/dhcp/pgsql_cb/pgsql_query_macros_dhcp.h
Modified client class related queries
src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_dhcp4_unittest.cc
TEST_F(PgSqlConfigBackendDHCPv4Test, setAndGetAllClientClasses4Test)
TEST_F(PgSqlConfigBackendDHCPv4Test, getClientClass4Test)
TEST_F(PgSqlConfigBackendDHCPv4Test, createUpdateClientClass4OptionsTest)
TEST_F(PgSqlConfigBackendDHCPv4Test, getModifiedClientClasses4Test)
TEST_F(PgSqlConfigBackendDHCPv4Test, deleteClientClass4Test)
TEST_F(PgSqlConfigBackendDHCPv4Test, deleteAllClientClasses4Test)
TEST_F(PgSqlConfigBackendDHCPv4Test, clientClassDependencies4Test)
TEST_F(PgSqlConfigBackendDHCPv4Test, multipleAuditEntriesTest)
- new tests
src/lib/pgsql/pgsql_connection.h
Updated schema version to 10.0
src/share/database/scripts/pgsql/Makefile.am
Added upgrade_009_to_010.sh
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
Schema updated to 10.0:
Replace setClientClass<4/6>Order()
- wrong local variable type, replace int constants with
boolean constants
dhcp<4/6>_client_class_dependency tables -
- primary key needs to be composite to allow muliptle rows per class id
func_dhcp<4/6>_client_class_check_dependency_BINS() - trigger functions
need to return NEW not NULL
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7abf4a910e..2cc5484cf2 100644 --- a/configure.ac +++ b/configure.ac @@ -1844,6 +1844,8 @@ AC_CONFIG_FILES([src/share/database/scripts/pgsql/upgrade_007_to_008.sh], [chmod +x src/share/database/scripts/pgsql/upgrade_007_to_008.sh]) AC_CONFIG_FILES([src/share/database/scripts/pgsql/upgrade_008_to_009.sh], [chmod +x src/share/database/scripts/pgsql/upgrade_008_to_009.sh]) +AC_CONFIG_FILES([src/share/database/scripts/pgsql/upgrade_009_to_010.sh], + [chmod +x src/share/database/scripts/pgsql/upgrade_009_to_010.sh]) AC_CONFIG_FILES([src/share/database/scripts/pgsql/wipe_data.sh], [chmod +x src/share/database/scripts/pgsql/wipe_data.sh]) AC_CONFIG_FILES([src/share/yang/Makefile]) |