Skip to content

This is a python client that talks to the HP 3PAR storage array via REST.

License

Notifications You must be signed in to change notification settings

rasselin/python-3parclient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HP 3PAR REST Client

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

Requirements

This branch requires 3.1.2 MU2 version of the 3par firmware.

Capabilities

  • Create Volume
  • Delete Volume
  • Get all volumes
  • Get a volume
  • Create CPG
  • Delete CPG
  • Get all CPGs
  • Get a CPG
  • Create a VLUN
  • Delete a VLUN
  • Get all VLUNs
  • Get a VLUN
  • Create a Host
  • Delete a Host
  • Get all Hosts
  • Get a host
  • Get all Ports
  • Get iSCSI Ports
  • Get FC Ports
  • Get IP Ports

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.
  • hp3parclient -- the actual client.py library
  • test -- unit tests
  • samples -- some sample uses

Documentation

To view the built documentation point your browser to

python-3parclient/docs/_build/html/index.html

About

This is a python client that talks to the HP 3PAR storage array via REST.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published