Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
If you would like to contribute to the development of OpenStack,
you must follow the steps in this page:
If you would like to contribute to the development of this project.

http://docs.openstack.org/infra/manual/developers.html
Submit your pull request and issues to https://github.com/bcornec/python-redfish.

Once those steps have been completed, changes to OpenStack
should be submitted for review via the Gerrit tool, following
the workflow documented at:

http://docs.openstack.org/infra/manual/developers.html#development-workflow

Pull requests submitted through GitHub will be ignored.

Bugs should be filed on Launchpad, not GitHub:

https://bugs.launchpad.net/python-redfish
You can also share and discuss on the mailing list as well.
43 changes: 27 additions & 16 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,17 @@ 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
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
examples/ # Any sample code using this library, eg. for education
# should be put here
redfish/ # the redfish library
redfish/tests/ # python unit test suite
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
------------
Expand All @@ -41,23 +44,31 @@ 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
Get the sources
---------------

To initialize a local development environment (eg, so you can run unit tests)
you should run the following commands
The sources are available on github and can be retrieved using::

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

As python redefish is currently in heavy development we recommend to checkout the devel branch using::

cd python-redfish
git checkout devel

Installation
------------

Please refer to the following link.

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

Contacts
--------

Distribution list : python-redfish@mondorescue.org
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:
http://www.redfishspecification.org/

Please look at `dmtf/README.rst <further_ref.html>`_ file.
22 changes: 18 additions & 4 deletions dmtf/README.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
DMTF Redfish specification
--------------------------

This directory contains the current references from the DMTF on the Redfish
specification (1.0.0 at the time of the writing)
In order to ease test, the DMTF has published a mockup environment to simulate
a Redfish based system so it is possible to write programs without real Redfish
This directory contains the current references from the DMTF on the Redfish
specification (1.0.1 at the time of the writing)

The overall protocol documentation can be found online at:
http://www.dmtf.org/standards/redfish

The specification can be found locally in DSP0266_1.0.1.pdf or online at:
http://www.dmtf.org/sites/default/files/standards/documents/DSP0266_1.0.1.pdf

The data model documentation can be found locally in DSP8010_1.0.0.zip or online at:
http://redfish.dmtf.org/schemas/


In order to ease test, the DMTF has published a mockup environment to simulate
a Redfish based system so it is possible to write programs without real Redfish
compliant hardware platform.

Note: Mockup release is still 0.99.0a and so not aligned with specification realease
number.

Docker container
----------------

Expand Down
6 changes: 3 additions & 3 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@

# General information about the project.
project = u'python-redfish'
copyright = u'2016, Bruno Cornec, Vincent Misson, René Ribaud'
copyright = u'2015-2016, Bruno Cornec, Vincent Misson, René Ribaud'

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probable be (c) 2015-2016 in fact.

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.4'
version = 'PBVER'
# The full version, including alpha/beta/rc tags.
release = '0.4'
release = 'PBVER'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
8 changes: 8 additions & 0 deletions doc/source/develsetup.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
===============
Developer setup
===============

#. Follow `get the sources <http://pythonhosted.org/python-redfish/readme.html#get-the-sources>`_ section to retrieve the sources.
#. Follow `using pip and virtualenv <http://pythonhosted.org/python-redfish/installation.html#using-pip-and-virtualenv>`_ section to create your environment.

You can start hacking the code now.
3 changes: 3 additions & 0 deletions doc/source/further_ref.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:orphan:

.. include:: ../../dmtf/README.rst
12 changes: 12 additions & 0 deletions doc/source/help.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
=============
Help required
=============

We need help on the following topic:

- debian/ubuntu dependencies packaging.
- python3 testing.
- installation on distributions which are not Fedora or Mageia.
- documentation.

Any contribution will be welcomed.
Binary file added doc/source/images/simulator.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ Contents:
readme
installation
usage
contributing
develsetup
classesdoc
contributing
help

Indices and tables
==================
Expand Down
Loading