2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-03 15:35:17 +00:00

[#2033] fixed comments

This commit is contained in:
Razvan Becheriu
2021-10-22 16:19:52 +03:00
committed by Thomas Markwalder
parent 7aea435444
commit e169fd1ad7
2 changed files with 8 additions and 8 deletions

View File

@@ -39,8 +39,8 @@ known subnets. The parameters supplied along with an explanation should
be logged. be logged.
% STAT_CMDS_LEASE4_ORPHANED_STATS stat-lease4-get command omitted statistics for one or more non-existent subnets % STAT_CMDS_LEASE4_ORPHANED_STATS stat-lease4-get command omitted statistics for one or more non-existent subnets
During processing the stat-lease4-get found statistics for subnet IDs which During processing the stat-lease4-get found statistics for subnet IDs for
for non-existent subnets. These values were omitted from the command response non-existent subnets. These values were omitted from the command response
returned to the user. This may occur when subnets have been removed from returned to the user. This may occur when subnets have been removed from
the configuration in a manner that did not also remove the statistics. While the configuration in a manner that did not also remove the statistics. While
the existence of such statistics is not harmful, steps should be considered the existence of such statistics is not harmful, steps should be considered
@@ -70,8 +70,8 @@ known subnets. The parameters supplied along with an explanation should
be logged. be logged.
% STAT_CMDS_LEASE6_ORPHANED_STATS stat-lease6-get command omitted statistics for one or more non-existent subnets % STAT_CMDS_LEASE6_ORPHANED_STATS stat-lease6-get command omitted statistics for one or more non-existent subnets
During processing the stat-lease4-get found statistics for subnet IDs which During processing the stat-lease4-get found statistics for subnet IDs for
for non-existent subnets. These values were omitted from the command response non-existent subnets. These values were omitted from the command response
returned to the user. This may occur when subnets have been removed from returned to the user. This may occur when subnets have been removed from
the configuration in a manner that did not also remove the statistics. While the configuration in a manner that did not also remove the statistics. While
the existence of such statistics is not harmful, steps should be considered the existence of such statistics is not harmful, steps should be considered

View File

@@ -345,7 +345,7 @@ public:
lmptr_ = 0; lmptr_ = 0;
} }
/// @brief Initializes lease manager for v6 operation /// @brief Initializes lease manager for v4 operation
/// ///
/// Creates a lease manager (memfile, trimmed down to keep everything in memory /// Creates a lease manager (memfile, trimmed down to keep everything in memory
/// only) and adds five subnets to the configuration. /// only) and adds five subnets to the configuration.
@@ -788,7 +788,7 @@ TEST_F(StatCmdsTest, StatLease4GetBadParams) {
// These test scenarios are all valid, and not expected to throw. // These test scenarios are all valid, and not expected to throw.
TEST_F(StatCmdsTest, statLease4GetValid) { TEST_F(StatCmdsTest, statLease4GetValid) {
// Initialize lease manager (false = v4, false = don't add leases) // Initialize lease manager.
initLeaseMgr4(); initLeaseMgr4();
// Note timestamp actual values are not important but are included // Note timestamp actual values are not important but are included
@@ -987,7 +987,7 @@ TEST_F(StatCmdsTest, statLease4GetValid) {
// result in no matching subnets. // result in no matching subnets.
TEST_F(StatCmdsTest, statLease4GetSubnetsNotFound) { TEST_F(StatCmdsTest, statLease4GetSubnetsNotFound) {
// Initialize lease manager (false = v4, false = don't add leases) // Initialize lease manager.
initLeaseMgr4(); initLeaseMgr4();
// Note timestamp actual values are not important but are included // Note timestamp actual values are not important but are included
@@ -1479,7 +1479,7 @@ TEST_F(StatCmdsTest, statLease6GetSubnetsNotFound) {
// exist are dropped from the result sets. // exist are dropped from the result sets.
TEST_F(StatCmdsTest, statLease4OrphanedStats) { TEST_F(StatCmdsTest, statLease4OrphanedStats) {
// Initialize lease manager (false = v4, false = don't add leases) // Initialize lease manager.
initLeaseMgr4(); initLeaseMgr4();
// Now remove subnets 10,30, and 50 thereby orphaning their leases. // Now remove subnets 10,30, and 50 thereby orphaning their leases.