[release-announce] sushy 1.7.0 (stein)
no-reply at openstack.org
no-reply at openstack.org
Mon Nov 19 20:56:17 UTC 2018
We jubilantly announce the release of:
sushy 1.7.0: Sushy is a small Python library to communicate with
Redfish based systems
This release is part of the stein release series.
The source is available from:
https://git.openstack.org/cgit/openstack/sushy
Download the package from:
https://tarballs.openstack.org/sushy/
Please report issues through launchpad:
https://storyboard.openstack.org/#!/project/960
For more details, please see below.
1.7.0
^^^^^
New Features
************
* Exposes the "simple_storage" and "storage" properties from system
resource in sushy.
* "simple_storage" property indicates a collection of storage
controllers and their directly-attached devices associated with
the system.
* "storage" property refers to a collection of storage subsystem
associated with system. Resources such as drives and volumes can
be accessed from that subsystem.
* Adds the Storage resource to the library. It also provides the max
size available (in bytes) of drives and volumes that can be accessed
from storage.
* Adds support for the virtual media resource to the library.
* Adds functionality to pass different requests library session
arguments to sushy connector.
* Adds *Product* and *ProductFeaturesSupported* properties support
to the Redfish *Root Service*
Bug Fixes
*********
* Tries to terminate authenticated Redfish session at BMC Session
Service on the event of "Sushy" object deallocation. This should
reduce the chance of authenticated sessions pool exhaustion at some
BMCs.
Changes in sushy 1.6.0..1.7.0
-----------------------------
d94866f Delete HTTP tokens on `Sushy` shutdown
5a68be0 [Trivial Fix] modify spelling errors of fulfill, for, containing
8b641da Change adapter to 'int_or_none' for processor properties
878badf [Trivial Fix] modify spelling error of "committed"
2412070 [Trivial Fix] modify spelling error of "resource"
28ee59f Follow-up to 27c725c to move up ``cache_clear``
e886e71 Requests session keyword arguments for sushy connector
27c725c Introduce ``cache_it`` and ``cache_clear``
ee31707 Fix crashing `BasicAuth` context manager
02e4016 Remove stray unicode character from tox.ini
fbdd611 Add `ProtocolFeaturesSupported` property of the `Root Service`
2bdae43 Add product property to the root Sushy object
0c6623d Update to use mapped field for Settings Message Severity field
7ee490c Omit tests from code coverage run
ec6e6c1 Use templates for cover and lower-constraints
3d76b76 Return sizes of storage devices
9e8396a Fix for MediaTypes in virtual media
dac8bc3 Add Message Registry File resource
a0fc71f Cleanup names for message registry
fdc3e99 Add storage and simple_storage attr to system
3ed9aa9 Caching ResourceCollectionBase::get_members()
8338d8b Add a virtual media resource
03b5846 add python 3.6 unit test job
e37550c switch documentation job to new PTI
e5fe316 import zuul job settings from project-config
06ce65f Add system storage resource support
9becfd4 Cleanup docstring for removed etag param
6bddd33 Add Redfish Message Registry resource
893ccec Add DictionaryField class to resource base
e12309f Update reno for stable/rocky
Diffstat (except docs and test files)
-------------------------------------
.coveragerc | 4 +
README.rst | 2 +-
...rage-attributes-to-system-16e81f9b15b1897d.yaml | 12 +
.../notes/add-storage-da766d3dbf9fb385.yaml | 6 +
...add-virtual-media-support-f522fbec4420341c.yaml | 4 +
...rd_argument_for_connector-cea5dc4e6c01b548.yaml | 5 +
...otocol_features_supported-59de3f89b7382434.yaml | 5 +
...-close-session-on-dealloc-c3687d4dcb1441b8.yaml | 6 +
releasenotes/source/index.rst | 1 +
releasenotes/source/rocky.rst | 6 +
sushy/auth.py | 6 +
sushy/connector.py | 78 ++++---
sushy/main.py | 55 +++++
sushy/resources/base.py | 42 ++++
sushy/resources/constants.py | 12 +-
sushy/resources/manager/constants.py | 14 ++
sushy/resources/manager/manager.py | 10 +
sushy/resources/manager/mappings.py | 14 ++
sushy/resources/manager/virtual_media.py | 112 +++++++++
sushy/resources/mappings.py | 11 +
sushy/resources/registry/__init__.py | 0
sushy/resources/registry/message_registry.py | 81 +++++++
sushy/resources/registry/message_registry_file.py | 75 ++++++
sushy/resources/sessionservice/sessionservice.py | 24 +-
sushy/resources/settings.py | 7 +-
sushy/resources/system/bios.py | 32 +--
sushy/resources/system/ethernet_interface.py | 27 +--
sushy/resources/system/processor.py | 55 ++---
sushy/resources/system/simple_storage.py | 33 ++-
sushy/resources/system/storage/storage.py | 105 +++++++--
sushy/resources/system/storage/volume.py | 33 +--
sushy/resources/system/system.py | 97 ++++----
.../unit/json_samples/message_registry_file.json | 18 ++
.../message_registry_file_collection.json | 12 +
.../unit/json_samples/storage_collection.json | 13 ++
.../json_samples/virtual_media_collection.json | 15 ++
.../unit/resources/manager/test_virtual_media.py | 85 +++++++
.../resources/registry/test_message_registry.py | 67 ++++++
.../registry/test_message_registry_file.py | 74 ++++++
.../sessionservice/test_sessionservice.py | 6 +-
.../unit/resources/system/storage/test_storage.py | 252 ++++++++++++++++++++-
.../unit/resources/system/storage/test_volume.py | 2 -
.../resources/system/test_ethernet_interfaces.py | 1 -
.../unit/resources/system/test_simple_storage.py | 22 +-
sushy/utils.py | 162 ++++++++++++-
tox.ini | 7 +-
zuul.d/project.yaml | 11 +-
65 files changed, 2009 insertions(+), 301 deletions(-)
More information about the Release-announce
mailing list