class FtiConfigEntrySet


Contains pure virtuals
Definition#include <fticonfig_entry_set.hh>
Inherited byFtiConfigEntrySetDummy, FtiConfigEntrySetRtsock
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

 FtiConfigEntrySet (FtiConfig& ftic)

FtiConfigEntrySet

 ~FtiConfigEntrySet ()

~FtiConfigEntrySet

[virtual]

FtiConfig&  ftic ()

ftic

void  register_ftic ()

register_ftic

[virtual]

int  start ()

start

[pure virtual]

Start operation.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  stop ()

stop

[pure virtual]

Stop operation.

Returns: XORP_OK on success, otherwise XORP_ERROR.

bool  start_configuration ()

start_configuration

[virtual]

Start a configuration interval. All modifications to FtiConfig state 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.

Returns: true if configuration successfully started.

bool  end_configuration ()

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.

Returns: true configuration success pushed down into forwarding table.

bool  add_entry4 (const Fte4& fte)

add_entry4

[pure virtual]

Add a single routing entry. Must be within a configuration interval.

Parameters:
ftethe entry to add.

Returns: true on success, otherwise false.

bool  delete_entry4 (const Fte4& fte)

delete_entry4

[pure virtual]

Delete a single routing entry. Must be with a configuration interval.

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

Returns: true on success, otherwise false.

bool  add_entry6 (const Fte6& fte)

add_entry6

[pure virtual]

Add a single routing entry. Must be within a configuration interval.

Parameters:
ftethe entry to add.

Returns: true on success, otherwise false.

bool  delete_entry6 (const Fte6& fte)

delete_entry6

[pure virtual]

Delete a single routing entry. Must be within a configuration interval.

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

Returns: true on success, otherwise false.

inline bool  mark_configuration_start ()

mark_configuration_start

[protected]

Mark start of a configuration.

Returns: true if configuration can be marked as started, false otherwise.

inline bool  mark_configuration_end ()

mark_configuration_end

[protected]

Mark end of a configuration.

Returns: true if configuration can be marked as ended, false otherwise.

inline bool  in_configuration ()

in_configuration

[protected const]


Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:10 2003, using kdoc 2.0a54+XORP.