Python modules to manage SAN devices
Python library to manage Storage Area Network devices
dnf install python3-netifaces augeas-libs
yum install augeas-libs
yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install python34 --enablerepo=epel
git clone; cd python-libsan
pip install .
# or
python setup.py install
python setup.py install --prefix= # Fedora
# use 'python3', 'pip3' where available
pip install libsan
pip uninstall libsan
# or
python setup.py install --force --record files.txt
cat files.txt | xargs rm -rf
python setup.py sdist
python setup.py bdist --format=rpm
Before using the modules it is better to 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.