Limit enforcement library to assist with quota calculation.
Go to file
Dan Smith 7e4f36abdb Allow project_id=None for enforce/calculate
This allows a caller to pass None for the project_id if it only wants
it to check the registered limit for a given resource. This is useful
for non-project-scoped resourced where we just want to make sure some
global limit hasn't been exceeded. This would also be relevant for
resources that are created by system-scoped users, such as host
aggregates.

Change-Id: I5fea0143b6a96b5f79bc273961e3e284a260e25e
2022-01-21 19:35:26 +00:00
doc Make calculate_usage() work if limits are missing 2022-01-10 13:44:01 -08:00
oslo_limit Allow project_id=None for enforce/calculate 2022-01-21 19:35:26 +00:00
releasenotes Merge "Add caching of limits in Enforcer" 2022-01-10 13:11:46 +00:00
.coveragerc Init repo 2018-05-17 18:06:06 +08:00
.gitignore ignore reno generated artifacts 2020-03-03 14:52:45 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:49 +00:00
.mailmap Init repo 2018-05-17 18:06:06 +08:00
.pre-commit-config.yaml Upgrade the pre-commit-hooks version 2021-05-18 11:11:24 +08:00
.stestr.conf Init repo 2018-05-17 18:06:06 +08:00
.zuul.yaml Add Python3 yoga unit tests 2021-09-10 14:34:52 +00:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:24:13 +02:00
HACKING.rst Update url in HACKING.rst 2018-06-21 21:39:22 +08:00
LICENSE Init repo 2018-05-17 18:06:06 +08:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 06:30:33 +00:00
requirements.txt drop use of six 2020-03-02 14:58:28 +01:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-08-13 01:06:07 +00:00
setup.py remove outdated header 2020-02-11 18:53:20 +01:00
test-requirements.txt Add a test fixture 2021-06-09 08:04:01 -07:00
tox.ini Changed minversion in tox to 3.18.0 2021-08-12 11:12:28 +08:00

README.rst

Team and repository tags

image

oslo.limit

Latest Version

Downloads

Oslo.limit is the limit enforcement library to assist with quota calculation. It aims to provide support for quota enforcement across all OpenStack services.