Switch to nova::compute::pci for PCI passthrough

https://review.openstack.org/#/c/510151/ has removed pci_passthrough
option from nova::compute.

Change-Id: I9309ce199e6a81cf5066b401a728221ab853b611
This commit is contained in:
Alfredo Moralejo 2017-10-13 12:18:54 +02:00
parent 68abca3138
commit 351eace388
1 changed files with 4 additions and 1 deletions

View File

@ -84,7 +84,6 @@ class packstack::nova::compute ()
vncproxy_host => hiera('CONFIG_KEYSTONE_HOST_URL'),
vncproxy_protocol => hiera('CONFIG_VNCPROXY_PROTOCOL'),
vncserver_proxyclient_address => $vncproxy_server,
pci_passthrough => hiera('CONFIG_NOVA_PCI_PASSTHROUGH_WHITELIST'),
instance_usage_audit => $instance_usage_audit,
instance_usage_audit_period => $instance_usage_audit_period,
allow_resize_to_same_host => hiera('CONFIG_NOVA_ALLOW_RESIZE_TO_SAME'),
@ -97,6 +96,10 @@ class packstack::nova::compute ()
os_region_name => hiera('CONFIG_KEYSTONE_REGION'),
}
class { '::nova::compute::pci':
passthrough => hiera('CONFIG_NOVA_PCI_PASSTHROUGH_WHITELIST')
}
include ::nova::cell_v2::discover_hosts
Class['nova::compute'] ~> Class['nova::cell_v2::discover_hosts']