A python library and CLI to inspect CORAID disks mounted on libvirt domains.
vsx info [ <guest> ] [ -a ]
vsx mask show <guest>
vsx mask (set | rm) <guest> [ <host> ]
vsx snap show [ <guest> ]
vsx lv <lvname>
vsx (suspend | resume) [ <shelf> ]
vsx csv
vsx pvs
vsx poolsOn a Debian machine:
git clone [email protected]:virtualization/vsx.git
cd vsx
sudo make depEdit the file vsx/config.py with the esm hostname,
the esm user and password, the hosts and the vsx shelves you want
to manage and then run
sudo make installAs an alternative, you can install the program manually running:
sudo python setup.py installBut keep in mind that you have to provide the following dependencies:
- setuptools
- pip
- libxml2
- libxslt
- libpython2.7
- zlib1g
- pkg-config
- libvirt-dev
- libvirt-bin
To generate documentation use epydoc packages:
cd path/to/vsx
epydoc --html -o docs vsx.pyRead epydoc manual for other output formats and options:
epydoc -hTo install the epydoc package on:
sudo pip install epydocor download the installation package from Epydoc and follow the instructions.