26template<
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());
Base class for implementing mechanisms to control the use of the Configuration Backends by DHCPv4 and...
CBControlDHCP()
Constructor.
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 server specific mechanisms to control the use of the Configuration Backen...
CBControlBase()
Constructor.
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.
boost::shared_ptr< SrvConfig > SrvConfigPtr
Non-const pointer to the SrvConfig.
Defines the logger used by the top-level component of kea-lfc.
Tag for the index for access by value name.