Configuration Options

oslo.limit uses oslo.config to define and manage configuration options to allow the deployer to control how an application uses the underlying quota limits and enforcement.

oslo_limit

endpoint_id
Type

string

Default

<None>

The service’s endpoint id which is registered in Keystone.

endpoint_service_name
Type

string

Default

<None>

Service name for endpoint discovery

endpoint_service_type
Type

string

Default

<None>

Service type for endpoint discovery

endpoint_region_name
Type

string

Default

<None>

Region to which the endpoint belongs

endpoint_interface
Type

string

Default

publicURL

Valid Values

public, publicURL, internal, internalURL, admin, adminURL

The interface for endpoint discovery

interface
Type

string

Default

public

Valid Values

public, internal, admin

The interface used for communication with identity service.

cafile
Type

string

Default

<None>

PEM encoded Certificate Authority to use when verifying HTTPs connections.

certfile
Type

string

Default

<None>

PEM encoded client certificate cert file

keyfile
Type

string

Default

<None>

PEM encoded client certificate key file

insecure
Type

boolean

Default

False

Verify HTTPS connections.

timeout
Type

integer

Default

<None>

Timeout value for http requests

collect_timing
Type

boolean

Default

False

Collect per-API call timing information.

split_loggers
Type

boolean

Default

False

Log requests to multiple loggers.

auth_url
Type

unknown type

Default

<None>

Authentication URL

system_scope
Type

unknown type

Default

<None>

Scope for system operations

domain_id
Type

unknown type

Default

<None>

Domain ID to scope to

domain_name
Type

unknown type

Default

<None>

Domain name to scope to

project_id
Type

unknown type

Default

<None>

Project ID to scope to

project_name
Type

unknown type

Default

<None>

Project name to scope to

project_domain_id
Type

unknown type

Default

<None>

Domain ID containing project

project_domain_name
Type

unknown type

Default

<None>

Domain name containing project

trust_id
Type

unknown type

Default

<None>

ID of the trust to use as a trustee use

default_domain_id
Type

unknown type

Default

<None>

Optional domain ID to use with v3 and v2 parameters. It will be used for both the user and project domain in v3 and ignored in v2 authentication.

default_domain_name
Type

unknown type

Default

<None>

Optional domain name to use with v3 API and v2 parameters. It will be used for both the user and project domain in v3 and ignored in v2 authentication.

user_id
Type

unknown type

Default

<None>

User’s user ID

username
Type

unknown type

Default

<None>

User’s username

Deprecated Variations

Group

Name

oslo_limit

user-name

oslo_limit

user_name

user_domain_id
Type

unknown type

Default

<None>

User’s domain ID

user_domain_name
Type

unknown type

Default

<None>

User’s domain name

password
Type

unknown type

Default

<None>

User’s password

tenant_id
Type

unknown type

Default

<None>

Tenant ID

tenant_name
Type

unknown type

Default

<None>

Tenant Name

service_type
Type

string

Default

<None>

The default service_type for endpoint URL discovery.

service_name
Type

string

Default

<None>

The default service_name for endpoint URL discovery.

valid_interfaces
Type

list

Default

<None>

List of interfaces, in order of preference, for endpoint URL.

region_name
Type

string

Default

<None>

The default region_name for endpoint URL discovery.

endpoint_override
Type

string

Default

<None>

Always use this endpoint URL for requests for this client. NOTE: The unversioned endpoint should be specified here; to request a particular API version, use the version, min-version, and/or max-version options.

version
Type

string

Default

<None>

Minimum Major API version within a given Major API version for endpoint URL discovery. Mutually exclusive with min_version and max_version

min_version
Type

string

Default

<None>

The minimum major version of a given API, intended to be used as the lower bound of a range with max_version. Mutually exclusive with version. If min_version is given with no max_version it is as if max version is “latest”.

max_version
Type

string

Default

<None>

The maximum major version of a given API, intended to be used as the upper bound of a range with min_version. Mutually exclusive with version.

connect_retries
Type

integer

Default

<None>

The maximum number of retries that should be attempted for connection errors.

connect_retry_delay
Type

floating point

Default

<None>

Delay (in seconds) between two retries for connection errors. If not set, exponential retry starting with 0.5 seconds up to a maximum of 60 seconds is used.

status_code_retries
Type

integer

Default

<None>

The maximum number of retries that should be attempted for retriable HTTP status codes.

status_code_retry_delay
Type

floating point

Default

<None>

Delay (in seconds) between two retries for retriable status codes. If not set, exponential retry starting with 0.5 seconds up to a maximum of 60 seconds is used.

retriable_status_codes
Type

list

Default

<None>

List of retriable HTTP status codes that should be retried. If not set default to [503]