Sushy is a small Python library to communicate with Redfish based systems
Go to file
Lucas Alvares Gomes 56af7a5616 Rework exceptions
This patch is reworking the exceptions that can be raised from Sushy,
before this patch many errors such as HTTP 4XX or 5XX were failing
silently.

This patch add custom exceptions for cases such as ConnectionError and
HTTPError that can be raised from requests.

Change-Id: I57ff8dffdfe0ab763bd0194e1916db8ae7a7861d
2017-02-28 11:03:35 +00:00
doc/source Create a tox target for running the libvirt simulator 2017-02-27 15:05:09 +00:00
releasenotes Initial commit 2017-02-13 22:04:23 +00:00
sushy Rework exceptions 2017-02-28 11:03:35 +00:00
tools [libvirt-simulator] Use a real identity in links from System 2017-02-24 17:35:32 +01:00
.coveragerc Initial commit 2017-02-13 22:04:23 +00:00
.gitignore Initial commit 2017-02-13 22:04:23 +00:00
.gitreview Initial commit 2017-02-13 22:04:23 +00:00
.mailmap Initial commit 2017-02-13 22:04:23 +00:00
.testr.conf Initial commit 2017-02-13 22:04:23 +00:00
CONTRIBUTING.rst Initial commit 2017-02-13 22:04:23 +00:00
HACKING.rst Initial commit 2017-02-13 22:04:23 +00:00
LICENSE Initial commit 2017-02-13 22:04:23 +00:00
MANIFEST.in Initial commit 2017-02-13 22:04:23 +00:00
README.rst Fix documentation link 2017-02-15 11:07:00 +00:00
babel.cfg Initial commit 2017-02-13 22:04:23 +00:00
requirements.txt Updated from global requirements 2017-02-17 09:43:52 +00:00
setup.cfg Initial commit 2017-02-13 22:04:23 +00:00
setup.py Initial commit 2017-02-13 22:04:23 +00:00
test-requirements.txt Updated from global requirements 2017-02-17 09:43:52 +00:00
tox.ini Create a tox target for running the libvirt simulator 2017-02-27 15:05:09 +00:00

README.rst

Sushy

Sushy is a Python library to communicate with Redfish based systems.

The goal of the library is to be extremely simple, small, have as few dependencies as possible and be very conservative when dealing with BMCs by issuing just enough requests to it (BMCs are very flaky).

Therefore, the scope of the library has been limited to what is supported by the OpenStack Ironic project. As the project grows and more features from Redfish are needed we can expand Sushy to fullfil those requirements.

Features

  • Abstraction around the SystemCollection and System resources (Basic server identification and asset information)
  • Systems power management (Both soft and hard; Including NMI injection)
  • Changing systems boot device, frequency (Once or permanently) and mode (UEFI or BIOS)

Check out the usage page.

TODO

  • Collect sensor data (Health state, temperature, fans etc...)
  • System inspection (Number of CPUs, memory and disk size)
  • Serial console