///
/// Parses an integer triplet parameter of the form:
///
- /// min-<name>, <name>, max-<name>
+ /// min-{name}, {name}, max-{name}
///
/// @param scope Data element holding e.g. shared network configuration
/// to be parsed.
public:
/// @name Default values.
- //@{
+ ///@{
///
/// @brief Default value for reclaim-timer-wait-time.
static const uint16_t DEFAULT_RECLAIM_TIMER_WAIT_TIME;
/// @brief Default value for unwarned-reclaim-cycles.
static const uint16_t DEFAULT_UNWARNED_RECLAIM_CYCLES;
- //@}
+ ///@}
/// @name Upper limits for the parameters
- //@{
+ ///@{
///
/// @brief Maximum value for reclaim-timer-wait-time.
static const uint16_t LIMIT_RECLAIM_TIMER_WAIT_TIME;
/// @brief Maximum value for unwarned-reclaim-cycles.
static const uint16_t LIMIT_UNWARNED_RECLAIM_CYCLES;
- //@}
+ ///@}
/// @name Timers' names
- //@{
+ ///@{
/// @brief Name of the timer for reclaiming expired leases.
static const std::string RECLAIM_EXPIRED_TIMER_NAME;
/// @brief Name of the timer for flushing reclaimed leases.
static const std::string FLUSH_RECLAIMED_TIMER_NAME;
- //@}
+ ///@}
/// @brief Constructor.
///
};
/// @name Pointers to the @c CfgExpiration objects.
-//@{
+///@{
/// @brief Pointer to the Non-const object.
typedef boost::shared_ptr<CfgExpiration> CfgExpirationPtr;
/// @brief Pointer to the const object.
typedef boost::shared_ptr<const CfgExpiration> ConstCfgExpirationPtr;
-//@}
+///@}
template<typename Instance>
void
/// @brief Clear configuration.
virtual void clear();
- /// @brief Get the content of <directory>/<file-name> regular file.
+ /// @brief Get the content of {directory}/{file-name} regular file.
///
/// @param file_name The file name.
- /// @return The content of the <directory>/<file-name> regular file.
+ /// @return The content of the {directory}/{file-name} regular file.
std::string getFileContent(const std::string& file_name) const;
/// @brief Returns the list of client configuration.
You also need to install YANG modules, so the unit tests are able to
retrieve, add, update and generally interact with the sysrepo information.
-There are several Kea modules (src/share/yang/modules/*.yang), mostly usable in
+There are several Kea modules (*.yang in src/share/yang/modules/), mostly usable in
production, but one called keatest-module is only used in unit tests. To be able
to run unit tests as a non-root user, which is the recommended way, make sure
the sysrepo repository and /dev/shm/sr* are owned by said user. One way to