Cl8r::Model::SwitchPort
Inherits YAML::Serializable < Reference < Object
Models physical and logical switch port configurations, speeds, and VLAN tagging.
Constructors
new(speed : String = "25G", mode : String = "trunk", native_vlan : Int32 | Nil = nil, allowed_vlans : Array(Int32) = [] of Int32)
Initializes a SwitchPort with speed, mode (trunk/access), and VLAN permissions.
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
allowed_vlans
Sourcemode
Sourcenative_vlan
Sourcespeed
Source