pyhpecw7.features.l2vpn module¶
Manage L2VPN on HPCOM7 devices.
-
class
pyhpecw7.features.l2vpn.
L2VPN
(device)[source]¶ Bases:
object
Enable/Disable L2VPN globally on a HP Comware 7 switch.
Parameters: device (HPCOM7) – connected instance of a pyhpecw7.comware.HPCOM7
object.-
disable
(stage=False)[source]¶ Stage or execute a config object to disable L2VPN
Parameters: stage (bool) – whether to stage the commands or execute immediately Returns: True if stage=True and successfully staged etree.Element XML response if immediate execution
-