RETIRED, further work has moved to Debian project infrastructure
Go to file
Anshul Jain 5dab85a2a4 Redfish: Adds manager support for redfish API's.
This commit enables the support for all redfish API's to make
use of Manager features.
This patch also includes a temporary hack for manager as
'manager_mock.py' file which needs to be removed once new Sushy
version is released with manager feature. Added the 'utils' file
containing the utility function, ``get_subresource_path_by``.

Co-Authored-By: Aparna Vikraman <aparnavtce@gmail.com>
Co-Authored-By: Debayan Ray <debayan.ray@gmail.com>

Partial-Bug: 1691955

Change-Id: Iffec7e2e459455dba3b5bac817faa89341b4b9d3
2017-07-05 11:05:37 -04:00
doc Add hpssa module to proliantutils 2015-02-13 09:36:26 +00:00
proliantutils Redfish: Adds manager support for redfish API's. 2017-07-05 11:05:37 -04: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 Change log added for 2.1.11 release 2016-09-14 09:22:53 -04:00
ChangeLog Change Logs for proliantutils 2.3.0 release 2017-06-22 12:14:18 +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 Aligning redfish calls to new framework 2017-06-01 02:35:04 -04: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*.