-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
50 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Volume Attachments | ||
================== | ||
|
||
Nova allows you to attach a volume to a server on the fly. This model represents a point of attachment between a server and a volume. | ||
|
||
.. osdoc:: https://docs.openstack.org/api-ref/compute/#servers-with-volume-attachments-servers-os-volume-attachments | ||
|
||
.. |models| replace:: volume attachments | ||
|
||
.. include:: /common/service.rst | ||
|
||
.. warning:: | ||
|
||
The server must be fully started before you can attach a volume to it. Just because the server is in the ``ACTIVE`` | ||
state does not mean that it is ready to accept a volume attachment. See `https://bugs.launchpad.net/nova/+bug/1960346`_ | ||
and `https://bugs.launchpad.net/nova/+bug/1998148`_ for more information. | ||
|
||
Create | ||
------ | ||
|
||
To attach a volume to a server, you need to know the server ID and the volume ID. | ||
|
||
.. sample:: Compute/v2/volume_attachments/create.php | ||
|
||
|
||
Delete | ||
------ | ||
|
||
To detach a volume from a server, you need to know the server ID and the volume ID. | ||
|
||
.. sample:: Compute/v2/volume_attachments/delete.php | ||
|
||
List | ||
---- | ||
|
||
.. sample:: Compute/v2/volume_attachments/list.php | ||
|
||
.. include:: /common/generators.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters