class FeaNode

The FEA (Forwarding Engine Abstraction) node class. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

There should be one node per FEA instance.

 FeaNode (EventLoop& eventloop, FeaIo& fea_io, bool is_dummy)

FeaNode

Constructor for a given event loop.

Parameters:

eventloopthe event loop to use.
fea_iothe FeaIo instance to use.
is_dummyif true, then run the FEA in dummy mode.
 ~FeaNode ()

~FeaNode

[virtual]

Destructor

int  startup ()

startup

Startup the service operation.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  shutdown ()

shutdown

Shutdown the service operation.

Gracefully shutdown the FEA.

Returns: XORP_OK on success, otherwise XORP_ERROR.

bool  is_running ()

is_running

[const]

Test whether the service is running.

Returns: true if the service is still running, otherwise false.

bool  have_ipv4 ()

have_ipv4

[const]

Return true if the underlying system supports IPv4.

Returns: true if the underlying system supports IPv4, otherwise false.

bool  have_ipv6 ()

have_ipv6

[const]

Return true if the underlying system supports IPv6.

Returns: true if the underlying system supports IPv6, otherwise false.

bool  is_dummy ()

is_dummy

[const]

Test if running in dummy mode.

Returns: true if running in dummy mode, otherwise false.

EventLoop&  eventloop ()

eventloop

Get the event loop this service is added to.

Returns: the event loop this service is added to.

Profile&  profile ()

profile

Get the Profile instance.

Returns: a reference to the Profile instance.

See also: Profile.

NexthopPortMapper&  nexthop_port_mapper ()

nexthop_port_mapper

Get the NexthopPortMapper instance.

Returns: a reference to the NexthopPortMapper instance.

See also: NexthopPortMapper.

IfConfig&  ifconfig ()

ifconfig

Get the IfConfig instance.

Returns: a reference to the IfConfig instance.

See also: IfConfig.

FirewallManager&  firewall_manager ()

firewall_manager

Get the FirewallManager instance.

Returns: a reference to the FirewallManager instance.

See also: FirewallManager.

FibConfig&  fibconfig ()

fibconfig

Get the FibConfig instance.

Returns: a reference to the FibConfig instance.

See also: FibConfig.

IoLinkManager&  io_link_manager ()

io_link_manager

Get the IoLinkManager instance.

Returns: a reference to the IoLinkManager instance.

See also: IoLinkManager.

IoIpManager&  io_ip_manager ()

io_ip_manager

Get the IoIpManager instance.

Returns: a reference to the IoIpManager instance.

See also: IoIpManager.

IoTcpUdpManager&  io_tcpudp_manager ()

io_tcpudp_manager

Get the IoTcpUdpManager instance.

Returns: a reference to the IoTcpUdpManager instance.

See also: IoTcpUdpManager.

int  register_data_plane_manager (FeaDataPlaneManager* fea_data_plane_manager, bool is_exclusive)

register_data_plane_manager

Register FeaDataPlaneManager data plane manager.

Parameters:

fea_data_plane_managerthe data plane manager to register.
is_exclusiveif true, the manager is registered as the exclusive manager, otherwise is added to the list of managers.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  unregister_data_plane_manager (FeaDataPlaneManager* fea_data_plane_manager)

unregister_data_plane_manager

Unregister FeaDataPlaneManager data plane manager.

Parameters:

fea_data_plane_managerthe data plane manager to unregister.

Returns: XORP_OK on success, otherwise XORP_ERROR.

FeaIo&  fea_io ()

fea_io

Get the FEA I/O instance.

Returns: reference to the FEA I/O instance.


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:50 2008, using kdoc 2.0a54+XORP.