sushy/sushy/tests/unit
Aija Jaunteva fb44452cdd Introduce BIOS API
Add `system` resource to have reference to `bios`.

Support patching via @Redfish.Settings settings object resource
using new SettingsField.

SettingsField is a reusable field that corresponds to
@Redfish.Settings in other resources.

This SettingsField corresponds to Settings.v1_0_0 field schema, newer
versions introduce additional fields that will be added later.
Also at least iDRAC does not support anything newer than
Settings.v1_0_0 field schema now.

In the unit tests, settings.json contains imaginary values for Message,
Severity, MessageArgs and Resolution fields as could not find existing
samples holding these fields.

@Redfish.Settings is a special field (annotation) that does not appear
as a property in any schemas of Redfish resources.
Theoretically it can be present in any resource.
Practically this field is added to resources that support future state
of the resource where immediate application of updates is not possible
and need to restart system or a service for the values to take effect.
So far it has been identified that resources that can have this field
are: BIOS, Ethernet Interface and Storage.
If @Redfish.Settings is present on the resource, then need to use URI
in its subfield SettingsObject to update resource. If it is not
present on the resource, then can update the resource directly using
the resource's URI.

Change-Id: Ib2ef3d6380975ec7b964ebb634575e2b86d51991
Task: 12508
Story: 2001791
2018-06-25 10:59:32 +03:00
..
json_samples Introduce BIOS API 2018-06-25 10:59:32 +03:00
resources Introduce BIOS API 2018-06-25 10:59:32 +03:00
__init__.py Initial commit 2017-02-13 22:04:23 +00:00
base.py Initial commit 2017-02-13 22:04:23 +00:00
test_auth.py Restores sushy session functionality. 2018-01-24 14:07:55 -07:00
test_connector.py Restore interface of Connector 2018-01-18 18:16:36 +01:00
test_main.py Mark Systems/Managers/SessionService optional 2018-03-15 05:34:40 +00:00
test_utils.py Add storage volume 2018-04-13 08:50:57 +00:00