summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorwhoami-rajat <rajatdhasmana@gmail.com>2023-01-10 13:37:41 +0530
committerwhoami-rajat <rajatdhasmana@gmail.com>2023-02-16 04:33:40 +0000
commite7ebf7544b7bd0b014e9dffa27d6c4c63f078f6e (patch)
treeee86dd9517b64975edabe170e8b3067d4ddc581b /doc/source
parent1e0880eda83ed7d338e5d09e98b9d1982068cd0b (diff)
downloadpython-openstackclient-e7ebf7544b7bd0b014e9dffa27d6c4c63f078f6e.tar.gz
Add volume revert command
This command allows users to revert a volume to a given snapshot. Change-Id: If35ee394d654f5264558a281c835affff524ca50
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/cli/command-objects/volume.rst3
-rw-r--r--doc/source/cli/data/cinder.csv2
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/source/cli/command-objects/volume.rst b/doc/source/cli/command-objects/volume.rst
index 5bfa547a..9b491772 100644
--- a/doc/source/cli/command-objects/volume.rst
+++ b/doc/source/cli/command-objects/volume.rst
@@ -393,3 +393,6 @@ Block Storage v3
.. autoprogram-cliff:: openstack.volume.v3
:command: volume summary
+
+ .. autoprogram-cliff:: openstack.volume.v3
+ :command: volume revert
diff --git a/doc/source/cli/data/cinder.csv b/doc/source/cli/data/cinder.csv
index 9b0f7636..0656a6a3 100644
--- a/doc/source/cli/data/cinder.csv
+++ b/doc/source/cli/data/cinder.csv
@@ -100,7 +100,7 @@ readonly-mode-update,volume set --read-only-mode | --read-write-mode,Updates vol
rename,volume set --name,Renames a volume.
reset-state,volume set --state,Explicitly updates the volume state.
retype,volume type set --type,Changes the volume type for a volume.
-revert-to-snapshot,,Revert a volume to the specified snapshot. (Supported by API versions 3.40 - 3.latest)
+revert-to-snapshot,volume revert,Revert a volume to the specified snapshot. (Supported by API versions 3.40 - 3.latest)
service-disable,volume service set --disable,Disables the service.
service-enable,volume service set --enable,Enables the service.
service-get-log,,(Supported by API versions 3.32 - 3.latest)