Merge "ml2: Fix typo with ml2_srvio/supported_pci_vendor_devs param."

This commit is contained in:
Jenkins 2015-08-11 08:37:47 +00:00 committed by Gerrit Code Review
commit 5561243f5a
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

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