Cl8r::Model::Switch
Inherits YAML::Serializable < Reference < Object
Models physical Top-of-Rack (TOR), Spine, and Management switches and their port patch schedules.
Constructors
new(name : String = "", role : String = "tor", model : String | Nil = nil, rack : String | Nil = nil, rack_unit : Int32 | Nil = nil, management_ip : String | Nil = nil, ports : Hash(String, SwitchPort) = {} of String => SwitchPort)
Initializes a Switch with elevation, management IP, and port schedules.
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
management_ip
Sourcemodel
Sourcename
Sourceports
Sourcerack
Sourcerack_unit
Sourcerole
Source