Skip to main content

Python Storage Toolkit

Project description

https://travis-ci.org/kairoaraujo/PyStorage.svg?branch=master
PyStorage:

Python Storage Disk Toolkit

Copyright:

Copyright (c) 2016 Kairo Araujo <kairo@kairo.eti.br>

License:

BSD

Development:

https://github.com/kairoaraujo/PyStorage

Overview

This is a collection of storage disk commands.

At the moment the actual version is supporting some commands of EMC VMAX Storage.

Requirements

  • Python 2.7

Install

  • Using PIP:

$ pip install PyStorage
  • Offline install

Download the package on https://pypi.python.org/pypi/PyStorage/

$ tar xvzf PyStorage-X.Y.tar.gz
$ cd PyStorage-X.Y
$ python setup.py install

Using:

>>> import pystorage
>>> symcli_path = '/opt/emc/SYMCLI/bin'
>>> my_vmax = pystorage.EMC.VMAX(symcli_path)

Listing pools:

>>> my_vmax.lspools('168')

Getting the Initiator Group Name

>>> print my_vmax.get_ign('168', '10:23:45:67:89:0A:BC:DE')
IG_DBSERVER_LINUX

or

>>> my_vmax.get_ign('168', '10234567890ABCDE')

IMPORTANT:

EMC, SYMCLI and VMAX are trademarks of EMC in the United States, other countries, or both.

IBM and DS are trademarks of EMC in the United States, other countries, or both.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyStorage-0.3.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page