sushy.resources.system.storage.volume
Module¶sushy.resources.system.storage.volume.
ActionsField
(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
initialize
= <sushy.resources.common.InitializeActionField object>¶sushy.resources.system.storage.volume.
Volume
(connector, path='', redfish_version=None, registries=None, reader=None)¶Bases: sushy.resources.base.ResourceBase
This class adds the Storage Volume resource
block_size_bytes
= <sushy.resources.base.Field object>¶The size of the smallest addressable unit of this volume in bytes.
capacity_bytes
= <sushy.resources.base.Field object>¶The size in bytes of this Volume.
delete_volume
(payload=None)¶Delete the volume.
payload – May contain @Redfish.OperationApplyTime property
ConnectionError
HTTPError
encrypted
= <sushy.resources.base.Field object>¶Is this Volume encrypted.
get_allowed_initialize_volume_values
()¶Get the allowed values for initializing the volume.
A set with the allowed values.
identifiers
= <sushy.resources.common.IdentifiersListField object>¶The Durable names for the volume.
identity
= <sushy.resources.base.Field object>¶The Volume identity string
initialize_volume
(value)¶Initialize the volume.
value – The InitializeType value.
InvalidParameterValueError, if the target value is not allowed.
name
= <sushy.resources.base.Field object>¶The name of the resource
operation_apply_time_support
= <sushy.resources.common.OperationApplyTimeSupportField object>¶Indicates if a client is allowed to request for a specific apply time of a create, delete, or action operation of a given resource
volume_type
= <sushy.resources.base.MappedField object>¶The type of this volume.
sushy.resources.system.storage.volume.
VolumeCollection
(connector, path, redfish_version=None, registries=None)¶Bases: sushy.resources.base.ResourceCollectionBase
This class represents the Storage Volume collection
create_volume
(payload)¶Create a volume.
payload – The payload representing the new volume to create.
ConnectionError
HTTPError
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.
operation_apply_time_support
= <sushy.resources.common.OperationApplyTimeSupportField object>¶Indicates if a client is allowed to request for a specific apply time of a create, delete, or action operation of a given resource
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.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.