We are tickled pink to announce the release of: sushy 3.4.0: Sushy is a small Python library to communicate with Redfish based systems This release is part of the victoria stable 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.4.0 ^^^^^ New Features ************ * Adds support for "bios" resource to allow specifying BIOS attribute update time and maintenance window when updating BIOS attributes using "set_attribute" or "set_attributes". The update is backward compatible and when new parameters not passed, they default to "None". Also adds "maintenance_window" for "bios" resource to expose default maintenance window set by the system if any. * Added the ability to monitor the progress of a firmware update by changing the "simple_update" operation to return a task monitor object. Bug Fixes ********* * Instead of trying to GET /redfish/v1/SessionService, which is usually reachable via authentication, fail, and then guess /redfish/v1/SessionService/Sessions as Sessions URL, we try first to use directly the Sessions URL provided by the root service, if available. Changes in sushy 3.3.1..3.4.0 ----------------------------- 3f052a3 Allow monitoring progress of a firmware update 2d2015a Add BIOS update apply time and maintenance window 37990a9 Revert "Add BIOS update apply time and maintenance window" 46b5d38 Add BIOS update apply time and maintenance window e730987 Use Sessions URL from root service if it's provided Diffstat (except docs and test files) ------------------------------------- ...pply-time-support-to-bios-315ebad429dcab3d.yaml | 12 ++ .../monitor_firmware_update-664b0c6c1a0307cf.yaml | 5 + ...se-sessions-url-from-root-8b8eca57dc450705.yaml | 8 + sushy/auth.py | 10 +- sushy/exceptions.py | 4 + sushy/main.py | 12 +- sushy/resources/base.py | 128 +++++++++++++--- sushy/resources/constants.py | 22 +++ sushy/resources/mappings.py | 11 ++ sushy/resources/sessionservice/sessionservice.py | 18 ++- sushy/resources/settings.py | 36 +---- sushy/resources/system/bios.py | 71 ++++++++- sushy/resources/taskservice/mappings.py | 33 ++++ sushy/resources/taskservice/task.py | 89 +++++++++++ sushy/resources/taskservice/taskmonitor.py | 143 ++++++++++++++++++ sushy/resources/updateservice/updateservice.py | 34 ++++- .../resources/registry/test_message_registry.py | 6 +- .../registry/test_message_registry_file.py | 13 +- .../unit/resources/taskservice/test_taskmonitor.py | 167 +++++++++++++++++++++ .../resources/updateservice/test_updateservice.py | 49 +++++- sushy/utils.py | 12 ++ 30 files changed, 1026 insertions(+), 81 deletions(-)
participants (1)
-
no-reply@openstack.org