Kea
1.9.9-git
|
Classes | |
class | CfgControlSocket |
Represents a Control Socket. More... | |
class | CfgServer |
Represents a Managed CfgServer. More... | |
class | ControlSocketBase |
Base class for control socket communication. More... | |
class | ControlSocketConfigParser |
Parser for CfgControlSocket. More... | |
class | ControlSocketError |
Exception thrown when the error during communication. More... | |
class | HttpControlSocket |
Class for control socket communication over HTTP socket. More... | |
class | NetconfAgent |
Netconf agent. More... | |
class | NetconfCfgMgr |
Ctrl Netconf Configuration Manager. More... | |
class | NetconfConfig |
Netconf Configuration Context. More... | |
class | NetconfController |
Process Controller for Netconf Process. More... | |
class | NetconfParser |
A Bison parser. More... | |
class | NetconfProcess |
Kea Netconf Application Process. More... | |
class | NetconfSimpleParser |
class | ParserContext |
Parser context is a wrapper around flex/bison instances dedicated to Netconf-agent config file parser. More... | |
class | ServerConfigParser |
Parser for CfgServer. More... | |
class | StdoutControlSocket |
Class for control socket communication over stdout. More... | |
class | UnixControlSocket |
Class for control socket communication over UNIX socket. More... | |
Typedefs | |
typedef boost::shared_ptr< CfgControlSocket > | CfgControlSocketPtr |
Defines a pointer for CfgControlSocket instances. More... | |
typedef boost::shared_ptr< CfgServer > | CfgServerPtr |
Defines a pointer for CfgServer instances. More... | |
typedef std::map< std::string, CfgServerPtr > | CfgServersMap |
Defines a map of CfgServers, keyed by the name. More... | |
typedef std::pair< std::string, CfgServerPtr > | CfgServersMapPair |
Defines a iterator pairing of name and CfgServer. More... | |
typedef boost::shared_ptr< CfgServersMap > | CfgServersMapPtr |
Defines a pointer to map of CfgServers. More... | |
typedef boost::shared_ptr< ControlSocketBase > | ControlSocketBasePtr |
Type definition for the pointer to the ControlSocketBase . More... | |
typedef boost::shared_ptr< HttpControlSocket > | HttpControlSocketPtr |
Type definition for the pointer to the HttpControlSocket . More... | |
typedef boost::shared_ptr< NetconfAgent > | NetconfAgentPtr |
Type definition for the pointer to the NetconfAgent . More... | |
typedef boost::shared_ptr< NetconfCfgMgr > | NetconfCfgMgrPtr |
Defines a shared pointer to NetconfCfgMgr. More... | |
typedef boost::shared_ptr< NetconfConfig > | NetconfConfigPtr |
Pointer to a configuration context. More... | |
typedef boost::shared_ptr< NetconfController > | NetconfControllerPtr |
typedef boost::shared_ptr< NetconfProcess > | NetconfProcessPtr |
Defines a shared pointer to NetconfProcess. More... | |
typedef boost::shared_ptr< StdoutControlSocket > | StdoutControlSocketPtr |
Type definition for the pointer to the StdoutControlSocket . More... | |
typedef boost::shared_ptr< UnixControlSocket > | UnixControlSocketPtr |
Type definition for the pointer to the UnixControlSocket . More... | |
Functions | |
ControlSocketBasePtr | createControlSocket (CfgControlSocketPtr ctrl_sock) |
Factory template for control sockets. More... | |
template<> | |
ControlSocketBasePtr | createControlSocket< CfgControlSocket::Type::HTTP > (CfgControlSocketPtr ctrl_sock) |
Factory template specialization for http control sockets. More... | |
template<> | |
ControlSocketBasePtr | createControlSocket< CfgControlSocket::Type::STDOUT > (CfgControlSocketPtr ctrl_sock) |
Factory template specialization for stdout control sockets. More... | |
template<> | |
ControlSocketBasePtr | createControlSocket< CfgControlSocket::Type::UNIX > (CfgControlSocketPtr ctrl_sock) |
Factory template specialization for unix control sockets. More... | |
ostream & | operator<< (std::ostream &os, const CfgServer &server) |
Dumps the contents of a CfgServer as text to a output stream. More... | |
typedef boost::shared_ptr<CfgControlSocket> isc::netconf::CfgControlSocketPtr |
Defines a pointer for CfgControlSocket instances.
Definition at line 144 of file netconf_config.h.
typedef boost::shared_ptr<CfgServer> isc::netconf::CfgServerPtr |
Defines a pointer for CfgServer instances.
Definition at line 252 of file netconf_config.h.
typedef std::map<std::string, CfgServerPtr> isc::netconf::CfgServersMap |
Defines a map of CfgServers, keyed by the name.
Definition at line 255 of file netconf_config.h.
typedef std::pair<std::string, CfgServerPtr> isc::netconf::CfgServersMapPair |
Defines a iterator pairing of name and CfgServer.
Definition at line 258 of file netconf_config.h.
typedef boost::shared_ptr<CfgServersMap> isc::netconf::CfgServersMapPtr |
Defines a pointer to map of CfgServers.
Definition at line 261 of file netconf_config.h.
typedef boost::shared_ptr<ControlSocketBase> isc::netconf::ControlSocketBasePtr |
Type definition for the pointer to the ControlSocketBase
.
Definition at line 107 of file control_socket.h.
typedef boost::shared_ptr<HttpControlSocket> isc::netconf::HttpControlSocketPtr |
Type definition for the pointer to the HttpControlSocket
.
Definition at line 77 of file http_control_socket.h.
typedef boost::shared_ptr<NetconfAgent> isc::netconf::NetconfAgentPtr |
Type definition for the pointer to the NetconfAgent
.
typedef boost::shared_ptr<NetconfCfgMgr> isc::netconf::NetconfCfgMgrPtr |
Defines a shared pointer to NetconfCfgMgr.
Definition at line 181 of file netconf_cfg_mgr.h.
typedef boost::shared_ptr<NetconfConfig> isc::netconf::NetconfConfigPtr |
Pointer to a configuration context.
Definition at line 21 of file netconf_cfg_mgr.h.
typedef boost::shared_ptr<NetconfController> isc::netconf::NetconfControllerPtr |
Definition at line 80 of file netconf_controller.h.
typedef boost::shared_ptr<NetconfProcess> isc::netconf::NetconfProcessPtr |
Defines a shared pointer to NetconfProcess.
Definition at line 104 of file netconf_process.h.
typedef boost::shared_ptr<StdoutControlSocket> isc::netconf::StdoutControlSocketPtr |
Type definition for the pointer to the StdoutControlSocket
.
Definition at line 78 of file stdout_control_socket.h.
typedef boost::shared_ptr<UnixControlSocket> isc::netconf::UnixControlSocketPtr |
Type definition for the pointer to the UnixControlSocket
.
Definition at line 77 of file unix_control_socket.h.
ControlSocketBasePtr isc::netconf::createControlSocket | ( | CfgControlSocketPtr | ctrl_sock | ) |
Factory template for control sockets.
Factory function for control sockets.
TYPE | The control socket type. |
ctrl_sock | The control socket configuration. |
NotImplemented | if no specialization was called. |
ctrl_sock | The control socket configuration. |
BadValue | if called with null or an unknown type. |
Definition at line 23 of file control_socket.cc.
References isc_throw.
Referenced by isc::netconf::NetconfAgent::keaConfig(), isc::netconf::NetconfAgent::update(), isc::netconf::NetconfAgent::validate(), and isc::netconf::NetconfAgent::yangConfig().
ControlSocketBasePtr isc::netconf::createControlSocket< CfgControlSocket::Type::HTTP > | ( | CfgControlSocketPtr | ctrl_sock | ) |
Factory template specialization for http control sockets.
ctrl_sock | The control socket configuration. |
Definition at line 32 of file http_control_socket.cc.
ControlSocketBasePtr isc::netconf::createControlSocket< CfgControlSocket::Type::STDOUT > | ( | CfgControlSocketPtr | ctrl_sock | ) |
Factory template specialization for stdout control sockets.
ctrl_sock | The control socket configuration. |
Definition at line 23 of file stdout_control_socket.cc.
ControlSocketBasePtr isc::netconf::createControlSocket< CfgControlSocket::Type::UNIX > | ( | CfgControlSocketPtr | ctrl_sock | ) |
Factory template specialization for unix control sockets.
ctrl_sock | The control socket configuration. |
Definition at line 29 of file unix_control_socket.cc.
std::ostream & isc::netconf::operator<< | ( | std::ostream & | os, |
const CfgServer & | server | ||
) |
Dumps the contents of a CfgServer as text to a output stream.
os | The output stream to which text should be sent. |
server | The CfgServer instance to dump. |
Definition at line 132 of file netconf_config.cc.
References isc::netconf::CfgServer::toText().
const isc::log::MessageID isc::netconf::NETCONF_BOOT_UPDATE_COMPLETED = "NETCONF_BOOT_UPDATE_COMPLETED" |
Definition at line 11 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::yangConfig().
const isc::log::MessageID isc::netconf::NETCONF_CONFIG_CHANGE_EVENT = "NETCONF_CONFIG_CHANGE_EVENT" |
Definition at line 13 of file netconf_messages.h.
const isc::log::MessageID isc::netconf::NETCONF_CONFIG_CHANGED_DETAIL = "NETCONF_CONFIG_CHANGED_DETAIL" |
Definition at line 12 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::logChanges().
const isc::log::MessageID isc::netconf::NETCONF_CONFIG_CHECK_FAIL = "NETCONF_CONFIG_CHECK_FAIL" |
Definition at line 14 of file netconf_messages.h.
Referenced by isc::netconf::NetconfCfgMgr::parse().
const isc::log::MessageID isc::netconf::NETCONF_CONFIG_FAIL = "NETCONF_CONFIG_FAIL" |
Definition at line 15 of file netconf_messages.h.
Referenced by isc::netconf::NetconfCfgMgr::parse().
const char* const* isc::netconf::netconf_config_report = isc::detail::config_report |
Definition at line 74 of file netconf_controller.cc.
const int isc::netconf::NETCONF_DBG_RESULTS = isc::log::DBGLVL_TRACE_BASIC_DATA |
Records the results of the commands.
Using the example of tracing commands to a server, this will just record the summary results.
Definition at line 35 of file netconf_log.h.
const int isc::netconf::NETCONF_DBG_TRACE = isc::log::DBGLVL_TRACE_BASIC |
Netconf agent logging levels.
Defines the levels used to output debug messages in the Netconf agent. Note that higher numbers equate to more verbose (and detailed) output. Traces normal operations.
E.g. sending a command to a server etc.
Definition at line 29 of file netconf_log.h.
const int isc::netconf::NETCONF_DBG_TRACE_DETAIL_DATA |
Additional information.
Record detailed tracing. This is generally reserved for tracing configurations from or to a server.
Definition at line 41 of file netconf_log.h.
Referenced by isc::netconf::NetconfAgent::keaConfig(), isc::netconf::NetconfAgent::logChanges(), isc::netconf::NetconfAgent::update(), isc::netconf::NetconfAgent::validate(), and isc::netconf::NetconfAgent::yangConfig().
const isc::log::MessageID isc::netconf::NETCONF_FAILED = "NETCONF_FAILED" |
Definition at line 16 of file netconf_messages.h.
Referenced by isc::netconf::NetconfProcess::run().
const isc::log::MessageID isc::netconf::NETCONF_GET_CONFIG = "NETCONF_GET_CONFIG" |
Definition at line 17 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::keaConfig().
const isc::log::MessageID isc::netconf::NETCONF_GET_CONFIG_FAILED = "NETCONF_GET_CONFIG_FAILED" |
Definition at line 18 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::keaConfig().
const isc::log::MessageID isc::netconf::NETCONF_GET_CONFIG_STARTED = "NETCONF_GET_CONFIG_STARTED" |
Definition at line 19 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::keaConfig().
const isc::log::MessageID isc::netconf::NETCONF_LOG_CHANGE_FAIL = "NETCONF_LOG_CHANGE_FAIL" |
Definition at line 20 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::logChanges().
isc::log::Logger isc::netconf::netconf_logger |
Base logger for the netconf agent.
Definition at line 49 of file netconf_log.h.
Referenced by isc::netconf::NetconfAgent::checkModule(), isc::netconf::NetconfAgent::checkModules(), isc::netconf::NetconfAgent::keaConfig(), isc::netconf::NetconfAgent::logChanges(), isc::netconf::NetconfCfgMgr::parse(), isc::netconf::NetconfProcess::run(), isc::netconf::NetconfAgent::subscribeConfig(), isc::netconf::NetconfAgent::update(), isc::netconf::NetconfAgent::validate(), and isc::netconf::NetconfAgent::yangConfig().
const char * isc::netconf::NETCONF_LOGGER_NAME = "netconf" |
Defines the name of the root level (default) logger.
Definition at line 22 of file netconf_log.cc.
const isc::log::MessageID isc::netconf::NETCONF_MODULE_INSTALL = "NETCONF_MODULE_INSTALL" |
Definition at line 21 of file netconf_messages.h.
const isc::log::MessageID isc::netconf::NETCONF_MODULE_MISSING_ERR = "NETCONF_MODULE_MISSING_ERR" |
Definition at line 22 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::checkModule().
const isc::log::MessageID isc::netconf::NETCONF_MODULE_MISSING_WARN = "NETCONF_MODULE_MISSING_WARN" |
Definition at line 23 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::checkModules().
const isc::log::MessageID isc::netconf::NETCONF_MODULE_REVISION_ERR = "NETCONF_MODULE_REVISION_ERR" |
Definition at line 24 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::checkModule().
const isc::log::MessageID isc::netconf::NETCONF_MODULE_REVISION_WARN = "NETCONF_MODULE_REVISION_WARN" |
Definition at line 25 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::checkModules().
const isc::log::MessageID isc::netconf::NETCONF_RUN_EXIT = "NETCONF_RUN_EXIT" |
Definition at line 26 of file netconf_messages.h.
Referenced by isc::netconf::NetconfProcess::run().
const isc::log::MessageID isc::netconf::NETCONF_SET_CONFIG = "NETCONF_SET_CONFIG" |
Definition at line 27 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::yangConfig().
const isc::log::MessageID isc::netconf::NETCONF_SET_CONFIG_FAILED = "NETCONF_SET_CONFIG_FAILED" |
Definition at line 28 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::yangConfig().
const isc::log::MessageID isc::netconf::NETCONF_SET_CONFIG_STARTED = "NETCONF_SET_CONFIG_STARTED" |
Definition at line 29 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::yangConfig().
const isc::log::MessageID isc::netconf::NETCONF_STARTED = "NETCONF_STARTED" |
Definition at line 30 of file netconf_messages.h.
Referenced by isc::netconf::NetconfProcess::run().
const isc::log::MessageID isc::netconf::NETCONF_SUBSCRIBE_CONFIG = "NETCONF_SUBSCRIBE_CONFIG" |
Definition at line 31 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::subscribeConfig().
const isc::log::MessageID isc::netconf::NETCONF_SUBSCRIBE_CONFIG_FAILED = "NETCONF_SUBSCRIBE_CONFIG_FAILED" |
Definition at line 32 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::subscribeConfig().
const isc::log::MessageID isc::netconf::NETCONF_UPDATE_CONFIG = "NETCONF_UPDATE_CONFIG" |
Definition at line 33 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::update().
const isc::log::MessageID isc::netconf::NETCONF_UPDATE_CONFIG_COMPLETED = "NETCONF_UPDATE_CONFIG_COMPLETED" |
Definition at line 34 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::update().
const isc::log::MessageID isc::netconf::NETCONF_UPDATE_CONFIG_FAILED = "NETCONF_UPDATE_CONFIG_FAILED" |
Definition at line 35 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::update().
const isc::log::MessageID isc::netconf::NETCONF_UPDATE_CONFIG_STARTED = "NETCONF_UPDATE_CONFIG_STARTED" |
Definition at line 36 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::update().
const isc::log::MessageID isc::netconf::NETCONF_VALIDATE_CONFIG = "NETCONF_VALIDATE_CONFIG" |
Definition at line 37 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::validate().
const isc::log::MessageID isc::netconf::NETCONF_VALIDATE_CONFIG_COMPLETED = "NETCONF_VALIDATE_CONFIG_COMPLETED" |
Definition at line 38 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::validate().
const isc::log::MessageID isc::netconf::NETCONF_VALIDATE_CONFIG_FAILED = "NETCONF_VALIDATE_CONFIG_FAILED" |
Definition at line 39 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::validate().
const isc::log::MessageID isc::netconf::NETCONF_VALIDATE_CONFIG_REJECTED = "NETCONF_VALIDATE_CONFIG_REJECTED" |
Definition at line 40 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::validate().
const isc::log::MessageID isc::netconf::NETCONF_VALIDATE_CONFIG_STARTED = "NETCONF_VALIDATE_CONFIG_STARTED" |
Definition at line 41 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::validate().