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
2018-08-21 14:49:13 +02:00
2015-12-09 11:46:00 +11:00
2017-09-20 15:47:15 -05:00
2014-05-07 12:12:43 -07:00
2017-09-20 15:47:15 -05:00
2018-04-19 09:54:28 +02:00
2017-09-20 15:47:15 -05:00
2018-08-15 15:47:52 +08:00
2018-04-19 09:54:28 +02:00
2017-03-08 22:46:11 +00:00
2018-06-06 15:27:00 -04:00

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:

Description
OpenStack Identity Authentication Library
Readme 12 MiB
Languages
Python 100%