class FtiConfigTableSet


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

 FtiConfigTableSet (FtiConfig& ftic)

FtiConfigTableSet

 ~FtiConfigTableSet ()

~FtiConfigTableSet

[virtual]

FtiConfig&  ftic ()

ftic

void  register_ftic_primary ()

register_ftic_primary

[virtual]

void  register_ftic_secondary ()

register_ftic_secondary

[virtual]

void  set_primary ()

set_primary

[virtual]

void  set_secondary ()

set_secondary

[virtual]

bool  is_primary ()

is_primary

[const virtual]

bool  is_secondary ()

is_secondary

[const virtual]

bool  is_running ()

is_running

[const virtual]

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.

bool  start_configuration (string& error_msg)

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.

Parameters:

error_msgthe error message (if error).

Returns: true if configuration successfully started.

bool  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: true configuration success pushed down into forwarding table.

bool  set_table4 (const list<Fte4>& fte_list)

set_table4

[pure virtual]

Set the unicast forwarding table.

Parameters:

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

Returns: true on success, otherwise false.

bool  delete_all_entries4 ()

delete_all_entries4

[pure virtual]

Delete all entries in the routing table. Must be within a configuration interval.

Returns: true on success, otherwise false.

bool  set_table6 (const list<Fte6>& fte_list)

set_table6

[pure virtual]

Set the unicast forwarding table.

Parameters:

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

Returns: true on success, otherwise false.

bool  delete_all_entries6 ()

delete_all_entries6

[pure virtual]

Delete all entries in the routing table. Must be within a configuration interval.

Returns: true on success, otherwise false.

inline bool  mark_configuration_start (string& error_msg)

mark_configuration_start

[protected]

Mark start of a configuration.

Parameters:

error_msgthe error message (if error).

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

inline bool  mark_configuration_end (string& error_msg)

mark_configuration_end

[protected]

Mark end of a configuration.

Parameters:

error_msgthe error message (if error).

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

inline bool  in_configuration ()

in_configuration

[protected const]

bool _is_running

_is_running

[protected]


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:06 2006, using kdoc $.