From fca941adb73b49ec272850126c1c98c6c8ef4b01 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer <gibi@redhat.com> Date: Fri, 4 Oct 2024 13:46:44 +0200 Subject: [PATCH] [doc]Fix the device_spec config doc about placement Change-Id: Id08761918ccc3477a39d9c778f3ac92679c22511 --- nova/conf/pci.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nova/conf/pci.py b/nova/conf/pci.py index 533bf52eadd1..64cb89a787ba 100644 --- a/nova/conf/pci.py +++ b/nova/conf/pci.py @@ -175,8 +175,9 @@ Possible values: its corresponding PF), otherwise they will be ignored and not available for allocation. - ``resource_class`` - optional Placement resource class name to be used - to track the matching PCI devices in Placement when [pci]device_spec is - True. It can be a standard resource class from the + to track the matching PCI devices in Placement when + [pci]report_in_placement is True. + It can be a standard resource class from the ``os-resource-classes`` lib. Or can be any string. In that case Nova will normalize it to a proper Placement resource class by making it upper case, replacing any consecutive character outside of ``[A-Z0-9_]`` with a