aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorkarthik s <ksundara@redhat.com>2016-06-09 20:04:04 +0530
committerkarthik s <ksundara@redhat.com>2016-07-05 15:03:33 +0530
commit69d9171f38ba90d70faa721e5e97d09b826baeba (patch)
treebf53010702e662a3c758a4a97fbbebd7299406ef /puppet/services
parenta70464cd0d03c785bf9e87ba842f1a68aaa7a511 (diff)
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 <ksundara@redhat.com>
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/neutron-plugin-ml2.yaml8
1 files changed, 7 insertions, 1 deletions
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