summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorRui Chen <chenrui.momo@gmail.com>2017-05-03 15:17:10 +0800
committerDean Troyer <dtroyer@gmail.com>2017-05-22 20:32:01 +0000
commit45496feee6ae781dc0c1df4a0e5bd71b05653748 (patch)
tree752980b8d6c52810381049b2feceacf2ed801d06 /doc/source
parent411cda722b082bc9274dd23f7e6b0c47e2cc9765 (diff)
downloadpython-openstackclient-45496feee6ae781dc0c1df4a0e5bd71b05653748.tar.gz
Create server with security group ID and name
Both resource ID and name are supported to identify an object in openstackclient to make user easy to input, for security group, nova only support security group name in API when launch a new server, this patch convert ID to name, then pass name to nova API, and check the security group exist before creating server. Change-Id: I1ed4a967fb9de3f91c8945a1ef63f6c7b6b2dfb2 Closes-Bug: #1687814
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/command-objects/server.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst
index dc78080b..0287fd31 100644
--- a/doc/source/command-objects/server.rst
+++ b/doc/source/command-objects/server.rst
@@ -164,7 +164,7 @@ Create a new server
Create server with this flavor (name or ID)
-.. option:: --security-group <security-group-name>
+.. option:: --security-group <security-group>
Security group to assign to this server (name or ID)
(repeat option to set multiple groups)