Utility library for managing HP Proliant servers (used in Ironic iLO drivers).
Go to file
Riccardo Pittau 6e03a55374 Enable check import order
Enable pep8 import order Using flake8-import-order.

Change-Id: I89e192d9c756156b4e86cbbf2399b9b23fb5edd5
2020-07-06 15:20:12 +02:00
doc Add hpssa module to proliantutils 2015-02-13 09:36:26 +00:00
proliantutils Enable check import order 2020-07-06 15:20:12 +02:00
.gitignore Bump hacking to 3.0.0 2020-03-31 09:45:01 +02: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 Adds py3 to tox environment 2020-06-26 13:20:41 -04: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 Updates mimimum version of sushy in requirements 2020-02-21 07:45:08 -05:00
setup.cfg Adds py3 to tox environment 2020-06-26 13:20:41 -04:00
setup.py [Fix gate] Update pbr requirement 2017-03-03 00:18:17 -05:00
test-requirements.txt Enable check import order 2020-07-06 15:20:12 +02:00
tox.ini Enable check import order 2020-07-06 15:20:12 +02: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*.