openstack.compute.v2.quota_set

The QuotaSet Class

The QuotaSet class inherits from Resource.

class openstack.compute.v2.quota_set.QuotaSet(_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.

cores

Properties The number of allowed server cores for each tenant.

fixed_ips

The number of allowed fixed IP addresses for each tenant. Must be equal to or greater than the number of allowed servers.

floating_ips

The number of allowed floating IP addresses for each tenant.

force

You can force the update even if the quota has already been used and the reserved quota exceeds the new quota.

injected_file_content_bytes

The number of allowed bytes of content for each injected file.

injected_file_path_bytes

The number of allowed bytes for each injected file path.

injected_files

The number of allowed injected files for each tenant.

instances

The number of allowed servers for each tenant.

key_pairs

The number of allowed key pairs for each user.

metadata_items

The number of allowed metadata items for each server.

networks

The number of private networks that can be created per project.

ram

The amount of allowed server RAM, in MiB, for each tenant.

security_group_rules

The number of allowed rules for each security group.

security_groups

The number of allowed security groups for each tenant.

server_groups

The number of allowed server groups for each tenant.

server_group_members

The number of allowed members for each server group.