xorp

IfConfigVlanGetLinux Class Reference

Inheritance diagram for IfConfigVlanGetLinux:
IfConfigVlanGet

List of all members.

Public Member Functions

 IfConfigVlanGetLinux (FeaDataPlaneManager &fea_data_plane_manager, bool is_dummy)
 Constructor.
virtual ~IfConfigVlanGetLinux ()
 Virtual destructor.
virtual int start (string &error_msg)
 Start operation.
virtual int stop (string &error_msg)
 Stop operation.
virtual int pull_config (IfTree &iftree, bool &modified)
 Pull the VLAN network interface information from the underlying system.

Private Member Functions

int read_config (IfTree &iftree, bool &modified)

Private Attributes

bool _is_dummy
int _s4

Constructor & Destructor Documentation

IfConfigVlanGetLinux::IfConfigVlanGetLinux ( FeaDataPlaneManager fea_data_plane_manager,
bool  is_dummy 
)

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).

Member Function Documentation

int IfConfigVlanGetLinux::pull_config ( IfTree iftree,
bool &  modified 
) [virtual]

Pull the VLAN network interface information from the underlying system.

The VLAN information is added to the existing state in the iftree.

Parameters:
iftreethe IfTree storage to store the pulled information.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements IfConfigVlanGet.

int IfConfigVlanGetLinux::read_config ( IfTree iftree,
bool &  modified 
) [private]

we'll have probed it when we return.

int IfConfigVlanGetLinux::start ( string &  error_msg) [virtual]

Start operation.

Parameters:
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements IfConfigVlanGet.

int IfConfigVlanGetLinux::stop ( string &  error_msg) [virtual]

Stop operation.

Parameters:
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements IfConfigVlanGet.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations