56af7a5616
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 |
||
---|---|---|
doc/source | ||
releasenotes | ||
sushy | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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.
- Free software: Apache license
- Documentation: http://sushy.rtfd.io
- Source: http://git.openstack.org/cgit/openstack/sushy
- Bugs: http://bugs.launchpad.net/sushy
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