diff options
author | Yunhong, Jiang <yunhong.jiang@intel.com> | 2012-09-10 16:20:15 +0800 |
---|---|---|
committer | Yunhong, Jiang <yunhong.jiang@intel.com> | 2013-01-22 17:49:43 +0800 |
commit | fab8af583bf6c363d2cebbc360ae2709325d80bd (patch) | |
tree | b11e5b385131407fc6d961cb1186f5841d1e8b27 /nova/utils.py | |
parent | a4d608fa33b328d7ed77c7f9c40ffbb43c0ade6b (diff) | |
download | nova-fab8af583bf6c363d2cebbc360ae2709325d80bd.tar.gz nova-fab8af583bf6c363d2cebbc360ae2709325d80bd.tar.xz nova-fab8af583bf6c363d2cebbc360ae2709325d80bd.zip |
Add trust level cache to trusted_filter
Currently each time the trusted filter is called to check host_pass, it
polls Open Attestation Service to get the trusted level for the host. This
solution is not good on scalability.
With a cache for the host trust level, trusted filter don't need to
consult OAT service if the cache is still valid, thus improves the
scalability. The cache is setup when the first time the filter consulting
the OAT service.
The trusted_filters are reinitialized for each VM that is
scheduled, thus the cache is valid only for one VM instance scheduing.
Implements blueprint trusted-filter-cache
Change-Id: I613da53876e6cd548566e27ab1693287023e9861
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions