We enthusiastically announce the release of: sushy 3.7.0: Sushy is a small Python library to communicate with Redfish based systems This release is part of the wallaby 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.7.0 ^^^^^ New Features ************ * Adds new method "get_task_monitor" to retrieve TaskMonitor instance by task monitor URI. * Adds support for fetching and resetting individual UEFI secure boot databases. Deprecation Notes ***************** * Existing two "TaskMonitor"-s are deprecated and replaced with one "taskmonitor.TaskMonitor". For "resources.task_monitor.TaskMonitor" users changes include: * "in_progress" is replaced with method "check_is_processing" * "location_header" is replaced with method "task_monitor_uri" * there is no replacement for "set_retry_after", "taskmonitor.TaskMonitor" sets this internally from Retry-After header For "resources.taskservice.taskmonitor.TaskMonitor" users changes include: * "check_is_processing", "sleep_for" and static "get_task_monitor" added. * in "__init__" parameter "field_data" is deprecated, use "response" * in "__init__" parameter "task_monitor" is renamed to "task_monitor_uri" * "task_monitor" is deprecated, use "task_monitor_uri" * "retry_after" is deprecated, use "sleep_for" Methods "create_volume", "delete_volume", "initialize_volume" in volume module are deprecated and replaced with ones named "create", "delete" and "initialize". New methods for asynchronous operations return "taskmonitor.TaskMonitor" instead of deprecated "resources.task_monitor.TaskMonitor". Method "resources.updateservice.UpdateService.get_task_monitor" is deprecated, use "Sushy.get_task_monitor" instead. Bug Fixes ********* * Automatically retries internal server errors from GET requests. Changes in sushy 3.6.1..3.7.0 ----------------------------- 375b29b Follow up TaskMonitor refactor 7a9a2b6 Refactor TaskMonitor and update Volume methods 07ca7f4 Don't log ERROR if GET of /redfish/v1/SessionService fails d9004ec Fix deprecation on collections.MutableMapping 09cee5c Automatically retry HTTP 5xx on GET requests 4abea18 Initial support for secure boot databases Diffstat (except docs and test files) ------------------------------------- releasenotes/notes/get-retry-9ca311caf8a0b7bb.yaml | 4 + ...taskmonitor-update-volume-ba99380188395852.yaml | 38 +++ .../secure-boot-database-7fae673722d7cf4f.yaml | 5 + sushy/connector.py | 50 +-- sushy/main.py | 15 +- sushy/resources/system/constants.py | 14 + sushy/resources/system/mappings.py | 26 ++ sushy/resources/system/secure_boot.py | 21 ++ sushy/resources/system/secure_boot_database.py | 112 +++++++ sushy/resources/system/storage/volume.py | 161 ++++++--- sushy/resources/task_monitor.py | 3 + sushy/resources/taskservice/taskmonitor.py | 155 ++------- sushy/resources/updateservice/updateservice.py | 25 +- sushy/taskmonitor.py | 273 ++++++++++++++++ .../unit/json_samples/secure_boot_database.json | 26 ++ .../secure_boot_database_collection.json | 34 ++ .../unit/resources/system/storage/test_volume.py | 107 ++++++ .../unit/resources/system/test_secure_boot.py | 22 +- .../resources/system/test_secure_boot_database.py | 138 ++++++++ .../unit/resources/taskservice/test_taskmonitor.py | 9 + .../resources/updateservice/test_updateservice.py | 2 +- 25 files changed, 1444 insertions(+), 214 deletions(-)
participants (1)
-
no-reply@openstack.org