diff --git a/src/lib/dhcpsrv/mysql_lease_mgr.cc b/src/lib/dhcpsrv/mysql_lease_mgr.cc index 791e52a4af..43be8a948d 100644 --- a/src/lib/dhcpsrv/mysql_lease_mgr.cc +++ b/src/lib/dhcpsrv/mysql_lease_mgr.cc @@ -3373,14 +3373,14 @@ MySqlLeaseMgr::deleteExtendedInfo6(const IOAddress& /* addr */) { void MySqlLeaseMgr::addRelayId6(const IOAddress& /* lease_addr */, const IOAddress& /* link_addr */, - const vector& relay_id) { + const vector& /* relay_id */) { isc_throw(NotImplemented, "MySqlLeaseMgr::addRelayId6 not implemented"); } void MySqlLeaseMgr::addRemoteId6(const IOAddress& /* lease_addr */, const IOAddress& /* link_addr */, - const vector& remote_id) { + const vector& /* remote_id */) { isc_throw(NotImplemented, "MySqlLeaseMgr::addRemoteId6 not implemented"); } diff --git a/src/lib/dhcpsrv/mysql_lease_mgr.h b/src/lib/dhcpsrv/mysql_lease_mgr.h index 786d63567a..876a3b68d0 100644 --- a/src/lib/dhcpsrv/mysql_lease_mgr.h +++ b/src/lib/dhcpsrv/mysql_lease_mgr.h @@ -1145,6 +1145,17 @@ protected: } } + /// @brief Decode parameters to set whether the lease extended info tables + /// are enabled. + /// + /// @note: common code in constructors. + /// + /// @param parameters The parameter map. + virtual void setExtendedInfoTablesEnabled(const db::DatabaseConnection::ParameterMap& /* parameters */) override { + isc_throw(isc::NotImplemented, + "extended info tables are not yet supported by mysql"); + } + /// @brief Delete lease6 extended info from tables. /// /// @param addr The address of the lease. diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.cc b/src/lib/dhcpsrv/pgsql_lease_mgr.cc index 4149cd7f21..db9f9cb569 100644 --- a/src/lib/dhcpsrv/pgsql_lease_mgr.cc +++ b/src/lib/dhcpsrv/pgsql_lease_mgr.cc @@ -2567,14 +2567,14 @@ PgSqlLeaseMgr::deleteExtendedInfo6(const IOAddress& /* addr */) { void PgSqlLeaseMgr::addRelayId6(const IOAddress& /* lease_addr */, const IOAddress& /* link_addr */, - const vector& relay_id) { + const vector& /* relay_id */) { isc_throw(NotImplemented, "PgSqlLeaseMgr::addRelayId6 not implemented"); } void PgSqlLeaseMgr::addRemoteId6(const IOAddress& /* lease_addr */, const IOAddress& /* link_addr */, - const vector& remote_id) { + const vector& /* remote_id */) { isc_throw(NotImplemented, "PgSqlLeaseMgr::addRemoteId6 not implemented"); } diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.h b/src/lib/dhcpsrv/pgsql_lease_mgr.h index f7bb7e64b9..f2b3beaa3b 100644 --- a/src/lib/dhcpsrv/pgsql_lease_mgr.h +++ b/src/lib/dhcpsrv/pgsql_lease_mgr.h @@ -1104,6 +1104,21 @@ protected: } } + /// @brief Decode parameters to set whether the lease extended info tables + /// are enabled. + /// + /// @note: common code in constructors. + /// + /// @param parameters The parameter map. + virtual void setExtendedInfoTablesEnabled(const db::DatabaseConnection::ParameterMap& /* parameters */) override { + isc_throw(isc::NotImplemented, + "extended info tables are not yet supported by mysql"); + } + + /// @brief Delete lease6 extended info from tables. + /// + /// @param addr The address of the lease. + /// @brief Delete lease6 extended info from tables. /// /// @param addr The address of the lease. diff --git a/src/lib/dhcpsrv/tests/lease_mgr_unittest.cc b/src/lib/dhcpsrv/tests/lease_mgr_unittest.cc index 8549252c30..cb187cb53c 100644 --- a/src/lib/dhcpsrv/tests/lease_mgr_unittest.cc +++ b/src/lib/dhcpsrv/tests/lease_mgr_unittest.cc @@ -407,7 +407,7 @@ public: void addRelayId6(const IOAddress& /* lease_addr */, const IOAddress& /* link_addr */, - const vector& relay_id) override { + const vector& /* relay_id */) override { isc_throw(NotImplemented, "ConcreteLeaseMgr::addRelayId6 not implemented"); } @@ -415,7 +415,7 @@ public: void addRemoteId6(const IOAddress& /* lease_addr */, const IOAddress& /* link_addr */, - const vector& remote_id) override { + const vector& /* remote_id */) override { isc_throw(NotImplemented, "ConcreteLeaseMgr::addRemoteId6 not implemented"); }