Difference between revisions of "FlavorExtraSpecsKeyList"
Zhenguo Niu (talk | contribs) |
Zhenguo Niu (talk | contribs) |
||
Line 11: | Line 11: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | nova-manage flavor set_key --name m1.small --key quota: | + | 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: | + | nova-manage flavor set_key --name m1.small --key quota:disk_write_bytes_sec --value 10240000 |
</nowiki></pre> | </nowiki></pre> | ||
Line 25: | Line 25: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | nova-manage flavor set_key --name m1.small --key quota: | + | 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: | + | nova-manage flavor set_key --name m1.small --key quota:vif_outboud_average --value 10240 |
</nowiki></pre> | </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