 |
Kea
1.5.0
|
Go to the documentation of this file.
16 #include <boost/foreach.hpp>
17 #include <boost/lexical_cast.hpp>
18 #include <boost/algorithm/string.hpp>
40 DCfgMgrBase::~DCfgMgrBase() {
44 DCfgMgrBase::resetContext() {
61 const std::function<
void()>& post_config_cb) {
64 std::string(
"Can't parse NULL config")));
67 DCTL_CONFIG_START).arg(config_set->str());
83 answer = parse(config_set, check_only);
103 .arg(getConfigSummary(0))
107 }
catch (
const std::exception& ex) {
112 context_ = original_context;
119 context_ = original_context;
#define LOG_ERROR(LOGGER, MESSAGE)
Macro to conveniently test error output and log it.
ConstElementPtr createAnswer(const int status_code, const std::string &text, const ConstElementPtr &arg)
boost::shared_ptr< ConfigBase > ConfigPtr
Non-const pointer to the SrvConfig.
Defines the logger used by the top-level component of kea-dhcp-ddns.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
#define LOG_DEBUG(LOGGER, LEVEL, MESSAGE)
Macro to conveniently test debug output and log it.
const int DBGLVL_COMMAND
This debug level is reserved for logging the exchange of messages/commands between processes,...
std::string answerToText(const ConstElementPtr &msg)
Exception thrown if the configuration manager encounters an error.
isc::log::Logger dctl_logger("dctl")
Defines the logger used within libkea-process library.
ConstElementPtr parseAnswer(int &rcode, const ConstElementPtr &msg)
boost::shared_ptr< Element > ElementPtr
boost::shared_ptr< const Element > ConstElementPtr
#define LOG_INFO(LOGGER, MESSAGE)
Macro to conveniently test info output and log it.