8440eb2826f14e579e0892ed3566f43bd86a888c
Redfish defines some of the fields in its JSON schemas as mandatory. However, some implementations ignore this requirement and occasionally omit some required fields in the Redfish document tree they produce. Failing the whole Redfish interaction basing solely on the absence of a required (bit non-essential) field makes sushy perfect, but not exactly practical. This patch changes to semantics of the `default` parameter in ``Field` constructor in a way that it can inhibit otherwise fatal failure when a select of required attributes are missing. Along this mis/feature, some non-essential fields in Redfish message registry have been made required and defaulted effectively making them non-required. Change-Id: I637f11ff9ceab398077eae19db83db396356c8dc Story: 2006641 Task: 38362
About 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 fulfill those requirements.
- Free software: Apache license
- Includes Redfish registry files licensed under
-
Creative Commons Attribution 4.0 License: https://creativecommons.org/licenses/by/4.0/
- Documentation: https://docs.openstack.org/sushy/latest/
- Usage: https://docs.openstack.org/sushy/latest/reference/usage.html
- Source: https://opendev.org/openstack/sushy
- Bugs: https://storyboard.openstack.org/#!/project/960
Description
Languages
Python
100%