Collection of Redfish service recordings
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Redfish service recordings

This repository contains selection of Redfish recordings that can be served by the Redfish mock servers.


In order to make playing with those recordings as painless as possible, repository already contains a Gemfile that can be used to install Redfish tools gem that contain mock server. Running

$ bundle
Fetching gem metadata from
Resolving dependencies...
Using bundler 1.16.1

will install Redfish tools gem with dependecies and provide redfish serve command. To start serving one of the recordings (lenovo-sr650 in this example), we must run

$ bundle exec redfish serve lenovo-sr650
[2018-05-30 16:37:01] INFO  WEBrick 1.3.1
[2018-05-30 16:37:01] INFO  ruby 2.4.3 (2017-12-14) [x86_64-linux]
[2018-05-30 16:37:01] INFO  RedfishTools::Server#start: pid=30028 port=8000

If we now visit localhost:8000/redfish/v1, a healthy amount of JSON data will fill our browser.

To terminate the server, just press CTRL+c.

And this is basically all there is to it.