xorp

IfConfigVlanGet Class Reference

Inheritance diagram for IfConfigVlanGet:
IfConfigVlanGetLinux

List of all members.

Public Member Functions

 IfConfigVlanGet (FeaDataPlaneManager &fea_data_plane_manager)
 Constructor.
virtual ~IfConfigVlanGet ()
 Virtual destructor.
IfConfigifconfig ()
 Get the IfConfig instance.
FeaDataPlaneManagerfea_data_plane_manager ()
 Get the FeaDataPlaneManager instance.
virtual bool is_running () const
 Test whether this instance is running.
virtual int start (string &error_msg)=0
 Start operation.
virtual int stop (string &error_msg)=0
 Stop operation.
virtual int pull_config (IfTree &iftree, bool &modified)=0
 Pull the VLAN network interface information from the underlying system.

Protected Attributes

bool _is_running

Private Attributes

IfConfig_ifconfig
FeaDataPlaneManager_fea_data_plane_manager

Constructor & Destructor Documentation

IfConfigVlanGet::IfConfigVlanGet ( FeaDataPlaneManager fea_data_plane_manager) [inline]

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).

Member Function Documentation

FeaDataPlaneManager& IfConfigVlanGet::fea_data_plane_manager ( ) [inline]

Get the FeaDataPlaneManager instance.

Returns:
the FeaDataPlaneManager instance.
IfConfig& IfConfigVlanGet::ifconfig ( ) [inline]

Get the IfConfig instance.

Returns:
the IfConfig instance.
virtual bool IfConfigVlanGet::is_running ( ) const [inline, virtual]

Test whether this instance is running.

Returns:
true if the instance is running, otherwise false.
virtual int IfConfigVlanGet::pull_config ( IfTree iftree,
bool &  modified 
) [pure 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.
modifiedWill be false if it is guaranteed that nothing changed in iftree or any of it's objects.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implemented in IfConfigVlanGetLinux.

virtual int IfConfigVlanGet::start ( string &  error_msg) [pure virtual]

Start operation.

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

Implemented in IfConfigVlanGetLinux.

virtual int IfConfigVlanGet::stop ( string &  error_msg) [pure virtual]

Stop operation.

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

Implemented in IfConfigVlanGetLinux.


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