 |
Kea
1.5.0
|
Go to the documentation of this file.
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
isc::data::ElementPtr externalize() const
Externalize the map to a list Element.
void internalize(isc::data::ConstElementPtr list)
Internalize a list Element.
Defines the logger used by the top-level component of kea-dhcp-ddns.
void add(SubnetID id, isc::data::ElementPtr resv)
Add a host reservation to the map.
std::map< SubnetID, isc::data::ElementPtr > CfgHostsMap
The type of the internal map.
Utility class to represent host reservation configurations internally as a map keyed by subnet IDs,...
isc::data::ConstElementPtr get(SubnetID id) const
Return the host reservations for a subnet ID.
boost::shared_ptr< Element > ElementPtr
boost::shared_ptr< const Element > ConstElementPtr
uint32_t SubnetID
Unique identifier for a subnet (both v4 and v6)