Customize "supported_pci_vendor_devs" for SR-IOV
authorkarthik s <ksundara@redhat.com>
Thu, 9 Jun 2016 14:34:04 +0000 (20:04 +0530)
committerkarthik s <ksundara@redhat.com>
Tue, 5 Jul 2016 09:33:33 +0000 (15:03 +0530)
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>
puppet/services/neutron-plugin-ml2.yaml

index ff13d5d..8d3af5f 100644 (file)
@@ -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