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

Module tcm

Implements the RTS Target backstore and storage object classes.

This file is part of RTSLib Community Edition. Copyright (c) 2011 by RisingTide Systems LLC

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 (AGPLv3).

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Classes [hide private]
  StorageObject
This is an interface to storage objects in configFS.
  PSCSIStorageObject
An interface to configFS storage objects for pscsi backstore.
  RDMCPStorageObject
An interface to configFS storage objects for rd_mcp backstore.
  FileIOStorageObject
An interface to configFS storage objects for fileio backstore.
  BlockStorageObject
An interface to configFS storage objects for block backstore.
  _Backstore
Backstore is needed as a level in the configfs hierarchy, but otherwise useless.
Functions [hide private]
 
_test()
Variables [hide private]
  bs_params = {<class 'rtslib.tcm.PSCSIStorageObject'>: {'name':...
  bs_cache = {}
  __package__ = 'rtslib'
Variables Details [hide private]

bs_params

Value:
{<class 'rtslib.tcm.PSCSIStorageObject'>: {'name': 'pscsi'},
 <class 'rtslib.tcm.RDMCPStorageObject'>: {'alt_dirprefix': 'rd_mcp',
                                           'name': 'ramdisk'},
 <class 'rtslib.tcm.FileIOStorageObject'>: {'name': 'fileio'},
 <class 'rtslib.tcm.BlockStorageObject'>: {'alt_dirprefix': 'iblock',
                                           'name': 'block'}}