The novaclient.v2.limits Module

The novaclient.v2.limits Module

class novaclient.v2.limits.AbsoluteLimit(name, value)

Bases: object

Data model that represents a single absolute limit.

class novaclient.v2.limits.Limits(manager, info, loaded=False, resp=None)

Bases: novaclient.base.Resource

A collection of RateLimit and AbsoluteLimit objects.

Populate and bind to a manager.

Parameters:
  • manager – BaseManager object
  • info – dictionary representing resource attributes
  • loaded – prevent lazy-loading if set to True
  • resp – Response or list of Response objects
absolute
rate
class novaclient.v2.limits.LimitsManager(api)

Bases: novaclient.base.Manager

Manager object used to interact with limits resource.

get(reserved=False, tenant_id=None)

Get a specific extension.

Return type:Limits
resource_class

alias of Limits

class novaclient.v2.limits.RateLimit(verb, uri, regex, value, remain, unit, next_available)

Bases: object

Data model that represents a flattened view of a single rate limit.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.