| t1_percent
| t2_percent
| cache_threshold
- | cache_max
+ | cache_max_age
| loggers
| hostname_char_set
| hostname_char_replacement
(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") ||
(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") ||
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"));
}
}
///
/// The parsed parameters are:
/// - cache-threshold,
- /// - cache-max.
+ /// - cache-max-age.
///
/// @param network_data Data element holding network configuration
/// to be parsed.
{ "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
{ "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.
"t2-percent",
"store-extended-info",
"cache-threshold",
- "cache-max"
+ "cache-max-age"
};
/// @brief This table defines all pool 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.
{ "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
{ "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.
"t2-percent",
"store-extended-info",
"cache-threshold",
- "cache-max"
+ "cache-max-age"
};
/// @brief This table defines all pool 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.