mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 23:45:27 +00:00
[#1418] Checkpoint: more renames
This commit is contained in:
@@ -484,7 +484,7 @@ global_param: valid_lifetime
|
||||
| t1_percent
|
||||
| t2_percent
|
||||
| cache_threshold
|
||||
| cache_max
|
||||
| cache_max_age
|
||||
| loggers
|
||||
| hostname_char_set
|
||||
| hostname_char_replacement
|
||||
|
@@ -612,7 +612,7 @@ configureDhcp4Server(Dhcpv4Srv& server, isc::data::ConstElementPtr config_set,
|
||||
(config_pair.first == "t1-percent") ||
|
||||
(config_pair.first == "t2-percent") ||
|
||||
(config_pair.first == "cache-threshold") ||
|
||||
(config_pair.first == "cache-max") ||
|
||||
(config_pair.first == "cache-max-age") ||
|
||||
(config_pair.first == "loggers") ||
|
||||
(config_pair.first == "hostname-char-set") ||
|
||||
(config_pair.first == "hostname-char-replacement") ||
|
||||
|
@@ -745,7 +745,7 @@ configureDhcp6Server(Dhcpv6Srv& server, isc::data::ConstElementPtr config_set,
|
||||
(config_pair.first == "t1-percent") ||
|
||||
(config_pair.first == "t2-percent") ||
|
||||
(config_pair.first == "cache-threshold") ||
|
||||
(config_pair.first == "cache-max") ||
|
||||
(config_pair.first == "cache-max-age") ||
|
||||
(config_pair.first == "loggers") ||
|
||||
(config_pair.first == "hostname-char-set") ||
|
||||
(config_pair.first == "hostname-char-replacement") ||
|
||||
|
@@ -192,8 +192,8 @@ BaseNetworkParser::parseCacheParams(const ConstElementPtr& network_data,
|
||||
network->setCacheThreshold(cache_threshold);
|
||||
}
|
||||
|
||||
if (network_data->contains("cache-max")) {
|
||||
network->setCacheMax(getInteger(network_data, "cache-max"));
|
||||
if (network_data->contains("cache-max-age")) {
|
||||
network->setCacheMaxAge(getInteger(network_data, "cache-max-age"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -66,7 +66,7 @@ protected:
|
||||
///
|
||||
/// The parsed parameters are:
|
||||
/// - cache-threshold,
|
||||
/// - cache-max.
|
||||
/// - cache-max-age.
|
||||
///
|
||||
/// @param network_data Data element holding network configuration
|
||||
/// to be parsed.
|
||||
|
@@ -88,7 +88,7 @@ const SimpleKeywords SimpleParser4::GLOBAL4_PARAMETERS = {
|
||||
{ "statistic-default-sample-age", Element::integer },
|
||||
{ "multi-threading", Element::map },
|
||||
{ "cache-threshold", Element::real },
|
||||
{ "cache-max", Element::integer }
|
||||
{ "cache-max-age", Element::integer }
|
||||
};
|
||||
|
||||
/// @brief This table defines default global values for DHCPv4
|
||||
@@ -226,7 +226,7 @@ const SimpleKeywords SimpleParser4::SUBNET4_PARAMETERS = {
|
||||
{ "store-extended-info", Element::boolean },
|
||||
{ "metadata", Element::map },
|
||||
{ "cache-threshold", Element::real },
|
||||
{ "cache-max", Element::integer }
|
||||
{ "cache-max-age", Element::integer }
|
||||
};
|
||||
|
||||
/// @brief This table defines default values for each IPv4 subnet.
|
||||
@@ -279,7 +279,7 @@ const ParamsList SimpleParser4::INHERIT_TO_SUBNET4 = {
|
||||
"t2-percent",
|
||||
"store-extended-info",
|
||||
"cache-threshold",
|
||||
"cache-max"
|
||||
"cache-max-age"
|
||||
};
|
||||
|
||||
/// @brief This table defines all pool parameters.
|
||||
@@ -337,7 +337,7 @@ const SimpleKeywords SimpleParser4::SHARED_NETWORK4_PARAMETERS = {
|
||||
{ "store-extended-info", Element::boolean },
|
||||
{ "metadata", Element::map },
|
||||
{ "cache-threshold", Element::real },
|
||||
{ "cache-max", Element::integer }
|
||||
{ "cache-max-age", Element::integer }
|
||||
};
|
||||
|
||||
/// @brief This table defines default values for each IPv4 shared network.
|
||||
|
@@ -89,7 +89,7 @@ const SimpleKeywords SimpleParser6::GLOBAL6_PARAMETERS = {
|
||||
{ "statistic-default-sample-age", Element::integer },
|
||||
{ "multi-threading", Element::map },
|
||||
{ "cache-threshold", Element::real },
|
||||
{ "cache-max", Element::integer }
|
||||
{ "cache-max-age", Element::integer }
|
||||
};
|
||||
|
||||
/// @brief This table defines default global values for DHCPv6
|
||||
@@ -220,7 +220,7 @@ const SimpleKeywords SimpleParser6::SUBNET6_PARAMETERS = {
|
||||
{ "store-extended-info", Element::boolean },
|
||||
{ "metadata", Element::map },
|
||||
{ "cache-threshold", Element::real },
|
||||
{ "cache-max", Element::integer }
|
||||
{ "cache-max-age", Element::integer }
|
||||
};
|
||||
|
||||
/// @brief This table defines default values for each IPv6 subnet.
|
||||
@@ -273,7 +273,7 @@ const ParamsList SimpleParser6::INHERIT_TO_SUBNET6 = {
|
||||
"t2-percent",
|
||||
"store-extended-info",
|
||||
"cache-threshold",
|
||||
"cache-max"
|
||||
"cache-max-age"
|
||||
};
|
||||
|
||||
/// @brief This table defines all pool parameters.
|
||||
@@ -350,7 +350,7 @@ const SimpleKeywords SimpleParser6::SHARED_NETWORK6_PARAMETERS = {
|
||||
{ "store-extended-info", Element::boolean },
|
||||
{ "metadata", Element::map },
|
||||
{ "cache-threshold", Element::real },
|
||||
{ "cache-max", Element::integer }
|
||||
{ "cache-max-age", Element::integer }
|
||||
};
|
||||
|
||||
/// @brief This table defines default values for each IPv6 subnet.
|
||||
|
Reference in New Issue
Block a user