25f4881730
To support setting iscsi target as a one time boot option some code changes were made earlier in the `set_one_time_boot` API of 'RISOperations' class. However this doesn't completely address the issue since the 'RISOperations' object can not be used directly and only can be exposed via 'IloClient' class. This requires the API signature to be changed for the 'IloClient', 'IloOperations' and 'RIBCLOperations' classes. Changes 'set_one_time_boot' API signature to allow to accept MAC value which is required when setting the boot device to iscsi target. Change-Id: Ib47345a69e39e3a8183b84d5645c98c923e80b37 Closes-Bug: 1723863 |
||
---|---|---|
doc | ||
proliantutils | ||
.gitignore | ||
.testr.conf | ||
AUTHORS | ||
ChangeLog | ||
LICENSE | ||
README.md | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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*.