A set of tools to support the development and test of the Sushy library
Go to file
Dmitry Tantsur 8d52482c79 Make memoize behave better in concurrent environments
Currently there is a chance for System view to raise sqlite3
exceptions because of table lock in PersistentDict.

1) Stop re-loading content on PersistentDict creation.
2) Retry OperationalError on all database accesses.
3) Rule out a race condition in __delitem__

Also refactor tests to remove excessive mocking.

Change-Id: I82726c41578700835f3b15d316aed562d68fbf67
2020-12-03 15:24:35 +01:00
doc/source Replace the static Manager driver with a new fake one 2020-08-06 12:50:16 +02:00
releasenotes Allow setting debug mode from command line 2020-11-17 19:34:32 +01:00
sushy_tools Make memoize behave better in concurrent environments 2020-12-03 15:24:35 +01:00
zuul.d Use wallaby jobs 2020-10-12 10:10:32 +02: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
lower-constraints.txt Make memoize behave better in concurrent environments 2020-12-03 15:24:35 +01: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 Set safe version of hacking 2020-10-19 13:38:12 +00:00
tox.ini Use TOX instead of deprecated UPPER constraints 2020-11-07 19:14:46 +01: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.