
Some changes have been done in Nova to have generic drivers: http://tinyurl.com/VifDriver This patchs aims to change default driver. Closes-bug #1259139 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com> Change-Id: I38ab21b7a3ae0f5b9ec4f08f5e30d2da58381cf1
26 lines
730 B
Puppet
26 lines
730 B
Puppet
# == Class: nova::compute::neutron
|
|
#
|
|
# Manage the network driver to use for compute guests
|
|
# This will use virtio for VM guests and the
|
|
# specified driver for the VIF
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*libvirt_vif_driver*]
|
|
# (optional) The libvirt VIF driver to configure the VIFs.
|
|
# Defaults to 'nova.virt.libvirt.vif.LibvirtGenericVIFDriver'.
|
|
#
|
|
|
|
class nova::compute::neutron (
|
|
$libvirt_vif_driver = 'nova.virt.libvirt.vif.LibvirtGenericVIFDriver'
|
|
) {
|
|
|
|
if $libvirt_vif_driver == 'nova.virt.libvirt.vif.LibvirtOpenVswitchDriver' {
|
|
fail('nova.virt.libvirt.vif.LibvirtOpenVswitchDriver as vif_driver is removed from Icehouse')
|
|
}
|
|
|
|
nova_config {
|
|
'DEFAULT/libvirt_vif_driver': value => $libvirt_vif_driver;
|
|
}
|
|
}
|