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

Class _Backstore

  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)
 
delete(self)
If the underlying configFS object does not exist, this method does nothing.
 
_get_index(self)
 
_parse_info(self, key)
 
_get_version(self)
 
_get_plugin(self)
 
_get_name(self)

Inherited from node.CFSNode: __eq__, __ne__, dump, get_attribute, get_parameter, list_attributes, list_parameters, set_attribute, set_parameter

Class Variables [hide private]
  plugin = property(_get_plugin, doc= "Get the backstore plugin ...
  index = property(_get_index, doc= "Get the backstore index as ...
  version = property(_get_version, doc= "Get the Backstore plugi...
  name = property(_get_name, doc= "Get the backstore name.")

Inherited from node.CFSNode: configfs_dir, exists, path

Method Details [hide private]

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

 
Overrides: node.CFSNode.__init__

delete(self)

 

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)

Class Variable Details [hide private]

plugin

Value:
property(_get_plugin, doc= "Get the backstore plugin name.")

index

Value:
property(_get_index, doc= "Get the backstore index as an int.")

version

Value:
property(_get_version, doc= "Get the Backstore plugin version string."\
)