class

Cl8r::Model::RackReservation

Inherits YAML::Serializable < Reference < Object

Models a reserved bay or slot range in a server rack for future expansion, foreign equipment, or obstructions.

Constructors

new(units : Array(Int32) = [] of Int32, role : String = "reserved", state : String = "planned", label : String = "Reserved Space")

Initializes a RackReservation with slot state, unit numbers, archetype role, and description.

Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

blocked?
Source
external?
Source
label
Source
label=(label : String)
Source
planned?
Source
role
Source
role=(role : String)
Source
state
Source
state=(state : String)
Source
units
Source
units=(units : Array(Int32))
Source