mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 22:15:23 +00:00
[392-search-of-reservations-by-hostname] Checkpont: add new methods - tests to write
This commit is contained in:
@@ -182,6 +182,41 @@ public:
|
||||
virtual ConstHostCollection
|
||||
getAll6(const SubnetID& subnet_id) const;
|
||||
|
||||
/// @brief Return all hosts with a hostname.
|
||||
///
|
||||
/// This method returns all @c Host objects which represent reservations
|
||||
/// using a specified hostname.
|
||||
///
|
||||
/// @param hostname The lower case hostname.
|
||||
///
|
||||
/// @return Collection of const @c Host objects.
|
||||
virtual ConstHostCollection
|
||||
getAllbyHostname(const std::string& hostname) const;
|
||||
|
||||
/// @brief Return all hosts with a hostname in a DHCPv4 subnet.
|
||||
///
|
||||
/// This method returns all @c Host objects which represent reservations
|
||||
/// using a specified hostname in a specified subnet.
|
||||
///
|
||||
/// @param hostname The lower case hostname.
|
||||
/// @param subnet_id Subnet identifier.
|
||||
///
|
||||
/// @return Collection of const @c Host objects.
|
||||
virtual ConstHostCollection
|
||||
getAllbyHostname4(const std::string& hostname, const SubnetID& subnet_id) const;
|
||||
|
||||
/// @brief Return all hosts with a hostname in a DHCPv6 subnet.
|
||||
///
|
||||
/// This method returns all @c Host objects which represent reservations
|
||||
/// using a specified hostname in a specified subnet.
|
||||
///
|
||||
/// @param hostname The lower case hostname.
|
||||
/// @param subnet_id Subnet identifier.
|
||||
///
|
||||
/// @return Collection of const @c Host objects.
|
||||
virtual ConstHostCollection
|
||||
getAllbyHostname6(const std::string& hostname, const SubnetID& subnet_id) const;
|
||||
|
||||
/// @brief Returns range of hosts in a DHCPv4 subnet.
|
||||
///
|
||||
/// This method implements paged browsing of host databases. The
|
||||
|
Reference in New Issue
Block a user