Metadata-Version: 2.1
Name: libsan
Version: 0.5.3
Summary: Python modules to manage SAN devices
Project-URL: Repository, https://gitlab.com/rh-kernel-stqe/python-libsan
Author-email: Bruno Goncalves <bgoncalv@redhat.com>
Maintainer-email: Bruno Goncalves <bgoncalv@redhat.com>, Martin Hoyer <mhoyer@redhat.com>, Filip Suba <fsuba@redhat.com>
License-Expression: GPL-3.0-or-later
License-File: LICENSE
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.6
Requires-Dist: configobj>=5.0.8
Requires-Dist: netapp-ontap>=9.11.1.0
Requires-Dist: netifaces2>=0.0.13
Requires-Dist: requests>=2.27.1
Provides-Extra: ssh
Requires-Dist: ssh2-python>=1.0.0; extra == 'ssh'
Description-Content-Type: text/markdown

# LibSAN

Python library to manage Storage Area Network devices
## Installation
### Dependencies
 * Python>=3.6
 * pip>=20.3

### Fedora, RHEL-8, RHEL-9
`dnf install python3-pip`  

(optional) create virtualenv  
`python3 -m pip install virtualenv`  
`python3 -m venv ~/libsan-venv`

`~/libsan-venv/bin/python3 -m pip install -U pip wheel`  
`~/libsan-venv/bin/python3 -m pip install libsan`  
(use `libsan[ssh]` to install optional ssh capabilities)


### From source
`git clone; cd python-libsan` \
`python3 -m pip install .` \
or \
`python3 -m pip install .[ssh]`

### Installation on alternate architectures
Before installing libsan on non-x86_64 archs (s390x, ppc64le, aarch64),
install `python3-devel` and `gcc` to be able to compile dependencies as needed.

### How to uninstall the module
`python3 -m pip uninstall libsan`

## Usage:
Before using the modules copy sample_san_top.conf
to /etc/san_top.conf (this is the default path to read the config) and
edit it according to your SAN environment.
