We are stoked to announce the release of: sushy-tools 1.0.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.0.0 ^^^^^ New Features ************ * It is now possible to enable and disable UEFI Secure Boot mode via Redfish requests for the libvirt driver. This is possible by configuring domains to use a secure boot capable firmware loader, and setting configuration values *SUSHY_EMULATOR_SECURE_BOOT_ENABLED_NVRAM* and *SUSHY_EMULATOR_SECURE_BOOT_DISABLED_NVRAM* to nvram template paths which enable or disable secure boot. The fake driver supports getting and setting secure boot, the nova driver only supports getting. Bug Fixes ********* * Fixes "libvirtError: operation forbidden" when setting boot mode Changes in sushy-tools 0.21.1..1.0.0 ------------------------------------ 0246649 Update pep8 deps - now on latest hacking v6 4357bf2 Ignore FileNotFoundError when ejecting virtual media image 879744a Add mac address to the fakedriver node 0a8c1b0 Fix libvirt forbidden error in set_boot_mode 2a628d4 Save previous hd boot device when setting Pxe 7c29b7b Fix tox4 error 41628d3 Add SecureBoot support to the emulator, all drivers 8427349 Explictily document not for production use Diffstat (except docs and test files) ------------------------------------- README.rst | 4 +- ...x-set-boot-mode-forbidden-085efb2aea6987ff.yaml | 5 + .../notes/secure-boot-de663109ced9b266.yaml | 12 + sushy_tools/emulator/main.py | 27 +++ sushy_tools/emulator/resources/systems/base.py | 18 ++ .../emulator/resources/systems/fakedriver.py | 14 ++ .../emulator/resources/systems/libvirtdriver.py | 171 +++++++++++--- .../emulator/resources/systems/novadriver.py | 28 +++ sushy_tools/emulator/resources/vmedia.py | 12 +- sushy_tools/emulator/templates/secure_boot.json | 12 + sushy_tools/emulator/templates/system.json | 3 + sushy_tools/error.py | 3 + .../emulator/resources/systems/test_fakedriver.py | 10 + .../emulator/resources/systems/test_libvirt.py | 250 ++++++++++++++++----- .../unit/emulator/resources/systems/test_nova.py | 25 +++ tox.ini | 3 +- zuul.d/project.yaml | 2 +- 23 files changed, 657 insertions(+), 123 deletions(-)
participants (1)
-
no-reply@openstack.org