|
@@ -1,4 +1,4 @@
|
|
|
-// Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC")
|
|
|
+// Copyright (C) 2012-2017 Internet Systems Consortium, Inc. ("ISC")
|
|
|
//
|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
@@ -411,7 +411,7 @@ public:
|
|
|
bool isAllocated(const asiolink::IOAddress& prefix,
|
|
|
const uint8_t prefix_len = 128) const;
|
|
|
|
|
|
- /// @brief Conveniece function adding host identifier into
|
|
|
+ /// @brief Convenience function adding host identifier into
|
|
|
/// @ref host_identifiers_ list.
|
|
|
///
|
|
|
/// @param id_type Identifier type.
|
|
@@ -475,7 +475,7 @@ public:
|
|
|
|
|
|
/// @brief Allocates IPv6 leases for a given IA container
|
|
|
///
|
|
|
- /// This method uses the currently selected allocator to pick allocatable
|
|
|
+ /// This method uses the currently selected allocator to pick allocable
|
|
|
/// resources (i.e. addresses or prefixes) from specified subnet, creates
|
|
|
/// a lease (one or more, if needed) for that resources and then inserts
|
|
|
/// it into LeaseMgr (if this allocation is not fake, i.e. this is not a
|
|
@@ -590,12 +590,12 @@ public:
|
|
|
/// - executing "lease_expire6" hook,
|
|
|
/// - removing DNS record for a lease,
|
|
|
/// - reclaiming a lease in the database, i.e. setting its state to
|
|
|
- /// "expired-reclaimed" or removing it from the lease databse,
|
|
|
+ /// "expired-reclaimed" or removing it from the lease database,
|
|
|
/// - updating statistics of assigned and reclaimed leases
|
|
|
///
|
|
|
- /// Note: declined leases fall under the same expiration/reclaimation
|
|
|
+ /// Note: declined leases fall under the same expiration/reclamation
|
|
|
/// processing as normal leases. In principle, it would be more elegant
|
|
|
- /// to have a separate processing for declined leases reclaimation. However,
|
|
|
+ /// to have a separate processing for declined leases reclamation. However,
|
|
|
/// due to performance reasons we decided to use them together. Several
|
|
|
/// aspects were taken into consideration. First, normal leases are expected
|
|
|
/// to expire frequently, so in a typical deployment this method will have
|
|
@@ -617,7 +617,7 @@ public:
|
|
|
/// entry, stats dump, hooks).
|
|
|
///
|
|
|
/// @param max_leases Maximum number of leases to be reclaimed.
|
|
|
- /// @param timeout Maximum amount of time that the reclaimation routine
|
|
|
+ /// @param timeout Maximum amount of time that the reclamation routine
|
|
|
/// may be processing expired leases, expressed in milliseconds.
|
|
|
/// @param remove_lease A boolean value indicating if the lease should
|
|
|
/// be removed when it is reclaimed (if true) or it should be left in the
|
|
@@ -648,12 +648,12 @@ public:
|
|
|
/// - executing "lease_expire4" hook,
|
|
|
/// - removing DNS record for a lease,
|
|
|
/// - reclaiming a lease in the database, i.e. setting its state to
|
|
|
- /// "expired-reclaimed" or removing it from the lease databse,
|
|
|
+ /// "expired-reclaimed" or removing it from the lease database,
|
|
|
/// - updating statistics of assigned and reclaimed leases
|
|
|
///
|
|
|
- /// Note: declined leases fall under the same expiration/reclaimation
|
|
|
+ /// Note: declined leases fall under the same expiration/reclamation
|
|
|
/// processing as normal leases. In principle, it would be more elegant
|
|
|
- /// to have a separate processing for declined leases reclaimation. However,
|
|
|
+ /// to have a separate processing for declined leases reclamation. However,
|
|
|
/// due to performance reasons we decided to use them together. Several
|
|
|
/// aspects were taken into consideration. First, normal leases are expected
|
|
|
/// to expire frequently, so in a typical deployment this method will have
|
|
@@ -671,11 +671,11 @@ public:
|
|
|
/// declined leases. They are always removed.
|
|
|
///
|
|
|
/// Also, for declined leases @ref reclaimDeclinedLease4 is
|
|
|
- /// called. It conductsseveral declined specific operation (extra log
|
|
|
+ /// called. It conducts several declined specific operation (extra log
|
|
|
/// entry, stats dump, hooks).
|
|
|
///
|
|
|
/// @param max_leases Maximum number of leases to be reclaimed.
|
|
|
- /// @param timeout Maximum amount of time that the reclaimation routine
|
|
|
+ /// @param timeout Maximum amount of time that the reclamation routine
|
|
|
/// may be processing expired leases, expressed in milliseconds.
|
|
|
/// @param remove_lease A boolean value indicating if the lease should
|
|
|
/// be removed when it is reclaimed (if true) or it should be left in the
|
|
@@ -848,8 +848,8 @@ private:
|
|
|
ClientContext6& ctx,
|
|
|
uint8_t prefix_len);
|
|
|
|
|
|
- /// @brief Updates FQDN and Client's Last Tranmission Time for a collection
|
|
|
- /// of leases.
|
|
|
+ /// @brief Updates FQDN and Client's Last Transmission Time
|
|
|
+ /// for a collection of leases.
|
|
|
///
|
|
|
/// This method is executed when the server finds existing leases for a
|
|
|
/// client and updates some date for these leases if needed:
|
|
@@ -964,7 +964,7 @@ private:
|
|
|
|
|
|
/// @brief Marks lease as reclaimed in the database.
|
|
|
///
|
|
|
- /// This method is called internally by the leases reclaimation routines.
|
|
|
+ /// This method is called internally by the leases reclamation routines.
|
|
|
/// Depending on the value of the @c remove_lease parameter this method
|
|
|
/// will delete the reclaimed lease from the database or set its sate
|
|
|
/// to "expired-reclaimed". In the latter case it will also clear the
|
|
@@ -989,7 +989,7 @@ private:
|
|
|
/// @anchor reclaimDeclinedLease4
|
|
|
/// @brief Conducts steps necessary for reclaiming declined IPv4 lease.
|
|
|
///
|
|
|
- /// These are the additional steps required when recoving a declined lease:
|
|
|
+ /// These are the additional steps required when recovering a declined lease:
|
|
|
/// - bump decline recovered stat
|
|
|
/// - log lease recovery
|
|
|
/// - call lease4_recover hook
|
|
@@ -1002,7 +1002,7 @@ private:
|
|
|
/// @anchor reclaimDeclinedLease6
|
|
|
/// @brief Conducts steps necessary for reclaiming declined IPv6 lease.
|
|
|
///
|
|
|
- /// These are the additional steps required when recoving a declined lease:
|
|
|
+ /// These are the additional steps required when recovering a declined lease:
|
|
|
/// - bump decline recovered stat
|
|
|
/// - log lease recovery
|
|
|
/// - call lease6_recover hook
|
|
@@ -1092,7 +1092,7 @@ public:
|
|
|
/// received by the server.
|
|
|
IdentifierList host_identifiers_;
|
|
|
|
|
|
- /// @brief Conveniece function adding host identifier into
|
|
|
+ /// @brief Convenience function adding host identifier into
|
|
|
/// @ref host_identifiers_ list.
|
|
|
///
|
|
|
/// @param id_type Identifier type.
|
|
@@ -1348,7 +1348,7 @@ private:
|
|
|
/// or just picking an address for DISCOVER that is not really
|
|
|
/// allocated (true)
|
|
|
/// @return allocated lease (or NULL in the unlikely case of the lease just
|
|
|
- /// becomed unavailable)
|
|
|
+ /// become unavailable)
|
|
|
Lease4Ptr createLease4(const ClientContext4& ctx,
|
|
|
const isc::asiolink::IOAddress& addr);
|
|
|
|
|
@@ -1391,7 +1391,7 @@ private:
|
|
|
/// the new lease.
|
|
|
///
|
|
|
/// @param address Requested address for which the lease should be
|
|
|
- /// allocted.
|
|
|
+ /// allocated.
|
|
|
/// @param ctx Client context holding the data extracted from the
|
|
|
/// client's message.
|
|
|
///
|