Config

Leafs

Enum Classes

class Vlans.Vlan.Config

Bases: Entity

Class Hierarchy: Vlans Vlan Config

This class represents configuration data.

Configuration parameters for VLANs

vlan_id

Interface VLAN id

type: int

range: 1..4094
name

Interface VLAN name

type: str

status

Admin state of the VLAN

type: Status

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

default value: oc-vlan-types:TPID_0x8100