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.
Reviewed: https:/ /review. openstack. org/462076 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=45496feee6a e781dc0c1df4a0e 5bd71b05653748
Committed: https:/
Submitter: Jenkins
Branch: master
commit 45496feee6ae781 dc0c1df4a0e5bd7 1b05653748
Author: Rui Chen <email address hidden>
Date: Wed May 3 15:17:10 2017 +0800
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: I1ed4a967fb9de3 f91c8945a1ef63f 6c7b6b2dfb2
Closes-Bug: #1687814