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:
parent
b2336b4549
commit
0c7d7e0e32
@ -24,8 +24,8 @@ define neutron::plugins::ml2::mech_driver (
|
|||||||
){
|
){
|
||||||
if ($name == 'sriovnicswitch') {
|
if ($name == 'sriovnicswitch') {
|
||||||
neutron_plugin_ml2 {
|
neutron_plugin_ml2 {
|
||||||
'ml2_sriov/supported_pci_vendor_dev': value => join($supported_pci_vendor_devs, ',');
|
'ml2_sriov/supported_pci_vendor_devs': value => join($supported_pci_vendor_devs, ',');
|
||||||
'ml2_sriov/agent_required': value => $sriov_agent_required;
|
'ml2_sriov/agent_required': value => $sriov_agent_required;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -193,7 +193,7 @@ describe 'neutron::plugins::ml2' do
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
it 'configures sriov mechanism driver with agent_enabled' do
|
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')
|
is_expected.to contain_neutron_plugin_ml2('ml2_sriov/agent_required').with_value('true')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user