| FtiConfigEntrySet (FtiConfig& ftic)
| FtiConfigEntrySet |
| ~FtiConfigEntrySet ()
| ~FtiConfigEntrySet |
[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_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
| int stop (string& error_msg)
| stop |
[pure virtual]
Stop operation.
Parameters:
| error_msg | the 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_msg | the 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_msg | the error message (if error). |
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:
| fte | the 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:
| fte | the 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:
| fte | the 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:
| fte | the entry to delete. Only destination and netmask are used. |
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_msg | the 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_msg | the 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]