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) x.__init__(...) initializes x; see help(type(x)) for signature |

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`

Inherited from `node.CFSNode` (private): `_check_self`, `_create_in_cfs_ine`, `_exists`, `_get_path`, `_list_files`

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)

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

Overrides: object.__init__
  (inherited documentation)

### 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)

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)