466534359c
- Better handle connection errors. - Better handle login errors. - Improve exception process. - Update examples. - Make examples compatible with new configuration file. - Show exception handling. - Validate trusted SSL connection. - Various PEP8 corrections. |
||
---|---|---|
dmtf | ||
doc | ||
examples | ||
redfish | ||
redfish-client | ||
.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
dmtf # Reference documents and mockup provided by the DMTF
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:
Contacts
Distribution list : python-redfish@mondorescue.org
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: