<div dir="ltr">Hi Rahul, <div><br></div><div style>The issue is that you are running as an admin user so it shows all the security groups for every tenant. If you want to list the security groups for just one particular tenant you can do this: </div>
<div style><br></div><div style><br></div><div style><div> quantum security-group-list  -- --tenant-id=<tenant_id></div><div><br></div><div><br></div><div style>Aaron</div></div><div style><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Jun 27, 2013 at 5:54 AM, Rahul Sharma <span dir="ltr"><<a href="mailto:rahulsharmaait@gmail.com" target="_blank">rahulsharmaait@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>Hi All,<br><br></div>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:-<br>


root@controller1:~# quantum security-group-list<br>+--------------------------------------+-----------------+-------------------------------------+<br>| id                                   | name            | description                         |<br>


+--------------------------------------+-----------------+-------------------------------------+<br>| 429f8e9e-edfc-4173-b599-9d91d9f7cb7d | default         | default                             |<br>| 47cbba23-6a73-44dc-b7c4-46794ed7aa5a | default         | default                             |<br>


| 5ea93a09-6d96-4688-8005-99f8de4f20d7 | default         | default                             |<br>| 81cb819c-ffc2-4c26-b390-8e24b11f3443 | default         | default                             |<br>| 83778bc4-bbd2-4e02-9131-c5d4cf8a9e9b | default         | default                             |<br>


| 9ca14384-00f0-4597-acd4-00bdec10ab5c | default         | default                             |<br>| a0e42478-ff76-4513-a698-7d7b0450a878 | default         | default                             |<br>| da2cb126-520e-475b-81f3-5d0d2f053333 | default         | default                             |<br>


+--------------------------------------+-----------------+-------------------------------------+<br><br></div>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?<br>


<br></div>Thanks and Regards<span class="HOEnZb"><font color="#888888"><br>Rahul Sharma<br></font></span></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>