23 const char* NetconfController::netconf_app_name_ =
"Netconf";
26 const char* NetconfController::netconf_bin_name_ =
"kea-netconf";
29 NetconfController::instance() {
32 if (!getController()) {
34 setController(controller_ptr);
37 return (getController());
41 NetconfController::processSignal(
int signum) {
42 if (signum == SIGHUP) {
50 NetconfController::createProcess() {
57 NetconfController::parseFile(
string const& name) {
59 return (parser.
parseFile(name, ParserContext::PARSER_NETCONF));
62 NetconfController::NetconfController()
68 return (boost::dynamic_pointer_cast<NetconfProcess>(
getProcess()));
Process Controller for Netconf Process.
NetconfProcessPtr getNetconfProcess()
Returns pointer to an instance of the underlying process object.
Kea Netconf Application Process.
Parser context is a wrapper around flex/bison instances dedicated to Netconf-agent config file parser...
isc::data::ElementPtr parseFile(const std::string &filename, ParserType parser_type)
Run the parser on the file specified.
virtual void processSignal(int signum)
Application-level signal processing method.
DProcessBasePtr getProcess()
Fetches the current process.
Application Process Interface.
#define LOG_WARN(LOGGER, MESSAGE)
Macro to conveniently test warn output and log it.
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< NetconfProcess > NetconfProcessPtr
Defines a shared pointer to NetconfProcess.
isc::log::Logger dctl_logger("dctl")
Defines the logger used within libkea-process library.
boost::shared_ptr< DControllerBase > DControllerBasePtr
const isc::log::MessageID DCTL_UNSUPPORTED_SIGNAL
Defines the logger used by the top-level component of kea-lfc.