diff options
author | Yaguang Tang <yaguang.tang@canonical.com> | 2013-03-05 16:53:10 +0800 |
---|---|---|
committer | Yaguang Tang <yaguang.tang@canonical.com> | 2013-03-13 19:41:54 +0800 |
commit | cbd3c7aeb4b44d2fe15bc1ed376243cf0a3752b7 (patch) | |
tree | 6091643bdaf4accba17ddd0384b2cc2a4f7dc5a1 /nova/utils.py | |
parent | 99155de44615dbb5718bf7d20bf749ef49a4b507 (diff) | |
download | nova-cbd3c7aeb4b44d2fe15bc1ed376243cf0a3752b7.tar.gz nova-cbd3c7aeb4b44d2fe15bc1ed376243cf0a3752b7.tar.xz nova-cbd3c7aeb4b44d2fe15bc1ed376243cf0a3752b7.zip |
Read instance resource quota info from "quota" namespace.
Scope all instance resource quota params such as CPU(cpu_shares,cpu_quota,
cpu_period), disk IO(disk_read_bytes_sec,disk_write_bytes_sec etc.),
network bandwidth(vif_inbound_average, vif_outbouand_average) to "quota"
scope in extra_specs, so that it doesn't conflict with compute_capabilities_filter.
after this patch, user should use:
nova flavor-key m1.tiny set quota:cpu_shares=1000 to set parameters.
Fix bug #1146322
DocImpact
Change-Id: I30e550d21f00eb949ee2f3f8fb4d952c10bf8000
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions