summaryrefslogtreecommitdiff
path: root/nova/conf
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-09-01 18:21:52 +0000
committerGerrit Code Review <review@openstack.org>2022-09-01 18:21:52 +0000
commit8b55b44cc605533f2a12189a2b5899c0f58c91a7 (patch)
tree8e7dd709415ba4fc1ebf18cdbc15869f2085b651 /nova/conf
parent82498dfe4b516bd3a8a0de58670223053370ad9b (diff)
parent06389f8d849c6380a5f3763f03e84f804c4d29f2 (diff)
downloadnova-8b55b44cc605533f2a12189a2b5899c0f58c91a7.tar.gz
Merge "Allow enabling PCI tracking in Placement"
Diffstat (limited to 'nova/conf')
-rw-r--r--nova/conf/pci.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/nova/conf/pci.py b/nova/conf/pci.py
index 278fe4c0c0..673185391b 100644
--- a/nova/conf/pci.py
+++ b/nova/conf/pci.py
@@ -225,7 +225,21 @@ Possible values:
device_spec = [{"product_id":"0001", "vendor_id":"8086"},
{"product_id":"0002", "vendor_id":"8086"}]
-""")
+"""),
+ cfg.BoolOpt('report_in_placement',
+ default=False,
+ help="""
+Enable PCI resource inventory reporting to Placement. If it is enabled then the
+nova-compute service will report PCI resource inventories to Placement
+according to the [pci]device_spec configuration and the PCI devices reported
+by the hypervisor. Once it is enabled it cannot be disabled any more. In a
+future release the default of this config will be change to True.
+
+Related options:
+
+* [pci]device_spec: to define which PCI devices nova are allowed to track and
+ assign to guests.
+"""),
]