Create, delete, attach, and detach volumes.
Create, list, and delete volume snapshots.
Create a volume from a snapshot.
Copy an image to a volume.
Copy a volume to an image.
Clone a volume.
Extend a volume.
Get volume statistics.
Migrate a volume with back-end assistance.
Retype a volume.
When you use back-end assisted volume migration, both source and destination clusters must be in the same HP LeftHand/StoreVirtual management group. The HP LeftHand/StoreVirtual array will use native LeftHand APIs to migrate the volume. The volume cannot be attached or have snapshots to migrate.
Volume type support for the driver includes the ability to set
the following capabilities in the OpenStack Cinder API
cinder.api.contrib.types_extra_specs
volume type extra specs extension module.
hplh:provisioning
hplh:ao
hplh:data_pl
To work with the default filter scheduler, the key-value pairs
are case-sensitive and scoped with
'hplh:'
.
For information about how to set the key-value pairs and
associate them with a volume type, run the following
command:
$ cinder help type-key
The following keys require the HP LeftHand/StoreVirtual storage array be configured for
- hplh:ao
The HP LeftHand/StoreVirtual storage array must be configured for Adaptive Optimization.
- hplh:data_pl
The HP LeftHand/StoreVirtual storage array must be able to support the Data Protection level specified by the extra spec.
If volume types are not used or a particular key is not set for a volume type, the following defaults are used:
- hplh:provisioning
Defaults to
thin
provisioning, the valid values are,thin
andfull
- hplh:ao
Defaults to
true
, the valid values are,true
andfalse
.- hplh:data_pl
Defaults to
r-0
, Network RAID-0 (None), the valid values are,r-0
, Network RAID-0 (None)r-5
, Network RAID-5 (Single Parity)r-10-2
, Network RAID-10 (2-Way Mirror)r-10-3
, Network RAID-10 (3-Way Mirror)r-10-4
, Network RAID-10 (4-Way Mirror)r-6
, Network RAID-6 (Dual Parity),