32 std::string lc = lease_checks->stringValue();
36 }
else if (lc ==
"warn") {
38 }
else if (lc ==
"fix") {
40 }
else if (lc ==
"fix-del") {
42 }
else if (lc ==
"del") {
46 <<
", supported values are: none, warn, fix, fix-del, del");
LeaseSanity
Values for subnet-id sanity checks done for leases.
To be removed. Please use ConfigError instead.
void parse(SrvConfig &srv_cfg, const isc::data::ConstElementPtr &value)
parses JSON structure
Specifies current DHCP configuration.
CfgConsistencyPtr getConsistency()
Returns const pointer to object holding sanity checks flags.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-lfc.