diff options
author | Francis Dupont <fdupont@isc.org> | 2023-05-24 00:44:11 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2023-05-25 23:03:53 +0200 |
commit | 9d33293c690e70441707f2f77feaae9ba31c538e (patch) | |
tree | 631cae2ba601e0fc3496ad9a3247e6bfe3602308 /src/lib/dhcpsrv/pgsql_lease_mgr.h | |
parent | [#2868] Checkpoint: adding upgradeBinaryAddress6 (diff) | |
download | kea-9d33293c690e70441707f2f77feaae9ba31c538e.tar.xz kea-9d33293c690e70441707f2f77feaae9ba31c538e.zip |
[#2868] Checkpoint: finished upgradeBinaryAddress6
Diffstat (limited to 'src/lib/dhcpsrv/pgsql_lease_mgr.h')
-rw-r--r-- | src/lib/dhcpsrv/pgsql_lease_mgr.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.h b/src/lib/dhcpsrv/pgsql_lease_mgr.h index 09e1ced554..c3369540ba 100644 --- a/src/lib/dhcpsrv/pgsql_lease_mgr.h +++ b/src/lib/dhcpsrv/pgsql_lease_mgr.h @@ -1089,6 +1089,17 @@ 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 objets 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. |