7#ifndef CFG_CONSISTENCY_H
8#define CFG_CONSISTENCY_H
61 lease_sanity_check_ = l;
68 return (lease_sanity_check_);
80 extended_info_sanity_check_ = l;
87 return (extended_info_sanity_check_);
ExtendedInfoSanity
Values for extended info sanity checks done for leases.
@ EXTENDED_INFO_CHECK_STRICT
@ EXTENDED_INFO_CHECK_PEDANTIC
@ EXTENDED_INFO_CHECK_FIX
@ EXTENDED_INFO_CHECK_NONE
virtual isc::data::ElementPtr toElement() const
Returns JSON representation.
void setLeaseSanityCheck(LeaseSanity l)
Sets specific sanity checks mode for leases.
LeaseSanity
Values for subnet-id sanity checks done for leases.
ExtendedInfoSanity getExtendedInfoSanityCheck() const
Returns specific sanity checks mode for extended info.
CfgConsistency()
Constructor.
LeaseSanity getLeaseSanityCheck() const
Returns specific sanity checks mode for leases.
void setExtendedInfoSanityCheck(ExtendedInfoSanity l)
Sets specific sanity checks mode for extended info.
static std::string sanityCheckToText(LeaseSanity check_type)
Converts lease sanity check value to printable text.
boost::shared_ptr< Element > ElementPtr
boost::shared_ptr< CfgConsistency > CfgConsistencyPtr
Type used to for pointing to CfgConsistency structure.
boost::shared_ptr< const CfgConsistency > ConstCfgConsistencyPtr
Type used to for pointing to const CfgConsistency structure.
Defines the logger used by the top-level component of kea-lfc.
Abstract class for configuration Cfg_* classes.
Base class for user context.