7#ifndef CFG_HOSTS_UTIL_H
8#define CFG_HOSTS_UTIL_H
22 typedef std::map<SubnetID, isc::data::ElementPtr>
CfgHostsMap;
Utility class to represent host reservation configurations internally as a map keyed by subnet IDs,...
std::map< SubnetID, isc::data::ElementPtr > CfgHostsMap
The type of the internal map.
isc::data::ConstElementPtr get(SubnetID id) const
Return the host reservations for a subnet ID.
void internalize(isc::data::ConstElementPtr list)
Internalize a list Element.
void add(SubnetID id, isc::data::ElementPtr resv)
Add a host reservation to the map.
isc::data::ElementPtr externalize() const
Externalize the map to a list Element.
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< Element > ElementPtr
uint32_t SubnetID
Defines unique IPv4 or IPv6 subnet identifier.
Defines the logger used by the top-level component of kea-lfc.