| IfConfigVlanSet (FeaDataPlaneManager& fea_data_plane_manager)
| IfConfigVlanSet |
Constructor.
Parameters:
| fea_data_plane_manager | the corresponding data plane manager (FeaDataPlaneManager). |
| ~IfConfigVlanSet ()
| ~IfConfigVlanSet |
[virtual]
| 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_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.
| 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_ifp | pointer to the interface information pulled from the system. |
| pulled_vifp | pointer to the vif information pulled from the system. |
| config_iface | reference to the interface with the information to configure. |
| config_vif | reference to the vif with the information to configure. |
| error_msg | the 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_ifp | pointer to the interface information pulled from the system. |
| pulled_vifp | pointer to the vif information pulled from the system. |
| config_iface | reference to the interface with the information to configure. |
| config_vif | reference to the vif with the information to configure. |
| error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
| bool _is_running | _is_running |
[protected]