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
This commit is contained in:
Pawel Koniszewski 2014-09-22 02:55:26 -04:00
parent 1cdc555d21
commit 39e90f29d9
1 changed files with 9 additions and 4 deletions

View File

@ -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"
]
}
}
}
}