Update cinder.rst and shell.rst
In the file doc/source/man/cinder.rst, add cinder command examples, In the file doc/source/shell.rst, update OS_AUTH_URL and OS_VOLUME_API_VERSION Change-Id: I6ed2c5228daad8dd6dcab1d7278f8a0b049c0490
This commit is contained in:
@@ -51,6 +51,31 @@ To get usage and options of a command::
|
||||
cinder help <command>
|
||||
|
||||
|
||||
EXAMPLES
|
||||
========
|
||||
|
||||
Get information about volume create command::
|
||||
|
||||
cinder help create
|
||||
|
||||
List all the volumes::
|
||||
|
||||
cinder list
|
||||
|
||||
Create new volume::
|
||||
|
||||
cinder create 1 --name volume01
|
||||
|
||||
Describe a specific volume::
|
||||
|
||||
cinder show 65d23a41-b13f-4345-ab65-918a4b8a6fe6
|
||||
|
||||
Create a snapshot::
|
||||
|
||||
cinder snapshot-create 65d23a41-b13f-4345-ab65-918a4b8a6fe6 \
|
||||
--name qt-snap
|
||||
|
||||
|
||||
BUGS
|
||||
====
|
||||
|
||||
|
@@ -37,8 +37,8 @@ For example, in Bash you'd use::
|
||||
export OS_USERNAME=yourname
|
||||
export OS_PASSWORD=yadayadayada
|
||||
export OS_TENANT_NAME=myproject
|
||||
export OS_AUTH_URL=http://...
|
||||
export OS_VOLUME_API_VERSION=1
|
||||
export OS_AUTH_URL=http://auth.example.com:5000/v2.0
|
||||
export OS_VOLUME_API_VERSION=3
|
||||
|
||||
From there, all shell commands take the form::
|
||||
|
||||
|
Reference in New Issue
Block a user