Kea 2.7.6
|
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 | |
using | CfgControlSocketPtr = std::shared_ptr<CfgControlSocket> |
Defines a pointer for CfgControlSocket instances. | |
using | CfgServerPtr = std::shared_ptr<CfgServer> |
Defines a pointer for CfgServer instances. | |
using | CfgServersMap = std::unordered_map<std::string, CfgServerPtr> |
Defines a map of CfgServers, keyed by the name. | |
using | CfgServersMapPair = std::pair<std::string, CfgServerPtr> |
Defines a iterator pairing of name and CfgServer. | |
using | CfgServersMapPtr = std::shared_ptr<CfgServersMap> |
Defines a pointer to map of CfgServers. | |
using | ControlSocketBasePtr = std::shared_ptr<ControlSocketBase> |
Type definition for the pointer to the ControlSocketBase . | |
using | HttpControlSocketPtr = std::shared_ptr<HttpControlSocket> |
Type definition for the pointer to the HttpControlSocket . | |
using | NetconfAgentPtr = std::shared_ptr<NetconfAgent> |
Type definition for the pointer to the NetconfAgent . | |
using | NetconfCfgMgrPtr = boost::shared_ptr<NetconfCfgMgr> |
Defines a shared pointer to NetconfCfgMgr. | |
using | NetconfConfigPtr = boost::shared_ptr<NetconfConfig> |
Pointer to a configuration context. | |
using | NetconfControllerPtr = std::shared_ptr<NetconfController> |
using | NetconfProcessPtr = boost::shared_ptr<NetconfProcess> |
Defines a shared pointer to NetconfProcess. | |
using | StdoutControlSocketPtr = std::shared_ptr<StdoutControlSocket> |
Type definition for the pointer to the StdoutControlSocket . | |
using | UnixControlSocketPtr = std::shared_ptr<UnixControlSocket> |
Type definition for the pointer to the UnixControlSocket . | |
Functions | |
ControlSocketBasePtr | controlSocketFactory (CfgControlSocketPtr ctrl_sock) |
Factory function for control sockets. | |
template<CfgControlSocket::Type TYPE> | |
ControlSocketBasePtr | createControlSocket (CfgControlSocketPtr ctrl_sock) |
Factory template for control sockets. | |
template<> | |
ControlSocketBasePtr | createControlSocket< CfgControlSocket::Type::HTTP > (CfgControlSocketPtr ctrl_sock) |
Factory template specialization for http control sockets. | |
template<> | |
ControlSocketBasePtr | createControlSocket< CfgControlSocket::Type::HTTP > (CfgControlSocketPtr ctrl_sock) |
Factory template specialization for http control sockets. | |
template<> | |
ControlSocketBasePtr | createControlSocket< CfgControlSocket::Type::STDOUT > (CfgControlSocketPtr ctrl_sock) |
Factory template specialization for stdout control sockets. | |
template<> | |
ControlSocketBasePtr | createControlSocket< CfgControlSocket::Type::STDOUT > (CfgControlSocketPtr ctrl_sock) |
Factory template specialization for stdout control sockets. | |
template<> | |
ControlSocketBasePtr | createControlSocket< CfgControlSocket::Type::UNIX > (CfgControlSocketPtr ctrl_sock) |
Factory template specialization for unix control sockets. | |
template<> | |
ControlSocketBasePtr | createControlSocket< CfgControlSocket::Type::UNIX > (CfgControlSocketPtr ctrl_sock) |
Factory template specialization for unix control sockets. | |
ostream & | operator<< (std::ostream &os, const CfgServer &server) |
Dumps the contents of a CfgServer as text to a output stream. | |
using isc::netconf::CfgControlSocketPtr = std::shared_ptr<CfgControlSocket> |
Defines a pointer for CfgControlSocket instances.
Definition at line 143 of file netconf_config.h.
using isc::netconf::CfgServerPtr = std::shared_ptr<CfgServer> |
Defines a pointer for CfgServer instances.
Definition at line 272 of file netconf_config.h.
using isc::netconf::CfgServersMap = std::unordered_map<std::string, CfgServerPtr> |
Defines a map of CfgServers, keyed by the name.
Definition at line 275 of file netconf_config.h.
using isc::netconf::CfgServersMapPair = std::pair<std::string, CfgServerPtr> |
Defines a iterator pairing of name and CfgServer.
Definition at line 278 of file netconf_config.h.
using isc::netconf::CfgServersMapPtr = std::shared_ptr<CfgServersMap> |
Defines a pointer to map of CfgServers.
Definition at line 281 of file netconf_config.h.
using isc::netconf::ControlSocketBasePtr = std::shared_ptr<ControlSocketBase> |
Type definition for the pointer to the ControlSocketBase
.
Definition at line 106 of file control_socket.h.
using isc::netconf::HttpControlSocketPtr = std::shared_ptr<HttpControlSocket> |
Type definition for the pointer to the HttpControlSocket
.
Definition at line 76 of file http_control_socket.h.
using isc::netconf::NetconfAgentPtr = std::shared_ptr<NetconfAgent> |
Type definition for the pointer to the NetconfAgent
.
using isc::netconf::NetconfCfgMgrPtr = boost::shared_ptr<NetconfCfgMgr> |
Defines a shared pointer to NetconfCfgMgr.
Definition at line 176 of file netconf_cfg_mgr.h.
using isc::netconf::NetconfConfigPtr = boost::shared_ptr<NetconfConfig> |
Pointer to a configuration context.
Definition at line 22 of file netconf_cfg_mgr.h.
using isc::netconf::NetconfControllerPtr = std::shared_ptr<NetconfController> |
Definition at line 78 of file netconf_controller.h.
using isc::netconf::NetconfProcessPtr = boost::shared_ptr<NetconfProcess> |
Defines a shared pointer to NetconfProcess.
Definition at line 99 of file netconf_process.h.
using isc::netconf::StdoutControlSocketPtr = std::shared_ptr<StdoutControlSocket> |
Type definition for the pointer to the StdoutControlSocket
.
Definition at line 78 of file stdout_control_socket.h.
using isc::netconf::UnixControlSocketPtr = std::shared_ptr<UnixControlSocket> |
Type definition for the pointer to the UnixControlSocket
.
Definition at line 76 of file unix_control_socket.h.
ControlSocketBasePtr isc::netconf::controlSocketFactory | ( | CfgControlSocketPtr | ctrl_sock | ) |
Factory function for control sockets.
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 createControlSocket< CfgControlSocket::Type::HTTP >(), createControlSocket< CfgControlSocket::Type::STDOUT >(), createControlSocket< CfgControlSocket::Type::UNIX >(), isc::netconf::CfgControlSocket::getType(), isc::netconf::CfgControlSocket::HTTP, isc_throw, isc::netconf::CfgControlSocket::STDOUT, and isc::netconf::CfgControlSocket::UNIX.
Referenced by isc::netconf::NetconfAgent::change(), isc::netconf::NetconfAgent::done(), isc::netconf::NetconfAgent::keaConfig(), and isc::netconf::NetconfAgent::yangConfig().
ControlSocketBasePtr isc::netconf::createControlSocket | ( | CfgControlSocketPtr | ctrl_sock | ) |
Factory template for control sockets.
TYPE | The control socket type. |
ctrl_sock | The control socket configuration. |
NotImplemented | if no specialization was called. |
Definition at line 115 of file control_socket.h.
References isc_throw.
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 31 of file http_control_socket.cc.
Referenced by controlSocketFactory().
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 31 of file http_control_socket.cc.
Referenced by controlSocketFactory().
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 24 of file stdout_control_socket.cc.
Referenced by controlSocketFactory().
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 24 of file stdout_control_socket.cc.
Referenced by controlSocketFactory().
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 28 of file unix_control_socket.cc.
Referenced by controlSocketFactory().
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 28 of file unix_control_socket.cc.
Referenced by controlSocketFactory().
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 122 of file netconf_config.cc.
References isc::netconf::CfgServer::toText().
|
extern |
Definition at line 11 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::yangConfig().
|
extern |
Definition at line 13 of file netconf_messages.h.
|
extern |
Definition at line 12 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::logChanges().
|
extern |
Definition at line 14 of file netconf_messages.h.
Referenced by isc::netconf::NetconfCfgMgr::parse().
|
extern |
Definition at line 15 of file netconf_messages.h.
Referenced by isc::netconf::NetconfCfgMgr::parse().
|
extern |
Definition at line 16 of file netconf_messages.h.
Referenced by isc::netconf::ParserContext::warning().
|
extern |
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.
|
extern |
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.
|
extern |
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::change(), isc::netconf::NetconfAgent::done(), isc::netconf::NetconfAgent::keaConfig(), isc::netconf::NetconfAgent::logChanges(), and isc::netconf::NetconfAgent::yangConfig().
|
extern |
Definition at line 17 of file netconf_messages.h.
Referenced by isc::netconf::NetconfProcess::run().
|
extern |
Definition at line 18 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::keaConfig().
|
extern |
Definition at line 19 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::keaConfig().
|
extern |
Definition at line 20 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::keaConfig().
isc::log::Logger isc::netconf::netconf_logger | ( | NETCONF_LOGGER_NAME | ) |
Base logger for the netconf agent.
Definition at line 49 of file netconf_log.h.
Referenced by isc::netconf::NetconfAgent::change(), isc::netconf::NetconfAgent::checkModule(), isc::netconf::NetconfAgent::checkModules(), isc::netconf::NetconfAgent::done(), isc::netconf::NetconfAgent::keaConfig(), isc::netconf::NetconfAgent::logChanges(), isc::netconf::NetconfCfgMgr::parse(), isc::netconf::NetconfProcess::run(), isc::netconf::NetconfAgent::subscribeToDataChanges(), isc::netconf::NetconfAgent::subscribeToNotifications(), isc::netconf::ParserContext::warning(), 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 21 of file netconf_log.cc.
|
extern |
Definition at line 21 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::subscribeToDataChanges().
|
extern |
Definition at line 22 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::checkModule().
|
extern |
Definition at line 23 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::checkModules().
|
extern |
Definition at line 24 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::checkModule().
|
extern |
Definition at line 25 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::checkModules().
|
extern |
Definition at line 28 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::subscribeToNotifications().
|
extern |
Definition at line 26 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::subscribeToNotifications().
|
extern |
Definition at line 27 of file netconf_messages.h.
|
extern |
Definition at line 29 of file netconf_messages.h.
Referenced by isc::netconf::NetconfProcess::run().
|
extern |
Definition at line 30 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::yangConfig().
|
extern |
Definition at line 31 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::yangConfig().
|
extern |
Definition at line 32 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::yangConfig().
|
extern |
Definition at line 33 of file netconf_messages.h.
Referenced by isc::netconf::NetconfProcess::run().
|
extern |
Definition at line 34 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::subscribeToDataChanges().
|
extern |
Definition at line 35 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::subscribeToDataChanges().
|
extern |
Definition at line 36 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::subscribeToNotifications().
|
extern |
Definition at line 37 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::done().
|
extern |
Definition at line 38 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::done().
|
extern |
Definition at line 39 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::done().
|
extern |
Definition at line 40 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::done().
|
extern |
Definition at line 41 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::change().
|
extern |
Definition at line 42 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::change().
|
extern |
Definition at line 43 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::change().
|
extern |
Definition at line 44 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::change().
|
extern |
Definition at line 45 of file netconf_messages.h.
Referenced by isc::netconf::NetconfAgent::change().