Add new traits for TPM support

This modification creates the two new traits defined in:

https://specs.openstack.org/openstack/nova-specs/specs/stein/approved/add-emulated-virtual-tpm.html

The new traits are COMPUTE_SECURITY_TPM_1_2 and COMPUTE_SECURITY_TPM_2_0

Change-Id: I87d035a6365c7f80649a925c50071dd204537cd7
Signed-off-by: Paul-Emile Element <Paul-Emile.Element@windriver.com>
This commit is contained in:
Paul-Emile Element 2019-01-08 14:51:48 -05:00
parent 9adb3e344a
commit 98c5e74276
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
TRAITS = [
# ref: https://specs.openstack.org/openstack/nova-specs/specs/stein/
# approved/add-emulated-virtual-tpm.html
# support for TPM 1.2
'TPM_1_2',
# support for TPM 2.0
'TPM_2_0'
]