Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
VpdnGroup Class Reference

VpdnGroup handles and manipulates VPDN groups. More...

Public Member Functions

void setDialIn (bool)
 Enables or disables dial in. More...
 
bool isDialIn ()
 Returns true if dial in is enabled, otherwise false. More...
 
void setProtocolPppoe (bool)
 Enables or disables the PPPoE protocol. More...
 
bool isProtocolPppoe ()
 Returns true if the PPPoE protocol is enabled, otherwise false. More...
 
void setGroupName (string)
 Sets the VPDN group name. More...
 
string getGroupName ()
 Returns the VPDN group name. More...
 
void setVirtualTempInt (VirtualTemplateInterface)
 Sets the specified VirtualTemplateInterface as the virtual template interface. More...
 
VirtualTemplateInterface getVirtualTempInt ()
 Returns the virtual template interface. More...
 

Detailed Description

VpdnGroup handles and manipulates VPDN groups.

Member Function Documentation

◆ getGroupName()

string VpdnGroup::getGroupName ( )

Returns the VPDN group name.

Returns
string, the name of the VPDN group.

◆ getVirtualTempInt()

VirtualTemplateInterface VpdnGroup::getVirtualTempInt ( )

Returns the virtual template interface.

Returns
vInterface, the VirtualTemplateInterface object.

◆ isDialIn()

bool VpdnGroup::isDialIn ( )

Returns true if dial in is enabled, otherwise false.

Returns
bool, true if dial in is enabled, otherwise false.

◆ isProtocolPppoe()

bool VpdnGroup::isProtocolPppoe ( )

Returns true if the PPPoE protocol is enabled, otherwise false.

Returns
bool, true if the PPPoE protocol is enabled, otherwise false.

◆ setDialIn()

void VpdnGroup::setDialIn ( bool  )

Enables or disables dial in.

Parameters
flag,trueto enable dial in, false to disable it.

◆ setGroupName()

void VpdnGroup::setGroupName ( string  )

Sets the VPDN group name.

Parameters
name,thename for the VPDN group.

◆ setProtocolPppoe()

void VpdnGroup::setProtocolPppoe ( bool  )

Enables or disables the PPPoE protocol.

Parameters
bIsPppoe,trueto enable the PPPoE protocol, false to disable it.

◆ setVirtualTempInt()

void VpdnGroup::setVirtualTempInt ( VirtualTemplateInterface  )

Sets the specified VirtualTemplateInterface as the virtual template interface.

Parameters
vInterface,theVirtualTemplateInterface object of interest.

The documentation for this class was generated from the following file: