086b3485c2
Currently the IloClient object cached uses iLO host as the key. This can be issue if the iLO credentials are changed. The cached node will not use new credentials leading to failure in communication with iLO. Change-Id: Ie1ea10aae78c4dab307d8a31996322597046ecb1 Closes-Bug: 1852688 |
||
---|---|---|
doc | ||
proliantutils | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.zuul.yaml | ||
LICENSE | ||
README.md | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.md
proliantutils
proliantutils is a set of utility libraries for interfacing and managing various components (like iLO, HPSSA) for HPE 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 HPE 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*.