Jump to: navigation, search

Difference between revisions of "FlavorExtraSpecsKeyList"

(Created page with "= Flavor Extra Specs Key List = On Dashboard Flavor Extra Specs create page, It would be a great help to users to have a variety of common key list available in a dropdown. ...")
 
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
On Dashboard Flavor Extra Specs create page, It would be a great help to users to have a variety of common key list available in a dropdown.
 
On Dashboard Flavor Extra Specs create page, It would be a great help to users to have a variety of common key list available in a dropdown.
 +
This common list should contain keys which people often use, eg. Instance Resource Quota keys.
  
 
  blueprint https://blueprints.launchpad.net/horizon/+spec/flavor-extra-specs-templates
 
  blueprint https://blueprints.launchpad.net/horizon/+spec/flavor-extra-specs-templates
 +
 +
= Instance Resource Quota Keys  =
 +
 +
Config IO limit for the specified instance type
 +
 +
<pre><nowiki>
 +
nova-manage flavor set_key --name m1.small  --key quota:disk_read_bytes_sec --value 10240000
 +
nova-manage flavor set_key --name m1.small  --key quota:disk_write_bytes_sec --value 10240000
 +
</nowiki></pre>
 +
 +
Config CPU limit for the specified instance type
 +
 +
<pre><nowiki>
 +
nova-manage flavor set_key --name m1.small  --key quota:cpu_quota --value 5000
 +
nova-manage flavor set_key --name m1.small  --key quota:cpu_period --value 2500
 +
</nowiki></pre>
 +
 +
Config Bandwidth limit for instance network traffic
 +
 +
<pre><nowiki>
 +
nova-manage flavor set_key --name m1.small  --key quota:vif_inboud_average --value 10240
 +
nova-manage flavor set_key --name m1.small  --key quota:vif_outboud_average --value 10240
 +
</nowiki></pre>

Latest revision as of 02:50, 29 May 2014

Flavor Extra Specs Key List

On Dashboard Flavor Extra Specs create page, It would be a great help to users to have a variety of common key list available in a dropdown. This common list should contain keys which people often use, eg. Instance Resource Quota keys.

blueprint https://blueprints.launchpad.net/horizon/+spec/flavor-extra-specs-templates

Instance Resource Quota Keys

Config IO limit for the specified instance type

 
nova-manage flavor set_key --name m1.small  --key quota:disk_read_bytes_sec --value 10240000
nova-manage flavor set_key --name m1.small  --key quota:disk_write_bytes_sec --value 10240000

Config CPU limit for the specified instance type

nova-manage flavor set_key --name m1.small  --key quota:cpu_quota --value 5000
nova-manage flavor set_key --name m1.small  --key quota:cpu_period --value 2500

Config Bandwidth limit for instance network traffic

nova-manage flavor set_key --name m1.small  --key quota:vif_inboud_average --value 10240
nova-manage flavor set_key --name m1.small  --key quota:vif_outboud_average --value 10240