The rsd_lib.resources.v2_3.storage_service.drive_metrics Module

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

Bases: rsd_lib.base.ResourceBase

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

Drive metrics description

health_data = <rsd_lib.resources.v2_3.storage_service.drive_metrics.HealthDataField object>

The health data metrics for this drive

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

Drive metrics id

life_time = <rsd_lib.resources.v2_3.storage_service.drive_metrics.LifeTimeField object>

The life time metrics for this drive

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

Drive metrics name

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

The temperature in Kelvin degrees of this drive

class rsd_lib.resources.v2_3.storage_service.drive_metrics.HealthDataField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

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

The percentage of the remaining spare capacity available

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

The number of media and data integrity errors of this drive

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

The percentage of life remaining in the driver’s media

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

The number of unsafe shutdowns of this drive

class rsd_lib.resources.v2_3.storage_service.drive_metrics.LifeTimeField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

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

The amount of time in minutes the driver controller is busy

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

The number of read commands completed by the disk controller

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

The number of write commands completed by the disk controller

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

The number of power cycels of this drive

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

The number of power-on hours of this drive

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

The size of a unit in bytes used by UnitsRead and UnitsWritten

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

The number of units of a read since reset

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

The number of units of a written since reset