sdflexutils
sdflexutils is a library for interfacing and managing HPE Superdome Flex Servers. This library is used by OpenStack Ironic hardware type sdflex-redfish for managing Superdome Flex Servers in OpenStack Ironic environment. This hardware type is provided by sdflex-ironic-driver.
Installation
Install the module from PyPI:
pip install sdflexutils
or:
git clone https://github.com/HewlettPackard/sdflexutils
cd sdflexutils
pip install .
Usage
For interfacing with the Superdome Flex Server, use SDFlexClient object:
>>> from sdflexutils import client
>>> sdflex_client = client.SDFlexClient('https://10.10.1.57', 'administrator', 'password', 'redfish/v1/Systems/Partition0')
>>> sdflex_client.get_host_power_status()
'OFF'
>>>
Documentation
For more documentation on sdflexutils library, see sdflexutils wiki page.
Reporting Bugs
To report bugs, use github issues.