summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorHuanxuan Ao <huanxuan.ao@easystack.cn>2016-07-12 19:23:47 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2016-07-12 19:23:47 +0800
commite310682235810759c17278365fcb76fac438f582 (patch)
tree820feba8d179819605530868abfeb1ff59fa1db0 /doc/source/command-objects
parent5a21eb25558c4820bdf1eec3f0d25fca00e7fd24 (diff)
downloadpython-openstackclient-e310682235810759c17278365fcb76fac438f582.tar.gz
Add "--project" option to "volume type create" command
Add "--project" and "--project-domain" options to "volume type create" command. We can use these options to add the type access to a given project when we create the volume type. Change-Id: I483a6b61dae137682c3d1f7527531b40e508ba92 Closes-Bug: #1602169
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/volume-type.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/source/command-objects/volume-type.rst b/doc/source/command-objects/volume-type.rst
index dfc169cd..e2a277b0 100644
--- a/doc/source/command-objects/volume-type.rst
+++ b/doc/source/command-objects/volume-type.rst
@@ -16,6 +16,8 @@ Create new volume type
[--description <description>]
[--public | --private]
[--property <key=value> [...] ]
+ [--project <project>]
+ [--project-domain <project-domain>]
<name>
.. option:: --description <description>
@@ -40,6 +42,20 @@ Create new volume type
Set a property on this volume type (repeat option to set multiple properties)
+.. option:: --project <project>
+
+ Allow <project> to access private type (name or ID)
+ (Must be used with :option:`--private` option)
+
+ *Volume version 2 only*
+
+.. option:: --project-domain <project-domain>
+
+ Domain the project belongs to (name or ID).
+ This can be used in case collisions between project names exist.
+
+ *Volume version 2 only*
+
.. _volume_type_create-name:
.. describe:: <name>