python-redfish/dmtf/run-redfish-simulator.sh
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

9 lines
394 B
Bash
Executable File

#!/bin/bash
# Build the docker container first
docker build -t localhost:5000/redfish-simulator:latest .
# Th -p option needs to be after the run command. No warning is given if before but doesn't work
docker rm "redfish-simulator"
docker run -d -p 8000:80 --name "redfish-simulator" localhost:5000/redfish-simulator:latest
echo "Launch your browser and load http://localhost:8000/redfish/v1"