Cl8r::Model::DiskSpec
Inherits JSON::Serializable < YAML::Serializable < Reference < Object
Models physical and virtual storage drive allocations for nodes. Supports OS boot isolation, software RAID1 mirrors, and dedicated Ceph OSD drives.
Constructors
new(pull : JSON::PullParser)
Sourcenew(device : String = "", role : String = "os_boot", size_gb : Int32 | Nil = nil, wipe_on_install : Bool = false, pool : String | Nil = nil, format : String | Nil = nil, media : String | Nil = nil, rotational : Bool = false, bay : Int32 | Nil = nil, serial : String | Nil = nil, model : String | Nil = nil, vendor : String | Nil = nil, wwn : String | Nil = nil, status : String = "active", led : String = "off", slot_type : String | Nil = nil, bus : String | Nil = nil, node : String | Nil = nil, rack : String | Nil = nil, rack_unit : Int32 | Nil = nil)
Initializes a DiskSpec with device path, role, hardware identity, and physical bay coordinates.
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
bay
Sourcebus
Sourcedevice
Sourceformat
Sourceled
Sourcemedia
Sourcemodel
Sourcenode
Sourcepool
Sourcerack
Sourcerack_unit
Sourcerole
Sourcerotational?
Sourceserial
Sourcesize_gb
Sourceslot_type
Sourcestatus
Sourcestop_locate_command
Returns the CLI command to deactivate the physical chassis drive locator LED.
vendor
Sourcewipe_on_install?
Sourcewwn
Source