Package rtslib :: Module tcm :: Class _Backstore
[hide private]
[frames] | no frames]

Class _Backstore

source code

  object --+    
           |    
node.CFSNode --+
               |
              _Backstore

Backstore is needed as a level in the configfs hierarchy, but otherwise useless. 1:1 so:backstore. Created by storageobject ctor before SO configfs entry.

Instance Methods [hide private]
 
__init__(self, name, storage_object_cls, mode)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
delete(self)
If the underlying configFS object does not exist, this method does nothing.
source code
 
_get_index(self) source code
 
_parse_info(self, key) source code
 
_get_version(self) source code
 
_get_plugin(self) source code
 
_get_name(self) source code

Inherited from node.CFSNode: dump, 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]
  plugin
Get the backstore plugin name.
  index
Get the backstore index as an int.
  version
Get the Backstore plugin version string.
  name
Get the backstore name.

Inherited from node.CFSNode: exists, path

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, storage_object_cls, mode)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

delete(self)

source code 

If the underlying configFS object does not exist, this method does nothing. If the underlying configFS object exists, this method attempts to delete it.

Overrides: node.CFSNode.delete
(inherited documentation)

Property Details [hide private]

plugin

Get the backstore plugin name.

Get Method:
_get_plugin(self)

index

Get the backstore index as an int.

Get Method:
_get_index(self)

version

Get the Backstore plugin version string.

Get Method:
_get_version(self)

name

Get the backstore name.

Get Method:
_get_name(self)