Skip to main content

Python Storage Toolkit

Project description

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.

Files for PyStorage, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size PyStorage-0.3.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page