class IfConfigVlanSet


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Members


Detailed Description

 IfConfigVlanSet (FeaDataPlaneManager& fea_data_plane_manager)

IfConfigVlanSet

Constructor.

Parameters:

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

~IfConfigVlanSet

[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  config_add_vlan (const IfTreeInterface* pulled_ifp, const IfTreeVif* pulled_vifp, const IfTreeInterface& config_iface, const IfTreeVif& config_vif, string& error_msg)

config_add_vlan

[pure virtual]

Add a VLAN.

If an entry for the same VLAN 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.
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_delete_vlan (const IfTreeInterface* pulled_ifp, const IfTreeVif* pulled_vifp, const IfTreeInterface& config_iface, const IfTreeVif& config_vif, string& error_msg)

config_delete_vlan

[pure virtual]

Delete a VLAN.

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.

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.