class FibConfigEntrySet


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

 FibConfigEntrySet (FeaDataPlaneManager& fea_data_plane_manager)

FibConfigEntrySet

Constructor.

Parameters:

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

~FibConfigEntrySet

[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  add_entry4 (const Fte4& fte)

add_entry4

[pure virtual]

Add a single IPv4 forwarding entry.

Must be within a configuration interval.

Parameters:

ftethe entry to add.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  delete_entry4 (const Fte4& fte)

delete_entry4

[pure virtual]

Delete a single IPv4 forwarding entry.

Must be with a configuration interval.

Parameters:

ftethe entry to delete. Only destination and netmask are used.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  add_entry6 (const Fte6& fte)

add_entry6

[pure virtual]

Add a single IPv6 forwarding entry.

Must be within a configuration interval.

Parameters:

ftethe entry to add.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  delete_entry6 (const Fte6& fte)

delete_entry6

[pure virtual]

Delete a single IPv6 forwarding entry.

Must be within a configuration interval.

Parameters:

ftethe entry to delete. Only destination and netmask are used.

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.