Jump to: navigation, search

Difference between revisions of "DomainQuotaDriver"

(Quotas in Nova)
(Quotas in Nova)
Line 11: Line 11:
 
Today OpenStack services make usage of quotas to limit the project resources.
 
Today OpenStack services make usage of quotas to limit the project resources.
 
For example,  the “Instances” quota represents the number of instances that can be created in a project. The table below summarizes the existing project quotas.
 
For example,  the “Instances” quota represents the number of instances that can be created in a project. The table below summarizes the existing project quotas.
From now on there will be the same options as shares in the context of domain.
+
From now on there will be the same options as Quotas in the context of domain.
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 13:09, 29 November 2013

Contents

Introduction

Introduction

Keystone BP Domain Quota Management and Enforcement will enable O~S projects to enforce domain quotas, for this a new driver capable to enforce domain quota is necessary. This BP addresses the need of a new quota driver capable to enforce domain quotas in Nova.

Quotas in Nova

Today OpenStack services make usage of quotas to limit the project resources. For example, the “Instances” quota represents the number of instances that can be created in a project. The table below summarizes the existing project quotas. From now on there will be the same options as Quotas in the context of domain.

quotas type default values description
nova.instances reservable 10 number of instances allowed per project
nova.cores reservable 20 number of instance cores allowed per project
nova.ram reservable 50*1024 megabytes of instance ram allowed per project
nova.floating_ips reservable 10 number of floating ips allowed per project
nova.fixed_ips reservable -1 number of fixed ips allowed per project
nova.metadata_items absolute 128 number of metadata items allowed per instance
nova.injected_files absolute 5 number of injected files allowed
nova.injected_files_content_bytes absolute 10*1024 number of bytes allowed per injected file
nova.injected_file_path_bytes absolute 255 number of bytes allowed per injected file path
nova.security_groups reservable 10 number of security groups per project
nova.security_groups_rules countable 20 number of security rules per security group
nova.key_pairs countable 100 number of key pairs per user