You can create volume types and expose them to one or more tenants for use in volume creation. Volume types can define settings for volume encryption, corresponding vSphere storage profile, and default adapter type.

Procedure

  1. Log in to the VMware Integrated OpenStack dashboard as a cloud administrator.
  2. Select the admin project from the drop-down menu in the title bar.
  3. Select Admin > Volume > Volume Types and click Create Volume Type.
  4. Enter a name and description for the volume type.
  5. If you want to make the volume type available to certain projects only, deselect Public.

    You can configure access to the volume type after it is created.

  6. Click Create Volume Type

    The new volume type is displayed in the Volume Types list.

  7. If you want to configure encryption for the volume type, perform the following steps:
    Note:

    You cannot add or update encryption when the volume type is used by a volume.

    1. In the Actions column, select Create Encryption.
    2. Configure encryption as follows.

      Option

      Description

      Provider

      Enter the class providing encryption.

      Control Location

      Select front-end or back-end.

      Cipher

      (Optional) Enter the encryption algorithm.

      If you do not enter a value, the default for the specified provider is used.

      Key Size (bits)

      (Optional) Enter the size of the encryption key in bits.

      If you do not enter a value, the default for the specified provider is used.

    3. Click Create Volume Type Encryption.
  8. If you want to associate a vSphere storage profile with the volume type, perform the following steps:
    1. In the Actions column, select View Extra Specs.
    2. Click Create.
    3. Enter vmware:storage_profile in the Key text box.
    4. Enter the name of the vSphere storage profile in the Value text box.
    5. Click Create.
  9. If you want to set a default adapter for the volume type, perform the following steps:
    1. In the Actions column, select View Extra Specs.
    2. Click Create.
    3. Enter vmware:adapter_type in the Key text box.
    4. Enter the adapter type in the Value text box.

      The following values are supported: lsiLogic, busLogic, lsiLogicsas, paraVirtual, and ide.

    5. Click Create.
  10. If your volume type is not public, select Edit Access in the Actions column and specify the projects that can use the volume type.

    If you do not specify any projects, the volume type is visible only to cloud administrators.

Results

Tenants can select a volume type when creating a volume or modifying an existing volume. The settings defined by the specified volume type are then applied to the new volume.

What to do next

If you want to change the name or description of a volume type, click Edit Volume Type in the Actions column and make the desired changes. To delete unneeded volume types, select them in the Volume Types table and click Delete Volume Types.