/// deleted only if it is unusable.
/// @return false when not removed because it is not found or because it is
/// still usable (if_unusable is true), true otherwise.
- bool delBackend(const std::string& db_type, const std::string& access,
+ bool delBackend(const std::string& db_type, const std::string& dbaccess,
bool if_unusable) {
- return (pool_->del(db_type, access, if_unusable));
+ return (pool_->del(db_type, dbaccess, if_unusable));
}
/// @brief Returns underlying config backend pool.
/// @brief Sets IO service to be used by the Host Manager.
///
- /// @param IOService object, used for all ASIO operations.
+ /// @param io_service IOService object, used for all ASIO operations.
static void setIOService(const isc::asiolink::IOServicePtr& io_service) {
io_service_ = io_service;
}
/// @brief Sets IO service to be used by the Lease Manager.
///
- /// @param IOService object, used for all ASIO operations.
+ /// @param io_service IOService object, used for all ASIO operations.
static void setIOService(const isc::asiolink::IOServicePtr& io_service) {
io_service_ = io_service;
}
/// @brief Calculates TTL for a DNS resource record based on lease life time.
///
/// Per RFC 4702 Section 5, the RR TTL should be calculated as:
-/// TTL = ((lease life time / 3) < 10 minutes) ? 10 minutes : (lease life time / 3)
+/// TTL = ((lease life time / 3) < 10 minutes) ? 10 minutes : (lease life time / 3)
///
/// This function may be expanded in the future to support configurable
/// parameters.
///
-/// @param valid_lft valid life time of the lease
+/// @param lease_life_time valid life time of the lease
///
/// @return the calculated TTL.
uint32_t calculateDdnsTtl(uint32_t lease_life_time);
/// @brief Sets appropriate disabled or enabled DHCP service state for the
/// respective origin.
///
- /// @node If any of the user commands, HA internal commands or connection
+ /// @note If any of the user commands, HA internal commands or connection
/// recovery processes disable the dhcp service, the service will remain
/// disabled until all flags are cleared.
/// In the case of the connection recovery a reference count is used
/// @brief Disable the DHCP service state for respective transition origin.
///
- /// @node If any of the user commands, HA internal commands or connection
+ /// @note If any of the user commands, HA internal commands or connection
/// recovery processes disable the dhcp service, the service will remain
/// disabled until all flags are cleared.
///
/// @brief Enable the DHCP service state for respective transition origin.
///
- /// @node If any of the user commands, HA internal commands or connection
+ /// @note If any of the user commands, HA internal commands or connection
/// recovery processes disable the dhcp service, the service will remain
/// disabled until all flags are cleared.
///
/// Reset internal counters for a specific 'origin' after the server has
/// been reconfigured or all the connections have been restored.
///
- /// @param origin The origin for which the state flags need to be reset.
+ /// @param type The origin for which the state flags need to be reset.
void reset(const NetworkState::Origin& type);
/// @brief Enables DHCP service globally and for scopes which have been