The rsd_lib.resources.v2_3.storage_service.drive Module

class rsd_lib.resources.v2_3.storage_service.drive.Drive(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None, root=None)

Bases: rsd_lib.base.ResourceBase

asset_tag = <sushy.resources.base.Field object>

The asset tag of this drive

capable_speed_gbs = <sushy.resources.base.Field object>

The current bus speed of the associated drive

capacity_bytes = <sushy.resources.base.Field object>

The capacity in Bytes of this drive

drive_type = <sushy.resources.base.Field object>

The protocol of this drive

identifiers = <rsd_lib.resources.v2_3.storage_service.drive.IdentifiersField object>

These identifiers list of this drive

identity = <sushy.resources.base.Field object>

The drive identity string

indicator_led = <sushy.resources.base.Field object>

The indicator light state for the indicator light associated with the drive

These links to related components of this volume

location = <rsd_lib.resources.v2_3.storage_service.drive.LocationField object>

The location of this drive

manufacturer = <sushy.resources.base.Field object>

The manufacturer of this drive

media_type = <sushy.resources.base.Field object>

The media type of this drive

property metrics

Property to provide reference to Metrics instance

It is calculated once when it is queried for the first time. On refresh, this property is reset.

model = <sushy.resources.base.Field object>

The drive model

name = <sushy.resources.base.Field object>

The drive name string

negotiated_speed_gbs = <sushy.resources.base.Field object>

The current bus speed of the associated drive

oem = <rsd_lib.resources.v2_3.storage_service.drive.OemField object>

The OEM additional info of this drive

part_number = <sushy.resources.base.Field object>

The part number of this drive

predicted_media_life_left_percent = <sushy.resources.base.Field object>

An indicator of the percentage of life remaining in the drive’s media

protocol = <sushy.resources.base.Field object>

The protocol of this drive

revision = <sushy.resources.base.Field object>

The revision of this drive

rotation_speed_rpm = <sushy.resources.base.Field object>

The rotation speed of this drive

serial_number = <sushy.resources.base.Field object>

The serial number of this drive

sku = <sushy.resources.base.Field object>

The sku of this drive

status = <rsd_lib.common.StatusField object>

The drive status

status_indicator = <sushy.resources.base.Field object>

The status indicator state for the status indicator associated with this drive

class rsd_lib.resources.v2_3.storage_service.drive.DriveCollection(connector, path, redfish_version=None, registries=None, root=None)

Bases: rsd_lib.base.ResourceCollectionBase

class rsd_lib.resources.v2_3.storage_service.drive.IdentifiersField(*args, **kwargs)

Bases: sushy.resources.base.ListField

durable_name = <sushy.resources.base.Field object>
durable_name_format = <sushy.resources.base.Field object>
class rsd_lib.resources.v2_3.storage_service.drive.LinksField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

chassis = <sushy.resources.base.Field object>

Link to related chassis of this drive

endpoints = <sushy.resources.base.Field object>

Link to related endpoints of this drive

volumes = <sushy.resources.base.Field object>

Link to related volumes of this drive

class rsd_lib.resources.v2_3.storage_service.drive.LocationField(*args, **kwargs)

Bases: sushy.resources.base.ListField

info = <sushy.resources.base.Field object>
info_format = <sushy.resources.base.Field object>
class rsd_lib.resources.v2_3.storage_service.drive.OemField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

erase_on_detach = <sushy.resources.base.Field object>
erased = <sushy.resources.base.Field object>
firmware_version = <sushy.resources.base.Field object>
pcie_function = <sushy.resources.base.Field object>
storage = <sushy.resources.base.Field object>