From: karthik s Date: Thu, 9 Jun 2016 14:34:04 +0000 (+0530) Subject: Customize "supported_pci_vendor_devs" for SR-IOV X-Git-Tag: opnfv-6.0.0~1706^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=69d9171f38ba90d70faa721e5e97d09b826baeba;p=apex-tripleo-heat-templates.git Customize "supported_pci_vendor_devs" for SR-IOV 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 --- 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