Package onep :: Package interfaces :: Module Vlan :: Class Vlan
[frames] | no frames]

Class Vlan


The VLAN class represents the information about the interface VLAN encapsulation type and the associated tags.

Nested Classes
  Tag
This class represent a VLAN tag, where: The most significant 16-bits is the Protocol Identifier (TPID).
Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
Enum VLANEncapType = enum('NONE', 'DOT1Q', 'QINQ', 'QINANY')
Types of interface VLAN encapsulation format
Properties

Inherited from object: __class__

Class Variable Details

VLANEncapType

Types of interface VLAN encapsulation format

NONE: No VLAN encapsulation on network interface

DOT1Q: IEEE 802.1Q encapsulation on network interface

QINQ: IEEE 802.1QinQ encapsulation on network interface

QINANY: QinANY encapsulation on network interface

Type:
Enum
Value:
enum('NONE', 'DOT1Q', 'QINQ', 'QINANY')