From a04617c92b745a5ce205d52c2a84d935f3398527 Mon Sep 17 00:00:00 2001 From: osmithde Date: Thu, 5 Apr 2018 08:08:45 -0700 Subject: [PATCH] Add fnic2 fabric module support --- rtslib/fabric.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rtslib/fabric.py b/rtslib/fabric.py index b529f14..3276beb 100644 --- a/rtslib/fabric.py +++ b/rtslib/fabric.py @@ -357,6 +357,13 @@ def wwns(self): break +class Fnic2FabricModule(_BaseFabricModule): + def __init__(self): + super(Fnic2FabricModule, self).__init__('fnic2') + self.features = ("acls") + self.kernel_module = "fnic2" + + class Qla2xxxFabricModule(_BaseFabricModule): def __init__(self): super(Qla2xxxFabricModule, self).__init__('qla2xxx') @@ -471,6 +478,7 @@ def wwns(self): "vhost": VhostFabricModule, "xen-pvscsi": XenPvScsiFabricModule, "ibmvscsis": IbmvscsisFabricModule, + "fnic2": Fnic2FabricModule, } #