[Openstack] CLI command to figure out security-group's association to particular tenant/user

Rahul Sharma rahulsharmaait at gmail.com
Thu Jun 27 12:54:14 UTC 2013


Hi All,

I have a query regarding the security-groups. Whenever I create a new
tenant, a default security-group is created for that tenant. Now I want to
find out which security-group is for which tenant? If I run "quantum
security-group-list", then it shows me the security-groups is below format:-
root at controller1:~# quantum security-group-list
+--------------------------------------+-----------------+-------------------------------------+
| id                                   | name            |
description                         |
+--------------------------------------+-----------------+-------------------------------------+
| 429f8e9e-edfc-4173-b599-9d91d9f7cb7d | default         |
default                             |
| 47cbba23-6a73-44dc-b7c4-46794ed7aa5a | default         |
default                             |
| 5ea93a09-6d96-4688-8005-99f8de4f20d7 | default         |
default                             |
| 81cb819c-ffc2-4c26-b390-8e24b11f3443 | default         |
default                             |
| 83778bc4-bbd2-4e02-9131-c5d4cf8a9e9b | default         |
default                             |
| 9ca14384-00f0-4597-acd4-00bdec10ab5c | default         |
default                             |
| a0e42478-ff76-4513-a698-7d7b0450a878 | default         |
default                             |
| da2cb126-520e-475b-81f3-5d0d2f053333 | default         |
default                             |
+--------------------------------------+-----------------+-------------------------------------+

How can I figure out the default security-group to a particular
tenant/user? There is no option to show security-groups bound to particular
tenant. Is there any CLI command to figure out the same?

Thanks and Regards
Rahul Sharma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130627/907ae409/attachment.html>


More information about the Openstack mailing list