cinder-specs/specs/api/v2/high-level_task_flow.rst
Anne Gentle d11c3fec58 Adds Block Storage v2 API specification information
Goal is to start maintaining API specs in the specs repos
for each project to eliminate maintenance of <project>-api repos.

Change-Id: Ife0721e831f7d5348cdc7b541c0b755a01bc23e9
2014-10-17 20:30:44 -05:00

631 B

High-level task flow

Procedure 1.1. To create and attach a volume

  1. You create a volume.

    For example, you might create a 30 GB volume called vol1, as follows:

    $ cinder create --display-name vol1 30

    The command returns the 521752a6-acf6-4b2d-bc7a-119f9148cd8c volume ID.

  2. You attach that volume to a virtual machine (VM) with the 616fb98f-46ca-475e-917e-2563e5a8cd19 ID, as follows:

    For example:

    $ nova volume-attach 616fb98f-46ca-475e-917e-2563e5a8cd19 521752a6-acf6-4b2d-bc7a-119f9148cd8c /dev/vdb