From d30d1fd655f6e82e53ddc9704dcec2331f4579e0 Mon Sep 17 00:00:00 2001 From: Matt Crees Date: Tue, 30 May 2023 15:12:54 +0100 Subject: [PATCH] Correct [pci] syntax in Nova SRIOV documentation The ``[pci]`` options in the Nova SRIOV documentation are incorrect. ``alias`` is a JSON object but mentioned as a list of object here. ``through_whitelist`` is deprecated [1] in favour of ``device_spec``. [1] https://docs.openstack.org/nova/2023.1/configuration/config.html#id116 Closes-Bug: #2019985 Change-Id: I4f9bce297bc3385f9749e4221f4721c1841700a1 --- doc/source/reference/networking/sriov.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/reference/networking/sriov.rst b/doc/source/reference/networking/sriov.rst index 404dddd8ba..73afa7b0f0 100644 --- a/doc/source/reference/networking/sriov.rst +++ b/doc/source/reference/networking/sriov.rst @@ -203,8 +203,8 @@ Compute service on the compute node also require the ``alias`` option under the available_filters = nova.scheduler.filters.all_filters [pci] - passthrough_whitelist = [{"vendor_id": "8086", "product_id": "10fb"}] - alias = [{"vendor_id":"8086", "product_id":"10ed", "device_type":"type-VF", "name":"vf1"}] + device_spec = [{"vendor_id": "8086", "product_id": "10fb"}] + alias = {"vendor_id":"8086", "product_id":"10ed", "device_type":"type-VF", "name":"vf1"} Run deployment.