HPE LeftHand/StoreVirtual HTTP REST Client
Project description
HPE LeftHand/StoreVirtual REST Client
===================
This is a Client library that can talk to the HPE LeftHand/StoreVirtual Storage array.
The HPE 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 Requests http library.
This is the new location for the rebranded HP LeftHand/StoreVirtual REST Client and
will be where all future releases are made. It was previously located on PyPi at:
https://pypi.python.org/pypi/hplefthandclient
The GitHub repository for the old HP LeftHand/StoreVirtual REST Client is located at:
https://github.com/hpe-storage/python-lefthandclient/tree/1.x
The HP LeftHand/StoreVirtual REST Client (hplefthandclient) is now considered deprecated.
Requirements
============
This branch requires 11.5 version or later 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
============
To install::
$ sudo pip install .
Unit Tests
==========
To run all unit tests::
$ tox -e py27
To run a specific test::
$ tox -e py27 -- test/file.py:class_name.test_method_name
To run all unit tests with code coverage::
$ tox -e cover
The output of the coverage tests will be placed into the ``coverage`` dir.
Folders
=======
* docs -- contains the documentation.
* hpelefthandlient -- the actual client.py library
* test -- unit tests
* samples -- some sample uses
Documentation
=============
To build the documentation::
$ tox -e docs
To view the built documentation point your browser to::
docs/html/index.html
Running Simulators
==================
Manually run flask server (when config.ini unit=true)::
$ python test/HPELeftHandMockServer_flask.py -port 5001 -user <USERNAME> -password <PASSWORD> -debug
===================
This is a Client library that can talk to the HPE LeftHand/StoreVirtual Storage array.
The HPE 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 Requests http library.
This is the new location for the rebranded HP LeftHand/StoreVirtual REST Client and
will be where all future releases are made. It was previously located on PyPi at:
https://pypi.python.org/pypi/hplefthandclient
The GitHub repository for the old HP LeftHand/StoreVirtual REST Client is located at:
https://github.com/hpe-storage/python-lefthandclient/tree/1.x
The HP LeftHand/StoreVirtual REST Client (hplefthandclient) is now considered deprecated.
Requirements
============
This branch requires 11.5 version or later 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
============
To install::
$ sudo pip install .
Unit Tests
==========
To run all unit tests::
$ tox -e py27
To run a specific test::
$ tox -e py27 -- test/file.py:class_name.test_method_name
To run all unit tests with code coverage::
$ tox -e cover
The output of the coverage tests will be placed into the ``coverage`` dir.
Folders
=======
* docs -- contains the documentation.
* hpelefthandlient -- the actual client.py library
* test -- unit tests
* samples -- some sample uses
Documentation
=============
To build the documentation::
$ tox -e docs
To view the built documentation point your browser to::
docs/html/index.html
Running Simulators
==================
Manually run flask server (when config.ini unit=true)::
$ python test/HPELeftHandMockServer_flask.py -port 5001 -user <USERNAME> -password <PASSWORD> -debug
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for python-lefthandclient-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4a7ca831bf9bcaa48a0213989551e1adadcd0b56b83a03685fe5dbb087e3755 |
|
MD5 | 57f6a8d893163b091a3fcf1d40d2dd9f |
|
BLAKE2b-256 | 485455d40e2db192f5e24af9a1711dc54a8e799eb4aa6fbe530df6798568eded |