Home | Trees | Indices | Help |
|
---|
|
object --+ | node.CFSNode --+ | RTSRoot
This is an interface to the root of the configFS object tree. Is allows one to start browsing Target and Backstore objects, as well as helper methods to return arbitrary objects from the configFS tree.
>>> import rtslib.root as root >>> rtsroot = root.RTSRoot() >>> rtsroot.path '/sys/kernel/config/target' >>> rtsroot.exists True >>> rtsroot.targets # doctest: +ELLIPSIS [...] >>> rtsroot.backstores # doctest: +ELLIPSIS [...] >>> rtsroot.tpgs # doctest: +ELLIPSIS [...] >>> rtsroot.storage_objects # doctest: +ELLIPSIS [...] >>> rtsroot.network_portals # doctest: +ELLIPSIS [...]
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
target_core_mod =
|
|||
Inherited from |
|
|||
backstores Get the list of Backstore objects. |
|||
targets Get the list of Target objects. |
|||
tpgs Get the list of all the existing TPG objects. |
|||
node_acls Get the list of all the existing NodeACL objects. |
|||
network_portals Get the list of all the existing Network Portal objects. |
|||
storage_objects Get the list of all the existing Storage objects. |
|||
luns Get the list of all existing LUN objects. |
|||
fabric_modules Get the list of all FabricModule objects. |
|||
Inherited from Inherited from |
|
Instantiate an RTSRoot object. Basically checks for configfs setup and base kernel modules (tcm )
|
str(x)
|
|
backstoresGet the list of Backstore objects.
|
targetsGet the list of Target objects.
|
tpgsGet the list of all the existing TPG objects.
|
node_aclsGet the list of all the existing NodeACL objects.
|
network_portalsGet the list of all the existing Network Portal objects.
|
storage_objectsGet the list of all the existing Storage objects.
|
lunsGet the list of all existing LUN objects.
|
fabric_modulesGet the list of all FabricModule objects.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Nov 7 18:08:21 2014 | http://epydoc.sourceforge.net |