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
This commit is contained in:
Sebastien Badia 2015-08-06 19:40:39 +02:00
parent b2336b4549
commit 0c7d7e0e32
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}
}

View File

@ -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