Go to file
Debayan Ray 4db1e580e2 Instrumenting redfish into proliantutils' client
This patch introduces the instrumentation of redfish object's
method invocation from ``ilo.client.IloClient`` object. When
a method is invoked on client, based on the target hardware
the execution of that corresponding method bestows on RIBCL,
RIS or Redfish. Again, when the context is Redfish then there
RIBCL can remain enabled/disabled. In case of RIBCL enabled,
we fall back to RIBCL for any method invocation which is not
(yet) implemented in Redfish. For RIBCL being disabled, we
raise ``NotImplementedError``.

This also introduces a parameter in client constructor named
'use_redfish_only' which when set to True will force the use
of redfish. Default value is False.

Change-Id: Iaf261a17da137a6fa49e62d9ff2a7cf34c97c2e3
Partial-Bug: 1646685
2017-05-08 05:59:14 -04:00
2015-02-13 09:36:26 +00:00
2016-03-27 22:34:12 -07:00
2015-02-03 03:14:24 -08:00
2016-09-14 09:22:53 -04:00
2014-05-26 03:40:34 -07:00
2015-02-03 01:27:30 -08:00
2015-07-27 02:16:12 -07:00
2016-02-25 05:46:08 -08:00
2017-03-03 00:18:17 -05:00

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*.
Description
RETIRED, further work has moved to Debian project infrastructure
Readme 679 KiB
Languages
Python 100%