Closed mcalmer closed 3 years ago
@mcalmer the group is wondering if this type of functionality is starting to cross the line into what we think belongs in he Redfish Interface Emulator (https://github.com/DMTF/Redfish-Interface-Emulator). Usually we try to limit the operations on the mockup server to GETs (and some support for POST just to make generic clients pass certain checks).
In the Redfish Interface Emulator repository, look in ./api_emulator/redfish/ComputerSystem, you will find the files
The first file purpose is to emulate the POST to ResetAction. Currently, it is a stuff and your code could replace that stub.
Thanks for the pointer. I was not aware that there is a second emulator. I will have a look what we can do with it.
Closing; if the Redfish Interface Emulator is not sufficient and this needs to be part of the Redfish Mockup Server, please let us know and we can revisit this topic.
Mock Power Management Actions PowerOn, PowerOff and Reboot