Utility library for managing HP Proliant servers (used in Ironic iLO drivers).
Go to file
mvpnitesh da0c7b3db9 Fixes session issue for Gen10 servers
For HPE Gen10 servers we are not able to receive consistent response
while accessing the System with id: "/redfish/v1/Systems/1".
The reason was related to multiple Sushy object creation which in
turn will create multiple active sessions for the same Redfish
controller at any given point.

Instead of using session based authentication (the default behaviour
in Sushy) we use basic authentication at the time of Sushy object
creation. This fixes the session issue for Gen10 servers.

Change-Id: Ic13da26a77863f8c383fa8ba185e05a8fc2e9fcf
Closes-Bug: #1764395
2018-04-17 10:12:24 +00:00
doc Add hpssa module to proliantutils 2015-02-13 09:36:26 +00:00
proliantutils Fixes session issue for Gen10 servers 2018-04-17 10:12:24 +00:00
.gitignore Adds test coverage in tox.ini 2016-03-27 22:34:12 -07:00
.testr.conf Add tox for proliantutils module 2015-02-03 03:14:24 -08:00
AUTHORS Updated ChangeLog for proliantutils release 2.5.1 2018-03-01 04:59:10 +00:00
ChangeLog Updated ChangeLog for proliantutils release 2.5.1 2018-03-01 04:59:10 +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 Update documentation 2015-07-27 02:16:12 -07:00
requirements.txt Fixes session issue for Gen10 servers 2018-04-17 10:12:24 +00:00
setup.cfg Added changelog and authors 2016-02-25 05:46:08 -08:00
setup.py [Fix gate] Update pbr requirement 2017-03-03 00:18:17 -05:00
test-requirements.txt [Fix gate] Update pbr requirement 2017-03-03 00:18:17 -05:00
tox.ini Merge "Add upper-constraints to testenv setup" 2017-06-16 05:59:00 +00:00

README.md

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