/// @brief Return all hosts in a DHCPv4 subnet.
///
/// This method returns all @ref Host objects which represent reservations
- /// in a specified subnet.
+ /// in a specified subnet. Global reservations are returned for the
+ /// subnet id 0.
///
/// @param subnet_id subnet identifier to filter by
///
/// @brief Return all hosts in a DHCPv6 subnet.
///
/// This method returns all @ref Host objects which represent reservations
- /// in a specified subnet.
+ /// in a specified subnet. Global reservations are returned for the
+ /// subnet id 0.
///
/// @param subnet_id subnet identifier to filter by
///
/// @brief Returns range of hosts in a DHCPv4 subnet.
///
- /// This method returns a page of @c Host objects which represent
- /// reservations in a specified subnet.
+ /// This method implements paged browsing of host databases. The
+ /// parameters specify a page size, an index in sources and the
+ /// starting host id of the range. If not zero this host id is
+ /// excluded from the returned range. When a source is exhausted
+ /// the index is updated. There is no guarantee about the order
+ /// of returned host reservations, only the sources and
+ /// reservations from the same source are ordered.
///
/// @param subnet_id Subnet identifier.
/// @param source_index Index of the source (unused).
/// @brief Returns range of hosts in a DHCPv6 subnet.
///
- /// This method returns a page of @c Host objects which represent
- /// reservations in a specified subnet.
+ /// This method implements paged browsing of host databases. The
+ /// parameters specify a page size, an index in sources and the
+ /// starting host id of the range. If not zero this host id is
+ /// excluded from the returned range. When a source is exhausted
+ /// the index is updated. There is no guarantee about the order
+ /// of returned host reservations, only the sources and
+ /// reservations from the same source are ordered.
///
/// @param subnet_id Subnet identifier.
/// @param source_index Index of the source (unused).
/// same subnet can be retrieved properly.
///
/// Uses gtest macros to report failures.
- /// @param id Identifier type.
+ /// @param id Identifier type (hwaddr or duid).
void testGetAll4(const Host::IdentifierType& id);
/// @brief Test that Verifies that IPv6 host reservations in the
/// same subnet can be retrieved properly.
///
/// Uses gtest macros to report failures.
- /// @param id Identifier type.
+ /// @param id Identifier type (hwaddr or duid).
void testGetAll6(const Host::IdentifierType& id);
/// @brief Test that Verifies that pages of host reservations in the
/// same subnet can be retrieved properly.
///
/// Uses gtest macros to report failures.
- /// @param id Identifier type.
+ /// @param id Identifier type (hwaddr or duid).
void testGetPage4(const Host::IdentifierType& id);
/// @brief Test that Verifies that pages of host reservations in the
/// same subnet can be retrieved properly.
///
/// Uses gtest macros to report failures.
- /// @param id Identifier type.
+ /// @param id Identifier type (hwaddr or duid).
void testGetPage6(const Host::IdentifierType& id);
/// @brief Test inserts several hosts with unique IPv4 address and
/// @brief Returns range of hosts in a DHCPv4 subnet.
///
+ /// This method implements paged browsing of host databases. The
+ /// parameters specify a page size, an index in sources and the
+ /// starting host id of the range. If not zero this host id is
+ /// excluded from the returned range. When a source is exhausted
+ /// the index is updated. There is no guarantee about the order
+ /// of returned host reservations, only the sources and
+ /// reservations from the same source are ordered.
+ ///
/// @param subnet_id Subnet identifier.
/// @param source_index Index of the source.
/// @param lower_host_id Host identifier used as lower bound for the
/// @brief Returns range of hosts in a DHCPv6 subnet.
///
+ /// This method implements paged browsing of host databases. The
+ /// parameters specify a page size, an index in sources and the
+ /// starting host id of the range. If not zero this host id is
+ /// excluded from the returned range. When a source is exhausted
+ /// the index is updated. There is no guarantee about the order
+ /// of returned host reservations, only the sources and
+ /// reservations from the same source are ordered.
+ ///
/// @param subnet_id Subnet identifier.
/// @param source_index Index of the source.
/// @param lower_host_id Host identifier used as lower bound for the