diff --git a/manifests/plugins/ml2/mech_driver.pp b/manifests/plugins/ml2/mech_driver.pp index f2963cf7e..d452cbf4c 100644 --- a/manifests/plugins/ml2/mech_driver.pp +++ b/manifests/plugins/ml2/mech_driver.pp @@ -24,8 +24,8 @@ define neutron::plugins::ml2::mech_driver ( ){ if ($name == 'sriovnicswitch') { neutron_plugin_ml2 { - 'ml2_sriov/supported_pci_vendor_dev': value => join($supported_pci_vendor_devs, ','); - 'ml2_sriov/agent_required': value => $sriov_agent_required; + 'ml2_sriov/supported_pci_vendor_devs': value => join($supported_pci_vendor_devs, ','); + 'ml2_sriov/agent_required': value => $sriov_agent_required; } } } diff --git a/spec/classes/neutron_plugins_ml2_spec.rb b/spec/classes/neutron_plugins_ml2_spec.rb index 49395b7f5..7f8bb91c3 100644 --- a/spec/classes/neutron_plugins_ml2_spec.rb +++ b/spec/classes/neutron_plugins_ml2_spec.rb @@ -217,7 +217,7 @@ describe 'neutron::plugins::ml2' do ) end it 'configures sriov mechanism driver with agent_enabled' do - is_expected.to contain_neutron_plugin_ml2('ml2_sriov/supported_pci_vendor_dev').with_value(['15b3:1004,8086:10ca']) + is_expected.to contain_neutron_plugin_ml2('ml2_sriov/supported_pci_vendor_devs').with_value(['15b3:1004,8086:10ca']) is_expected.to contain_neutron_plugin_ml2('ml2_sriov/agent_required').with_value('true') end end