- Default location for log files is now under the HOME directory of the
user instead of /var/log
- Create that default .redfish dir if not already existing
- Adapt error messages
- Put in place sphinx mechanism to build documentation.
Most of the documentation is generated from python docstrings.
- redfish-client.py usage is a bit modified to display a decent
documentation.
- A link rfclient.py to redfish-client.py was created to allow sphinx
parsing. The '-' char is not allowed for module and so sphinx autodoc
module.
- Note : Copyright may need to be reviewed as well as main.py.
- Specify a name for the logger as recommended by the logging
documentation. However for strange reason requests logs are
not anymore capture in the log file. This needs to be reviewed.
- Try to factorise initialize_logger into redfish.config.
- Remove global logger declaration to avoid potential side effects.
- Add new logging.debug instead of print and try to cleanup.
- Allow logger.setlevel to be more flexible by configuring console and
file level of log.
- Prepare client to allow optional debug parameter with loglevel
selection.
- 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).