RETIRED, further work has moved to Debian project infrastructure
ac0595ecf9
Earlier we had included a temporary hack [0] for manager to pass in 'manager_mock.py' file till the point a new Sushy version is released with manager feature. This is to remove that temporary hack as Sushy had been released recently. Also pegged the version of Sushy to >=1.0.0 in requirements. [0] https://review.openstack.org/#/c/473719/ Change-Id: I8eb2389730bb5d65338d2562fe2a9462bafc3479 |
||
---|---|---|
doc | ||
proliantutils | ||
.gitignore | ||
.testr.conf | ||
AUTHORS | ||
ChangeLog | ||
LICENSE | ||
README.md | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
proliantutils
proliantutils is a set of utility libraries for interfacing and managing various components (like iLO, HPSSA) for HP Proliant Servers. This library is used by iLO drivers in Ironic for managing Proliant Servers (though the library can be used by anyone who wants to manage HP Proliant servers).
Please use launchpad_ to report bugs and ask questions.
.. _launchpad: https://bugs.launchpad.net/proliantutils
Installation
Install the module from PyPI_. If you are using Ironic, install the module on Ironic conductor node::
pip install proliantutils
.. _PyPI: https://pypi.python.org/pypi/proliantutils
Some GNU/Linux distributions provide python-proliantutils package.
Usage
iLO
For interfacing with the iLO, use *IloClient* object::
>>> from proliantutils.ilo import client
>>> ilo_client = client.IloClient('10.10.1.57', 'Administrator', 'password')
>>> ilo_client.get_host_power_status()
'OFF'
>>>
For operations supported on the client object, please refer
*proliantutils.ilo.operations*.