proliantutils/README.rst
kesper 3326937b86 Updated README file
Changed 'HP' to 'HPE' in the README

Change-Id: I0df4a3667df244a82d92fecb5c74e69c8e974a74
2019-08-09 06:23:48 +00:00

1.1 KiB

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.

Installation

Install the module from PyPI. If you are using Ironic, install the module on Ironic conductor node:

pip install 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.