xorp

FibConfigEntrySetDummy Class Reference

Inheritance diagram for FibConfigEntrySetDummy:
FibConfigEntrySet

List of all members.

Public Member Functions

 FibConfigEntrySetDummy (FeaDataPlaneManager &fea_data_plane_manager)
 Constructor.
virtual ~FibConfigEntrySetDummy ()
 Virtual destructor.
virtual int start (string &error_msg)
 Start operation.
virtual int stop (string &error_msg)
 Stop operation.
virtual int add_entry4 (const Fte4 &fte)
 Add a single IPv4 forwarding entry.
virtual int delete_entry4 (const Fte4 &fte)
 Delete a single IPv4 forwarding entry.
virtual int add_entry6 (const Fte6 &fte)
 Add a single IPv6 forwarding entry.
virtual int delete_entry6 (const Fte6 &fte)
 Delete a single IPv6 forwarding entry.
virtual int notify_table_id_change (uint32_t new_tbl)
 Routing table ID that we are interested in might have changed.

Constructor & Destructor Documentation

FibConfigEntrySetDummy::FibConfigEntrySetDummy ( FeaDataPlaneManager fea_data_plane_manager)

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).

Member Function Documentation

int FibConfigEntrySetDummy::add_entry4 ( const Fte4 fte) [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.

Implements FibConfigEntrySet.

int FibConfigEntrySetDummy::add_entry6 ( const Fte6 fte) [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.

Implements FibConfigEntrySet.

int FibConfigEntrySetDummy::delete_entry4 ( const Fte4 fte) [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.

Implements FibConfigEntrySet.

int FibConfigEntrySetDummy::delete_entry6 ( const Fte6 fte) [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.

Implements FibConfigEntrySet.

int FibConfigEntrySetDummy::start ( string &  error_msg) [virtual]

Start operation.

Parameters:
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigEntrySet.

int FibConfigEntrySetDummy::stop ( string &  error_msg) [virtual]

Stop operation.

Parameters:
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements FibConfigEntrySet.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations