[release-announce] sushy 3.11.0 (xena)

no-reply at openstack.org no-reply at openstack.org
Tue Aug 3 08:35:38 UTC 2021


We are gleeful to announce the release of:

sushy 3.11.0: Sushy is a small Python library to communicate with
Redfish based systems

This release is part of the xena release series.

The source is available from:

    https://opendev.org/openstack/sushy

Download the package from:

    https://tarballs.openstack.org/sushy/

Please report issues through:

    https://storyboard.openstack.org/#!/project/openstack/sushy

For more details, please see below.

3.11.0
^^^^^^


New Features
************

* Adds "root" property to Sushy resources to link to main Sushy
  object. Empty for Sushy root itself.


Upgrade Notes
*************

* "Inserted" and "WriteProtected" optional attributes are no longer
  present in the InsertMedia API call payload when default values
  {"Inserted": True, "WriteProtected": True} are specified by the
  consumer (e.g. Ironic) and PATCH method of configuring virtual media
  is not used. Behaviour is unchanged if PATCH method is used.


Bug Fixes
*********

* Removing "Inserted" and "WriteProtected" parameters from the
  Redfish VirtualMedia::insert_media() API call payload when default
  values {"Inserted": True, "WriteProtected": True} are set and PATCH
  method is not used. Those parameters are optional as per Redfish
  schema 2021.1. Some BMCs (e.g. SuperMicro X11/X12 platforms) treat
  these fields as read-only and setting them causes vMedia insert
  failures. These attributes should default to True on the BMC side.
  Some BMCs using PATCH method of configuring virtual media (e.g.
  Lenovo SD530) still require "Inserted" attribute, so only changing
  this for non- PATCH methods of configuring virtual media such as
  InsertMedia action.

* Fixes OEM resource attribute parsing for OEM resources with
  required fields. Before the fix an error such as "The attribute
  <attribute name> is missing from the resource <resource path>"
  occurred.

Changes in sushy 3.10.0..3.11.0
-------------------------------

11a6de2 Removing optional fields from insert_media payload
79dd488 Increase version of hacking and pycodestyle
55d949c Fix OEM required attribute parsing
5645497 Add resource root property


Diffstat (except docs and test files)
-------------------------------------

...d-sushy-root-to-resources-1f221794557aa5fc.yaml |  5 ++
.../fix-insert-media-payload-b5d4c707f81d9603.yaml | 20 ++++++++
...red-oem-attribute-parsing-205e4186275aa293.yaml |  6 +++
sushy/main.py                                      | 33 +++++++------
sushy/resources/base.py                            | 23 ++++++---
sushy/resources/chassis/chassis.py                 | 27 +++++++----
.../compositionservice/compositionservice.py       | 12 +++--
.../resources/compositionservice/resourceblock.py  | 12 +++--
sushy/resources/compositionservice/resourcezone.py | 12 +++--
sushy/resources/eventservice/eventdestination.py   | 12 +++--
sushy/resources/eventservice/eventservice.py       |  9 ++--
sushy/resources/fabric/fabric.py                   | 16 +++++--
sushy/resources/manager/manager.py                 | 22 ++++++---
sushy/resources/manager/virtual_media.py           | 22 ++++++++-
sushy/resources/oem/base.py                        | 13 +++++-
sushy/resources/oem/fake.py                        |  1 +
sushy/resources/sessionservice/session.py          | 12 +++--
sushy/resources/sessionservice/sessionservice.py   |  9 ++--
sushy/resources/system/bios.py                     |  9 ++--
sushy/resources/system/processor.py                | 16 +++++--
sushy/resources/system/secure_boot.py              |  9 ++--
sushy/resources/system/secure_boot_database.py     |  7 ++-
sushy/resources/system/storage/storage.py          |  4 +-
sushy/resources/system/system.py                   | 31 ++++++++-----
sushy/resources/task_monitor.py                    |  7 ++-
sushy/resources/taskservice/task.py                |  5 +-
sushy/resources/taskservice/taskservice.py         |  8 ++--
sushy/resources/updateservice/softwareinventory.py | 12 +++--
sushy/resources/updateservice/updateservice.py     | 16 ++++---
.../compositionservice/test_compositionservice.py  |  4 +-
.../compositionservice/test_resourceblock.py       |  6 ++-
.../compositionservice/test_resourcezone.py        |  6 ++-
.../resources/eventservice/test_evendestination.py |  7 ++-
.../unit/resources/manager/test_virtual_media.py   | 13 +++++-
.../unit/resources/sessionservice/test_session.py  |  6 ++-
.../sessionservice/test_sessionservice.py          |  3 +-
.../unit/resources/system/storage/test_storage.py  | 18 +++++---
.../unit/resources/system/storage/test_volume.py   | 12 +++--
.../resources/system/test_ethernet_interfaces.py   |  7 ++-
.../resources/system/test_secure_boot_database.py  |  7 ++-
.../unit/resources/system/test_simple_storage.py   |  7 ++-
.../unit/resources/taskservice/test_taskservice.py |  3 +-
.../updateservice/test_softwareinventory.py        | 14 ++++--
.../resources/updateservice/test_updateservice.py  |  5 +-
tox.ini                                            |  4 +-
56 files changed, 445 insertions(+), 200 deletions(-)







More information about the Release-announce mailing list