Remove driver LibvirtOpenVswitchDriver
nova.virt.libvirt.vif.LibvirtOpenVswitchDriver as vif_driver is removed from Icehouse. Change-Id: Ie9149797b893be05a3518a07a0514ac53434d798
This commit is contained in:
parent
cb13145cd7
commit
b2b4da370e
|
@ -21,10 +21,6 @@ class nova::compute::neutron (
|
|||
) {
|
||||
include ::nova::deps
|
||||
|
||||
if $libvirt_vif_driver == 'nova.virt.libvirt.vif.LibvirtOpenVswitchDriver' {
|
||||
fail('nova.virt.libvirt.vif.LibvirtOpenVswitchDriver as vif_driver is removed from Icehouse')
|
||||
}
|
||||
|
||||
nova_config {
|
||||
'libvirt/vif_driver': value => $libvirt_vif_driver;
|
||||
}
|
||||
|
|
|
@ -14,14 +14,6 @@ describe 'nova::compute::neutron' do
|
|||
it { is_expected.to contain_nova_config('DEFAULT/force_snat_range').with_ensure(:absent) }
|
||||
end
|
||||
|
||||
context 'when overriding with a removed libvirt_vif_driver param' do
|
||||
let :params do
|
||||
{:libvirt_vif_driver => 'nova.virt.libvirt.vif.LibvirtOpenVswitchDriver' }
|
||||
end
|
||||
|
||||
it_raises 'a Puppet::Error', /nova.virt.libvirt.vif.LibvirtOpenVswitchDriver as vif_driver is removed from Icehouse/
|
||||
end
|
||||
|
||||
context 'with force_snat_range parameter set to false' do
|
||||
let :params do
|
||||
{ :force_snat_range => false, }
|
||||
|
|
Loading…
Reference in New Issue