RETIRED, further work has moved to Debian project infrastructure
Go to file
Anthony Lee 2f9950d439 Added more detail to unit test output
Enabled verbose output to give more details about
unit tests and whether they passed/failed.

Change-Id: Ib9b194353c69216fb75e7d92e563cfb69602e5ea
2014-07-21 17:40:58 -07:00
docs Update version number to 1.0.3 2014-04-08 09:53:29 -07:00
hplefthandclient Update version number to 1.0.3 2014-04-08 09:53:29 -07:00
samples Initial commit of the hplefthand client 2013-12-12 16:25:45 -08:00
test Made Test Volume Names Time-Unique To Avoid Test Problems 2014-07-21 17:23:03 -07:00
LICENSE.txt Initial commit of the hplefthand client 2013-12-12 16:25:45 -08:00
README.rst Initial commit of the hplefthand client 2013-12-12 16:25:45 -08:00
requirements.txt Add tox support for unit tests 2014-07-21 17:09:54 -07:00
setup.py Modify to support Python 3.0 2014-01-07 13:27:12 -08:00
test-requirements.txt Add tox support for unit tests 2014-07-21 17:09:54 -07:00
tox.ini Added more detail to unit test output 2014-07-21 17:40:58 -07:00

README.rst

HP LeftHand/StoreVirtual REST Client =================== This is a Client library that can talk to the HP LeftHand/StoreVirtual Storage array. The HP LeftHand storage array has a REST web service interface. This client library implements a simple interface to talk with that REST interface using the python httplib2 http library.

Requirements

This branch requires 11.5 version of the LeftHand OS firmware.

Capabilities

  • Get Volume(s)
  • Get Volume by Name
  • Create Volume
  • Delete Volume
  • Modify Volume
  • Clone Volume
  • Get Snapshot(s)
  • Delete Shapshot
  • Get Shapshot by Name
  • Create Snapshot
  • Delete Snapshot
  • Clone Snapshot
  • Get Cluster(s)
  • Get Cluster by Name
  • Get Server(s)
  • Get Server by Name
  • Create Server
  • Delete Server
  • Add Server Access
  • Remove Server Access

Installation

$ python setup.py install

Unit Tests

$ pip install nose
$ pip install nose-testconfig
$ cd test
$ nosetests --tc-file config.ini

Folders

  • docs -- contains the documentation.
  • hplefthandlient -- the actual client.py library
  • test -- unit tests
  • samples -- some sample uses

Documentation

To view the built documentation point your browser to

python-hplefthand/docs/_build/html/index.html