2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 06:25:34 +00:00

[trac3891] Typo level items

This commit is contained in:
Shawn Routhier
2015-09-16 17:11:14 -07:00
parent bd35732a22
commit c3ea8ed9ee
5 changed files with 9 additions and 9 deletions

View File

@@ -2727,13 +2727,13 @@ It is merely echoed by the server
<para> <para>
The server does not decrease assigned-addresses statistics The server does not decrease assigned-addresses statistics
when DHCPDECLINE is received and processed successfully. While when DHCPDECLINE is received and processed successfully. While
technically declined address is not assigned anymore, the primary usage technically a declined address is no longer assigned, the primary usage
of assigned-addresses statistic is to monitor pool utilization. Most of the assigned-addresses statistic is to monitor pool utilization. Most
people would forget to include declined-addresses in the calculation, people would forget to include declined-addresses in the calculation,
and simply do assigned-addresses/total-addresses. This would have a bias and simply do assigned-addresses/total-addresses. This would have a bias
towards under-representing pool utilization. As this has a towards under-representing pool utilization. As this has a
potential for major issues, we decided to decrease assigned potential for major issues, we decided not to decrease assigned
addresses not immediately after receiving DHCPDECLINE, but do addresses immediately after receiving DHCPDECLINE, but to do
it later when we recover the address back to the available pool. it later when we recover the address back to the available pool.
</para> </para>

View File

@@ -194,7 +194,7 @@ detected as a duplicate (i.e. another device in the network is using this addres
However, the server does not have a record for this address. This may indicate However, the server does not have a record for this address. This may indicate
a client's error or a server's purged database. a client's error or a server's purged database.
% DHCP4_DECLINE_LEASE_MISMATCH Received DHCPDECLINE for addr %1 from %2, but the data doesn't match: received hwaddr: %3, lease hwaddr: %4, received client-id: %5, lease client-id: %6 % DHCP4_DECLINE_LEASE_MISMATCH Received DHCPDECLINE for addr %1 from client %2, but the data doesn't match: received hwaddr: %3, lease hwaddr: %4, received client-id: %5, lease client-id: %6
This informational message means that a client attempted to report his address This informational message means that a client attempted to report his address
as declined (i.e. used by unknown entity). The server has information about as declined (i.e. used by unknown entity). The server has information about
a lease for that address, but the client's hardware address or client identifier a lease for that address, but the client's hardware address or client identifier

View File

@@ -1936,8 +1936,8 @@ Dhcpv4Srv::declineLease(const Lease4Ptr& lease, const std::string& descr) {
StatsMgr::instance().addValue("declined-addresses", static_cast<int64_t>(1)); StatsMgr::instance().addValue("declined-addresses", static_cast<int64_t>(1));
// We do not want to decrease the assigned-addresses at this time. While // We do not want to decrease the assigned-addresses at this time. While
// technically declined address is not allocated anymore, the primary usage // technically a declined address is no longer allocated, the primary usage
// of assigned-addresses statistic is to monitor pool utilization. Most // of the assigned-addresses statistic is to monitor pool utilization. Most
// people would forget to include declined-addresses in the calculation, // people would forget to include declined-addresses in the calculation,
// and simply do assigned-addresses/total-addresses. This would have a bias // and simply do assigned-addresses/total-addresses. This would have a bias
// towards under-representing pool utilization, if we decreased allocated // towards under-representing pool utilization, if we decreased allocated

View File

@@ -405,7 +405,7 @@ protected:
/// @brief Process incoming DHCPDECLINE messages. /// @brief Process incoming DHCPDECLINE messages.
/// ///
/// This method processes incoming DHCPDECLINE. In particular, it extracts /// This method processes incoming DHCPDECLINE. In particular, it extracts
/// Requested IP Address option, check that the address really belongs to /// Requested IP Address option, checks that the address really belongs to
/// the client and if it does, calls @ref declineLease. /// the client and if it does, calls @ref declineLease.
/// ///
/// @param decline message received from client /// @param decline message received from client

View File

@@ -197,7 +197,7 @@ DeclineTest::acquireAndDecline(const std::string& hw_address_1,
uint64_t after_global = declined_global->getInteger().first; uint64_t after_global = declined_global->getInteger().first;
ASSERT_TRUE(lease); ASSERT_TRUE(lease);
// We check if the deline process was successful by checking if the // We check if the decline process was successful by checking if the
// lease is in the database and what is its state. // lease is in the database and what is its state.
if (expected_result == SHOULD_PASS) { if (expected_result == SHOULD_PASS) {
EXPECT_EQ(Lease::STATE_DECLINED, lease->state_); EXPECT_EQ(Lease::STATE_DECLINED, lease->state_);