Remove driver LibvirtOpenVswitchDriver
nova.virt.libvirt.vif.LibvirtOpenVswitchDriver as vif_driver is removed from Icehouse. Change-Id: Ie9149797b893be05a3518a07a0514ac53434d798
This commit is contained in:

committed by
Mohammed Naser

parent
cb13145cd7
commit
b2b4da370e
@@ -21,10 +21,6 @@ class nova::compute::neutron (
|
|||||||
) {
|
) {
|
||||||
include ::nova::deps
|
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 {
|
nova_config {
|
||||||
'libvirt/vif_driver': value => $libvirt_vif_driver;
|
'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) }
|
it { is_expected.to contain_nova_config('DEFAULT/force_snat_range').with_ensure(:absent) }
|
||||||
end
|
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
|
context 'with force_snat_range parameter set to false' do
|
||||||
let :params do
|
let :params do
|
||||||
{ :force_snat_range => false, }
|
{ :force_snat_range => false, }
|
||||||
|
Reference in New Issue
Block a user