A set of tools to support the development and test of the Sushy library
Go to file
Steve Baker d5d4769482 Add virtual-media-boot to openstack driver
The implementation does the following.

On insert:
- Upload the image directly to glance from the URL (long running)
- Create and attach a new volume the same size as the root disk
- Rebuild the server with the image, replacing the contents of the root
  disk
- Delete the image

On eject:
- Assume the attached volume has been rewritten with a new image (an ISO
  installer or IPA)
- Detach the volume
- Create an image from the volume (long running)
- Rebuild the server with the new image
- Delete the volume
- Delete the image

The long running operations are performed in a background thread task.
Only one long running operation (insert or eject) can be performed
concurrently for each server. If a long running operation fails, the
only way to feed that back to the user is by re-raising the error during
the next insert/eject request for that server.

The documentation is updated to describe OpenStack driver specifics.
Also the Redfish spec has deprecated accessing VirtualMedia via Managers
so the documentation is updated to refer via Systems.

Change-Id: I24ea943325a23a06887a185801211b4a9570e284
2024-03-12 16:56:53 +13:00
doc Add virtual-media-boot to openstack driver 2024-03-12 16:56:53 +13:00
releasenotes Add virtual-media-boot to openstack driver 2024-03-12 16:56:53 +13:00
sushy_tools Add virtual-media-boot to openstack driver 2024-03-12 16:56:53 +13:00
zuul.d [codespell] Adding CI target for Tox Codespell 2024-01-29 23:02:47 +00:00
.coveragerc Initial Commit 2017-04-06 17:05:16 +01:00
.gitignore Switch to use stestr for unit test 2018-07-27 08:14:22 +07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:44:40 +00:00
.mailmap Initial Commit 2017-04-06 17:05:16 +01:00
.stestr.conf Switch to use stestr for unit test 2018-07-27 08:14:22 +07:00
CONTRIBUTING.rst Initial Commit 2017-04-06 17:05:16 +01:00
HACKING.rst Update the URL in HACKING.rst 2018-09-23 16:38:42 +08:00
LICENSE Initial Commit 2017-04-06 17:05:16 +01:00
README.rst [codespell] Fixing Spelling Mistakes 2024-01-29 19:12:47 +00:00
bindep.txt Use python Zed tests 2022-05-04 17:42:22 +02:00
requirements.txt Drop lower-constraints.txt and its testing 2022-04-30 17:53:58 -05:00
setup.cfg [codespell] Adding Tox Target for Codespell 2024-01-29 23:02:33 +00:00
setup.py Cleanup py27 support 2020-04-05 20:13:36 +02:00
test-requirements.txt Fix the CI 2022-04-26 09:54:13 +02:00
tox.ini [codespell] Adding Tox Target for Codespell 2024-01-29 23:02:33 +00:00

README.rst

Redfish development tools

This is a set of simple simulation tools aiming at supporting the development and testing of the Redfish protocol implementations and, in particular, Sushy library (https://docs.openstack.org/sushy/). It is not designed for use outside of development and testing environments. Please do not run sushy-tools in a production environment of any kind.

The package ships two simulators - static Redfish responder and virtual Redfish BMC that is backed by libvirt or OpenStack cloud.

The static Redfish responder is a simple REST API server which responds the same things to client queries. It is effectively read-only.

The virtual Redfish BMC resembles the real Redfish-controlled bare-metal machine to some extent. Some client queries are translated to commands that actually control VM instances simulating bare metal hardware. However some of the Redfish commands just return static content never touching the virtualization backend and, for that matter, virtual Redfish BMC is similar to the static Redfish responder.