We are psyched to announce the release of: sushy 3.1.0: Sushy is a small Python library to communicate with Redfish based systems This release is part of the ussuri 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.1.0 ^^^^^ New Features ************ * The "get_system", "get_manager" and "get_chassis" methods modified not to require the "identity" parameter referring to a particular resource instance. If "identity" is omited, sushy will default to the only available resource for as long as it's single and therefore deterministic. The intent is to simplify user API by not requiring the consumer to discover available resources prior to requesting one. * Add support for a Task Monitor resource to be able to monitor the state of asynchronous operations. Bug Fixes ********* * Fixes bug in "SimpleStorageCollection.disks_sizes_bytes" which assumed the type of a disk's "CapacityBytes" property is "integer". According to the Distributed Management Task Force (DMTF) Redfish standard schema [1], it can be "null", which is converted to "None" in Python. For more information, see story 2006918 (https://storyboard.openstack.org/#!/story/2006918). [1] https://redfish.dmtf.org/schemas/SimpleStorage.v1_2_3.json * Handles incomplete messages in MessageRegistry that are not having fields like 'Description' and 'Severity'. See story 2007216 (https://storyboard.openstack.org/#!/story/2007216) for more information. Changes in sushy 3.0.0..3.1.0 ----------------------------- 8440eb2 Relax required Redfish fields handling 1ec13aa Fix 'None' field value processing c961d8f Automatically discover available system/manager/chassis 9e12fbf Handle incomplete messages in MessageRegistry 1f60044 Add Task Monitor support for async operations c944ab4 Enforce running tox with correct python version based on env 9d01756 SSC.disks_sizes_bytes handle CapacityBytes is None a54dfea Stop using six library Diffstat (except docs and test files) ------------------------------------- lower-constraints.txt | 1 - .../add-default-identity-10c5dd23bed0e915.yaml | 10 ++ .../add-task-monitor-support-21f711927ad6ec91.yaml | 5 + ...evice-capacity-bytes-null-0672eed36d9da70a.yaml | 11 ++ ...6-fix-to-message-registry-cff37659f03ba815.yaml | 8 ++ requirements.txt | 1 - sushy/auth.py | 5 +- sushy/connector.py | 79 ++++++++++--- sushy/exceptions.py | 7 +- sushy/main.py | 50 ++++++++- sushy/resources/base.py | 83 ++++++-------- sushy/resources/manager/virtual_media.py | 2 +- sushy/resources/registry/message_registry.py | 6 +- sushy/resources/system/bios.py | 2 +- sushy/resources/system/simple_storage.py | 3 +- sushy/resources/task_monitor.py | 114 +++++++++++++++++++ .../unit/resources/manager/test_virtual_media.py | 2 +- .../resources/registry/test_message_registry.py | 24 +++- .../unit/resources/system/test_simple_storage.py | 13 +++ sushy/utils.py | 20 +--- tox.ini | 3 +- 27 files changed, 646 insertions(+), 111 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 14f51f5..1829f68 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7 +6,0 @@ requests>=2.14.2 # Apache-2.0 -six>=1.10.0 # MIT