Bruno Cornec f844afc49b First working 0.1 version
- Uses tortilla lib to wrap the REST API (dep)
- Uses python requests to manage login/logout (dep)
- Provides 2 functional working examples with Redfish simulator and
  ProLiant server or Moonshot Server
- Remove OpenStack deps as this code has to be usable outside of
  OpenStack
- Provides a configuration file to handle credentials and connection
  URL
- Provides a mapping class to handle multiple versions of Redfish
  (in this version, 0.95.0 for ProLiant and 1.0.0 for mockup)
- Provides a first action reset_server to ... reset system
  The action is commented into simple-proliant.py to not do
  unexpected reset.
- Provides a first retrieving function get_bios_version to get the
  BIOS version of a system.
- Add basic logging capability
- Clean up to meet pep8 and doc strings (in progress).
2015-12-02 20:33:03 +01:00
2015-12-02 20:33:03 +01:00
2015-12-02 20:33:03 +01:00
2015-12-02 20:33:03 +01:00
2015-03-23 12:05:45 -05:00
2015-12-02 20:33:03 +01:00
2015-03-23 11:34:43 -05:00
2015-12-02 20:33:03 +01:00
2015-12-02 20:33:03 +01:00
2015-12-02 20:33:03 +01:00
2015-12-02 20:33:03 +01:00
2015-03-28 21:54:23 -07:00

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:

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:

http://www.redfishspecification.org/

Description
Python library and client for Redfish support
Readme 18 MiB
Languages
HTML 88.1%
Python 9%
ApacheConf 1.8%
Shell 0.6%
RPM Spec 0.3%