The rsd_lib.resources.v2_1.storage_service.logical_drive Module

class rsd_lib.resources.v2_1.storage_service.logical_drive.LinksField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

logical_drives = <sushy.resources.base.Field object>
master_drive = <sushy.resources.base.Field object>
physical_drives = <sushy.resources.base.Field object>
targets = <sushy.resources.base.Field object>
used_by = <sushy.resources.base.Field object>
class rsd_lib.resources.v2_1.storage_service.logical_drive.LogicalDrive(connector, path='', redfish_version=None, registries=None, reader=None)

Bases: rsd_lib.base.ResourceBase

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

Specify if target is bootable.

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

Drive capacity in GibiBytes.

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

Image name.

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

Mode defines how the logical drive is built on top of underlying physical/logical drives. The value shall correspond to the logical drive type.

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

Write (modify) protection state.

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

Indicates if the logical drive should be created as a snapshot of the source master drive, or should be created as a full copy of an image from the source master drive.

status = <rsd_lib.base.StatusField object>

This indicates the known state of the resource, such as if it is enabled.

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

Type of volume

class rsd_lib.resources.v2_1.storage_service.logical_drive.LogicalDriveCollection(connector, path, redfish_version=None, registries=None)

Bases: rsd_lib.base.ResourceCollectionBase