We are gleeful to announce the release of: sushy-tools 2.1.0 The source is available from: https://opendev.org/openstack/sushy-tools Download the package from: https://tarballs.openstack.org/sushy-tools/ For more details, please see below. 2.1.0 ^^^^^ New Features ************ * Adds PATCH support for the Redfish Manager resource's "DateTime" and "DateTimeLocalOffset" fields in the dynamic emulator. Implements "get_datetime" and "set_datetime" methods in the fake driver and adds test support for mocking datetime values. Disables cache reset to persist updates across requests. Bug Fixes ********* * The nova emulator driver makes fewer API calls when retrieving the server list. This significantly improves the API response times when using the emulator in a project with many instances and ports per instance. * The HTTP status code for NotSupportedError has been fixed. The generic "500 Internal Server Error" status code was previously used, it will now use the "501 Not Implemented" status code. Changes in sushy-tools 2.0.0..2.1.0 ----------------------------------- a72db20 Add SUSHY_EMULATOR_VIRTUAL_MEDIA_IP_FAMILY environment variable support 4d78503 Validate JSON content type before parsing manager PATCH requests 867c9dd Drop test logic for Python < 3.8 81352b1 Add PATCH support for Redfish DateTime fields in Manager resource 3629f02 Revert "Replace license classifier" 0141d2b Replace license classifier aece550 Status code 501 for Unsupported/Not implemented 65f6b2d nova-driver: speed up systems enumeration ca94ce9 os-vmedia: Ensure delay-eject is cleared on insert e3f9209 Pass image ID to _attempt_delete_image_local_file b24eafe os-vmedia: Add option to delay rebuild on eject f722cfd Add config option SUSHY_EMULATOR_STORAGE_POOL Diffstat (except docs and test files) ------------------------------------- ...dd-redfish-datatime-patch-dd2b43ef06bc957c.yaml | 9 ++ ...vadriver-reduce-api-calls-934eb2af95ea2419.yaml | 7 + ...upported-http-status-code-05af22dbecc517f7.yaml | 7 + sushy_tools/emulator/main.py | 117 ++++++++------ sushy_tools/emulator/resources/managers.py | 32 +++- .../emulator/resources/systems/libvirtdriver.py | 2 + .../emulator/resources/systems/novadriver.py | 60 +++++-- sushy_tools/emulator/resources/vmedia.py | 53 +++++++ sushy_tools/error.py | 4 +- .../emulator/resources/systems/test_libvirt.py | 83 +++------- .../unit/emulator/resources/systems/test_nova.py | 36 ++++- 15 files changed, 511 insertions(+), 138 deletions(-)