VirtualTemplateManager manages and manipulates virtual template interfaces for PPPoE.
More...
VirtualTemplateManager manages and manipulates virtual template interfaces for PPPoE.
◆ addVirtualTempIntByNum()
Adds a virtual template interface.
- Parameters
-
| number,the | interface number for the virtual template interface. |
◆ addVpdnGroupByName()
| void VirtualTemplateManager::addVpdnGroupByName |
( |
string |
| ) |
|
Adds a VPDN group.
- Parameters
-
| name,the | name for the VPDN group. |
◆ getIntAt()
◆ getIntCount()
| int VirtualTemplateManager::getIntCount |
( |
| ) |
|
Returns the number of virtual template interfaces.
- Returns
- int, the number of virtual template interfaces.
◆ getVirtualTempIntByNum()
Returns the virtual template interface with the specified interface number.
- Parameters
-
| number,the | interface number of the virtual template interface of interest. |
- Returns
- VirtualTemplateInterface, the VirtualTemplateInterface object with the specified interface number.
◆ getVpdnGroupAt()
| VpdnGroup VirtualTemplateManager::getVpdnGroupAt |
( |
int |
| ) |
|
Returns the VPDN group at the specified name.
- Parameters
-
| index,the | index of the VPDN group of interest. |
- Returns
- VpdnGroup, the VpdnGroup object at the specified name.
◆ getVpdnGroupByName()
| VpdnGroup VirtualTemplateManager::getVpdnGroupByName |
( |
string |
| ) |
|
Returns the VPDN group with the specified name.
- Parameters
-
| name,the | name of the VPDN group of interest. |
- Returns
- VpdnGroup, the VpdnGroup object with the specified name.
◆ getVpdnGroupCount()
| int VirtualTemplateManager::getVpdnGroupCount |
( |
| ) |
|
Returns the number of VPDN groups.
- Parameters
-
| int,the | number of VPDN groups. |
◆ isVpdnEnable()
| bool VirtualTemplateManager::isVpdnEnable |
( |
| ) |
|
Returns true if VPDN is enabled, otherwise false.
- Returns
- bool, true if VPDN is enabled, otherwise false.
◆ removeVirtualTempByNum()
| void VirtualTemplateManager::removeVirtualTempByNum |
( |
int |
| ) |
|
Removes the virtual template interface with the specified interface number.
- Parameters
-
| number,the | interface number of the virtual template interface of interest. |
◆ removeVpdnGroupByName()
| void VirtualTemplateManager::removeVpdnGroupByName |
( |
string |
| ) |
|
Removes the VPDN group with the specified name.
- Parameters
-
| name,the | name of the VPDN group of interest. |
◆ setVpdnEnable()
| void VirtualTemplateManager::setVpdnEnable |
( |
bool |
| ) |
|
Enables or disables VPDN.
- Parameters
-
| flag,true | to enable VPDN, false to disable it. |
The documentation for this class was generated from the following file: