Implementation Neutron SR-IOV

This fix adds the override `nova_pci_passthrough_whitelist`
necessary to configure passtrough of virtual, SR-IOV provided,
PCI devices.

Co-Authored-By: James Denton <james.denton@rackspace.com>

Closes-Bug: #1653283

Depends-On: I7b580db0496ff009a2f64c71447b2977f22d6bf6
Depends-On: Ia62725e2369f75000157e0ab2c3f858e61fef10d
Depends-On: I343f25a615840907168b0fa7d64fc61c01e0b49b

Change-Id: I77e717947ae201812274a3b9cf1ec0450e556e67
This commit is contained in:
Bjoern Teipel 2017-01-03 23:14:54 -06:00 committed by Jesse Pretorius (odyssey4me)
parent 966ea269c9
commit 0b3c1b8765
2 changed files with 12 additions and 0 deletions

View File

@ -511,7 +511,14 @@ lxd_bind_port: 8443
lxd_storage_backend: dir
# This needs to be set in the user_secrets.yml file.
#lxd_trust_password:
# This variable should be used with lxd when using a
# storage backend that utilizes storage pools
#lxd_storage_pool:
# PCI devices passthrough to nova
# For SR-IOV please use:
# nova_pci_passthrough_whitelist: '{ "physical_network": "<ml2 network name>", "devname": "<physical nic>" }'
# Example:
# nova_pci_passthrough_whitelist: '{ "physical_network": "physnet1", "devname": "p1p1" }'
nova_pci_passthrough_whitelist: {}

View File

@ -103,6 +103,11 @@ libvirt_vif_type = ethernet
vif_plugging_timeout = 10
vif_plugging_is_fatal = False
{% if nova_pci_passthrough_whitelist %}
# PCI Passthrough
pci_passthrough_whitelist = "{{ nova_pci_passthrough_whitelist }}"
{% endif %}
# Hypervisor
default_ephemeral_format = ext4