From 45496feee6ae781dc0c1df4a0e5bd71b05653748 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Wed, 3 May 2017 15:17:10 +0800 Subject: 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 --- doc/source/command-objects/server.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/source/command-objects') 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 +.. option:: --security-group Security group to assign to this server (name or ID) (repeat option to set multiple groups) -- cgit v1.2.1