Note that the latter is slightly ultra vires with respect to the
EC2 API spec, in the sense that this filter is in addition to the
standard set. Since we don't pay attention to many of these standard
filters as yet, this stepping slightly off-piste is deemed worth it.
Reviewed: https:/ /review. openstack. org/13022 github. com/openstack/ nova/commit/ 29af2252a8bc971 57a52fddca78b31 224eb55dac
Committed: http://
Submitter: Jenkins
Branch: master
commit 29af2252a8bc971 57a52fddca78b31 224eb55dac
Author: Eoghan Glynn <email address hidden>
Date: Fri Sep 14 11:15:29 2012 +0000
All security groups not returned to admins by default.
Fixes bug 1046054.
Previously security groups relating to all tenants were returned
when requested by an admin user.
Now only those groups related to the current tenant are returned
by default.
To recover the old behaviour, the all_tenants search option may
be specified via the native API with:
/ v2/<project_ id>/os- security- groups? all_tenants= 1
or via the EC2 API with:
Action= DescribeSecurit yGroups& Filter. 1.Name= all-tenants& Filter. 1.Value. 1=1
Note that the latter is slightly ultra vires with respect to the
EC2 API spec, in the sense that this filter is in addition to the
standard set. Since we don't pay attention to many of these standard
filters as yet, this stepping slightly off-piste is deemed worth it.
Change-Id: I6157e408394d04 096d21747d665e3 b3aa6aa55de