State¶
Leafs
-
class
Interfaces.Interface.Aggregation.SwitchedVlan.
State
¶ Bases:
Entity
Class Hierarchy:
Interfaces
Interface
Aggregation
SwitchedVlan
State
This class represents state data.
State variables for VLANs
-
interface_mode
¶ Set the interface to access or trunk mode for VLANs
type:
VlanModeType
config: False
-
native_vlan
¶ Set the native VLAN id for untagged frames arriving on a trunk interface. This configuration is only valid on a trunk interface
type: union of the below types:
type: int
range: 1..4094type: str
pattern: ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$config: False
-
access_vlan
¶ Assign the access vlan to the access port
type: union of the below types:
type: int
range: 1..4094type: str
pattern: ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$config: False
-
trunk_vlans
¶ Specify VLANs, or ranges thereof, that the interface may carry when in trunk mode. If not specified, all VLANs are allowed on the interface. Ranges are specified in the form x..y, where x<y - ranges are assumed to be inclusive (such that the VLAN range is x <= range <= y
type: union of the below types:
type: list of int
range: 1..4094type: list of str
pattern: ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$type: list of str
pattern: ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$
type: list of str
pattern: ^(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.((409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])|\*)$type: list of str
pattern: ^(\*|(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9]))\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])\.\.(409[0-4]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{1,2}|[1-9])$config: False
-