Go to file
Ilya Etingof 8440eb2826 Relax required Redfish fields handling
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
2020-02-10 18:14:01 +01:00
2018-09-25 07:13:40 +00:00
2018-07-19 10:46:08 +07:00
2019-04-19 19:48:38 +00:00
2017-02-13 22:04:23 +00:00
2017-02-13 22:04:23 +00:00
2018-02-06 00:58:41 +08:00
2017-02-13 22:04:23 +00:00
2019-12-02 15:24:09 +01:00
2019-04-29 10:41:50 +08:00
2019-12-02 15:24:09 +01:00
2019-11-22 14:12:59 +01:00
2017-03-02 11:56:16 +00:00

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.

Description
Sushy is a small Python library to communicate with Redfish based systems
Readme 10 MiB
Languages
Python 100%