Hi Rahul, 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:
quantum security-group-list -- --tenant-id=<tenant_id> Aaron On Thu, Jun 27, 2013 at 5:54 AM, Rahul Sharma <rahulsharma...@gmail.com>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 > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp