byteblowerll.byteblower.VLANTag

class byteblowerll.byteblower.VLANTag(*args, **kwargs)

Configure the VLAN tag on a ByteBlower Port.

IEEE 802.1Q is the networking standard that supports Virtual LANs (VLANs) on an Ethernet network. The standard defines a system of VLAN tagging for Ethernet frames and the accompanying procedures to be used by bridges and switches in handling such frames

802.1Q does not actually encapsulate the original frame. Instead, for Ethernet frames, it adds a 32-bit field between the source MAC address and the EtherType/Length fields of the original frame

TPID
Tag Protocol Identifier - 16bits
TCI
Tag Control Information - 16bits

In the latter case the TCI consists of:

PCP
Priority Code Point - 3bits
DEI
Drop Eligible Indicator - 1bit
VID
VLAN Identifier - 12bits
__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

DescriptionGet(*args) Gets a textual description for the current object
DropEligibleGet() Returns the status of the Drop Eligible Indicator.
DropEligibleSet(value) Enable/Disable the Drop Eligible Indicator.
IDGet() Get the VLANID.
IDSet(inId) Configure the VLAN ID.
ParentGet() Returns the parent object.
PortGet()
PriorityGet() Get the VLAN Priority.
PrioritySet(inPriority) Set the VLAN Priority.
ProtocolIDGet() Get the VLAN Protocol ID (TPID)
ProtocolIDSet(value)
Refresh() Retrieves the latest data from the server for this object.
__init__(*args, **kwargs) Initialize self.

Attributes

thisown The membership flag