Utility library for managing HP Proliant servers (used in Ironic iLO drivers).
Go to file
Shivanand Tendulker 086b3485c2 Fixes caching of ilo instances to use admin credentials
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
2019-11-15 02:51:27 -05:00
doc Add hpssa module to proliantutils 2015-02-13 09:36:26 +00:00
proliantutils Fixes caching of ilo instances to use admin credentials 2019-11-15 02:51:27 -05:00
.gitignore Remove checked in copy of the ChangeLog 2019-07-11 06:09:12 +00:00
.gitreview Add a .gitreview file to point to the gerrit instance 2019-05-14 12:00:28 +02:00
.stestr.conf Adding changes for tox failure 2019-05-10 06:47:49 +00:00
.zuul.yaml Add unit tests for python 3.6/3.7 2019-06-14 12:43:24 +00:00
LICENSE Initial commit 2014-05-26 03:40:34 -07:00
README.md Add support for pbr 2015-02-03 01:27:30 -08:00
README.rst Updated README file 2019-08-09 06:23:48 +00:00
requirements.txt jsonschema3.0.1: Uncap jsonschema 2019-04-26 03:55:37 -07:00
setup.cfg Add unit tests for python 3.6/3.7 2019-06-14 12:43:24 +00:00
setup.py [Fix gate] Update pbr requirement 2017-03-03 00:18:17 -05:00
test-requirements.txt Finish conversion to stestr 2019-05-14 12:42:10 +02:00
tox.ini Merge "Finish conversion to stestr" 2019-06-25 04:57:16 +00:00

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*.