diff options
author | Pawel Koniszewski <pawel.koniszewski@intel.com> | 2014-09-22 02:55:26 -0400 |
---|---|---|
committer | Travis Tripp <travis.tripp@hp.com> | 2014-10-07 04:45:33 +0000 |
commit | 3c0ff8d94562bf42d4092db0aaad04fb5cc93fe3 (patch) | |
tree | 2a1d7bedefea5522f403043dd962a5bb5fff1234 | |
parent | d659161db4ff5392dfdd6199a2d43e0e3c48b4fa (diff) | |
download | glance-3c0ff8d94562bf42d4092db0aaad04fb5cc93fe3.tar.gz |
Make compute-trust.json compatible with TrustFilter
Current properties inside compute-trust.json does not match
with how TrustFilter in nova works. JSON provides True/False
boolean values but TrustFilter expects trusted/untrusted/unknown
string values. This patch repairs compute-trust.json to be
compatible with TrustFilter.
Change-Id: I26965a549daf9340621b0f18a1b845b39bac4bd8
Closes-Bug: #1369581
(cherry picked from commit 39e90f29d93f991d95092de5f93a239be1b3ca3b)
-rw-r--r-- | etc/metadefs/compute-trust.json | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/metadefs/compute-trust.json b/etc/metadefs/compute-trust.json index 58b2cd835..7df5691be 100644 --- a/etc/metadefs/compute-trust.json +++ b/etc/metadefs/compute-trust.json @@ -1,7 +1,7 @@ { "namespace": "OS::Compute::Trust", "display_name": "Trusted Compute Pools (Intel® TXT)", - "description": "Trusted compute pools with Intel® Trusted Execution Technology (Intel® TXT) support IT compliance by protecting virtualized data centers - private, public, and hybrid clouds against attacks toward hypervisor and BIOS, firmware, and other pre-launch software components.", + "description": "Trusted compute pools with Intel® Trusted Execution Technology (Intel® TXT) support IT compliance by protecting virtualized data centers - private, public, and hybrid clouds against attacks toward hypervisor and BIOS, firmware, and other pre-launch software components. The Nova trust scheduling filter must be enabled and configured with the trust attestation service in order to use this feature.", "visibility": "public", "protected": true, "resource_type_associations": [ @@ -12,8 +12,13 @@ "properties": { "trust:trusted_host": { "title": "Intel® TXT attestation", - "description": "Select to ensure that node has been attested by Intel® Trusted Execution Technology (Intel® TXT).", - "type": "boolean" + "description": "Select to ensure that node has been attested by Intel® Trusted Execution Technology (Intel® TXT). The Nova trust scheduling filter must be enabled and configured with the trust attestation service in order to use this feature.", + "type": "string", + "enum": [ + "trusted", + "untrusted", + "unknown" + ] } } -} +}
\ No newline at end of file |