glance/etc/metadefs/compute-vtpm.json
Paul-Emile Element e89929fde2 Add flavor and image options to select emulated virtual tpm
This commit adds three new flavor/image options to the interface.
The new options will allow the user to select and configure an
emulated virtual TPM in the guest. The new options are:

traits:COMPUTE_SECURITY_TPM_1_2
traits:COMPUTE_SECURITY_TPM_2_0
hw:tpm_model

nova blueprint: add-emulated-virtual-tpm

Change-Id: I1ff51f608b85dbb621814e70079ecfdd3d1a1d22
Signed-off-by: Paul-Emile Element <Paul-Emile.Element@windriver.com>
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
2022-05-18 16:09:18 +00:00

39 lines
1.0 KiB
JSON

{
"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": []
}