|
xorp
|
The FEA (Forwarding Engine Abstraction) node class. More...
#include <fea_node.hh>
Public Member Functions | |
| FeaNode (EventLoop &eventloop, FeaIo &fea_io, bool is_dummy) | |
| Constructor for a given event loop. | |
| virtual | ~FeaNode () |
| Destructor. | |
| int | startup () |
| Startup the service operation. | |
| int | shutdown () |
| Shutdown the service operation. | |
| bool | is_running () const |
| Test whether the service is running. | |
| bool | have_ipv4 () const |
| Return true if the underlying system supports IPv4. | |
| bool | have_ipv6 () const |
| Return true if the underlying system supports IPv6. | |
| bool | is_dummy () const |
| Test if running in dummy mode. | |
| EventLoop & | eventloop () |
| Get the event loop this service is added to. | |
| Profile & | profile () |
| Get the Profile instance. | |
| NexthopPortMapper & | nexthop_port_mapper () |
| Get the NexthopPortMapper instance. | |
| IfConfig & | ifconfig () |
| Get the IfConfig instance. | |
| FirewallManager & | firewall_manager () |
| Get the FirewallManager instance. | |
| FibConfig & | fibconfig () |
| Get the FibConfig instance. | |
| IoLinkManager & | io_link_manager () |
| Get the IoLinkManager instance. | |
| IoIpManager & | io_ip_manager () |
| Get the IoIpManager instance. | |
| IoTcpUdpManager & | io_tcpudp_manager () |
| Get the IoTcpUdpManager instance. | |
| int | register_data_plane_manager (FeaDataPlaneManager *fea_data_plane_manager, bool is_exclusive) |
| Register FeaDataPlaneManager data plane manager. | |
| int | unregister_data_plane_manager (FeaDataPlaneManager *fea_data_plane_manager) |
| Unregister FeaDataPlaneManager data plane manager. | |
| FeaIo & | fea_io () |
| Get the FEA I/O instance. | |
Private Member Functions | |
| int | load_data_plane_managers (string &error_msg) |
| Load the data plane managers. | |
| int | unload_data_plane_managers (string &error_msg) |
| Unload the data plane managers. | |
Private Attributes | |
| EventLoop & | _eventloop |
| bool | _is_running |
| bool | _is_dummy |
| Profile | _profile |
| NexthopPortMapper | _nexthop_port_mapper |
| IfConfig | _ifconfig |
| FirewallManager | _firewall_manager |
| FibConfig | _fibconfig |
| IoLinkManager | _io_link_manager |
| IoIpManager | _io_ip_manager |
| IoTcpUdpManager | _io_tcpudp_manager |
| list< FeaDataPlaneManager * > | _fea_data_plane_managers |
| FeaIo & | _fea_io |
The FEA (Forwarding Engine Abstraction) node class.
There should be one node per FEA instance.
| EventLoop& FeaNode::eventloop | ( | ) | [inline] |
| FeaIo& FeaNode::fea_io | ( | ) | [inline] |
| FibConfig& FeaNode::fibconfig | ( | ) | [inline] |
| FirewallManager& FeaNode::firewall_manager | ( | ) | [inline] |
Get the FirewallManager instance.
| bool FeaNode::have_ipv4 | ( | ) | const |
| bool FeaNode::have_ipv6 | ( | ) | const |
| IfConfig& FeaNode::ifconfig | ( | ) | [inline] |
| IoIpManager& FeaNode::io_ip_manager | ( | ) | [inline] |
Get the IoIpManager instance.
| IoLinkManager& FeaNode::io_link_manager | ( | ) | [inline] |
Get the IoLinkManager instance.
| IoTcpUdpManager& FeaNode::io_tcpudp_manager | ( | ) | [inline] |
Get the IoTcpUdpManager instance.
| bool FeaNode::is_dummy | ( | ) | const [inline] |
Test if running in dummy mode.
| bool FeaNode::is_running | ( | ) | const |
| int FeaNode::load_data_plane_managers | ( | string & | error_msg | ) | [private] |
| NexthopPortMapper& FeaNode::nexthop_port_mapper | ( | ) | [inline] |
Get the NexthopPortMapper instance.
| Profile& FeaNode::profile | ( | ) | [inline] |
| int FeaNode::register_data_plane_manager | ( | FeaDataPlaneManager * | fea_data_plane_manager, |
| bool | is_exclusive | ||
| ) |
Register FeaDataPlaneManager data plane manager.
| fea_data_plane_manager | the data plane manager to register. |
| is_exclusive | if true, the manager is registered as the exclusive manager, otherwise is added to the list of managers. |
| int FeaNode::shutdown | ( | ) |
| int FeaNode::startup | ( | ) |
| int FeaNode::unload_data_plane_managers | ( | string & | error_msg | ) | [private] |
| int FeaNode::unregister_data_plane_manager | ( | FeaDataPlaneManager * | fea_data_plane_manager | ) |
Unregister FeaDataPlaneManager data plane manager.
| fea_data_plane_manager | the data plane manager to unregister. |