From 62bb86895f0efa2584facad429cfde6dd3d045fa Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Wed, 20 Jul 2022 16:54:33 +0200 Subject: [PATCH] Add COMPUTE_MANAGED_PCI_DEVICE trait This will be used by nova implementing PCI tracking in Placement along with the existing OWNER_NOVA trait to indicate that an RP has inventories of nova managed PCI device (or its children devices). blueprint: pci-device-tracking-in-placement Change-Id: Id0c87f3afc223f655a708d7d08df62216d832203 --- os_traits/compute/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os_traits/compute/__init__.py b/os_traits/compute/__init__.py index 7aa7b84..c535a8c 100644 --- a/os_traits/compute/__init__.py +++ b/os_traits/compute/__init__.py @@ -41,4 +41,7 @@ TRAITS = [ # The compute manager is configured to support file-backed memory. # https://docs.openstack.org/nova/latest/admin/file-backed-memory.html 'MEM_BACKING_FILE', + # Nova use this to indicate that an RP has inventories of PCI device(s) + # managed by the nova-compute service + 'MANAGED_PCI_DEVICE', ]