This is an interface to RTS Target Fabric Modules. It can load/unload
modules, provide information about them and handle the configfs
housekeeping. It uses module configuration files in
/var/target/fabric/*.spec. After instanciation, whether or not the fabric
module is loaded and
|
__init__(self,
name)
Instanciate a FabricModule object, according to the provided name. |
|
|
|
|
|
has_feature(self,
feature)
Whether or not this FabricModule has a certain feature. |
|
|
|
_load(self)
Attempt to load the target fabric kernel module as defined in the
specfile. |
|
|
|
_parse_spec(self)
Parses the fabric module spec file. |
|
|
|
|
|
|
|
is_valid_wwn(self,
wwn)
Checks whether or not the provided WWN is valid for this fabric
module according to the spec file. |
|
|
|
needs_wwn(self)
This fabric requires wwn to be specified when creating a target, it
cannot be autogenerated. |
|
|
|
_assert_feature(self,
feature) |
|
|
|
clear_discovery_auth_settings(self) |
|
|
|
_get_discovery_mutual_password(self) |
|
|
|
_set_discovery_mutual_password(self,
password) |
|
|
|
_get_discovery_mutual_userid(self) |
|
|
|
_set_discovery_mutual_userid(self,
userid) |
|
|
|
_get_discovery_password(self) |
|
|
|
_set_discovery_password(self,
password) |
|
|
|
_get_discovery_userid(self) |
|
|
|
_set_discovery_userid(self,
userid) |
|
|
|
_get_discovery_enable_auth(self) |
|
|
|
_set_discovery_enable_auth(self,
enable) |
|
|
|
setup(self,
fm)
Setup fabricmodule with settings from fm dict. |
|
|
|
|
Inherited from node.CFSNode :
__str__ ,
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__ ,
__subclasshook__
|