summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorYunhong, Jiang <yunhong.jiang@intel.com>2012-11-01 11:16:32 +0800
committerYunhong, Jiang <yunhong.jiang@intel.com>2012-11-14 18:10:08 +0800
commit8ce8e4b6c0d38057c3ed93b08377cfab7461f65d (patch)
tree63eb3bb48c477e906ae93395d2e49cbe5d24040a /nova/utils.py
parentaa2bb87a5e28cb19a0e9244807daacb16f59ce03 (diff)
downloadnova-8ce8e4b6c0d38057c3ed93b08377cfab7461f65d.tar.gz
nova-8ce8e4b6c0d38057c3ed93b08377cfab7461f65d.tar.xz
nova-8ce8e4b6c0d38057c3ed93b08377cfab7461f65d.zip
Enhance compute capability filter to check multi-level
Host state capabilities include multi-level information, like cpu features are presented in capabilities:cpu_info:features, cpu core number in capabilities:cpu_info:topology:cores. Multi-level capability check maybe helpful in some situation, like user want to make sure host support SSE3 instructions or AES-NI, or user want to make sure the host has >4 cores for SMP instance. Current capability filter does not support these requirements. To support multi-level check, also add scope to capability filter, so, now capability filter will handle no-scope extra_specs, or scope-format as "capabilities:xxx:xxx" etc. Related to bp hw-feature-to-vm Change-Id: Id714f99b4babbdb328b8e47f5a270be517b528d2 Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions