This is an interface to RTS Target LUNs in configFS. A LUN is
identified by its parent TPG and LUN index.
|
|
|
|
|
__init__(self,
parent_tpg,
lun=None,
storage_object=None,
alias=None)
A LUN object can be instanciated in two ways: |
|
|
|
|
| _configure(self,
storage_object,
alias) |
|
|
|
|
|
|
|
| _get_storage_object(self) |
|
|
|
|
|
|
|
|
|
|
|
|
|
| _get_alua_tg_pt_gp_name(self) |
|
|
|
|
| _set_alua_tg_pt_gp_name(self,
group_name) |
|
|
|
|
delete(self)
If the underlying configFS object does not exist, this method does
nothing. |
|
|
|
|
|
|
Inherited from node.CFSNode:
__eq__,
__ne__,
get_attribute,
get_parameter,
list_attributes,
list_parameters,
set_attribute,
set_parameter
|
|
|
MAX_TARGET_LUN = 65535
|
|
|
parent_tpg = property(_get_parent_tpg, doc= "Get the parent TP...
|
|
|
lun = property(_get_lun, doc= "Get the LUN index as an int.")
|
|
|
storage_object = property(_get_storage_object, doc= "Get the s...
|
|
|
alias = property(_get_alias, doc= "Get the LUN alias.")
|
|
|
mapped_luns = property(_list_mapped_luns, doc= "List all Mappe...
|
|
|
alua_tg_pt_gp_name = property(_get_alua_tg_pt_gp_name, _set_al...
|
|
Inherited from node.CFSNode:
configfs_dir,
exists,
path
|