State

Leafs

Enum Classes

class Vlans.Vlan.State

Bases: Entity

Class Hierarchy: Vlans Vlan State

This class represents state data.

State variables for VLANs

vlan_id

Interface VLAN id

type: int

range: 1..4094

config: False

name

Interface VLAN name

type: str

config: False

status

Admin state of the VLAN

type: Status

config: False

default value: ACTIVE

tpid

Optionally set the tag protocol identifier field (TPID) that is accepted on the VLAN

type: one of the below values: TPID0x8100

config: False

default value: oc-vlan-types:TPID_0x8100