class IfConfigSet


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

 IfConfigSet (FeaDataPlaneManager& fea_data_plane_manager)

IfConfigSet

Constructor.

Parameters:

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

~IfConfigSet

[virtual]

Virtual destructor.

IfConfig&  ifconfig ()

ifconfig

Get the IfConfig instance.

Returns: the IfConfig 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  push_config (IfTree& iftree)

push_config

[virtual]

Push the network interface configuration into the underlying system.

Note that on return some of the interface tree configuration state may be modified.

Parameters:

iftreethe interface tree configuration to push.

Returns: XORP_OK on success, otherwise XORP_ERROR.

bool  is_discard_emulated (const IfTreeInterface& i)

is_discard_emulated

[protected const pure virtual]

Determine if the interface's underlying provider implements discard semantics natively, or if they are emulated through other means.

Parameters:

ithe interface item to inspect.

Returns: true if discard semantics are emulated.

bool  is_unreachable_emulated (const IfTreeInterface& i)

is_unreachable_emulated

[protected const pure virtual]

Determine if the interface's underlying provider implements unreachable semantics natively, or if they are emulated through other means.

Parameters:

ithe interface item to inspect.

Returns: true if unreachable semantics are emulated.

int  config_begin (string& error_msg)

config_begin

[protected pure virtual]

Start the configuration.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  config_end (string& error_msg)

config_end

[protected pure virtual]

Complete the configuration.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  config_interface_begin (const IfTreeInterface* pulled_ifp, IfTreeInterface& config_iface, string& error_msg)

config_interface_begin

[protected pure virtual]

Begin the interface configuration.

Parameters:

pulled_ifppointer to the interface information pulled from the system.
config_ifacereference to the interface with the information to configure.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  config_interface_end (const IfTreeInterface* pulled_ifp, const IfTreeInterface& config_iface, string& error_msg)

config_interface_end

[protected pure virtual]

End the interface configuration.

Parameters:

pulled_ifppointer to the interface information pulled from the system.
config_ifacereference to the interface with the information to configure.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  config_vif_begin (const IfTreeInterface* pulled_ifp, const IfTreeVif* pulled_vifp, const IfTreeInterface& config_iface, const IfTreeVif& config_vif, string& error_msg)

config_vif_begin

[protected pure virtual]

Begin the vif configuration.

Parameters:

pulled_ifppointer to the interface information pulled from the system.
pulled_vifppointer to the vif information pulled from the system.
config_ifacereference to the interface with the information to configure.
config_vifreference to the vif with the information to configure.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  config_vif_end (const IfTreeInterface* pulled_ifp, const IfTreeVif* pulled_vifp, const IfTreeInterface& config_iface, const IfTreeVif& config_vif, string& error_msg)

config_vif_end

[protected pure virtual]

End the vif configuration.

Parameters:

pulled_ifppointer to the interface information pulled from the system.
pulled_vifppointer to the vif information pulled from the system.
config_ifacereference to the interface with the information to configure.
config_vifreference to the vif with the information to configure.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  config_add_address (const IfTreeInterface* pulled_ifp, const IfTreeVif* pulled_vifp, const IfTreeAddr4* pulled_addrp, const IfTreeInterface& config_iface, const IfTreeVif& config_vif, const IfTreeAddr4& config_addr, string& error_msg)

config_add_address

[protected pure virtual]

Add IPv4 address information.

If an entry for the same address already exists, is is overwritten with the new information.

Parameters:

pulled_ifppointer to the interface information pulled from the system.
pulled_vifppointer to the vif information pulled from the system.
pulled_addrppointer to the address information pulled from the system.
config_ifacereference to the interface with the information to configure.
config_vifreference to the vif with the information to configure.
config_addrreference to the address with the information to configure.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  config_delete_address (const IfTreeInterface* pulled_ifp, const IfTreeVif* pulled_vifp, const IfTreeAddr4* pulled_addrp, const IfTreeInterface& config_iface, const IfTreeVif& config_vif, const IfTreeAddr4& config_addr, string& error_msg)

config_delete_address

[protected pure virtual]

Delete IPv4 address information.

Parameters:

pulled_ifppointer to the interface information pulled from the system.
pulled_vifppointer to the vif information pulled from the system.
pulled_addrppointer to the address information pulled from the system.
config_ifacereference to the interface with the information to configure.
config_vifreference to the vif with the information to configure.
config_addrreference to the address with the information to configure.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  config_add_address (const IfTreeInterface* pulled_ifp, const IfTreeVif* pulled_vifp, const IfTreeAddr6* pulled_addrp, const IfTreeInterface& config_iface, const IfTreeVif& config_vif, const IfTreeAddr6& config_addr, string& error_msg)

config_add_address

[protected pure virtual]

Add IPv6 address information.

If an entry for the same address already exists, is is overwritten with the new information.

Parameters:

pulled_ifppointer to the interface information pulled from the system.
pulled_vifppointer to the vif information pulled from the system.
pulled_addrppointer to the address information pulled from the system.
config_ifacereference to the interface with the information to configure.
config_vifreference to the vif with the information to configure.
config_addrreference to the address with the information to configure.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  config_delete_address (const IfTreeInterface* pulled_ifp, const IfTreeVif* pulled_vifp, const IfTreeAddr6* pulled_addrp, const IfTreeInterface& config_iface, const IfTreeVif& config_vif, const IfTreeAddr6& config_addr, string& error_msg)

config_delete_address

[protected pure virtual]

Delete IPv6 address information.

Parameters:

pulled_ifppointer to the interface information pulled from the system.
pulled_vifppointer to the vif information pulled from the system.
pulled_addrppointer to the address information pulled from the system.
config_ifacereference to the interface with the information to configure.
config_vifreference to the vif with the information to configure.
config_addrreference to the address with the information to configure.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

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.