Skip to main content
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 Requests http library.

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.
* hplefthandlient -- 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/HPLeftHandMockServer_flask.py -port 5001 -user <USERNAME> -password <PASSWORD> -debug

Metadata

Release files for hplefthandclient 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hplefthandclient 1.1.0
File Size Uploaded Provenance Actions
hplefthandclient-1.1.0.tar.gz 15.9 kB Without provenance Details for hplefthandclient-1.1.0.tar.gz

Release files / hplefthandclient-1.1.0.tar.gz

Download URL hplefthandclient-1.1.0.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6cc861158ea3eea6a331240614d1ac266206802da7721a7a68f86fa476b6208d
BLAKE2b-256 checksum
How to use checksums
7b4ac3b277470293e99988e73b3a7b1f047fcf19527b7dabd300fc7e0dbdf262
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hplefthandclient 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page