A set of tools to support the development and test of the Sushy library
Go to file
François Rigault 6f7238135e Return an integer value for Cores and Threads
Clients like Ironic Redfish inspector expect an integer value for
Cores and Threads. We do our best to return an integer value, we also
provide a default of "1" in case none is found.

Current logic expects the number of threads and cores to be present
in the domain, but this is not necessarily the case (test case
provided). We also can return a lot of information even when the
domain is not active, so we do just that.

Story: 2008743
Task: 42100

Change-Id: Id702ca2d7c5965217f348fc0931df0b0b1e57da8
2021-03-24 13:21:23 +01:00
doc New option to prevent libvirt defining boot order 2021-02-25 11:18:20 +00:00
releasenotes Merge "Adding basic support for processors schema" 2021-01-06 10:29:17 +00:00
sushy_tools Return an integer value for Cores and Threads 2021-03-24 13:21:23 +01:00
zuul.d Remove lower-constraints job 2020-12-15 18:42:41 +01: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 Correct doc link to point to sushy-tools docs 2019-10-25 10:35:19 +02:00
bindep.txt Fix pdf build 2020-05-14 16:16:35 +02:00
requirements.txt Make memoize behave better in concurrent environments 2020-12-03 15:24:35 +01:00
setup.cfg Remove six leftovers 2020-11-09 12:24:30 +01:00
setup.py Cleanup py27 support 2020-04-05 20:13:36 +02:00
test-requirements.txt Move some test requirements to tox.ini 2021-01-25 09:16:02 +00:00
tox.ini Move some test requirements to tox.ini 2021-01-25 09:16:02 +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/).

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 responser.