About
=====

OpenLMI-Storage is CIM provider for storage management on Linux.
Currently it has SMI-S like API, Block Devices Package is paritally
implemented. See Documentation below for details.

The provider is written in Python and based on Anaconda installer storage
module. Therefore it is probably usable only on Red Hat based distros,
like Fedora.

BEWARE! The CIM API is not stable at all! SMI-S is still being evaluated.


Installation
============
Prepare software (using sblim here, might be different for Pegasus):
    $ yum install sblim-sfcb cmpi-bindings-pywbem

Install openlmi-storage somewhere, using /usr/lib/python2.7/site-packages/openlmi/storage/ here
    $ mkdir /usr/lib/python2.7/site-packages/openlmi/storage/
    $ cp -r providers/* /usr/lib/python2.7/site-packages/openlmi/storage/

Register python providers and MOF file:
    $ vim mof/LMI_Storage.reg     # change the paths in the file
    $ sfcbrepos mof/LMI_Storage.mof mof/LMI_Storage.reg


Documentation
=============

CIM API is fully documented in mof/LMI_Storage.mof and in doc/ subdirectory.
To compile the documentation to readable format install Dia and python-sphinx.

  $ cd doc
  $ make html


Contact
=======

Homepage: https://fedorahosted.org/openlmi/
Code: http://git.fedorahosted.org/cgit/openlmi-storage.git

Mailing list: OpenLMI-devel [at] lists.fedorahosted.org
  Archive: https://lists.fedorahosted.org/mailman/listinfo/openlmi-devel

Bugs: use Fedora bugzilla at https://bugzilla.redhat.com
  Use Fedora as Product and OpenLMI-storage as component
  New bug: https://bugzilla.redhat.com/enter_bug.cgi?format=guided&product=Fedora&component=openlmi-storage
