18 Commits

Author SHA1 Message Date
Valentin Boucher
fe5391b2d9 Fix Apache MPM issue
The new httpd docker image required MPM module
in the httpd.conf

https://stackoverflow.com/questions/48525092/docker-httpd-configuration-error-no-mpm-loaded

Change-Id: I1ef1500ff2446f82fd084e4a9d6ab43ee3657271
Signed-off-by: Valentin Boucher <valentin.boucher@kontron.com>
2018-11-14 15:23:24 -05:00
Uggla
6840cc878f Add a new mechanism to create a container running simulator 1.1.0
- Move previous simulator files into mockup_0.99.0a directory.
- Cleanup, adapt mockup_0.99.0a files.
- Add mockup_1.1.0 directory to host the new simulator files.

Note :
- First redfish-client tests against this new mockup work well.
- Of course, this is a first commit so it could be refined.

Change-Id: I88ac480e5b303922be5ec37e1a14a91f68d0bd92
2017-03-08 01:50:50 +00:00
Jenkins
0c33489070 Merge "Updates to DMTF docs" 2017-01-31 14:03:32 +00:00
Bruno Cornec
f83a2400b6 Updates to DMTF docs
- Adds the new documents published in January 2017 by the DMTF
  API spec 1.0.5 and 1.1.0
- Adds new schema 2016.3
- Adds new mockup 1.1.0

Change-Id: I19db748aaf0279fa74c49d2ceade605f2177184b
2017-01-27 10:42:18 +01:00
Uggla
68f70626ad Fix mockup invalid json into http://localhost:8000/redfish/v1/Managers/1/EthernetInterfaces/1
- Update container creation process to patch the mockup.
- Also remove apache pid file if present. Happens if container is
  brutally killed.
- This is a fix for the old mockup 0.99a waiting to create a new
  process and container to use the 1.0.

Change-Id: I1be50a77b514d01e119be128b63a55180d2fa3fd
2017-01-26 13:33:34 +01:00
Bruno Cornec
9a7c65d942 Update docs for Redfish
- Added 1.0.2
- Added 1.0.3 (2016-07-14)
- Added 1.0.4 (2016-08-30)
- Add the new mockup v1.0.0
- Add the new API schema 2016.2
- Add Moonshot Data Model ref in dmtf directory

Change-Id: I0a7cb127d5fb9324e50164eff786e54411c0e7aa
2017-01-25 13:36:20 +01:00
Bruno Cornec
3b1847163c DMTF mockup now runs in a 15.10 Ubuntu ctn 2016-04-04 22:00:41 +02:00
Bruno Cornec
ec19ebaf56 Fix @hp.com addresses 2016-04-02 15:00:47 +02:00
Uggla
3334c6eda5 Fix most of the comments reported in #22
- Except the ones related to path.
2016-02-15 18:12:28 +01:00
Uggla
dd66a15e02 Improve docker container management
- Simplify tagging.
- Test removal of old container.
2016-01-18 16:36:23 +01:00
Bruno Cornec
df2c027823 Merge pull request #11 from uggla/devel
My modifications for future version 0.3
2016-01-18 16:29:52 +01:00
Uggla
8697fc3907 Fix dmtf container
- Remove apache pid file. So it allows to restart the mockup after a
  brutal shutdown of the container.
2016-01-18 10:58:26 +01:00
Bruno Cornec
d88d55ad71 Update DMTF Redfish spec to latest versions
We're keeping the previous version to be able to still support them
2016-01-11 21:31:25 +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
Bruno Cornec
56c9f0a910 Update to Redfish 1.0.0 (official)
- Update Redfish spec and schema to version 1.0.0
- Update Redfish simulator to version 0.99.0a
- Comply with Redfish 1.0.0 by changing remaining refs from /rest/v1 to /redfish/v1
- Adds a README to explain how to use the Docker container to launch the
  DMTF Redfish mockup in order to test without hardware
- Update spec file for local usage
2015-08-31 15:47:33 +02:00
Uggla
5da62f7368 - Add container and image naming (redfish-simulator)
- Add a build script
- Modify redfish-setup.sh to exit apache in a proper way
- Modify run script
2015-05-26 22:27:18 +02:00
Bruno Cornec
e556fb0ac6 Adds file to have a container with a Redfish mockup for testing 2015-05-20 01:48:51 +02:00
Bruno Cornec
e726598890 Update to latest DMTF specification version
- Store the current Redfish tools and specification provided by the DMTF
  under the dmtf dir
- Update references to the new version published in May (0.96.0a)
2015-05-18 06:54:18 +02:00