Update PCI passthrough doc for moved options

The ``pci_passthrough_whitelist`` and ``pci_alias`` options in the
``[DEFAULT]`` section were deprecated and replaced by
``passthrough_whitelist`` and ``alias`` in the ``[pci]`` section,
respectively, in ocata via [1]. However, the PCI passthrough
documentation [2] was missed.

[1] https://review.openstack.org/#/c/356604/
[2] https://docs.openstack.org/nova/pike/admin/pci-passthrough.html

Change-Id: I77ec8e9b4f90caa5a1e803d248fbc7d4e8db4005
Closes-Bug: #1713502
(cherry picked from commit 9c7d73195e)
This commit is contained in:
Eric Fried 2017-08-28 08:29:22 -05:00
parent 8b162ba21f
commit b2075bb2b4
1 changed files with 12 additions and 12 deletions

View File

@ -57,10 +57,10 @@ Configure nova-api (Controller)
.. code-block:: ini
[default]
pci_alias = { "vendor_id":"8086", "product_id":"154d", "device_type":"type-PF", "name":"a1" }
[pci]
alias = { "vendor_id":"8086", "product_id":"154d", "device_type":"type-PF", "name":"a1" }
For more information about the syntax of ``pci_alias``, refer to `nova.conf
For more information about the syntax of ``alias``, refer to `nova.conf
configuration options`_.
#. Restart the ``nova-api`` service.
@ -92,20 +92,20 @@ Configure PCI devices (Compute)
.. code-block:: ini
[default]
pci_passthrough_whitelist = { "address": "0000:41:00.0" }
[pci]
passthrough_whitelist = { "address": "0000:41:00.0" }
Alternatively specify multiple PCI devices using whitelisting:
.. code-block:: ini
[default]
pci_passthrough_whitelist = { "vendor_id": "8086", "product_id": "10fb" }
[pci]
passthrough_whitelist = { "vendor_id": "8086", "product_id": "10fb" }
All PCI devices matching the ``vendor_id`` and ``product_id`` are added to
the pool of PCI devices available for passthrough to VMs.
For more information about the syntax of ``pci_passthrough_whitelist``,
For more information about the syntax of ``passthrough_whitelist``,
refer to `nova.conf configuration options`_.
#. Specify the PCI alias for the device.
@ -121,10 +121,10 @@ Configure PCI devices (Compute)
.. code-block:: ini
[default]
pci_alias = { "vendor_id":"8086", "product_id":"154d", "device_type":"type-PF", "name":"a1" }
[pci]
alias = { "vendor_id":"8086", "product_id":"154d", "device_type":"type-PF", "name":"a1" }
For more information about the syntax of ``pci_alias``, refer to `nova.conf
For more information about the syntax of ``alias``, refer to `nova.conf
configuration options`_.
#. Restart the ``nova-compute`` service.
@ -134,7 +134,7 @@ Create instances with PCI passthrough devices
The ``nova-scheduler`` selects a destination host that has PCI devices
available with the specified ``vendor_id`` and ``product_id`` that matches the
``pci_alias`` from the flavor.
``alias`` from the flavor.
.. code-block:: console