rsd_lib.resources.v2_4.storage_service.capacity_source
Module¶rsd_lib.resources.v2_4.storage_service.capacity_source.
CapacityField
(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
Capacity field
This is the schema definition for the Capacity of a device. It represents the properties for capacity for any data store.
data
= <rsd_lib.resources.v2_4.storage_service.capacity_source.CapacityInfoField object>¶The capacity information relating to the user data.
is_thin_provisioned
= <sushy.resources.base.Field object>¶Marks that the capacity is not necessarily fully allocated.
metadata
= <rsd_lib.resources.v2_4.storage_service.capacity_source.CapacityInfoField object>¶The capacity information relating to metadata.
snapshot
= <rsd_lib.resources.v2_4.storage_service.capacity_source.CapacityInfoField object>¶The capacity information relating to snapshot or backup data.
rsd_lib.resources.v2_4.storage_service.capacity_source.
CapacityInfoField
(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
CapacityInfo field
The capacity of specific data type in a data store.
allocated_bytes
= <sushy.resources.base.Field object>¶The number of bytes currently allocated by the storage system in this data store for this data type.
consumed_bytes
= <sushy.resources.base.Field object>¶The number of bytes consumed in this data store for this data type.
guaranteed_bytes
= <sushy.resources.base.Field object>¶The number of bytes the storage system guarantees can be allocated in this data store for this data type.
provisioned_bytes
= <sushy.resources.base.Field object>¶The maximum number of bytes that can be allocated in this data store for this data type.
rsd_lib.resources.v2_4.storage_service.capacity_source.
CapacitySource
(connector, path='', redfish_version=None, registries=None, reader=None)¶Bases: rsd_lib.base.ResourceBase
CapacitySource resource class
A description of the type and source of storage.
provided_capacity
= <rsd_lib.resources.v2_4.storage_service.capacity_source.CapacityField object>¶The amount of space that has been provided from the ProvidingDrives, ProvidingVolumes, ProvidingMemory or ProvidingPools.
providing_drives
¶Property to provide reference to DriveCollection instance
It is calculated once when it is queried for the first time. On refresh, this property is reset.
providing_pools
¶Property to provide reference to StoragePoolCollection instance
It is calculated once when it is queried for the first time. On refresh, this property is reset.
providing_volumes
¶Property to provide reference to VolumeCollection instance
It is calculated once when it is queried for the first time. On refresh, this property is reset.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.