Adding ability to configure passthrough_whitelist and alias parameters
The patch gets key:value located under nova:compute:sriov:nic_name and
nova:<role>:pci:alias:<alias1>...<aliasN> puts it to nova.conf in appropirate
format for passthrough_whitelist and alias parameters.
Change-Id: I83f505658f9e8d241a9f31b5ddc4ba7089bc51cb
Related-PROD: PROD-23653 (PROD:23653)
diff --git a/README.rst b/README.rst
index 50e90cb..1d4595c 100644
--- a/README.rst
+++ b/README.rst
@@ -56,6 +56,13 @@
user: openstack
password: pwd
virtual_host: '/openstack'
+ pci:
+ alias:
+ alias1:
+ device_type: "type-PF"
+ name: "a1"
+ product_id: "154d"
+ vendor_id: "8086"
network:
engine: neutron
host: 127.0.0.1
@@ -156,6 +163,20 @@
barbican:
enabled: true
+Define aliases for PCI devices:
+.. code-block:: yaml
+
+ nova:
+ controller:
+ ...
+ pci:
+ alias:
+ alias1:
+ device_type: "type-PF"
+ name: "a1"
+ product_id: "154d"
+ vendor_id: "8086"
+
Enable cells update:
.. note:: Useful when upgrading Openstack. To update cells to test
@@ -290,6 +311,13 @@
engine: glance
host: 127.0.0.1
port: 9292
+ pci:
+ alias:
+ alias1:
+ device_type: "type-PF"
+ name: "a1"
+ product_id: "154d"
+ vendor_id: "8086"
network:
engine: neutron
host: 127.0.0.1
@@ -442,6 +470,20 @@
barbican:
enabled: true
+Define aliases for PCI devices:
+.. code-block:: yaml
+
+ nova:
+ compute:
+ ...
+ pci:
+ alias:
+ alias1:
+ device_type: "type-PF"
+ name: "a1"
+ product_id: "154d"
+ vendor_id: "8086"
+
Nova metadata custom bindings:
.. code-block:: yaml
@@ -561,6 +603,9 @@
devname: eth1
physical_network: physnet1
+.. note:: Parameters located under nova:compute:sriov:<nic_name> are copied to passthrough_whitelist parameter into
+ nova.conf file in appropriate format.
+
CPU pinning & Hugepages
-----------------------