7 #ifndef NETCONF_CFG_MGR_H
8 #define NETCONF_CFG_MGR_H
14 #include <boost/pointer_cast.hpp>
54 configured_globals_->set(name, value);
61 return (servers_map_);
68 return (servers_map_);
75 return (hooks_config_);
82 return (hooks_config_);
138 return (boost::dynamic_pointer_cast<NetconfConfig>(
getContext()));
186 #endif // NETCONF_CFG_MGR_H
Netconf Configuration Context.
virtual isc::data::ElementPtr toElement() const
Unparse a configuration object.
isc::hooks::HooksConfig & getHooksConfig()
Returns non-const reference to configured hooks libraries.
Base class for all configurations.
isc::data::ConstElementPtr getConfiguredGlobals() const
Returns pointer to configured global parameters.
boost::shared_ptr< Element > ElementPtr
Wrapper class that holds hooks libraries configuration.
Ctrl Netconf Configuration Manager.
virtual std::string getConfigSummary(const uint32_t selection)
Returns configuration summary in the textual format.
CfgServersMapPtr & getCfgServersMap()
Returns non-const reference to the managed servers map.
A collection of classes for housing and parsing the application configuration necessary for the Netco...
std::list< std::list< std::string > > jsonPathsToRedact() const
Return a list of all paths that contain passwords or secrets for kea-netconf.
boost::shared_ptr< const Element > ConstElementPtr
virtual ~NetconfCfgMgr()
Destructor.
NetconfConfig()
Default constructor.
virtual isc::data::ConstElementPtr parse(isc::data::ConstElementPtr config, bool check_only)
Parses configuration of Netconf.
NetconfCfgMgr()
Constructor.
Defines the logger used by the top-level component of kea-dhcp-ddns.
boost::shared_ptr< NetconfCfgMgr > NetconfCfgMgrPtr
Defines a shared pointer to NetconfCfgMgr.
virtual process::ConfigPtr createNewContext()
Creates a new, blank NetconfConfig context.
const CfgServersMapPtr & getCfgServersMap() const
Returns const reference to the managed servers map.
NetconfConfigPtr getNetconfConfig()
Convenience method that returns the Netconf configuration context.
void addConfiguredGlobal(const std::string &name, isc::data::ConstElementPtr value)
Adds a parameter to the collection configured globals.
ConfigPtr & getContext()
Fetches the configuration context.
const isc::hooks::HooksConfig & getHooksConfig() const
Returns const reference to configured hooks libraries.
boost::shared_ptr< ConfigBase > ConfigPtr
Non-const pointer to the ConfigBase.
boost::shared_ptr< CfgServersMap > CfgServersMapPtr
Defines a pointer to map of CfgServers.
void extractConfiguredGlobals(isc::data::ConstElementPtr config)
Saves scalar elements from the global scope of a configuration.
boost::shared_ptr< NetconfConfig > NetconfConfigPtr
Pointer to a configuration context.