467eafd20a
As reported in the Neutron patch [1], this change introduce a
"GROUP BY" clause on the SQL queries with RBAC entries. With [1],
all resouces with RBAC entries ('network', 'qospolicy',
'securitygroup', 'addressscope', 'subnetpool', 'addressgroup') will
load the RBAC entries with "joined" strategy.
Because of the low cardinality of the RBAC query when all the RBAC
registers are in one single project, this patch groups the resource
queries by the resource ID. That will reduce the results returned by
the SQL engine to only the singular registers required.
[1]https://review.opendev.org/c/openstack/neutron/+/884877
Related-Bug: #1918145
Change-Id: I800e0356714d59ba93ab6252c77be0a82f024055
(cherry picked from commit
|
||
---|---|---|
api-ref/source | ||
doc | ||
neutron_lib | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
lower-constraints.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
neutron-lib
Neutron shared routines and utilities
- Free software: Apache license
- Documentation: https://docs.openstack.org/neutron-lib/latest/
- Source: https://opendev.org/openstack/neutron-lib
- Bugs: https://bugs.launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron-lib/
Features
- TODO