From 39e90f29d93f991d95092de5f93a239be1b3ca3b Mon Sep 17 00:00:00 2001 From: Pawel Koniszewski Date: Mon, 22 Sep 2014 02:55:26 -0400 Subject: [PATCH] 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 --- etc/metadefs/compute-trust.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/etc/metadefs/compute-trust.json b/etc/metadefs/compute-trust.json index 58b2cd835f..7df5691be3 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