diff options
author | Thomas Markwalder <tmark@isc.org> | 2023-06-16 13:31:34 +0200 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2023-06-22 13:43:36 +0200 |
commit | d5e3f1873159536923503cf859195693f40f4d53 (patch) | |
tree | ab306492a338c32099899b49aefddf3f52b41b24 /src/lib/dhcpsrv/pgsql_lease_mgr.h | |
parent | [#2380] reverted some changes (diff) | |
download | kea-d5e3f1873159536923503cf859195693f40f4d53.tar.xz kea-d5e3f1873159536923503cf859195693f40f4d53.zip |
[#2909] Migrated v6 addresses to inet
src/share/database/scripts/pgsql/upgrade_016_to_017.sh.in
New file
configure.ac
Added new upgrade file
src/bin/admin/tests/pgsql_tests.sh.in
Updated tests
src/lib/dhcpsrv/pgsql_host_data_source.cc
Modified SQL to convert ipv6_reservations.address to/from inet
src/lib/dhcpsrv/pgsql_lease_mgr.*
Modified SQL to convert lease6.address to/from inet
Removed binaddr column
Removed PgSqlLeaseMgr::upgradeBinaryAddress6()
src/lib/pgsql/pgsql_connection.h
Updated schema version
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
Altered lease6,ipv6_reservastions table
Updated v6 dump and upload functions
Diffstat (limited to 'src/lib/dhcpsrv/pgsql_lease_mgr.h')
-rw-r--r-- | src/lib/dhcpsrv/pgsql_lease_mgr.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.h b/src/lib/dhcpsrv/pgsql_lease_mgr.h index 12435dd0a7..8b60e4231f 100644 --- a/src/lib/dhcpsrv/pgsql_lease_mgr.h +++ b/src/lib/dhcpsrv/pgsql_lease_mgr.h @@ -722,7 +722,6 @@ public: GET_LEASE6_DUID_IAID_SUBID, // Get lease6 by DUID, IAID and subnet ID GET_LEASE6_PAGE, // Get page of leases beginning with an address GET_LEASE6_UCTX_PAGE, // Get page of leases with user context - GET_LEASE6_BINADDR_PAGE, // Get page of leases with null binary address GET_LEASE6_SUBID, // Get IPv6 leases by subnet ID GET_LEASE6_DUID, // Get IPv6 leases by DUID GET_LEASE6_HOSTNAME, // Get IPv6 leases by hostname @@ -1118,17 +1117,6 @@ private: /// @return The number of updates in the database. virtual size_t upgradeExtendedInfo4(const LeasePageSize& page_size) override; - /// @brief Upgrade binary address (v6). - /// - /// On SQL backends for all leases with null binary address set this - /// new column. Memfile uses IOAddress objects so does not need it. - /// This function implements the new BLQ hook command named - /// "binary-address6-upgrade". - /// - /// @param page_size The page size used for retrieval. - /// @return The number of updates in the database. - virtual size_t upgradeBinaryAddress6(const LeasePageSize& page_size) override; - /// @brief Build extended info v6 tables. /// /// @param update Update extended info in database. |