openstack.network.v2.quota

The Quota Class

The Quota class inherits from Resource.

class openstack.network.v2.quota.Quota(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

check_limit

Flag to check the quota usage before setting the new limit. Type: bool

floating_ips

The maximum amount of floating IPs you can have. Type: int

health_monitors

The maximum amount of health monitors you can create. Type: int

listeners

The maximum amount of listeners you can create. Type: int

load_balancers

The maximum amount of load balancers you can create. Type: int

l7_policies

The maximum amount of L7 policies you can create. Type: int

networks

The maximum amount of networks you can create. Type: int

pools

The maximum amount of pools you can create. Type: int

ports

The maximum amount of ports you can create. Type: int

project_id

The ID of the project these quota values are for.

rbac_policies

The maximum amount of RBAC policies you can create. Type: int

routers

The maximum amount of routers you can create. Type: int

subnets

The maximum amount of subnets you can create. Type: int

subnet_pools

The maximum amount of subnet pools you can create. Type: int

security_group_rules

The maximum amount of security group rules you can create. Type: int

security_groups

The maximum amount of security groups you can create. Type: int