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