OpenStack Identity Authentication Library
Go to file
Monty Taylor 09934718f7 Add support for client-side rate limiting
shade/openstacksdk has implemented client-side rate limiting on top of
keystoneauth for ages and uses it extensively in nodepool. As part of an
effort to refactor that code a new approach was devised which was much
simpler and therfore suitable for inclusion in keystoneauth directly.

The underlying goal is two-fold, but fundamentally is about allowing a
user to add some settings so that they can avoid slamming their cloud.
First, allow a user to express that they never want to exceed a given
rate. Second, allow a user to limit the number of concurrent requests
allowed to be in flight.

The settings and logic are added to Adapter and not Session so that the
settings can easily be per-service. There is no need to block requests
to nova on a neutron rate limit, after all.

Co-Authored-By: Ian Wienand <iwienand@redhat.com>
Needed-By: https://review.openstack.org/604926
Change-Id: Ic831e03a37d804f45b7ee58c87f92fa0f4411ad8
2019-02-28 22:14:24 +00:00
doc Add Keystone2Keystone example 2018-08-21 14:49:13 +02:00
keystoneauth1 Add support for client-side rate limiting 2019-02-28 22:14:24 +00:00
releasenotes Add support for client-side rate limiting 2019-02-28 22:14:24 +00:00
.coveragerc Update coverage to keystoneauth1 2015-12-09 11:46:00 +11:00
.gitignore Migrate to stestr 2017-09-20 15:47:15 -05:00
.gitreview Initial Split of python-keystoneclient to keystoneauth 2015-04-20 14:49:59 -07:00
.mailmap Add mailmap entry 2014-05-07 12:12:43 -07:00
.stestr.conf Migrate to stestr 2017-09-20 15:47:15 -05:00
.zuul.yaml add lib-forward-testing-python3 test job 2018-08-29 16:04:58 -04:00
CONTRIBUTING.rst Use https for *.openstack.org references 2017-02-06 13:45:24 -08:00
HACKING.rst Migrate to stestr 2017-09-20 15:47:15 -05:00
LICENSE Initial Split of python-keystoneclient to keystoneauth 2015-04-20 14:49:59 -07:00
README.rst add release notes to readme.rst 2018-08-15 15:47:52 +08:00
bindep.txt add lower-constraints job 2018-04-19 09:54:28 +02:00
lower-constraints.txt Remove os-testr from requirements 2018-09-05 13:04:16 +02:00
requirements.txt Implement service_type alias lookups 2018-05-03 15:28:50 -05:00
setup.cfg add lower-constraints job 2018-04-19 09:54:28 +02:00
setup.py Updated from global requirements 2017-03-08 22:46:11 +00:00
test-requirements.txt Remove os-testr from requirements 2018-09-05 13:04:16 +02:00
tox.ini fix tox python3 overrides 2018-06-06 15:27:00 -04:00

README.rst

Team and repository tags

image

keystoneauth

Latest Version

Downloads

This package contains tools for authenticating to an OpenStack-based cloud. These tools include:

  • Authentication plugins (password, token, and federation based)
  • Discovery mechanisms to determine API version support
  • A session that is used to maintain client settings across requests (based on the requests Python library)

Further information: