6 Commits

Author SHA1 Message Date
Uggla
edf25cb299 Re enable redfish-client tests
- Check if local docker is available, if not skip the tests.
  So this should allow gerrit tests to pass.
- Stick to docker-py 1.x, because 2.0 has lot of naming changes.
- Use Fedora 25 instead of 23.
- Use Ubuntu 16.04 instead of 14.04.
- Use pip --pre parameter. Allowing to test dev release (pre).
- Rename Dockerfiles to get more consistency using a new naming
  convention.
- Naming convention that I hope will make Bruno happy ! ;)

Change-Id: I3cbd51f201c4805ba58ebcabb023237624d4dfc8
2017-02-23 10:25:13 +01:00
Uggla
139044083a Fix jenkins tests to allow commits
- Do not pass tests on redfish-client
  Currently tests are using a local docker container. We remove them to
  allow jenkins tests to pass.

- Move programme usage in a separate file to get rid of pep8 issue.

- Fix tox venv usage

- Add flake8 test dependency

Change-Id: I12f3a567f3ff83c34c3832a544ef547372857161
2017-01-23 17:37:22 +01:00
Uggla
d160d93130 Fix #49, tox can be used by user
- Allow user to use tox
- Docker is required !
2016-04-05 17:51:23 +02:00
Uggla
096d58f25e Introduce client testing
This is a first implementation probably a bit raw.
So it needs improvement.

Tests require:
- docker available on host.
- docker credentials to the user who is running the tests.

Current tests:
- Check docker socket
- Check docker can be used by api.
- Check source installation on Ubuntu, Debian, Fedora.
- Check pip installation in Fedora.
- Check if client can show an empty configuration.
- Check client version format (basic).
2016-03-04 12:02:13 +01:00
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
Devananda van der Veen
963f256bb9 cookie cutter ify this repo, will clean up later 2015-03-25 13:46:58 -07:00