We are happy to announce the release of: sushy 3.6.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.6.0 ^^^^^ New Features ************ * Adds initial support for the TaskService resource to the library. *TaskService* is responsible for managing tasks. * Update the "create_volume" method in the "VolumeCollection" class and the "delete_volume" and "initialize_volume" methods in the "Volume" class to take optional "apply_time" and "timeout" keyword parameters. This allows the caller of those volume methods to specify a preferred "OperationApplyTime" annotation and a maximum timeout for synchronous operations. For asynchronous operations, those three methods will now return a "TaskMonitor" instance that the caller can use to monitor the state of the task. * Adding a new attribute task_uri to monitor redfish firmware update since some vendors(ilo) does not provide appropriate response with task_monitor uri. * Adds support for UEFI secure boot: reading the current status, enabling or disabling secure boot, resetting keys. Deprecation Notes ***************** * The "supported_values" property in the "OperationApplyTimeSupportField" class is deprecated. Use the "mapped_supported_values" property instead. The "mapped_supported_values" property uses the "MappedListField" type to map the Redfish schema-defined enumeration values to constants exposed by the Sushy package. Bug Fixes ********* * Fixes an issue in the "Connector" class where an exception is not raised when an asynchronous operations fails. Changes in sushy 3.5.0..3.6.0 ----------------------------- 5425c00 Secure boot support: enabling/disabling and resetting keys 3dcffb9 Fixes issue of redfish firmware update e4a3e18 Add doc/requirements f353550 Add OperationApplyTime support to Volume methods 74a8505 Remove lower-constraints job c458013 Fix lower-constraints with the new pip resolver 1f4f654 Raise exception when async operation fails d293dba Adds sushy library overview 9d9dae7 Adds basic support for TaskService to retrieve task information. Diffstat (except docs and test files) ------------------------------------- README.rst | 4 +- lower-constraints.txt | 55 --------- .../notes/add-task-service-c751ce51e0b8dc11.yaml | 5 + ...me-support-for-volume-ops-f2ebc412e3b4290a.yaml | 19 ++++ ...ish-firmware-update-issue-273862b2a11e3536.yaml | 6 + ...ror-on-async-task-failure-b67c7bc189a4d6ca.yaml | 5 + .../notes/secure-boot-76c5b80371ea85d1.yaml | 5 + sushy/__init__.py | 1 + sushy/connector.py | 1 + sushy/exceptions.py | 4 +- sushy/main.py | 11 ++ sushy/resources/base.py | 2 +- sushy/resources/common.py | 14 ++- sushy/resources/system/constants.py | 17 +++ sushy/resources/system/mappings.py | 24 ++++ sushy/resources/system/secure_boot.py | 123 +++++++++++++++++++++ sushy/resources/system/storage/volume.py | 80 ++++++++++++-- sushy/resources/system/system.py | 16 +++ sushy/resources/taskservice/constants.py | 19 ++++ sushy/resources/taskservice/mappings.py | 10 ++ sushy/resources/taskservice/task.py | 21 ++++ sushy/resources/taskservice/taskmonitor.py | 9 +- sushy/resources/taskservice/taskservice.py | 76 +++++++++++++ sushy/resources/updateservice/updateservice.py | 6 + .../unit/resources/system/storage/test_volume.py | 85 ++++++++++++-- .../unit/resources/system/test_secure_boot.py | 96 ++++++++++++++++ .../unit/resources/taskservice/test_taskmonitor.py | 5 +- .../unit/resources/taskservice/test_taskservice.py | 54 +++++++++ .../resources/updateservice/test_updateservice.py | 29 ++++- test-requirements.txt | 13 --- tox.ini | 13 +++ zuul.d/project.yaml | 1 - 43 files changed, 983 insertions(+), 122 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 686a2b6..16c5d48 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9,13 +8,0 @@ stestr>=2.0.0 # Apache-2.0 - -# linters -hacking>=3.1.0,<4.0.0 # Apache-2.0 -flake8-import-order>=0.17.1 # LGPLv3 -pycodestyle>=2.0.0,<2.7.0 # MIT - -# docs -sphinx>=2.0.0,!=2.1.0 # BSD -openstackdocstheme>=2.2.1 # Apache-2.0 -sphinxcontrib-apidoc>=0.2.0 # BSD - -# releasenotes -reno>=3.1.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org