26 template<
typename ConfigBackendMgrType>
48 for (
auto cb_global = index.begin(); cb_global != index.end(); ++cb_global) {
50 if ((*cb_global)->amNull()) {
54 external_cfg->addConfiguredGlobal((*cb_global)->getName(),
55 (*cb_global)->getElementValue());
63 #endif // CB_CTL_DHCP_H
CBControlBase()
Constructor.
Base class for implementing server specific mechanisms to control the use of the Configuration Backen...
boost::shared_ptr< SrvConfig > SrvConfigPtr
Non-const pointer to the SrvConfig.
void addGlobalsToConfig(SrvConfigPtr external_cfg, data::StampedValueCollection &cb_globals) const
Adds globals fetched from config backend(s) to a SrvConfig instance.
Base class for implementing mechanisms to control the use of the Configuration Backends by DHCPv4 and...
CBControlDHCP()
Constructor.
Tag for the index for access by value name.
Defines the logger used by the top-level component of kea-dhcp-ddns.
boost::multi_index_container< StampedValuePtr, boost::multi_index::indexed_by< boost::multi_index::hashed_non_unique< boost::multi_index::tag< StampedValueNameIndexTag >, boost::multi_index::const_mem_fun< StampedValue, std::string,&StampedValue::getName > >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< StampedValueModificationTimeIndexTag >, boost::multi_index::const_mem_fun< BaseStampedElement, boost::posix_time::ptime,&BaseStampedElement::getModificationTime > > >> StampedValueCollection
Multi index container for StampedValue.