Neutron shared routines and utilities.
Go to file
Rodolfo Alonso Hernandez 467eafd20a Add a "GROUP BY" clause on queries with RBAC entries
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 829e97024c)
2023-05-29 12:28:00 +02:00
api-ref/source Merge "Add filter flags for QoS rule types" 2022-02-14 13:11:28 +00:00
doc remove unicode from code 2022-01-19 09:15:45 +08:00
neutron_lib Add a "GROUP BY" clause on queries with RBAC entries 2023-05-29 12:28:00 +02:00
releasenotes Added "qos" plugin to "EXT_PARENT_RESOURCE_MAPPING" 2022-11-17 13:22:49 +00:00
tools Remove import statement for six 2021-12-19 14:21:51 +09:00
.coveragerc Improvements to tox envs 2015-12-19 01:00:22 -05:00
.gitignore Switch to stestr 2018-05-24 11:09:18 -07:00
.gitreview Update .gitreview for stable/yoga 2022-03-03 10:51:35 +00:00
.mailmap Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
.pylintrc Fix pep8 job issues with pylint==2.15.0 2022-11-13 10:54:05 +01:00
.stestr.conf Fix unit test failures due to switch to testr changes 2017-09-14 08:17:35 -07:00
.zuul.yaml Use neutron-tempest-plugin-api-yoga job in the stable/yoga branch 2023-04-04 08:58:19 +02:00
CONTRIBUTING.rst Merge "Update links in CONTRIBUTING.rst" 2017-10-05 20:47:37 +00:00
HACKING.rst Update the documentation link for doc migration 2017-07-20 15:46:41 +00:00
LICENSE Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-22 11:23:33 +08:00
lower-constraints.txt Bump requirements and disable f-string check 2021-09-21 11:57:06 +00:00
requirements.txt Make neutron-lib aware about system scope tokens 2021-03-12 14:47:37 +01:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-05-13 20:51:05 +09:00
setup.py Updated from global requirements 2017-03-02 11:49:11 +00:00
test-requirements.txt Start running pylint for pep8 tests 2020-09-17 09:53:01 -04:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/yoga 2022-03-03 10:51:38 +00:00

README.rst

Team and repository tags

image

neutron-lib

Neutron shared routines and utilities

Features

  • TODO