Redfish¶
Siehe auch
- Verwandte Artikel
- Offizielle Dokumentation
- Linuxfabrik
Redfish ist eine Spezifikation zur Fernwartung von Server-Systemen über REST. Anders als bei IPMI geht es daher hier nicht um eine konkrete Software, sondern um das Thema „Redfish API“ an sich.
Authentifizierung geschieht mittels HTTP Basic Authentication.
Redfish Interface Simulator verwenden:
git clone https://github.com/DMTF/Redfish-Interface-Emulator.git
cd Redfish-Interface-Emulator
python3 -m pip install -r requirements.txt
python emulator.py -debug
Interessante API-Einstiegspunkte sind:
/redfish/v1/AccountService
/redfish/v1/Chassis
/redfish/v1/CompositionService
/redfish/v1/EventService
/redfish/v1/Managers
/redfish/v1/Registries
/redfish/v1/SessionService
/redfish/v1/Systems
/redfish/v1/TaskService
Redfish via cURL:
curl --silent --insecure --location --user 'user:password' https://bmc/redfish/v1/Chassis/ | jq