Block Storage v1, v2
Create new volume type
openstack volume type create
[--description <description>]
[--public | --private]
[--property <key=value> [...] ]
[--project <project>]
[--project-domain <project-domain>]
[--encryption-provider <provider>]
[--encryption-cipher <cipher>]
[--encryption-key-size <key-size>]
[--encryption-control-location <control-location>]
<name>
Volume type description
New in version 2.
Volume type is accessible to the public
New in version 2.
Volume type is not accessible to the public
New in version 2.
Set a property on this volume type (repeat option to set multiple properties)
Allow <project> to access private type (name or ID)
(Must be used with --private
option)
Volume version 2 only
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Volume version 2 only
Set the encryption provider format for this volume type (e.g “luks” or “plain”) (admin only)
This option is required when setting encryption type of a volume.
Consider using other encryption options such as: --encryption-cipher
,
--encryption-key-size
and --encryption-control-location
Set the encryption algorithm or mode for this volume type (e.g “aes-xts-plain64”) (admin only)
Set the size of the encryption key of this volume type (e.g “128” or “256”) (admin only)
Set the notional service where the encryption is performed (“front-end” or “back-end”) (admin only)
The default value for this option is “front-end” when setting encryption type of
a volume. Consider using other encryption options such as: --encryption-cipher
,
--encryption-key-size
and --encryption-provider
Volume type name
Delete volume type(s)
openstack volume type delete
<volume-type> [<volume-type> ...]
Volume type(s) to delete (name or ID)
List volume types
openstack volume type list
[--long]
[--default | --public | --private]
[--encryption-type]
List additional fields in output
List only public types
Volume version 2 only
List only private types (admin only)
Volume version 2 only
List the default volume type
Volume version 2 only
Display encryption information for each volume type (admin only)
Set volume type properties
openstack volume type set
[--name <name>]
[--description <description>]
[--property <key=value> [...] ]
[--project <project>]
[--project-domain <project-domain>]
[--encryption-provider <provider>]
[--encryption-cipher <cipher>]
[--encryption-key-size <key-size>]
[--encryption-control-location <control-location>]
<volume-type>
Set volume type name
New in version 2.
Set volume type description
New in version 2.
Set volume type access to project (name or ID) (admin only)
Volume version 2 only
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Set a property on this volume type (repeat option to set multiple properties)
Set the encryption provider format for this volume type (e.g “luks” or “plain”) (admin only)
This option is required when setting encryption type of a volume for the first time.
Consider using other encryption options such as: --encryption-cipher
,
--encryption-key-size
and --encryption-control-location
Set the encryption algorithm or mode for this volume type (e.g “aes-xts-plain64”) (admin only)
Set the size of the encryption key of this volume type (e.g “128” or “256”) (admin only)
Set the notional service where the encryption is performed (“front-end” or “back-end”) (admin only)
The default value for this option is “front-end” when setting encryption type of
a volume for the first time. Consider using other encryption options such as:
--encryption-cipher
, --encryption-key-size
and --encryption-provider
Volume type to modify (name or ID)
Display volume type details
openstack volume type show
[--encryption-type]
<volume-type>
Display encryption information of this volume type (admin only)
Volume type to display (name or ID)
Unset volume type properties
openstack volume type unset
[--property <key> [...] ]
[--project <project>]
[--project-domain <project-domain>]
[--encryption-type]
<volume-type>
Property to remove from volume type (repeat option to remove multiple properties)
Removes volume type access from project (name or ID) (admin only)
Volume version 2 only
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Volume version 2 only
Remove the encryption type for this volume type (admin only)
Volume type to modify (name or ID)
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.