 |
Kea
1.5.0
|
Go to the documentation of this file.
7 #ifndef SANITY_CHECKER_H
8 #define SANITY_CHECKER_H
57 template<
typename LeaseType,
typename SubnetsType>
59 const SubnetsType& subnets);
68 template<
typename LeaseType,
typename SubnetsType>
69 SubnetID findSubnetId(
const LeaseType& lease,
const SubnetsType& subnets);
boost::shared_ptr< Lease4 > Lease4Ptr
Pointer to a Lease4 structure.
boost::shared_ptr< Lease6 > Lease6Ptr
Pointer to a Lease6 structure.
Defines the logger used by the top-level component of kea-dhcp-ddns.
boost::shared_ptr< CfgConsistency > CfgConsistencyPtr
Type used to for pointing to CfgConsistency structure.
Code used to conduct various sanity checks.
void checkLease(Lease4Ptr &lease, bool current=true)
Sanity checks and possibly corrects an IPv4 lease.
uint32_t SubnetID
Unique identifier for a subnet (both v4 and v6)