Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 767 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 767 Bytes

ReadFish collector test

Steps

  1. podman pull docker.io/dmtf/redfish-mockup-server:latest
  2. podman run --rm -p 8080:8000 dmtf/redfish-mockup-server:latest
  3. Call API

API call examples

curl -v http://localhost:8080/redfish/v1
curl -v http://localhost:8080/redfish/v1
curl -v http://localhost:8080/redfish/v1/Chassis
curl -v http://localhost:8080/redfish/v1/Chassis/1U
curl -v http://localhost:8080/redfish/v1/Chassis/1U/PowerSubsystem

Contribute

python -m venv venv
source venv/bin/activate
make
make test

References

Redfish

Coding

https://docs.python-guide.org/writing/structure/