22 const char* NetconfController::netconf_app_name_ =
"Netconf";
25 const char* NetconfController::netconf_bin_name_ =
"kea-netconf";
28 NetconfController::instance() {
31 if (!getController()) {
33 setController(controller_ptr);
36 return (getController());
40 NetconfController::processSignal(
int signum) {
41 if (signum == SIGHUP) {
49 NetconfController::createProcess() {
56 NetconfController::parseFile(
const std::string& name) {
58 return (parser.
parseFile(name, ParserContext::PARSER_NETCONF));
61 NetconfController::NetconfController()
70 return (boost::dynamic_pointer_cast<NetconfProcess>(
getProcess()));
boost::shared_ptr< DControllerBase > DControllerBasePtr
#define LOG_WARN(LOGGER, MESSAGE)
Macro to conveniently test warn output and log it.
virtual void processSignal(int signum)
Application-level signal processing method.
DProcessBasePtr getProcess()
Fetches the current process.
isc::log::Logger dctl_logger("dctl")
Defines the logger used within libkea-process library.
const char *const config_report[]
isc::data::ElementPtr parseFile(const std::string &filename, ParserType parser_type)
Run the parser on the file specified.
boost::shared_ptr< const Element > ConstElementPtr
Kea Netconf Application Process.
Process Controller for Netconf Process.
Defines the logger used by the top-level component of kea-dhcp-ddns.
Parser context is a wrapper around flex/bison instances dedicated to Netconf-agent config file parser...
boost::shared_ptr< NetconfProcess > NetconfProcessPtr
Defines a shared pointer to NetconfProcess.
Application Process Interface.
const char *const * netconf_config_report
NetconfProcessPtr getNetconfProcess()
Returns pointer to an instance of the underlying process object.
virtual ~NetconfController()
Destructor.
const isc::log::MessageID DCTL_UNSUPPORTED_SIGNAL