← Back to team overview

openstack team mailing list archive

Re: CLI command to figure out security-group's association to particular tenant/user

 

try this

security-group-show and the ID number 

Remo


On Jun 27, 2013, at 05:54 , Rahul Sharma <rahulsharmaait@xxxxxxxxx> wrote:

> 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@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
> !DSPAM:2,51cc3648173863774043930! _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 
> 
> !DSPAM:2,51cc3648173863774043930!



References