We are overjoyed to announce the release of: sushy-tools 1.1.0: A set of tools to support the development and test of the Sushy library (https://docs.openstack.org/sushy/) 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. 1.1.0 ^^^^^ New Features * Adds support to handle "HttpBootUri" being posted to the node, which maps to the virtual media functionality, because there is not a direct analog setting when interacting with libvirt. * Adds basic functionality for "HttpBootUri" to be passed through to the libvirt driver, enabling boot operations utilizing supplied media. This does not influence the default URL to boot from due to a lack of capability in libvirt, but instead treats it similar to virtual media. In this case, an override boot target of "UefiHttp" is also re-mapped to "Cd" to facilitate testing. * Adds new ironic driver to provide a limited emulated redfish API to ironic nodes. This would be needed in cases where a redfish compatible endpoint is needed but but don't have direct access to the BMC (you only have access via Ironic) or the BMC doesn't support redfish. * Add a configuration options "SUSHY_EMULATOR_FEATURE_SET" to define which resources should be available. See the documentation for more details. * Exposes the VirtualMedia resource directly on Systems, not just Managers. Changes in sushy-tools 1.0.1..1.1.0 ----------------------------------- 0e18baa Add feature sets to test with different available feature a654a03 Expose VirtualMedia on Systems in addition to Managers 361e0ee Use existing nvram path in libvirt driver to support session daemon mode 6b4e418 Use a UUID instead of a named identity for httpboot feb88a5 Simplify UEFI logic and change the UefiHttp flow e14cfe3 Add Support testing for HttpBootUri 79cd737 Add new ironic driver 2596716 Use WAL mode for SQLite cache Diffstat (except docs and test files) ------------------------------------- ...dd-http-boot-uri-handling-c678bd89c7f6346c.yaml | 6 + .../notes/add-http-to-vmedia-ef04c156e66fc121.yaml | 9 + .../notes/add-ironic-6f446bf16276b4dd.yaml | 9 + .../notes/feature-set-42f2846a17f59424.yaml | 5 + .../notes/vmedia-system-c254f4d0918d8b91.yaml | 4 + sushy_tools/emulator/controllers/virtual_media.py | 94 +++--- sushy_tools/emulator/main.py | 255 +++++++++++++--- sushy_tools/emulator/memoize.py | 1 + sushy_tools/emulator/resources/systems/base.py | 18 ++ .../emulator/resources/systems/ironicdriver.py | 327 +++++++++++++++++++++ .../emulator/resources/systems/libvirtdriver.py | 38 ++- sushy_tools/emulator/templates/root.json | 6 + sushy_tools/emulator/templates/system.json | 32 +- sushy_tools/emulator/templates/virtual_media.json | 8 +- .../templates/virtual_media_collection.json | 6 +- sushy_tools/error.py | 7 + .../emulator/controllers/test_virtual_media.py | 113 ++++--- .../unit/emulator/resources/systems/test_ironic.py | 199 +++++++++++++ .../emulator/resources/systems/test_libvirt.py | 22 +- .../unit/emulator/resources/systems/test_nova.py | 8 + 26 files changed, 1231 insertions(+), 185 deletions(-)
participants (1)
-
no-reply@openstack.org