We are amped to announce the release of: sushy 1.9.0: Sushy is a small Python library to communicate with Redfish based systems This release is part of the train 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://bugs.launchpad.net/sushy/+bugs For more details, please see below. 1.9.0 ^^^^^ New Features ************ * "Bios" resource introduces "update_status" property that exposes the status and any errors of last BIOS attribute update. * Adds the "IndicatorLED" property to the "Drive" resource. The state of the LED can be read and can be changed via the ".set_indicator_led()" method of the "Drive" sushy class. * Adds support for the Fabric resource to the library. * Adds the Power resource to the Library. * Adds mappings and constants for possible values of System Type in System resource. This represents the type of the computer system. * Adds the Thermal resource to the Library. * Adds "CapacityBites", "Manufacturer", "Model", "PartNumber", "SerialNumber" and "Status" properties to the "Drive" resource. * The "IndicatorLED" property of "System" and "Chassis" resources made settable with the introduction of the ".set_indicator_led()" method to the respective sushy classes. * Update sushy models to support the Redfish SettingsApplyTime and OperationApplyTimeSupport annotations. Deprecation Notes ***************** * Deprecates system-specific indicator LEDs as redundant. The "SYSTEM_INDICATOR_LED_LIT", "SYSTEM_INDICATOR_LED_BLINKING", "SYSTEM_INDICATOR_LED_OFF" and "SYSTEM_INDICATOR_LED_UNKNOWN" constants should not be used. Generic indicator LED constants should be used instead. Those are "INDICATOR_LED_LIT", "INDICATOR_LED_BLINKING", "INDICATOR_LED_OFF" and "INDICATOR_LED_UNKNOWN" respectively. * The "operation_apply_time_support" and "maintenance_window" properties in the "SettingsField" class are deprecated. The "SettingsField" class represents the "@Redfish.Settings" annotation and those properties cannot appear within this annotation. Instead use the "apply_time_settings" property in the target resource (e.g. "Bios" resource). Other Notes *********** * Includes Redfish standard message registry files that are licensed under Creative Commons Attribution 4.0 License: https://creativecommons.org/licenses/by/4.0/ Changes in sushy 1.8.0..1.9.0 ----------------------------- 6f4539d Use collections.abc instead of collections when available 51032b6 Add @Redfish.Settings update status and expose it for BIOS 74e37a7 Update sphinx requirements 6cb68f8 Cleanup for Standard message registry loading 188a72c Add Power and Thermal resources to Chassis 103737a update git.openstack.org to opendev 3630088 OpenDev Migration Patch f2cf60f Deprecate System-specific `IndicatorLED` state constants fa09bbc Dropping the py35 testing 2f08e09 Update model to support ApplyTime annotations ad15a88 Adding Power resource schema 324f564 Expand Drive schema 87dcc7a Adding Thermal resource schema 4ad580b Add settable `IndicatorLED` property to the `Drive` resource c8a6354 Add settable `IndicatorLED` of `System` and `Chassis` d35a30f Add versions to release notes series e348ac8 Add mappings for `system_type` 680d023 Add `FabricCollection` and `Fabric` classes 5b5794d Change sushy devstack job to python3 fc311f9 Fix wrong default JsonDataReader() argument fa8ce98 Add public resource loading and message parsing 7993f04 Add support for loading packaged standard registries 798458d Update master for stable/stein Diffstat (except docs and test files) ------------------------------------- .gitreview | 2 +- README.rst | 5 +- .../add-bios-update-status-cc59816c374b78e4.yaml | 5 + .../notes/add-drive-led-97b687013fec88c9.yaml | 6 + .../notes/add-fabric-support-1520f7fcb0e12539.yaml | 5 + .../notes/add-power-resource-e141ddf298673305.yaml | 4 + .../add-system-type-mapping-bf456c5c15a90877.yaml | 5 + .../add-thermal-resource-5c965a3c940f9028.yaml | 4 + .../deprecate-system-leds-f1a72422c53d281e.yaml | 9 + .../expand-drive-schema-042901f919be646c.yaml | 5 + .../notes/make-leds-settable-c82cb513de0171f5.yaml | 6 + ...standard-registry-license-0ded489afd6cfad1.yaml | 6 + ...update-apply-time-support-53c5445b58cd3b42.yaml | 13 + releasenotes/source/index.rst | 1 + releasenotes/source/pike.rst | 6 +- releasenotes/source/queens.rst | 6 +- releasenotes/source/rocky.rst | 6 +- releasenotes/source/stein.rst | 6 + setup.cfg | 2 +- sushy/__init__.py | 1 + sushy/main.py | 87 +++- sushy/resources/base.py | 47 +- sushy/resources/chassis/chassis.py | 50 ++ sushy/resources/chassis/power/__init__.py | 0 sushy/resources/chassis/power/constants.py | 69 +++ sushy/resources/chassis/power/mappings.py | 40 ++ sushy/resources/chassis/power/power.py | 122 +++++ sushy/resources/chassis/thermal/__init__.py | 0 sushy/resources/chassis/thermal/constants.py | 18 + sushy/resources/chassis/thermal/mappings.py | 18 + sushy/resources/chassis/thermal/thermal.py | 138 ++++++ sushy/resources/common.py | 40 +- sushy/resources/fabric/__init__.py | 0 sushy/resources/fabric/constants.py | 42 ++ sushy/resources/fabric/fabric.py | 77 +++ sushy/resources/fabric/mappings.py | 47 ++ sushy/resources/mappings.py | 2 + sushy/resources/registry/message_registry.py | 26 + sushy/resources/registry/message_registry_file.py | 38 ++ sushy/resources/settings.py | 124 ++++- sushy/resources/system/bios.py | 27 + sushy/resources/system/constants.py | 35 +- sushy/resources/system/mappings.py | 12 + sushy/resources/system/storage/drive.py | 46 +- sushy/resources/system/storage/volume.py | 5 + sushy/resources/system/system.py | 39 +- sushy/standard_registries/Base.1.0.0.json | 466 ++++++++++++++++++ sushy/standard_registries/Base.1.2.0.json | 517 ++++++++++++++++++++ sushy/standard_registries/Base.1.3.0.json | 535 ++++++++++++++++++++ sushy/standard_registries/Base.1.3.1.json | 535 ++++++++++++++++++++ sushy/standard_registries/Base.1.4.0.json | 542 +++++++++++++++++++++ .../resources/registry/test_message_registry.py | 42 ++ .../registry/test_message_registry_file.py | 68 +++ .../unit/resources/system/storage/test_drive.py | 24 + .../unit/resources/system/storage/test_volume.py | 14 +- sushy/utils.py | 14 +- test-requirements.txt | 3 +- tox.ini | 2 +- zuul.d/project.yaml | 3 +- zuul.d/sushy-jobs.yaml | 8 + 81 files changed, 4781 insertions(+), 123 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 1d8472a..6f8ebee 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9 +9,2 @@ python-subunit>=1.0.0 # Apache-2.0/BSD -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD