Home | Trees | Indices | Help |
|
---|
|
object --+ | node.CFSNode --+ | LUN
This is an interface to RTS Target LUNs in configFS. A LUN is identified by its parent TPG and LUN index.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
alua_metadata_path Get the ALUA metadata directory path for the LUN. |
|||
parent_tpg Get the parent TPG object. |
|||
lun Get the LUN index as an int. |
|||
storage_object Get the storage object attached to the LUN. |
|||
alias Get the LUN alias. |
|||
mapped_luns List all MappedLUN objects referencing this LUN. |
|||
Inherited from Inherited from |
|
A LUN object can be instantiated in two ways:
|
Creates the configFS node if it does not already exist depending on the mode. any -> makes sure it exists, also works if the node already does exist lookup -> make sure it does NOT exist create -> create the node which must not exist beforehand Upon success (no exception raised), self._fresh is True if a node was created, else self._fresh is False.
|
If the underlying configFS object does not exist, this method does nothing. If the underlying configFS object exists, this method attempts to delete it along with all MappedLUN objects referencing that LUN.
|
|
alua_metadata_pathGet the ALUA metadata directory path for the LUN.
|
parent_tpgGet the parent TPG object.
|
lunGet the LUN index as an int.
|
storage_objectGet the storage object attached to the LUN.
|
aliasGet the LUN alias.
|
mapped_lunsList all MappedLUN objects referencing this LUN.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Nov 7 18:08:21 2014 | http://epydoc.sourceforge.net |