The sushy.resources.system.storage.volume Module

The sushy.resources.system.storage.volume Module

class sushy.resources.system.storage.volume.Volume(connector, path='', redfish_version=None, reader=None)

Bases: sushy.resources.base.ResourceBase

This class adds the Storage Volume resource

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

The size in bytes of this Volume.

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

The Volume identity string

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

The name of the resource

class sushy.resources.system.storage.volume.VolumeCollection(connector, path, redfish_version=None)

Bases: sushy.resources.base.ResourceCollectionBase

This class represents the Storage Volume collection

max_size_bytes

Max size available (in bytes) among all Volume resources.

Returns the cached value until it (or its parent resource) is refreshed.

max_volume_size_bytes

Max size available (in bytes) among all Volume resources.

Returns the cached value until it (or its parent resource) is refreshed.

volumes_sizes_bytes

Sizes of all Volumes in bytes in VolumeCollection resource.

Returns the list of cached values until it (or its parent resource) is refreshed.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.