Fix sriovnicswitch vendor ID to static value

Added support for Mellanox NIC VFs

Change-Id: Ie4de722934733f08d6398008bf676d74b9408f0f
This commit is contained in:
Aviram Bar-Haim 2016-03-15 13:24:47 +02:00
parent c9ffc114b2
commit 3083194a7d
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ if ( $mlnx['driver'] == 'mlx4_en' and $mlnx['mlnx_qos'] ) {
}
if ($mlnx['sriov']) {
$pci_vendor_devices = generate ("/bin/bash", "-c", 'lspci -nn | grep -i Mellanox | grep -i virtual | awk \'{print $NF}\' | sort -u | tr -d \']\' | tr -d \'[\'')
$pci_vendor_devices = '15b3:1004,15b3:1014,8086:10ca'
$agent_required = 'True'
class { 'mellanox_openstack::controller_sriov' :
eswitch_vnic_type => $eswitch_vnic_type,

View File

@ -5,7 +5,7 @@ name: mellanox-plugin
title: Mellanox Openstack features
# Plugin version
version: 2.0.34
version: 2.0.35
# Description
description: Enable features over Mellanox hardware