Lease4Collection
LeaseMgr::getLeases4ByRelayId(const OptionBuffer& /* relay_id */,
- const IOAddress& /* link_addr */,
const IOAddress& /* lower_bound_address */,
const LeasePageSize& /* page_size */,
const time_t& /* qry_start_time = 0 */,
const time_t& /* qry_end_time = 0 */) {
- isc_throw(NotImplemented, __FILE__ << ":" << __LINE__ << " - " << __FUNCTION__);
+ isc_throw(NotImplemented, "LeaseMgr::getLeases4ByRelayId not implemented");
}
Lease4Collection
LeaseMgr::getLeases4ByRemoteId(const OptionBuffer& /* remote_id */,
- const IOAddress& /* link_addr */,
const IOAddress& /* lower_bound_address */,
const LeasePageSize& /* page_size */,
const time_t& /* qry_start_time = 0 */,
const time_t& /* qry_end_time = 0 */) {
- isc_throw(NotImplemented, __FILE__ << ":" << __LINE__ << " - " << __FUNCTION__);
+ isc_throw(NotImplemented, "LeaseMgr::getLeases4ByRemoteId not implemented");
}
Lease6Collection
const IOAddress& /* link_addr */,
const IOAddress& /* lower_bound_address */,
const LeasePageSize& /* page_size */) {
- isc_throw(NotImplemented, __FILE__ << ":" << __LINE__ << " - " << __FUNCTION__);
+ isc_throw(NotImplemented, "LeaseMgr::getLeases6ByRelayId not implemented");
}
Lease6Collection
const IOAddress& /* link_addr */,
const IOAddress& /* lower_bound_address */,
const LeasePageSize& /* page_size*/) {
- isc_throw(NotImplemented, __FILE__ << ":" << __LINE__ << " - " << __FUNCTION__);
+ isc_throw(NotImplemented, "LeaseMgr::getLeases6ByRemoteId not implemented");
}
Lease6Collection
LeaseMgr::getLeases6ByLink(const IOAddress& /* link_addr */,
const IOAddress& /* lower_bound_address */,
const LeasePageSize& /* page_size */) {
- isc_throw(NotImplemented, __FILE__ << ":" << __LINE__ << " - " << __FUNCTION__);
+ isc_throw(NotImplemented, "LeaseMgr::getLeases6ByLink not implemented");
}
} // namespace isc::dhcp
/// @brief Returns existing IPv4 leases with a given relay-id
///
- /// @param relay_id DUID for relay_id of interest
- /// @param link_addr limit results to leases on this link when not ::
+ /// @param relay_id RAI Relay-ID sub-option value for relay_id of interest
/// @param lower_bound_address IPv4 address used as lower bound for the
/// returned range.
/// @param page_size maximum size of the page returned.
///
/// @return collection of IPv4 leases
virtual Lease4Collection getLeases4ByRelayId(const OptionBuffer& relay_id,
- const asiolink::IOAddress& link_addr,
const asiolink::IOAddress& lower_bound_address,
const LeasePageSize& page_size,
const time_t& qry_start_time = 0,
/// @brief Returns existing IPv4 leases with a given remote-id
///
- /// @param remote_id remote-id option data of interest
- /// @param link_addr limit results to leases on this link when not ::
+ /// @param remote_id RAI Remote-ID sub-option value for remote-id of interest
/// @param lower_bound_address IPv4 address used as lower bound for the
/// returned range.
/// @param page_size maximum size of the page returned.
///
/// @return collection of IPv4 leases
virtual Lease4Collection getLeases4ByRemoteId(const OptionBuffer& remote_id,
- const asiolink::IOAddress& link_addr,
const asiolink::IOAddress& lower_bound_address,
const LeasePageSize& page_size,
const time_t& qry_start_time = 0,