7#ifndef CFG_MAC_SOURCE_H
8#define CFG_MAC_SOURCE_H
57 void add(uint32_t source);
Wrapper class that holds MAC/hardware address sources.
void add(uint32_t source)
Adds additional MAC/hardware address acquisition.
void clear()
Removes any configured MAC/Hardware address sources.
virtual isc::data::ElementPtr toElement() const
Unparse a configuration object.
const CfgMACSources & get() const
Provides access to the configure MAC/Hardware address sources.
CfgMACSource()
Default constructor.
CfgMACSources mac_sources_
Actual MAC sources storage.
static uint32_t MACSourceFromText(const std::string &name)
Attempts to convert known hardware address sources to uint32_t.
boost::shared_ptr< Element > ElementPtr
std::vector< uint32_t > CfgMACSources
Container for defined MAC/hardware address sources.
Defines the logger used by the top-level component of kea-lfc.
Abstract class for configuration Cfg_* classes.