summaryrefslogtreecommitdiff
path: root/nics
diff options
context:
space:
mode:
authorYong Liu <yong.liu@intel.com>2016-02-03 14:50:16 +0800
committersys_stv <sys_stv@intel.com>2016-02-03 16:45:19 +0800
commit0b6721999cc6976f9fc0c3c9da39de169081df36 (patch)
tree92fd10f033ca2d8ea12a4f09620b452ba2f6d860 /nics
parent65704f1843111217a23aefdce4e67292cb519f34 (diff)
nics net_device: support Boulder Rapid network object
Signed-off-by: Marvin Liu <yong.liu@intel.com>
Diffstat (limited to 'nics')
-rw-r--r--nics/net_device.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nics/net_device.py b/nics/net_device.py
index 2299e6f..9d9e1ac 100644
--- a/nics/net_device.py
+++ b/nics/net_device.py
@@ -835,6 +835,10 @@ def GetNicObj(crb, bus_id, devfun_id):
# atwood nic need special initialization
from atwood import Atwood
obj = Atwood(crb, bus_id, devfun_id)
+ elif nic == 'boulderrapid':
+ # atwood nic need special initialization
+ from br import BoulderRapid
+ obj = BoulderRapid(crb, bus_id, devfun_id)
else:
obj = NetDevice(crb, bus_id, devfun_id)