summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2021-05-24 15:56:27 +0100
committerStephen Finucane <sfinucan@redhat.com>2021-06-03 15:52:18 +0100
commit6dc94e1fb85595653dcdd24185c914b9df1741df (patch)
tree7ca68a28d50afc5ff1394f1eb2d4a333a938cf19 /doc/source
parent0f28588e48c1e296f834e8684f293c2cdf4afc33 (diff)
downloadpython-openstackclient-6dc94e1fb85595653dcdd24185c914b9df1741df.tar.gz
volume: Add 'volume attachment *' commands
These mirror the 'cinder attachment-*' commands, with arguments copied across essentially verbatim. The only significant departure is the replacement of "tenant" terminology with "project". volume attachment create volume attachment delete volume attachment list volume attachment complete volume attachment set volume attachment show Full support for filtering is deferred for now since that's a more complicated change that requires additional commands be added first. TODOs are included to this effect. Change-Id: If47c2b56fe65ee2cee07c000d6ae3688d5ef3b42 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/cli/command-objects/volume-attachment.rst8
-rw-r--r--doc/source/cli/commands.rst7
-rw-r--r--doc/source/cli/data/cinder.csv12
3 files changed, 18 insertions, 9 deletions
diff --git a/doc/source/cli/command-objects/volume-attachment.rst b/doc/source/cli/command-objects/volume-attachment.rst
new file mode 100644
index 00000000..56224446
--- /dev/null
+++ b/doc/source/cli/command-objects/volume-attachment.rst
@@ -0,0 +1,8 @@
+=================
+volume attachment
+=================
+
+Block Storage v3
+
+.. autoprogram-cliff:: openstack.volume.v3
+ :command: volume attachment *
diff --git a/doc/source/cli/commands.rst b/doc/source/cli/commands.rst
index 94a0b5a6..00f6b23a 100644
--- a/doc/source/cli/commands.rst
+++ b/doc/source/cli/commands.rst
@@ -153,11 +153,12 @@ referring to both Compute and Volume quotas.
* ``user``: (**Identity**) individual cloud resources users
* ``user role``: (**Identity**) roles assigned to a user
* ``volume``: (**Volume**) block volumes
+* ``volume attachment``: (**Volume**) an attachment of a volumes to a server
* ``volume backup``: (**Volume**) backup for volumes
-* ``volume backend capability``: (**volume**) volume backend storage capabilities
-* ``volume backend pool``: (**volume**) volume backend storage pools
+* ``volume backend capability``: (**Volume**) volume backend storage capabilities
+* ``volume backend pool``: (**Volume**) volume backend storage pools
* ``volume backup record``: (**Volume**) volume record that can be imported or exported
-* ``volume backend``: (**volume**) volume backend storage
+* ``volume backend``: (**Volume**) volume backend storage
* ``volume host``: (**Volume**) the physical computer for volumes
* ``volume qos``: (**Volume**) quality-of-service (QoS) specification for volumes
* ``volume snapshot``: (**Volume**) a point-in-time copy of a volume
diff --git a/doc/source/cli/data/cinder.csv b/doc/source/cli/data/cinder.csv
index 27141494..dc43ab5b 100644
--- a/doc/source/cli/data/cinder.csv
+++ b/doc/source/cli/data/cinder.csv
@@ -1,12 +1,12 @@
absolute-limits,limits show --absolute,Lists absolute limits for a user.
api-version,WONTFIX,Display the server API version information.
availability-zone-list,availability zone list --volume,Lists all availability zones.
-attachment-complete,,Complete an attachment for a cinder volume. (Supported by API versions 3.44 - 3.latest)
-attachment-create,,Create an attachment for a cinder volume. (Supported by API versions 3.27 - 3.latest)
-attachment-delete,,Delete an attachment for a cinder volume. (Supported by API versions 3.27 - 3.latest)
-attachment-list,,Lists all attachments. (Supported by API versions 3.27 - 3.latest)
-attachment-show,,Show detailed information for attachment. (Supported by API versions 3.27 - 3.latest)
-attachment-update,,Update an attachment for a cinder volume. (Supported by API versions 3.27 - 3.latest)
+attachment-complete,volume attachment complete,Complete an attachment for a cinder volume. (Supported by API versions 3.44 - 3.latest)
+attachment-create,volume attachment create,Create an attachment for a cinder volume. (Supported by API versions 3.27 - 3.latest)
+attachment-delete,volume attachment delete,Delete an attachment for a cinder volume. (Supported by API versions 3.27 - 3.latest)
+attachment-list,volume attachment list,Lists all attachments. (Supported by API versions 3.27 - 3.latest)
+attachment-show,volume attachment show,Show detailed information for attachment. (Supported by API versions 3.27 - 3.latest)
+attachment-update,volume attachment update,Update an attachment for a cinder volume. (Supported by API versions 3.27 - 3.latest)
backup-create,volume backup create,Creates a volume backup.
backup-delete,volume backup delete,Removes a backup.
backup-export,volume backup record export,Export backup metadata record.