Package rtslib :: Module fabric :: Class Qla2xxxFabricModule
[hide private]
[frames] | no frames]

Class Qla2xxxFabricModule

   object --+        
            |        
 node.CFSNode --+    
                |    
_BaseFabricModule --+
                    |
                   Qla2xxxFabricModule

Instance Methods [hide private]
 
__init__(self)
Instantiate a FabricModule object, according to the provided name.
 
to_fabric_wwn(self, wwn)
Some fabrics need WWNs in a format different than rtslib's internal format.
 
from_fabric_wwn(self, wwn)
Converts from WWN format used in this fabric's LIO configfs to canonical format.

Inherited from _BaseFabricModule: clear_discovery_auth_settings, dump, has_feature, needs_wwn, setup, to_normalized_wwn

Inherited from node.CFSNode: __eq__, __ne__, delete, get_attribute, get_parameter, list_attributes, list_parameters, set_attribute, set_parameter

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from node.CFSNode: configfs_dir

Properties [hide private]
  wwns
iterable of WWNs present for this fabric

Inherited from _BaseFabricModule: discovery_authenticate_target, discovery_enable_auth, discovery_mutual_password, discovery_mutual_userid, discovery_password, discovery_userid, targets, version

Inherited from node.CFSNode: exists, path

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

 

Instantiate a FabricModule object, according to the provided name.

Parameters:
  • name - the name of the FabricModule object. It must match an existing target fabric module specfile (name.spec).
Overrides: object.__init__
(inherited documentation)

to_fabric_wwn(self, wwn)

 

Some fabrics need WWNs in a format different than rtslib's internal format. These fabrics should override this method.

Overrides: _BaseFabricModule.to_fabric_wwn
(inherited documentation)

from_fabric_wwn(self, wwn)

 

Converts from WWN format used in this fabric's LIO configfs to canonical format. Note: Do not call from wwns(). There's no guarantee fabric wwn format is the same as wherever wwns() is reading from.

Overrides: _BaseFabricModule.from_fabric_wwn
(inherited documentation)

Property Details [hide private]

wwns

iterable of WWNs present for this fabric

Get Method:
unreachable.wwns(self)