Skip to content

HewlettPackard/sdflexutils

Repository files navigation

sdflexutils

sdflexutils is a library for interfacing and managing HPE Superdome Flex 280 and HPE Superdome Flex Servers. This library is used by OpenStack Ironic hardware type sdflex-redfish for managing Superdome Flex 280 and Superdome Flex Servers in OpenStack Ironic environment. This hardware type is provided by sdflex-ironic-driver.

sdflexutils library can also be used independently (without OpenStack Ironic) to perform the tasks remotely on Superdome Flex 280 and Superdome Flex servers.

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.