Python library and client for Redfish support
Go to file
Bruno Cornec b84dd6d2d9 Add a getserial command to redfish-client
- print Part or Serial numbers of Chassis and Systems
  using a specific jinja2 template
- for HPE servers, print them for NICs and SmartArrays, and Physical
  drives behind (not seen with calls on standard components)

Change-Id: I741c97847a07e126d7f34ceaa4695f9a8cdcec2b
2019-03-30 03:04:16 +01:00
dmtf Add spec 1.6.1 2019-03-09 18:44:40 +01:00
doc Fix a link in doc and update develsetup 2017-03-17 09:08:43 +00:00
examples Fix example for simulator to work with the HPE ilorestfulapiexplorer 2019-03-14 02:17:08 +01:00
pbconf Both Hpe and Hp should be considered for Oem entries 2019-03-30 01:54:00 +01:00
redfish Add a getserial command to redfish-client 2019-03-30 03:04:16 +01:00
redfish-client Add a getserial command to redfish-client 2019-03-30 03:04:16 +01:00
.coveragerc Fix #49, tox can be used by user 2016-04-05 17:51:23 +02:00
.gitattributes Added Attributes 2015-03-23 12:05:45 -05:00
.gitignore Fix rpm build 2016-04-30 01:02:52 +02:00
.gitreview add gitreview file 2018-02-23 11:04:58 +00:00
.mailmap cookie cutter ify this repo, will clean up later 2015-03-25 13:46:58 -07:00
.testr.conf cookie cutter ify this repo, will clean up later 2015-03-25 13:46:58 -07:00
babel.cfg cookie cutter ify this repo, will clean up later 2015-03-25 13:46:58 -07:00
CONTRIBUTING.rst Adapt contributions descritptions 2017-02-07 01:40:37 +01:00
HACKING.rst Update the URL in HACKING.rst 2018-09-25 00:33:14 +08:00
install.sh Adds the bash completion script to install proc 2017-03-28 23:45:39 +02:00
LICENSE Add LICENCE file. 2015-12-02 20:54:51 +01:00
MANIFEST.in cookie cutter ify this repo, will clean up later 2015-03-25 13:46:58 -07:00
README.rst Adapt contributions descritptions 2017-02-07 01:40:37 +01:00
requirements.txt New version of PR #38 2016-04-04 19:35:03 +02:00
setup.cfg Remove support for py34 2018-12-19 11:22:52 -05:00
setup.py Closes-Bug: #1670722 2017-03-07 19:22:06 +01:00
test-requirements.txt Re enable redfish-client tests 2017-02-23 10:25:13 +01:00
tox.ini add python 3.6 unit test job 2019-03-18 18:33:47 +01:00

The python-redfish project

This repository will be used to house the python-redfish library, a reference implementation to enable Python developers to communicate with the Redfish API (http://www.dmtf.org/standards/redfish).

NOTE:

STATUS: Work in progress, ready for proof of concept.

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

Documentation

The full documentation is available at http://pythonhosted.org/python-redfish/installation.html

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
pbconf          # Project builder file to build rpm/deb packages for
                # distributions
redfish/        # The redfish library itself
redfish/tests/  # python-redfish unit test suite
redfish-client  # Client tool to manage redfish devices

Requirements

To use the enclosed examples, you will need Python 2.7 or Python 3.4 (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.

Note: Running tests requires Docker engine.

Note: The program was tested with Python 2.7.10 and 3.4.2 however it might work as well with all Python 3 releases.

Get the source code

The source code is available on github and can be retrieved using:

git clone https://github.com/openstack/python-redfish.git

Installation

Please refer to the following link.

http://pythonhosted.org/python-redfish/installation.html

Contacts

Distribution list: python-redfish@mondorescue.org

Further References

Please look at dmtf/README.rst file.