From 69d9171f38ba90d70faa721e5e97d09b826baeba Mon Sep 17 00:00:00 2001 From: karthik s Date: Thu, 9 Jun 2016 20:04:04 +0530 Subject: Customize "supported_pci_vendor_devs" for SR-IOV MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows the operator to configure the NIC vendor’s product ID, if it differs from the default supported NICs. By default Intel & Mellanox SR-IOV capable NICs are supported Change-Id: I9b49ae04cc292ed125eeef30033e566e8f849626 Implements: blueprint tripleo-sriov Signed-off-by: karthik s --- puppet/services/neutron-plugin-ml2.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/puppet/services/neutron-plugin-ml2.yaml b/puppet/services/neutron-plugin-ml2.yaml index ff13d5d8..8d3af5fc 100644 --- a/puppet/services/neutron-plugin-ml2.yaml +++ b/puppet/services/neutron-plugin-ml2.yaml @@ -51,7 +51,12 @@ parameters: default: 'vxlan' description: The tenant network type for Neutron. type: comma_delimited_list - + NeutronSupportedPCIVendorDevs: + description: | + List of supported pci vendor devices in the format VendorID:ProductID. + By default Intel & Mellanox SR-IOV capable NICs are supported. + type: comma_delimited_list + default: ['15b3:1004','8086:10ca'] resources: NeutronBase: @@ -104,6 +109,7 @@ outputs: template: TYPES params: TYPES: {get_param: NeutronNetworkType} + neutron::plugins::ml2::supported_pci_vendor_devs: {get_param: NeutronSupportedPCIVendorDevs} step_config: | include ::tripleo::profile::base::neutron::plugins::ml2 -- cgit 1.2.3-korg