Skip to content

Commit 359b5db

Browse files
committed
Merge pull request #10 from bcornec/dmtf2
Update to Redfish 1.0.0 (official)
2 parents f3bf31d + 56c9f0a commit 359b5db

14 files changed

+52
-14
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ NOTE::
99

1010
DRAFT - WORK IN PROGRESS
1111

12-
The current Redfish specification revision is 0.96.0a - anything and everything
13-
in this library is subject to change until the DMTF ratifies the Redfish API
14-
standard v1.0.
12+
The current Redfish specification revision is 1.0.0 - Note that the mockup
13+
is still at version 0.99.0a and may not reflect what the standard provides
14+
fully
1515

1616

1717
Project Structure
@@ -35,7 +35,7 @@ To use the enclosed examples, you will need Python 2.7
3535
(https://www.python.org/downloads/). Note that Python 2.7.9 enforces greater
3636
SSL verification requiring server certificates be installed. Parameters to
3737
relax the requirements are available in the library, but these configurations
38-
are discouraged due to sec
38+
are discouraged due to security.
3939

4040
Python requirements are listed in requirements.txt; additional requirements for
4141
running the unit test suite are listed in test-requirements.txt.

dmtf/DSP0266_0.96.0a.pdf

-646 KB
Binary file not shown.

dmtf/DSP0266_1.0.0.pdf

676 KB
Binary file not shown.

dmtf/DSP2043_0.96.0a.zip

-137 KB
Binary file not shown.

dmtf/DSP2043_0.99.0a.zip

270 KB
Binary file not shown.

dmtf/DSP8010_0.96.0a.zip

-217 KB
Binary file not shown.

dmtf/DSP8010_1.0.0.zip

331 KB
Binary file not shown.

dmtf/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ RUN apt-get update
88
RUN apt-get -y install apache2 unzip sed
99
EXPOSE 80
1010
COPY redfish-setup.sh /tmp/redfish-setup.sh
11-
COPY DSP2043_0.96.0a.zip /tmp/DSP2043_0.96.0a.zip
11+
COPY DSP2043_0.99.0a.zip /tmp/DSP2043_0.99.0a.zip
1212
RUN chmod 755 /tmp/redfish-setup.sh
1313
CMD /tmp/redfish-setup.sh

dmtf/README.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
DMTF Redfish specification
2+
--------------------------
3+
4+
This directory contains the current references from the DMTF on the Redfish
5+
specification (1.0.0 at the time of the writing)
6+
7+
In order to ease test, the DMTF has published a mockup environment to simulate
8+
a Redfish based system so it is possible to write programs without real Redfish
9+
compliant hardware platform.
10+
11+
Docker container
12+
----------------
13+
14+
In order to help testing python-redfish, this directory provides a script which
15+
you should be able to run on your system (providing you have docker support and
16+
a docker registry) which will create a docker container running the DMTF Redfish
17+
mockup on the port 8000.
18+
19+
To build your container, just issue: ./buildImage.sh
20+
To launch it, just issue: ./run-redfish-simulator.sh
21+
To use it, just issue: firefox http://localhost:8000/redfish/v1
22+
23+
Systems entry point:
24+
http://localhost:8000/redfish/v1/Systems
25+
26+
Chassis entry point:
27+
http://localhost:8000/redfish/v1/Chassis
28+
29+
Managers entry point:
30+
http://localhost:8000/redfish/v1/Managers

dmtf/buildImage.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

33
# Build and tag images
4+
docker rmi redfish-simulator
45
docker build -t "redfish-simulator" .
5-
docker tag redfish-simulator:latest localhost:5000/redfish-simulator
6+
docker tag -f redfish-simulator:latest localhost:5000/redfish-simulator

0 commit comments

Comments
 (0)