Skip to content

Commit 5bd5055

Browse files
authored
Merge pull request #101 from stackhpc/upstream/2024.1-2025-10-20
Synchronise 2024.1 with upstream
2 parents 8560eae + ddb9321 commit 5bd5055

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

etc/metadefs/compute-vtpm-hw.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,24 @@
1717
"properties": {
1818
"tpm_model": {
1919
"title": "TPM model",
20-
"description": "TPM model to use. Option CRB is only valid for TPM version 2.0. Defaults to TIS.",
20+
"description": "TPM model to use. Option tpm-crb is only valid for TPM version 2.0. Defaults to tpm-tis.",
2121
"operators": ["<or>"],
2222
"type": "string",
2323
"enum": [
24-
"TIS",
25-
"CRB"
24+
"tpm-tis",
25+
"tpm-crb"
2626
],
27-
"default": "TIS"
27+
"default": "tpm-tis"
28+
},
29+
"tpm_version": {
30+
"title": "TPM version",
31+
"description": "TPM version to use. Required if requesting a vTPM. Model tpm-tis supports both, tpm-crb supports only 2.0.",
32+
"operators": ["<or>"],
33+
"type": "string",
34+
"enum": [
35+
"1.2",
36+
"2.0"
37+
]
2838
}
2939
},
3040
"objects": []

glance/tests/functional/db/base_metadef.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ class MetadefLoadUnloadTests:
791791
'OS::Glance::CommonImageProperties': 10,
792792
'OS::Compute::GuestShutdownBehavior': 1,
793793
'OS::Compute::VMwareFlavor': 2,
794-
'OS::Compute::TPM': 1,
794+
'OS::Compute::TPM': 2,
795795
'OS::Compute::GuestMemoryBacking': 1,
796796
'OS::Compute::LibvirtImage': 16,
797797
'OS::Compute::VMware': 6,

0 commit comments

Comments
 (0)