Merge "Add flavor and image options to select emulated virtual tpm"

This commit is contained in:
Zuul 2022-05-23 09:52:51 +00:00 committed by Gerrit Code Review
commit 45b729e35e
2 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{
"namespace": "OS::Compute::TPM",
"display_name": "TPM Options",
"description": "Configuration options for TPM",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Flavor",
"prefix": "hw:"
},
{
"name": "OS::Glance::Image",
"prefix": "hw_"
}
],
"properties": {
"tpm_model": {
"title": "TPM model",
"description": "TPM model to use. Option CRB is only valid for TPM version 2.0. Defaults to TIS.",
"operators": ["<or>"],
"type": "string",
"enum": [
"TIS",
"CRB"
],
"default": "TIS"
}
},
"objects": []
}

View File

@ -0,0 +1,38 @@
{
"namespace": "OS::Compute::VTPM",
"display_name": "Emulated Virtual TPM",
"description": "Configuration options for Emulated Virtual TPM",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Flavor",
"prefix": "traits:"
},
{
"name": "OS::Glance::Image",
"prefix": "traits:"
}
],
"properties": {
"COMPUTE_SECURITY_TPM_1_2": {
"title": "Virtual TPM Version 1.2 Support",
"description": "Enables virtual TPM version 1.2.",
"type": "string",
"enum": [
"required"
],
"default": "required"
},
"COMPUTE_SECURITY_TPM_2_0": {
"title": "Virtual TPM Version 2.0 Support",
"description": "Enables virtual TPM version 2.0.",
"type": "string",
"enum": [
"required"
],
"default": "required"
}
},
"objects": []
}