From 0c7d7e0e32425b2a5e945b007e186168a9b5a60c Mon Sep 17 00:00:00 2001 From: Sebastien Badia Date: Thu, 6 Aug 2015 19:40:39 +0200 Subject: [PATCH] ml2: Fix typo with ml2_srvio/supported_pci_vendor_devs param. This commit just fix the typo with supported_pci_vendor_devs param. Please see: http://docs.openstack.org/kilo/config-reference/content/networking-plugin-ml2_sriov.html Closes-Bug: #1482322 Change-Id: I90ccb0b94d4b3cfbe5d6e16f107227a1756e745b --- manifests/plugins/ml2/mech_driver.pp | 4 ++-- spec/classes/neutron_plugins_ml2_spec.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 f1b507355..2022fb2d1 100644 --- a/spec/classes/neutron_plugins_ml2_spec.rb +++ b/spec/classes/neutron_plugins_ml2_spec.rb @@ -193,7 +193,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