56c9f0a910
- Update Redfish spec and schema to version 1.0.0 - Update Redfish simulator to version 0.99.0a - Comply with Redfish 1.0.0 by changing remaining refs from /rest/v1 to /redfish/v1 - Adds a README to explain how to use the Docker container to launch the DMTF Redfish mockup in order to test without hardware - Update spec file for local usage |
||
---|---|---|
dmtf | ||
doc/source | ||
examples | ||
redfish | ||
.coveragerc | ||
.gitattributes | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
babel.cfg | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
openstack-common.conf | ||
python-redfish.spec | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
python-redfish
This repository will be used to house the Redfish python library, a reference implementation to enable Python developers to communicate with the Redfish API (http://www.dmtf.org/standards/redfish).
NOTE:
DRAFT - WORK IN PROGRESS
The current Redfish specification revision is 1.0.0 - Note that the mockup
is still at version 0.99.0a and may not reflect what the standard provides
fully
Project Structure
This project follows the same convention as OpenStack projects, eg. using pbr for build and test automation:
doc/ # documentation
doc/source # the doc source files live here
doc/build/html # output of building any docs will go here
examples/ # any sample code using this library, eg. for education
# should be put here
redfish/ # the redfish library
redfish/tests/ # python unit test suite
Requirements
To use the enclosed examples, you will need Python 2.7 (https://www.python.org/downloads/). Note that Python 2.7.9 enforces greater SSL verification requiring server certificates be installed. Parameters to relax the requirements are available in the library, but these configurations are discouraged due to security.
Python requirements are listed in requirements.txt; additional requirements for running the unit test suite are listed in test-requirements.txt.
Developer setup
To initialize a local development environment (eg, so you can run unit tests) you should run the following commands:
Further References
- The data model documentation can be found here:
-
http://www.redfishspecification.org/redfish-data-model-and-schema/
- The overall protocol documentation can be found here: