class FibConfigTableSet


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

 FibConfigTableSet (FeaDataPlaneManager& fea_data_plane_manager)

FibConfigTableSet

Constructor.

Parameters:

fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).
 ~FibConfigTableSet ()

~FibConfigTableSet

[virtual]

Virtual destructor.

FibConfig&  fibconfig ()

fibconfig

Get the FibConfig instance.

Returns: the FibConfig instance.

FeaDataPlaneManager&  fea_data_plane_manager ()

fea_data_plane_manager

Get the FeaDataPlaneManager instance.

Returns: the FeaDataPlaneManager instance.

bool  is_running ()

is_running

[const virtual]

Test whether this instance is running.

Returns: true if the instance is running, otherwise false.

int  start (string& error_msg)

start

[pure virtual]

Start operation.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  stop (string& error_msg)

stop

[pure virtual]

Stop operation.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  start_configuration (string& error_msg)

start_configuration

[virtual]

Start a configuration interval.

All modifications to must be within a marked "configuration" interval.

This method provides derived classes with a mechanism to perform any actions necessary before forwarding table modifications can be made.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  end_configuration (string& error_msg)

end_configuration

[virtual]

End of configuration interval.

This method provides derived classes with a mechanism to perform any actions necessary at the end of a configuration, eg write a file.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  set_table4 (const list<Fte4>& fte_list)

set_table4

[pure virtual]

Set the IPv4 unicast forwarding table.

Parameters:

fte_listthe list with all entries to install into the IPv4 unicast forwarding table.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  delete_all_entries4 ()

delete_all_entries4

[pure virtual]

Delete all entries in the IPv4 unicast forwarding table.

Must be within a configuration interval.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  set_table6 (const list<Fte6>& fte_list)

set_table6

[pure virtual]

Set the IPv6 unicast forwarding table.

Parameters:

fte_listthe list with all entries to install into the IPv6 unicast forwarding table.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  delete_all_entries6 ()

delete_all_entries6

[pure virtual]

Delete all entries in the IPv6 unicast forwarding table.

Must be within a configuration interval.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  mark_configuration_start (string& error_msg)

mark_configuration_start

[protected]

Mark start of a configuration.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  mark_configuration_end (string& error_msg)

mark_configuration_end

[protected]

Mark end of a configuration.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

bool  in_configuration ()

in_configuration

[protected const]

bool _is_running

_is_running

[protected]


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