AevaOnline / python-redfish

Python library for RedFish RESTful API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:
http://www.redfishspecification.org/

About

Python library for RedFish RESTful API

License:Apache License 2.0


Languages

Language:Python 96.6%Language:Shell 3.4%